Function at 0x4f41c4
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, 0x48
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.0051e5e1
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x53a2c9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x4f4245
mov eax, 0x612fbc
jmp 0x4f424a
mov eax, 0x612fc1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4f4261
push ebx
call fcn.0051e5e7
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 reloc.WS2_32.dll_connect
push 0
push str.User_Agent:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4298
mov eax, 0x53a290
push eax
push 4
mov ebx, 0x148
call fcn.0051fc00
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x4f43a5
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, 0x612fd1
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str.User_Agent:
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0x2c]
call fcn.004f54c3
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4f4303
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4f4313
push ebx
call fcn.0051e5e7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4f4326
mov eax, 0x53a290
push eax
push 1
mov ebx, 0x174
call fcn.0051fe30
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4f434c
push ebx
call fcn.0051e5e7
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4f4360
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x53a290
push dword [ebp - 8]
call fcn.00401030
add esp, 8
cmp eax, 0
jne 0x4f43a0
push dword [ebp + 0x2c]
call fcn.004f5784
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4f439c
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x4f43bf
mov eax, str.Mozilla_4.0__compatible__MSIE_9.0__Windows_NT_6.1__125LA__.NET_CLR_2.0.50727__.NET_CLR_3.0.04506.648__.NET_CLR_3.5.21022_
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4f43bb
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x50], 0
jne 0x4f446b
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051fec0
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051fec0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 1
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f443d
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4f4450
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4f4460
push ebx
call fcn.0051e5e7
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x4f450b
mov ebx, dword [ebp + 0x4c]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.004013e3
add esp, 8
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4f4498
mov eax, 0x53a290
push eax
push 1
mov ebx, 0x168
call fcn.0051ec80
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4f44be
push ebx
call fcn.0051e5e7
add esp, 4
mov dword [ebp - 0x34], esp
push 0
push 0x53a290
push dword [ebp - 0x30]
push 3
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x4f44f2
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4f4505
push ebx
call fcn.0051e5e7
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4f4541
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4537
push 6
call fcn.0051e5ed
add esp, 4
mov eax, 0x53a2c9
jmp 0x4f5436
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push dword [ebp + 8]
call fcn.004f58ca
mov dword [ebp - 0x34], eax
push dword [ebp + 8]
call fcn.004f5e73
mov dword [ebp - 0x38], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051fec0
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051fec0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0
push 0
push 3
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetConnectA]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x4f45ee
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4f4601
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4f4611
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4f4621
push ebx
call fcn.0051e5e7
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4f467f
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4653
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4675
push 6
call fcn.0051e5ed
add esp, 4
mov eax, 0x53a2c9
jmp 0x4f5436
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push SysReAllocString
push 2
mov ebx, 0xc8
call fcn.0051fee0
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 0x4f46f1
push 0x80000301
push 0
push 0x80000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0051fee0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x3c], 0
je 0x4f4726
push 0x80000301
push 0
push 0x200000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0051fee0
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 5
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4747
mov eax, 0x53a290
push eax
push 2
mov ebx, 0x134
call fcn.0051fa40
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4f4770
mov eax, 0x53a290
push eax
push 1
mov ebx, 0x154
call fcn.0051fb70
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4f4796
push ebx
call fcn.0051e5e7
add esp, 4
push str.https
push dword [ebp - 0x30]
call fcn.00401030
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4f47c4
push ebx
call fcn.0051e5e7
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x4f47fe
push 0x80000301
push 0
push 0x800000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0051fee0
add esp, 0x1c
mov dword [ebp - 0x14], eax
jmp 0x4f4829
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 2
mov ebx, 0xc8
call fcn.0051fee0
add esp, 0x1c
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
call fcn.004f60a7
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051fec0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0051fec0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push 0x61305a
push dword [ebp - 0x2c]
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
nop
nop
nop
nop
cmp dword [ebp - 0x38], esp
je 0x4f48b1
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4f48c4
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4f48d4
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4f48e4
push ebx
call fcn.0051e5e7
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4f4964
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4916
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4938
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f495a
push 6
call fcn.0051e5ed
add esp, 4
mov eax, 0x53a2c9
jmp 0x4f5436
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x613063
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4997
mov eax, 0x53a290
push eax
push 4
mov ebx, 0x148
call fcn.0051fc00
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4f4a48
push 0x53a290
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.00401030
add esp, 8
cmp eax, 0
jne 0x4f4a0d
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.Referer:
mov ecx, 2
call fcn.004013e3
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f4a02
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x4f4a48
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._r_nReferer:
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.004013e3
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f4a42
push ebx
call fcn.0051e5e7
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 reloc.WS2_32.dll_connect
push 0
push str.Accept:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4a7b
mov eax, 0x53a290
push eax
push 4
mov ebx, 0x148
call fcn.0051fc00
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4f4ad1
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004013e3
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f4acb
push ebx
call fcn.0051e5e7
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 reloc.WS2_32.dll_connect
push 0
push str.Accept_Language:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4b04
mov eax, 0x53a290
push eax
push 4
mov ebx, 0x148
call fcn.0051fc00
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4f4b5a
push str._r_nAccept_Language:_zh_cn
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004013e3
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f4b54
push ebx
call fcn.0051e5e7
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 reloc.WS2_32.dll_connect
push 0
push str.Content_Type:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4b8d
mov eax, 0x53a290
push eax
push 4
mov ebx, 0x148
call fcn.0051fc00
add esp, 0x34
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4f4be3
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.004013e3
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f4bdd
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x53a290
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.00401030
add esp, 8
cmp eax, 0
je 0x4f4c39
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
push str._r_nCookie:
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.004013e3
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f4c33
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
jne 0x4f4ca7
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4c58
mov eax, 0x53a290
push eax
push 1
mov ebx, 0x130
call fcn.0051fa20
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0
push 0x53a290
push dword [ebp - 0x2c]
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 - 0x30], esp
je 0x4f4ca2
push 6
call fcn.0051e5ed
add esp, 4
jmp 0x4f4dc1
mov eax, 0x53a2c9
xor ecx, ecx
test eax, eax
je 0x4f4cb5
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 0x4f4cc8
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x4f4cdf
dec eax
test ecx, ecx
je 0x4f4cdf
call fcn.004f4118
add esp, 0xc
test eax, eax
jne 0x4f4d31
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4cff
mov eax, 0x53a290
push eax
push 1
mov ebx, 0x198
call fcn.0051f750
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f4d2b
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x44]
mov dword [ebx], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4d46
mov eax, 0x53a290
push eax
push 1
mov ebx, 0x130
call fcn.0051fa20
add esp, 0x10
mov dword [ebp - 0x2c], eax
push VariantCopy
push 0
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4d71
mov eax, 0x53a2c9
push eax
push 1
mov ebx, 0x194
call fcn.0051f840
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x30]
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x4f4d99
add eax, 8
push eax
push dword [ebp - 0x2c]
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 0x4f4dc1
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.0051ef50
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4f4dfd
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x1c]
push eax
push 0x400
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4f4e17
add eax, 8
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4e37
push 6
call fcn.0051e5ed
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x4f4e4b
jmp 0x4f4ec1
push 0x80000301
push 0
push dword [ebp - 0x1c]
push VariantCopy
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4f4e68
mov eax, 0x53a2c9
push eax
push 2
mov ebx, 0x1a0
call fcn.0051ff00
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004f14d7
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4f4ea4
push ebx
call fcn.0051e5e7
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4f4eb8
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
jmp 0x4f4dc8
push 0x80000301
push 0
push 0x1388
push 1
mov ebx, 0x184
call fcn.0051ff30
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f4ef8
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x54]
mov dword [ebx], eax
mov dword [ebp - 0x2c], esp
push 0
mov eax, 0x1388
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
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 - 0x2c], esp
je 0x4f4f3b
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4f5d
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4f7f
push 6
call fcn.0051e5ed
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4f4fa1
push 6
call fcn.0051e5ed
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x612fd1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x4f4fc8
mov eax, 0x53a290
push eax
push 3
mov ebx, 0x190
call fcn.0051f280
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4f5000
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4f4ffc
imul eax, dword [ebx]
jmp 0x4f4ff1
mov ecx, eax
test ecx, ecx
je 0x4f501f
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4f5018
push ebx
push eax
call fcn.0051e5e7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4f5006
call fcn.0051e5e7
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, 0x53a290
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f5043
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.004ee907
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 0x4f52fa
mov ebx, dword [ebp - 0x28]
call fcn.0040185f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4f5085
push 4
call fcn.0051e5ed
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4f5098
push 1
call fcn.0051e5ed
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Location:
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4f50d3
mov eax, 0x53a290
push eax
push 4
mov ebx, 0x148
call fcn.0051fc00
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4f5152
mov ebx, dword [ebp - 0x28]
call fcn.0040185f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4f5110
push 4
call fcn.0051e5ed
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4f5123
push 1
call fcn.0051e5ed
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
call fcn.004f5784
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp + 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f514c
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
call fcn.0040185f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4f516f
push 4
call fcn.0051e5ed
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4f5182
push 1
call fcn.0051e5ed
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Set_Cookie
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x4f51bd
mov eax, 0x53a290
push eax
push 4
mov ebx, 0x148
call fcn.0051fc00
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x4f52f2
mov ebx, dword [ebp - 0x28]
call fcn.0040185f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4f51fa
push 4
call fcn.0051e5ed
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4f520d
push 1
call fcn.0051e5ed
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, 0x613122
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, str.Set_Cookie:
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x2c]
call fcn.004f54c3
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4f5260
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4f5270
push ebx
call fcn.0051e5e7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4f5283
mov eax, 0x53a290
push eax
push 1
mov ebx, 0x174
call fcn.0051fe30
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4f52a9
push ebx
call fcn.0051e5e7
add esp, 4
push 0x613130
push dword [ebp - 0x44]
mov ebx, dword [ebp + 0x24]
push dword [ebx]
mov ecx, 3
call fcn.004013e3
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4f52d6
push ebx
call fcn.0051e5e7
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f52ec
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x24]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4f505a
add esp, 0xc
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4f5312
mov eax, 0x53a290
push eax
push 1
mov ebx, 0x130
call fcn.0051fa20
add esp, 0x10
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fsub qword [0x53a3d2]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00401efa
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebx]
test eax, eax
jne 0x4f535f
mov eax, 0x53a290
push eax
push 2
mov ebx, 0x134
call fcn.0051fa40
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp + 0x24]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4f538b
push ebx
call fcn.0051e5e7
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 0x4f53c5
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
call fcn.004f62b5
mov ebx, eax
test ebx, ebx
je 0x4f53c5
push ebx
call fcn.0051e5e7
add esp, 4
push 0x53a290
mov ebx, dword [ebp + 0x34]
push dword [ebx]
call fcn.00401030
add esp, 8
cmp eax, 0
jne 0x4f5417
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
je 0x4f53fe
push eax
mov ebx, eax
call fcn.00401378
inc eax
push eax
call fcn.0051e5e1
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 0x4f5411
push ebx
call fcn.0051e5e7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4f5431
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0051e5e1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4f5436
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4f5447
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4f5457
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4f5467
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4f5477
push ebx
call fcn.0051e5e7
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4f5495
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4f5491
imul eax, dword [ebx]
jmp 0x4f5486
mov ecx, eax
test ecx, ecx
je 0x4f54b4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4f54ad
push ebx
push eax
call fcn.0051e5e7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4f549b
call fcn.0051e5e7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x54