Function at 0x402520
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 0x50d418
mov eax, dword fs:[0]
push eax
mov eax, 0x1178
call fcn.00456cf0
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x1174], eax
push ebx
push ebp
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x1188]
mov dword fs:[0], eax
mov eax, dword [esi + 0x1c]
xor ebp, ebp
cmp eax, ebp
ja 0x402576
mov dword [esi + 0x11c], 3
jmp 0x40347d
push 0xffffffffffffffff
push ebp
xor eax, eax
push ecx
lea ecx, [esp + 0x134]
mov dword [esp + 0x14c], 7
mov dword [esp + 0x148], ebp
mov word [esp + 0x138], ax
call fcn.004052d0
mov dword [esp + 0x1190], ebp
mov eax, dword [esp + 0x12c]
mov edi, 8
cmp dword [esp + 0x140], edi
jae 0x4025c5
lea eax, [esp + 0x12c]
push 0x522694
push eax
call fcn.00504ecf
add esp, 8
test eax, eax
jne 0x4025e0
push 3
push 0x522694
jmp 0x402614
mov eax, dword [esp + 0x12c]
cmp dword [esp + 0x140], edi
jae 0x4025f7
lea eax, [esp + 0x12c]
push str.POST
push eax
call fcn.00504ecf
add esp, 8
test eax, eax
jne 0x40345a
push 4
push str.POST
lea ecx, [esp + 0x130]
call fcn.004053d0
mov byte [esp + 0x16], 1
cmp dword [esi], ebp
jne 0x40266d
cmp dword [esi + 0x154], edi
jb 0x402639
mov eax, dword [esi + 0x140]
jmp 0x40263f
lea eax, [esi + 0x140]
push ebp
push ebp
push ebp
push ebp
push eax
call dword [0x50f4a0]
mov dword [esi], eax
cmp eax, ebp
jne 0x40266d
call dword [0x50f0f8]
lea ecx, [esp + 0x128]
mov dword [esi + 0x11c], eax
call fcn.00404350
jmp 0x40347d
mov ecx, dword [esi + 0x1bc]
mov edx, dword [esi + 0x1b8]
mov eax, dword [esi + 0x1b4]
push ecx
mov ecx, dword [esi + 0x1b0]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [0x50f4c4]
push 0x206
lea ecx, [esp + 0x352]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x358], ax
call fcn.00453ec0
add esp, 0xc
push 0xa26
lea eax, [esp + 0x762]
xor edx, edx
push ebp
push eax
mov word [esp + 0x768], dx
call fcn.00453ec0
add esp, 0xc
push 0x3c
lea ecx, [esp + 0x9c]
push ebp
push ecx
call fcn.00453ec0
lea eax, [esp + 0x768]
add esp, 0xc
lea edx, [esp + 0x34c]
mov dword [esp + 0xc4], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x98], 0x3c
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0x104
mov dword [esp + 0xc8], 0x514
mov dword [esp + 0xa0], 1
cmp dword [esi + 0x20], edi
jb 0x40273a
mov ecx, dword [esi + 0xc]
jmp 0x40273d
lea ecx, [esi + 0xc]
lea edx, [esp + 0x98]
push edx
push ebp
push eax
push ecx
call dword [0x50f494]
test eax, eax
je 0x40343a
lea eax, [esp + 0x34c]
lea edx, [eax + 2]
mov ebx, 2
mov cx, word [eax]
add eax, ebx
cmp cx, bp
jne 0x402765
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x350]
push eax
lea ecx, [esi + 0x24]
call fcn.004053d0
mov ecx, dword [esp + 0xb0]
mov eax, dword [esi]
push ebp
push ecx
lea edx, [esp + 0x354]
push edx
push eax
call dword [0x50f4b0]
mov edi, eax
mov dword [esp + 0x90], edi
cmp edi, ebp
je 0x40343a
mov eax, dword [esp + 0x12c]
xor ecx, ecx
cmp dword [esp + 0xa4], ebx
setne cl
dec ecx
and ecx, 0x800000
cmp dword [esp + 0x140], 8
jae 0x4027da
lea eax, [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0xc8]
push ebp
push ebp
push ebp
push ecx
push eax
push edi
call dword [0x50f49c]
mov dword [esp + 0x24], eax
cmp eax, ebp
je 0x403433
cmp byte [esi + 4], 0
jne 0x402821
cmp dword [esp + 0xa4], ebx
jne 0x402821
push 4
lea edx, [esp + 0x2c]
push edx
push 0x1f
push eax
mov dword [esp + 0x38], 0x3100
call dword [0x50f4c0]
mov byte [esp + 0x17], 0
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x28]
mov ecx, eax
inc eax
mov dword [esp + 0x28], eax
cmp ecx, 3
jae 0x403415
mov ecx, dword [esi + 0xf8]
mov ebx, 8
test ecx, ecx
jbe 0x402889
cmp dword [esi + 0xfc], ebx
jb 0x40285d
mov eax, dword [esi + 0xe8]
jmp 0x402863
lea eax, [esi + 0xe8]
mov edi, dword [esp + 0x24]
push 0x1000000
push ecx
push eax
push edi
call dword [0x50f48c]
mov ebp, dword [0x50f0f8]
test eax, eax
jne 0x402893
call ebp
mov dword [esi + 0x11c], eax
jmp 0x402893
mov edi, dword [esp + 0x24]
mov ebp, dword [0x50f0f8]
cmp dword [esi + 0xd4], 0
jbe 0x402918
push str.Cookie:
lea ecx, [esp + 0x110]
call fcn.004042e0
push 0xffffffffffffffff
push 0
lea edx, [esi + 0xc0]
push edx
lea ecx, [esp + 0x118]
mov byte [esp + 0x119c], 1
call fcn.00406800
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x124], ebx
jae 0x4028e3
lea eax, [esp + 0x110]
mov ecx, dword [esp + 0x120]
push 0x1000000
push ecx
push eax
push edi
call dword [0x50f48c]
test eax, eax
jne 0x402904
call ebp
mov dword [esi + 0x11c], eax
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1190], 0
call fcn.00404350
cmp dword [esi + 0x114], 0
jbe 0x402a35
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.00453ec0
add esp, 0xc
cmp dword [esi + 0x118], ebx
jb 0x402977
mov eax, dword [esi + 0x104]
jmp 0x40297d
lea eax, [esi + 0x104]
push eax
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.00453e3b
mov ebx, dword [0x50f4c0]
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 0x4029c2
call ebp
mov dword [esi + 0x11c], eax
mov ecx, dword [esi + 0x170]
test ecx, ecx
jbe 0x402a35
cmp dword [esi + 0x174], 8
jb 0x4029dd
mov eax, dword [esi + 0x160]
jmp 0x4029e3
lea eax, [esi + 0x160]
add ecx, ecx
push ecx
push eax
push 0x1002
push edi
call ebx
test eax, eax
jne 0x4029fb
call ebp
mov dword [esi + 0x11c], eax
mov ecx, dword [esi + 0x18c]
test ecx, ecx
jbe 0x402a35
cmp dword [esi + 0x190], 8
jb 0x402a16
mov eax, dword [esi + 0x17c]
jmp 0x402a1c
lea eax, [esi + 0x17c]
lea edx, [ecx + ecx]
push edx
push eax
push 0x1003
push edi
call ebx
test eax, eax
jne 0x402a35
call ebp
mov dword [esi + 0x11c], eax
mov ebp, dword [0x50f4b8]
push 0
push 0
push 0
push 0
push 0
push 0
push edi
mov byte [esp + 0x3f], 0
call ebp
test eax, eax
jne 0x402c5a
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 ebx, ebx
call dword [0x50f4bc]
test eax, eax
je 0x4033f7
mov ecx, dword [esp + 0x48]
cmp ecx, ebx
je 0x402b52
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 [esi + 0x20], 8
mov dword [esp + 0x6c], 3
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
jb 0x402ae2
mov eax, dword [esi + 0xc]
jmp 0x402ae5
lea eax, [esi + 0xc]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x70]
push edx
push eax
mov eax, dword [esi]
push eax
call dword [0x50f498]
test eax, eax
je 0x402c16
mov edi, dword [esp + 0x24]
push 0xc
lea ecx, [esp + 0x58]
push ecx
push 0x26
push edi
call dword [0x50f4c0]
test eax, eax
je 0x402b2b
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call ebp
test eax, eax
je 0x402b2b
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x402b3a
push eax
call dword [0x50f1b8]
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x402c22
push eax
call dword [0x50f1b8]
jmp 0x402c22
mov edi, dword [esp + 0x4c]
cmp edi, ebx
je 0x402c40
xor eax, eax
mov dword [esp + 0x60], eax
push 0x206
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x14a]
xor edx, edx
push ebx
push eax
mov dword [esp + 0x6c], 3
mov word [esp + 0x150], dx
call fcn.00453ec0
add esp, 0xc
push edi
lea ecx, [esp + 0x148]
push 0x104
push ecx
call fcn.00453e3b
mov edi, dword [esp + 0x5c]
add esp, 0xc
lea edx, [esp + 0x144]
mov dword [esp + 0x64], edx
cmp edi, ebx
je 0x402bfe
push 0x206
lea ecx, [esp + 0x55a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x560], ax
call fcn.00453ec0
add esp, 0xc
push edi
lea edx, [esp + 0x558]
push 0x104
push edx
call fcn.00453e3b
lea eax, [esp + 0x560]
add esp, 0xc
mov dword [esp + 0x68], eax
mov edx, dword [esp + 0x24]
push 0xc
lea ecx, [esp + 0x64]
push ecx
push 0x26
push edx
call dword [0x50f4c0]
test eax, eax
jne 0x402c22
call dword [0x50f0f8]
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x402c31
push eax
call dword [0x50f1b8]
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x402c40
push eax
call dword [0x50f1b8]
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x402c4f
push eax
call dword [0x50f1b8]
cmp byte [esp + 0x23], 0
je 0x403403
mov eax, dword [esi + 0xdc]
mov ebx, dword [esp + 0x24]
xor edi, edi
cmp eax, edi
je 0x402c92
mov edx, dword [esi + 0xe0]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
push ebx
mov dword [esp + 0x2c], edi
call dword [0x50f4b4]
test eax, eax
jne 0x402c92
call dword [0x50f0f8]
mov dword [esi + 0x11c], eax
push edi
push ebx
call dword [0x50f4c8]
test eax, eax
je 0x4033f7
push edi
lea eax, [esp + 0x1c]
push eax
push edi
push edi
push 0x16
push ebx
mov dword [esp + 0x30], edi
call dword [0x50f4a8]
cmp eax, edi
jne 0x402cca
call dword [0x50f0f8]
cmp eax, 0x7a
jne 0x403012
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00453339
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x403012
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
push ecx
push 0
push ebp
call fcn.00453ec0
add esp, 0xc
push 0
lea edx, [esp + 0x1c]
push edx
push ebp
push 0
push 0x16
push ebx
call dword [0x50f4a8]
test eax, eax
je 0x403009
lea edi, [esi + 0x40]
push ebp
mov ecx, edi
call fcn.004043a0
lea ecx, [esp + 0x2c]
call fcn.00404060
push 0x522680
lea ecx, [esp + 0x110]
mov byte [esp + 0x1194], 2
call fcn.004042e0
mov byte [esp + 0x1190], 3
cmp byte [esi + 0x158], 0
jne 0x402dc1
push str.charset_A_Za_z0_9___
lea ecx, [esp + 0x110]
call fcn.004043a0
lea eax, [esp + 0x2c]
push eax
mov edx, edi
lea ecx, [esp + 0x110]
call fcn.00401960
add esp, 4
test al, al
je 0x402dc1
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x402dc1
push 0
lea ecx, [esp + 0x30]
call fcn.004157c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x78]
call fcn.004052d0
push str.Content_Length:__0_9_
lea ecx, [esp + 0x110]
call fcn.004043a0
lea edx, [esp + 0x2c]
push edx
mov edx, edi
lea ecx, [esp + 0x110]
call fcn.00401960
add esp, 4
test al, al
je 0x402e31
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 0x402e31
push 0
lea ecx, [esp + 0x30]
call fcn.004157c0
cmp dword [eax + 0x18], 8
jb 0x402e1f
mov eax, dword [eax + 4]
jmp 0x402e22
add eax, 4
push eax
call fcn.00453774
add esp, 4
mov dword [esi + 0xa0], eax
push str.Location:__0_9_
lea ecx, [esp + 0x110]
call fcn.004043a0
lea ecx, [esp + 0x2c]
push ecx
mov edx, edi
lea ecx, [esp + 0x110]
call fcn.00401960
add esp, 4
test al, al
je 0x402e94
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 0x402e94
push 0
lea ecx, [esp + 0x30]
call fcn.004157c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x194]
call fcn.004052d0
push str.Set_Cookie:_b.__n
lea ecx, [esp + 0x110]
call fcn.004043a0
lea ecx, [esp + 0x2c]
push ecx
mov edx, edi
lea ecx, [esp + 0x110]
call fcn.00401960
add esp, 4
test al, al
je 0x402fec
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 0x402fec
xor edi, edi
test eax, eax
jbe 0x402f5d
lea ebx, [esi + 0xa4]
push edi
lea ecx, [esp + 0x30]
call fcn.004157c0
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00406800
mov ebp, dword [esp + 0x3c]
mov ecx, ebp
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 0x402f39
push 0x522778
mov ecx, ebx
call fcn.004043f0
mov ebp, dword [esp + 0x3c]
sub ebp, dword [esp + 0x38]
mov eax, 0x92492493
imul ebp
add edx, ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x402ef0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
push 0x52268c
lea ecx, [esp + 0xd8]
call fcn.004042e0
lea edi, [esi + 0xa4]
push edi
lea ecx, [esp + 0xd8]
lea edx, [esp + 0xf4]
mov byte [esp + 0x1194], 4
call fcn.00401eb0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x119c], 5
call fcn.004052d0
lea ecx, [esp + 0xf0]
call fcn.00404350
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1190], 3
call fcn.00404350
mov eax, dword [esi + 0xb8]
test eax, eax
jbe 0x402fec
dec eax
push eax
mov ecx, edi
call fcn.00404420
cmp word [eax], 0x3b
je 0x402fec
push 0x522780
mov ecx, edi
call fcn.004043f0
lea ecx, [esp + 0x10c]
call fcn.00404350
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1190], 0
call fcn.004040c0
push ebp
call fcn.00453eaa
add esp, 4
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x13
push ebx
mov dword [esp + 0x30], 0
call dword [0x50f4a8]
test eax, eax
jne 0x40303d
call dword [0x50f0f8]
cmp eax, 0x7a
jne 0x40309f
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00453339
mov edi, eax
add esp, 4
test edi, edi
je 0x40309f
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax]
push ecx
push 0
push edi
call fcn.00453ec0
add esp, 0xc
push 0
lea edx, [esp + 0x1c]
push edx
push edi
push 0
push 0x13
push ebx
call dword [0x50f4a8]
test eax, eax
je 0x403096
push edi
lea ecx, [esi + 0x120]
call fcn.004043a0
push edi
call fcn.00453eaa
add esp, 4
mov eax, dword [esi + 0x94]
xor edi, edi
mov ebx, 0x2800
cmp eax, edi
je 0x4030bf
push eax
call fcn.00453eaa
add esp, 4
mov dword [esi + 0x94], edi
push 0x2800
call fcn.00453339
add esp, 4
mov dword [esi + 0x94], eax
cmp eax, edi
je 0x403410
push 0x2800
push edi
push eax
call fcn.00453ec0
add esp, 0xc
lea esp, [esp]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], 0
call dword [0x50f4a4]
test eax, eax
je 0x4031e2
push edi
mov edx, esi
call fcn.00403510
mov edx, dword [esp + 0x18]
inc edx
push edx
call fcn.00453339
mov ebp, eax
add esp, 4
mov dword [esp + 0x94], ebp
test ebp, ebp
je 0x4031ee
mov eax, dword [esp + 0x18]
inc eax
push eax
push 0
push ebp
call fcn.00453ec0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
push ebp
push eax
mov dword [esp + 0x2c], 0
call dword [0x50f490]
test eax, eax
je 0x4031d7
mov ecx, dword [esp + 0x1c]
add ecx, edi
cmp ecx, ebx
jbe 0x4031bc
mov ebp, dword [esi + 0x94]
add ebx, ebx
push ebx
call fcn.00453339
add esp, 4
mov dword [esi + 0x94], eax
test eax, eax
je 0x4031fb
push ebx
push 0
push eax
call fcn.00453ec0
mov edx, dword [esi + 0x94]
add esp, 0xc
push edi
push ebp
push edx
call fcn.004571c0
add esp, 0xc
push ebp
call fcn.00453eaa
mov ebp, dword [esp + 0x98]
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x94]
push eax
add ecx, edi
push ebp
push ecx
call fcn.004571c0
add esp, 0xc
add edi, dword [esp + 0x1c]
push ebp
call fcn.00453eaa
add esp, 4
jmp 0x4031ee
call dword [0x50f0f8]
mov dword [esi + 0x11c], eax
cmp dword [esp + 0x18], 0
ja 0x4030f0
jmp 0x403206
mov dword [esi + 0x94], ebp
mov byte [esp + 0x16], 0
push edi
mov edx, esi
call fcn.00403510
mov dword [esi + 0x98], edi
xor ebp, ebp
cmp dword [esi + 0x90], 8
mov edi, 1
mov dword [esp + 0x1c], edi
jb 0x40322d
mov eax, dword [esi + 0x7c]
jmp 0x403230
lea eax, [esi + 0x7c]
push 5
push 0x522784
push eax
call fcn.00469843
add esp, 0xc
test eax, eax
jne 0x40324f
xor edi, edi
mov ebp, 0xfde9
mov dword [esp + 0x1c], edi
mov edx, dword [esi + 0x98]
mov eax, dword [esi + 0x94]
mov ebx, dword [0x50f1fc]
push 0
push 0
inc edx
push edx
push eax
push edi
push ebp
call ebx
mov edi, eax
test edi, edi
jg 0x403298
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
xor ebp, ebp
push ebp
push ebp
inc ecx
push ecx
push edx
push 1
push ebp
mov dword [esp + 0x34], 1
call ebx
mov edi, eax
test edi, edi
jle 0x4032fb
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00453339
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4032fb
lea eax, [edi + edi]
push eax
push 0
push ebx
call fcn.00453ec0
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, dword [esp + 0x28]
add esp, 0xc
push edi
push ebx
inc ecx
push ecx
push edx
push eax
push ebp
call dword [0x50f1fc]
test eax, eax
jle 0x4032f2
push ebx
lea ecx, [esi + 0x5c]
call fcn.004043a0
push ebx
call fcn.00453eaa
add esp, 4
lea ecx, [esp + 0x128]
push 0x522694
push ecx
mov byte [esp + 0x1f], 1
call fcn.00408c80
add esp, 8
test al, al
je 0x403421
push str._html_
lea ecx, [esp + 0x110]
call fcn.004042e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1190], 6
call fcn.00404060
lea edx, [esp + 0x2c]
lea edi, [esi + 0x5c]
push edx
mov edx, edi
lea ecx, [esp + 0x110]
mov byte [esp + 0x1194], 7
call fcn.00401960
add esp, 4
test al, al
je 0x4033d8
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 0x4033d8
push str.__html_
lea ecx, [esp + 0x110]
call fcn.004043a0
lea ecx, [esp + 0x2c]
push ecx
mov edx, edi
lea ecx, [esp + 0x110]
call fcn.00401960
add esp, 4
test al, al
je 0x4033c9
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 0x4033d8
mov dword [esi + 0x11c], 0xd
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x2c]
call fcn.004040c0
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1190], 0
call fcn.00404350
jmp 0x403403
call dword [0x50f0f8]
mov dword [esi + 0x11c], eax
cmp byte [esp + 0x17], 0
je 0x40282a
jmp 0x403421
mov byte [esp + 0x16], 0
cmp byte [esp + 0x17], 0
jne 0x403421
mov byte [esp + 0x16], 0
mov ecx, dword [esp + 0x24]
push ecx
call dword [0x50f4ac]
mov edi, dword [esp + 0x90]
push edi
call dword [0x50f4ac]
cmp dword [esp + 0x140], 8
jb 0x403454
mov edx, dword [esp + 0x12c]
push edx
call fcn.00453344
add esp, 4
mov al, byte [esp + 0x16]
jmp 0x40347f
mov dword [esi + 0x11c], 0x57
cmp dword [esp + 0x140], edi
jb 0x40347d
mov eax, dword [esp + 0x12c]
push eax
call fcn.00453344
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1174]
xor ecx, esp
call fcn.00453735
add esp, 0x1184
ret