Function at 0x406790
Capabilities:
Initialize winhttp library
Make an http request with a cookie
Prepare http request
Read http header
Receive http response
Resolve function by parsing pe exports
Send data
Send http request
Set http header

Disassembly:
push 0xffffffffffffffff
push 0x427c98
mov eax, dword fs:[0]
push eax
mov eax, 0x1174
call fcn.00419870
mov eax, dword [0x430090]
xor eax, esp
mov dword [esp + 0x1170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430090]
xor eax, esp
push eax
lea eax, [esp + 0x1188]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1198]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x119c]
xor ebx, ebx
cmp ecx, ebx
ja 0x4067f5
mov dword [ebp + 0x11c], 3
jmp 0x40772a
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x114], cx
push ebx
lea ecx, [esp + 0x114]
mov dword [esp + 0x12c], 7
mov dword [esp + 0x128], ebx
call fcn.00403f20
mov dword [esp + 0x1190], ebx
mov eax, dword [esp + 0x110]
mov edi, 8
cmp dword [esp + 0x124], edi
jae 0x406843
lea eax, [esp + 0x110]
push 0x42c3e8
push eax
call fcn.0040f51c
add esp, 8
test eax, eax
jne 0x40685e
push 3
mov eax, 0x42c3e8
jmp 0x406892
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x124], edi
jae 0x406875
lea eax, [esp + 0x110]
push 0x42c3f0
push eax
call fcn.0040f51c
add esp, 8
test eax, eax
jne 0x407707
push 4
mov eax, 0x42c3f0
lea esi, [esp + 0x110]
call fcn.00403fd0
mov byte [esp + 0x16], 1
cmp dword [ebp], ebx
jne 0x4068f6
cmp dword [ebp + 0x154], edi
jb 0x4068b8
mov eax, dword [ebp + 0x140]
jmp 0x4068be
lea eax, [ebp + 0x140]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x429244]
mov dword [ebp], eax
cmp eax, ebx
jne 0x4068f6
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
cmp dword [esp + 0x124], edi
jb 0x40772a
mov edx, dword [esp + 0x110]
push edx
jmp 0x407722
mov eax, dword [ebp + 0x1bc]
mov ecx, dword [ebp + 0x1b8]
mov edx, dword [ebp + 0x1b4]
push eax
mov eax, dword [ebp + 0x1b0]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [0x429220]
push 0x206
lea eax, [esp + 0x352]
xor edx, edx
push ebx
push eax
mov word [esp + 0x358], dx
call fcn.004101c0
add esp, 0xc
push 0xa26
lea edx, [esp + 0x762]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x768], cx
call fcn.004101c0
add esp, 0xc
push 0x3c
lea eax, [esp + 0x9c]
push ebx
push eax
call fcn.004101c0
mov eax, dword [ebp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x34c]
lea edx, [esp + 0x75c]
mov dword [esp + 0x98], 0x3c
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], 0x104
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], 0x514
mov dword [esp + 0xa0], 1
cmp dword [ebp + 0x20], edi
jb 0x4069c4
mov ecx, dword [ebp + 0xc]
jmp 0x4069c7
lea ecx, [ebp + 0xc]
lea edx, [esp + 0x98]
push edx
push ebx
push eax
push ecx
call dword [0x429250]
test eax, eax
je 0x4076e8
lea eax, [esp + 0x34c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4069f0
sub eax, edx
sar eax, 1
push eax
lea esi, [ebp + 0x24]
lea eax, [esp + 0x350]
call fcn.00403fd0
mov eax, dword [esp + 0xb0]
mov edx, dword [ebp]
push ebx
push eax
lea ecx, [esp + 0x354]
push ecx
push edx
call dword [0x429234]
mov esi, eax
mov dword [esp + 0x90], esi
cmp esi, ebx
je 0x4076e8
mov eax, dword [esp + 0x110]
xor ecx, ecx
mov edi, 2
cmp dword [esp + 0xa4], edi
setne cl
dec ecx
and ecx, 0x800000
cmp dword [esp + 0x124], 8
jae 0x406a6b
lea eax, [esp + 0x110]
push ecx
mov ecx, dword [esp + 0xc8]
push ebx
push ebx
push ebx
push ecx
push eax
push esi
call dword [0x429248]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x4076dc
cmp byte [ebp + 4], 0
jne 0x406ab2
cmp dword [esp + 0xa4], edi
jne 0x406ab2
push 4
lea edx, [esp + 0x2c]
push edx
push 0x1f
push eax
mov dword [esp + 0x38], 0x3100
call dword [0x429224]
mov byte [esp + 0x17], 0
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x28]
mov ecx, eax
inc eax
mov dword [esp + 0x28], eax
cmp ecx, 3
jae 0x4076be
mov ecx, dword [ebp + 0xf8]
test ecx, ecx
jbe 0x406b12
cmp dword [ebp + 0xfc], 8
jb 0x406aea
mov eax, dword [ebp + 0xe8]
jmp 0x406af0
lea eax, [ebp + 0xe8]
mov edx, dword [esp + 0x1c]
push 0x1000000
push ecx
push eax
push edx
call dword [0x429258]
test eax, eax
jne 0x406b12
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
cmp dword [ebp + 0xd4], 0
mov edi, dword [esp + 0x1c]
jbe 0x406ba5
mov eax, str.Cookie:
lea ecx, [esp + 0x128]
call fcn.00403eb0
push 0
lea eax, [ebp + 0xc0]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x130]
mov byte [esp + 0x1198], 1
call fcn.00409020
cmp dword [esp + 0x140], 8
mov eax, dword [esp + 0x12c]
jae 0x406b6c
lea eax, [esp + 0x12c]
mov ecx, dword [esp + 0x13c]
push 0x1000000
push ecx
push eax
push edi
call dword [0x429258]
test eax, eax
jne 0x406b91
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
lea esi, [esp + 0x128]
mov byte [esp + 0x1190], 0
call fcn.00403ef0
cmp dword [ebp + 0x114], 0
jbe 0x406cd1
xor eax, eax
xor edx, edx
mov dword [esp + 0x84], eax
push 0x206
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
push edx
lea eax, [esp + 0x14e]
push eax
mov dword [esp + 0x90], 3
mov word [esp + 0x150], dx
call fcn.004101c0
add esp, 0xc
cmp dword [ebp + 0x118], 8
jb 0x406c05
mov eax, dword [ebp + 0x104]
jmp 0x406c0b
lea eax, [ebp + 0x104]
push eax
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.0040fe86
mov ebx, dword [0x429224]
add esp, 0xc
push 0xc
lea eax, [esp + 0x88]
push eax
push 0x26
lea edx, [esp + 0x150]
push edi
mov dword [esp + 0x98], edx
call ebx
test eax, eax
jne 0x406c54
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
mov ecx, dword [ebp + 0x170]
test ecx, ecx
jbe 0x406cd7
cmp dword [ebp + 0x174], 8
jb 0x406c6f
mov eax, dword [ebp + 0x160]
jmp 0x406c75
lea eax, [ebp + 0x160]
add ecx, ecx
push ecx
push eax
push 0x1002
push edi
call ebx
test eax, eax
jne 0x406c91
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
mov ecx, dword [ebp + 0x18c]
test ecx, ecx
jbe 0x406cd7
cmp dword [ebp + 0x190], 8
jb 0x406cac
mov eax, dword [ebp + 0x17c]
jmp 0x406cb2
lea eax, [ebp + 0x17c]
lea edx, [ecx + ecx]
push edx
push eax
push 0x1003
push edi
call ebx
test eax, eax
jne 0x406cd7
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
jmp 0x406cd7
mov ebx, dword [0x429224]
push 0
push 0
push 0
push 0
push 0
push 0
push edi
mov edi, dword [0x42922c]
mov byte [esp + 0x43], 0
call edi
test eax, eax
jne 0x406efb
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
xor esi, esi
call dword [0x429228]
test eax, eax
je 0x4076a0
mov ecx, dword [esp + 0x48]
cmp ecx, esi
je 0x406df7
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], eax
xor eax, eax
cmp dword [ebp + 0x20], 8
mov dword [esp + 0x6c], 3
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
jb 0x406d84
mov eax, dword [ebp + 0xc]
jmp 0x406d87
lea eax, [ebp + 0xc]
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x70]
push edx
push eax
mov eax, dword [ebp]
push eax
call dword [0x42924c]
test eax, eax
je 0x406eb7
mov esi, dword [esp + 0x1c]
push 0xc
lea ecx, [esp + 0x64]
push ecx
push 0x26
push esi
call ebx
test eax, eax
je 0x406dd0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call edi
test eax, eax
je 0x406dd0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x64]
test eax, eax
je 0x406ddf
push eax
call dword [0x429150]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x406ec3
push eax
call dword [0x429150]
jmp 0x406ec3
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x406ee1
xor eax, eax
xor edx, edx
mov dword [esp + 0x54], eax
push 0x206
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push edx
lea eax, [esp + 0x14e]
push eax
mov dword [esp + 0x60], 3
mov word [esp + 0x150], dx
call fcn.004101c0
add esp, 0xc
push esi
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.0040fe86
mov esi, dword [esp + 0x5c]
add esp, 0xc
lea edx, [esp + 0x144]
mov dword [esp + 0x58], edx
test esi, esi
je 0x406ea3
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x55e]
push ecx
mov word [esp + 0x560], ax
call fcn.004101c0
add esp, 0xc
push esi
lea edx, [esp + 0x558]
push 0x104
push edx
call fcn.0040fe86
lea eax, [esp + 0x560]
add esp, 0xc
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x1c]
push 0xc
lea ecx, [esp + 0x58]
push ecx
push 0x26
push edx
call ebx
test eax, eax
jne 0x406ec3
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x406ed2
push eax
call dword [0x429150]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x406ee1
push eax
call dword [0x429150]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x406ef0
push eax
call dword [0x429150]
cmp byte [esp + 0x27], 0
je 0x4076ac
mov eax, dword [ebp + 0xdc]
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x406f33
mov edx, dword [ebp + 0xe0]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
push edi
mov dword [esp + 0x30], esi
call dword [0x429230]
test eax, eax
jne 0x406f33
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
push esi
push edi
call dword [0x42925c]
test eax, eax
je 0x4076a0
mov ebx, dword [0x42923c]
push esi
lea eax, [esp + 0x1c]
push eax
push esi
push esi
push 0x16
push edi
mov dword [esp + 0x30], esi
call ebx
cmp eax, esi
jne 0x406f6d
call dword [0x42908c]
cmp eax, 0x7a
jne 0x4072c8
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040f5af
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
je 0x4072c8
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.004101c0
add esp, 0xc
push 0
lea edx, [esp + 0x1c]
push edx
push esi
push 0
push 0x16
push edi
call ebx
test eax, eax
je 0x4072bf
lea ebx, [ebp + 0x40]
push ebx
mov eax, esi
call fcn.00407d70
lea eax, [esp + 0x2c]
push eax
call fcn.0040d7c0
mov eax, 0x42c3d8
lea ecx, [esp + 0x128]
mov byte [esp + 0x1190], 2
call fcn.00403eb0
mov byte [esp + 0x1190], 3
cmp byte [ebp + 0x158], 0
jne 0x40705e
lea ecx, [esp + 0x128]
push ecx
mov eax, str.charset_A_Za_z0_9___
call fcn.00407d70
push ebx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x12c]
call fcn.00405b40
add esp, 4
test al, al
je 0x40705e
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40705e
xor edi, edi
lea esi, [esp + 0x2c]
call fcn.00407c60
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 0x78]
call fcn.00403f20
lea ecx, [esp + 0x128]
push ecx
mov eax, str.Content_Length:__0_9_
call fcn.00407d70
push ebx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x12c]
call fcn.00405b40
add esp, 4
test al, al
je 0x4070cd
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4070cd
xor edi, edi
lea esi, [esp + 0x2c]
call fcn.00407c60
cmp dword [eax + 0x18], 8
jb 0x4070bb
mov eax, dword [eax + 4]
jmp 0x4070be
add eax, 4
push eax
call fcn.0040f5d0
add esp, 4
mov dword [ebp + 0xa0], eax
lea ecx, [esp + 0x128]
push ecx
mov eax, str.Location:__0_9_
call fcn.00407d70
push ebx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x12c]
call fcn.00405b40
add esp, 4
test al, al
je 0x40712d
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40712d
xor edi, edi
lea esi, [esp + 0x2c]
call fcn.00407c60
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 0x194]
call fcn.00403f20
lea ecx, [esp + 0x128]
push ecx
mov eax, str.Set_Cookie:_b.__n
call fcn.00407d70
push ebx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x12c]
call fcn.00405b40
add esp, 4
test al, al
je 0x407294
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x407294
xor edi, edi
test eax, eax
jbe 0x4071f4
lea ebx, [ebp + 0xa4]
jmp 0x407190
lea esi, [esp + 0x2c]
call fcn.00407c60
push 0
push eax
or eax, 0xffffffff
mov esi, ebx
call fcn.00409020
mov esi, dword [esp + 0x3c]
mov ecx, esi
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 1]
cmp edi, ecx
je 0x4071d8
push ebx
mov eax, 0x42c4cc
call fcn.00407da0
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x38]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x407190
mov eax, 0x42c3e4
lea ecx, [esp + 0xd4]
call fcn.00403eb0
lea ecx, [esp + 0xf0]
push ecx
lea ebx, [ebp + 0xa4]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1194], 4
call fcn.004060f0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov byte [esp + 0x1198], 5
call fcn.00403f20
lea esi, [esp + 0xf0]
call fcn.00403ef0
lea esi, [esp + 0xd4]
mov byte [esp + 0x1190], 3
call fcn.00403ef0
mov eax, dword [ebp + 0xb8]
test eax, eax
jbe 0x407294
lea esi, [eax - 1]
cmp esi, dword [ebx + 0x14]
jbe 0x407274
call fcn.0040f18b
cmp dword [ebx + 0x18], 8
jb 0x40727f
mov eax, dword [ebx + 4]
jmp 0x407282
lea eax, [ebx + 4]
cmp word [eax + esi*2], 0x3b
je 0x407294
push ebx
mov eax, 0x42c4d4
call fcn.00407da0
lea esi, [esp + 0x128]
call fcn.00403ef0
lea esi, [esp + 0x2c]
mov byte [esp + 0x1190], 0
call fcn.00407c10
mov ebx, dword [0x42923c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push esi
call fcn.0040f260
add esp, 4
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x13
push edi
mov dword [esp + 0x30], 0
call ebx
test eax, eax
jne 0x4072ef
call dword [0x42908c]
cmp eax, 0x7a
jne 0x407357
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040f5af
mov esi, eax
add esp, 4
test esi, esi
je 0x407357
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.004101c0
mov eax, dword [esp + 0x28]
add esp, 0xc
push 0
lea edx, [esp + 0x1c]
push edx
push esi
push 0
push 0x13
push eax
call dword [0x42923c]
test eax, eax
je 0x40734e
lea ecx, [ebp + 0x120]
push ecx
mov eax, esi
call fcn.00407d70
push esi
call fcn.0040f260
add esp, 4
mov eax, dword [ebp + 0x94]
xor esi, esi
mov ebx, 0x2800
test eax, eax
je 0x407377
push eax
call fcn.0040f260
add esp, 4
mov dword [ebp + 0x94], esi
push 0x2800
call fcn.0040f5af
add esp, 4
mov dword [ebp + 0x94], eax
test eax, eax
je 0x4076b9
push 0x2800
push 0
push eax
call fcn.004101c0
add esp, 0xc
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], 0
call dword [0x429240]
test eax, eax
je 0x407494
push esi
mov edx, ebp
call fcn.004077c0
mov ecx, dword [esp + 0x18]
inc ecx
push ecx
call fcn.0040f5af
mov edi, eax
add esp, 4
mov dword [esp + 0x94], edi
test edi, edi
je 0x4074a0
mov edx, dword [esp + 0x18]
inc edx
push edx
push 0
push edi
call fcn.004101c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ecx
push edi
push edx
mov dword [esp + 0x30], 0
call dword [0x429254]
test eax, eax
je 0x407489
mov eax, dword [esp + 0x20]
add eax, esi
cmp eax, ebx
jbe 0x40746e
mov edi, dword [ebp + 0x94]
add ebx, ebx
push ebx
call fcn.0040f5af
add esp, 4
mov dword [ebp + 0x94], eax
test eax, eax
je 0x4074ad
push ebx
push 0
push eax
call fcn.004101c0
mov ecx, dword [ebp + 0x94]
add esp, 0xc
push esi
push edi
push ecx
call fcn.004146c0
add esp, 0xc
push edi
call fcn.0040f260
mov edi, dword [esp + 0x98]
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x94]
push edx
add eax, esi
push edi
push eax
call fcn.004146c0
add esp, 0xc
add esi, dword [esp + 0x20]
push edi
call fcn.0040f260
add esp, 4
jmp 0x4074a0
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
cmp dword [esp + 0x18], 0
ja 0x4073a2
jmp 0x4074b8
mov dword [ebp + 0x94], edi
mov byte [esp + 0x16], 0
push esi
mov edx, ebp
call fcn.004077c0
mov dword [ebp + 0x98], esi
xor ebx, ebx
cmp dword [ebp + 0x90], 8
mov esi, 1
mov dword [esp + 0x20], esi
jb 0x4074df
mov eax, dword [ebp + 0x7c]
jmp 0x4074e2
lea eax, [ebp + 0x7c]
push 5
push 0x42c4d8
push eax
call fcn.0040f705
add esp, 0xc
test eax, eax
jne 0x407501
xor esi, esi
mov ebx, 0xfde9
mov dword [esp + 0x20], esi
mov ecx, dword [ebp + 0x98]
mov edx, dword [ebp + 0x94]
mov edi, dword [0x429148]
push 0
push 0
inc ecx
push ecx
push edx
push esi
push ebx
call edi
mov esi, eax
test esi, esi
jg 0x40754a
mov eax, dword [ebp + 0x98]
mov ecx, dword [ebp + 0x94]
xor ebx, ebx
push ebx
push ebx
inc eax
push eax
push ecx
push 1
push ebx
mov dword [esp + 0x38], 1
call edi
mov esi, eax
test esi, esi
jle 0x4075af
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040f5af
mov edi, eax
add esp, 4
test edi, edi
je 0x4075af
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.004101c0
mov ecx, dword [ebp + 0x98]
mov edx, dword [ebp + 0x94]
mov eax, dword [esp + 0x2c]
add esp, 0xc
push esi
push edi
inc ecx
push ecx
push edx
push eax
push ebx
call dword [0x429148]
test eax, eax
jle 0x4075a6
lea ecx, [ebp + 0x5c]
push ecx
mov eax, edi
call fcn.00407d70
push edi
call fcn.0040f260
add esp, 4
lea ecx, [esp + 0x10c]
mov byte [esp + 0x17], 1
call fcn.0040a1b0
test al, al
je 0x4076ca
mov eax, str._html_
lea ecx, [esp + 0x128]
call fcn.00403eb0
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x1194], 6
call fcn.0040d7c0
lea esi, [ebp + 0x5c]
push esi
lea edx, [esp + 0x30]
lea ecx, [esp + 0x12c]
mov byte [esp + 0x1194], 7
call fcn.00405b40
add esp, 4
test al, al
je 0x407681
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x407681
lea ecx, [esp + 0x128]
push ecx
mov eax, str.__html_
call fcn.00407d70
push esi
lea edx, [esp + 0x30]
lea ecx, [esp + 0x12c]
call fcn.00405b40
add esp, 4
test al, al
je 0x407672
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x407681
mov dword [ebp + 0x11c], 0xd
mov byte [esp + 0x17], 0
lea esi, [esp + 0x2c]
call fcn.00407c10
lea esi, [esp + 0x128]
mov byte [esp + 0x1190], 0
call fcn.00403ef0
jmp 0x4076ac
call dword [0x42908c]
mov dword [ebp + 0x11c], eax
cmp byte [esp + 0x17], 0
je 0x406abb
jmp 0x4076ca
mov byte [esp + 0x16], 0
cmp byte [esp + 0x17], 0
jne 0x4076ca
mov byte [esp + 0x16], 0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x429238]
mov esi, dword [esp + 0x90]
push esi
call dword [0x429238]
mov edi, 8
cmp dword [esp + 0x124], edi
jb 0x407701
mov edx, dword [esp + 0x110]
push edx
call fcn.0040dd40
add esp, 4
mov al, byte [esp + 0x16]
jmp 0x40772c
mov dword [ebp + 0x11c], 0x57
cmp dword [esp + 0x124], edi
jb 0x40772a
mov eax, dword [esp + 0x110]
push eax
call fcn.0040dd40
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1170]
xor ecx, esp
call fcn.0040dd4b
add esp, 0x1180
ret 8