Function at 0x40578b
Capabilities:
Connect to http server
Create http request
Make an http request with a cookie
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 8
call fcn.0043ba1d
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x444257
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x405813
mov eax, 0x452a71
jmp 0x405818
mov eax, 0x452a76
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40582f
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push 0x80000004
push 0
push 0x452a7a
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405866
mov eax, 0x44422d
push eax
push 4
mov ebx, 0x148
call fcn.0043d6f0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x405973
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x452a86
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x452a7a
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x2c]
call fcn.00406beb
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4058d1
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4058e1
push ebx
call fcn.0043ba23
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4058f4
mov eax, 0x44422d
push eax
push 1
mov ebx, 0x174
call fcn.0043e570
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40591a
push ebx
call fcn.0043ba23
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40592e
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x44422d
push dword [ebp - 8]
call fcn.00401a1c
add esp, 8
cmp eax, 0
jne 0x40596e
push dword [ebp + 0x2c]
call fcn.00406eac
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40596a
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40598d
mov eax, 0x452a89
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x405989
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x405a39
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043e600
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043e600
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push 1
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x405a0b
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405a1e
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x405a2e
push ebx
call fcn.0043ba23
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
jmp 0x405ad9
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push 0x452b03
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x30], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x405a66
mov eax, 0x44422d
push eax
push 1
mov ebx, 0x168
call fcn.0043dd60
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405a8c
push ebx
call fcn.0043ba23
add esp, 4
mov dword [ebp - 0x38], esp
push 0
push 0x44422d
push dword [ebp - 0x34]
push 3
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x405ac0
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x405ad3
push ebx
call fcn.0043ba23
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x405b0f
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x405b05
push 6
call fcn.0043ba29
add esp, 4
mov eax, 0x444257
jmp 0x406b46
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp + 8]
call fcn.00406ff2
mov dword [ebp - 0x38], eax
push dword [ebp + 8]
call fcn.0040759b
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043e600
add esp, 0x10
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043e600
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push 0
push 0
push 3
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetConnectA]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x405bbc
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x405bcf
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405bdf
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405bef
push ebx
call fcn.0043ba23
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x405c4d
mov dword [ebp - 0x30], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x405c21
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x405c43
push 6
call fcn.0043ba29
add esp, 4
mov eax, 0x444257
jmp 0x406b46
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.0043e550
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x20], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x405cbf
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0043e550
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x405cf4
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0043e550
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 5
push 0x80000004
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x405d15
mov eax, 0x44422d
push eax
push 2
mov ebx, 0x134
call fcn.0043dc90
add esp, 0x1c
mov dword [ebp - 0x30], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x405d3e
mov eax, 0x44422d
push eax
push 1
mov ebx, 0x154
call fcn.0043e030
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405d64
push ebx
call fcn.0043ba23
add esp, 4
push 0x452b09
push dword [ebp - 0x34]
call fcn.00401a1c
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x405d92
push ebx
call fcn.0043ba23
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x405dcc
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0043e550
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x405df7
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0043e550
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.004077cf
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043e600
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0043e600
add esp, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esp
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push 0x452b0f
push dword [ebp - 0x30]
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x405e7f
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x405e92
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x405ea2
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x405eb2
push ebx
call fcn.0043ba23
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x405f32
mov dword [ebp - 0x30], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x405ee4
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x405f06
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x405f28
push 6
call fcn.0043ba29
add esp, 4
mov eax, 0x444257
jmp 0x406b46
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x452b18
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x405f65
mov eax, 0x44422d
push eax
push 4
mov ebx, 0x148
call fcn.0043d6f0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x406016
push 0x44422d
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401a1c
add esp, 8
cmp eax, 0
jne 0x405fdb
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x452b21
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x405fd0
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x406016
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x452b2b
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.0040107b
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406010
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x452b37
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406049
mov eax, 0x44422d
push eax
push 4
mov ebx, 0x148
call fcn.0043d6f0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x40609f
push 0x452b3f
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406099
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x452b4d
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4060d2
mov eax, 0x44422d
push eax
push 4
mov ebx, 0x148
call fcn.0043d6f0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x406128
push 0x452b5e
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406122
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x452b77
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x40615b
mov eax, 0x44422d
push eax
push 4
mov ebx, 0x148
call fcn.0043d6f0
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x4061b1
push 0x452b85
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4061ab
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x44422d
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401a1c
add esp, 8
cmp eax, 0
je 0x406207
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push 0x452bb7
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.0040107b
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406201
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x406275
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406226
mov eax, 0x44422d
push eax
push 1
mov ebx, 0x130
call fcn.0043e620
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push 0x44422d
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x406270
push 6
call fcn.0043ba29
add esp, 4
jmp 0x40638f
mov eax, 0x444257
xor ecx, ecx
test eax, eax
je 0x406283
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x406296
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4062ad
dec eax
test ecx, ecx
je 0x4062ad
call fcn.00405688
add esp, 0xc
test eax, eax
jne 0x4062ff
push 0x80000004
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x4062cd
mov eax, 0x44422d
push eax
push 1
mov ebx, 0x198
call fcn.0043d630
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4062f9
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x406314
mov eax, 0x44422d
push eax
push 1
mov ebx, 0x130
call fcn.0043e620
add esp, 0x10
mov dword [ebp - 0x30], eax
push VariantCopy
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x40633f
mov eax, 0x444257
push eax
push 1
mov ebx, 0x194
call fcn.0043e640
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push dword [ebp - 0x34]
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x406367
add eax, 8
push eax
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x40638f
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.0043e650
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4063cb
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0x1c]
push eax
push 0x400
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4063e5
add eax, 8
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x406405
push 6
call fcn.0043ba29
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x406419
jmp 0x40648f
push 0x80000301
push 0
push dword [ebp - 0x1c]
push VariantCopy
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x406436
mov eax, 0x444257
push eax
push 2
mov ebx, 0x1a0
call fcn.0043e680
add esp, 0x1c
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.00405734
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x406472
push ebx
call fcn.0043ba23
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406486
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x406396
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.0043dba0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4064c6
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
mov dword [ebp - 0x30], esp
push 0
mov eax, 0x1388
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x54]
push dword [ebx]
push 0x16
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x406509
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40652b
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40654d
push 6
call fcn.0043ba29
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40656f
push 6
call fcn.0043ba29
add esp, 4
push 0
push 0
push 0
push 0x80000004
push 0
push 0x452a86
push 0x80000004
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x406596
mov eax, 0x44422d
push eax
push 3
mov ebx, 0x190
call fcn.0043e6b0
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4065ce
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4065ca
imul eax, dword [ebx]
jmp 0x4065bf
mov ecx, eax
test ecx, ecx
je 0x4065ed
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4065e6
push ebx
push eax
call fcn.0043ba23
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4065d4
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x44422d
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406611
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.004010d7
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4068c8
mov ebx, dword [ebp - 0x28]
call fcn.004010f0
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x406653
push 4
call fcn.0043ba29
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406666
push 1
call fcn.0043ba29
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x452bc2
push 0x80000004
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x4066a1
mov eax, 0x44422d
push eax
push 4
mov ebx, 0x148
call fcn.0043d6f0
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x406720
mov ebx, dword [ebp - 0x28]
call fcn.004010f0
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4066de
push 4
call fcn.0043ba29
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4066f1
push 1
call fcn.0043ba29
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push dword [ebp - 0x30]
call fcn.00406eac
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40671a
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.004010f0
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40673d
push 4
call fcn.0043ba29
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x406750
push 1
call fcn.0043ba29
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x452bcc
push 0x80000004
push 0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
test eax, eax
jne 0x40678b
mov eax, 0x44422d
push eax
push 4
mov ebx, 0x148
call fcn.0043d6f0
add esp, 0x34
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x4068c0
mov ebx, dword [ebp - 0x28]
call fcn.004010f0
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4067c8
push 4
call fcn.0043ba29
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4067db
push 1
call fcn.0043ba29
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov eax, 0x452bd7
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x452bd9
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x30]
call fcn.00406beb
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40682e
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40683e
push ebx
call fcn.0043ba23
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x406851
mov eax, 0x44422d
push eax
push 1
mov ebx, 0x174
call fcn.0043e570
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x406877
push ebx
call fcn.0043ba23
add esp, 4
push 0x452be5
push dword [ebp - 0x48]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.0040107b
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4068a4
push ebx
call fcn.0043ba23
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4068ba
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x406628
add esp, 0xc
push 0x80000004
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4068e0
mov eax, 0x44422d
push eax
push 1
mov ebx, 0x130
call fcn.0043e620
add esp, 0x10
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [0x452be8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.0040342a
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x40692d
mov eax, 0x44422d
push eax
push 2
mov ebx, 0x134
call fcn.0043dc90
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406959
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
cmp dword [ebp + 0x20], 0
mov eax, 0
sete al
and eax, 1
xor eax, 1
test eax, eax
je 0x406993
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004079dd
mov ebx, eax
test ebx, ebx
je 0x406993
push ebx
call fcn.0043ba23
add esp, 4
push 0x44422d
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401a1c
add esp, 8
cmp eax, 0
jne 0x4069e5
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x4069cc
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0043ba1d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4069df
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x452bf0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, 0x452bf7
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x54]
call fcn.00406beb
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x406a30
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x406a40
push ebx
call fcn.0043ba23
add esp, 4
push 0x452c01
push dword [ebp - 0x40]
call fcn.00401a1c
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x406a6e
push ebx
call fcn.0043ba23
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x406b27
push dword [ebp + 8]
call fcn.004077cf
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x34]
push dword [ebx]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x406aab
push ebx
call fcn.0043ba23
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406abf
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov eax, 0x44422d
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406adb
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
push 1
push dword [ebp + 0x54]
push 1
push dword [ebp + 0x4c]
push 1
push dword [ebp + 0x44]
push 1
push dword [ebp + 0x3c]
push 1
push dword [ebp + 0x34]
push 1
push dword [ebp + 0x2c]
push 1
push dword [ebp + 0x24]
push 1
push dword [ebp + 0x1c]
push 1
push dword [ebp + 0x14]
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
call fcn.0040578b
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x406b46
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x406b41
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0043ba1d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x406b46
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406b57
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x406b67
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x406b77
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x406b87
push ebx
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x406ba5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x406ba1
imul eax, dword [ebx]
jmp 0x406b96
mov ecx, eax
test ecx, ecx
je 0x406bc4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x406bbd
push ebx
push eax
call fcn.0043ba23
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x406bab
call fcn.0043ba23
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x406bdc
push ebx
call fcn.0043ba23
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54