Function at 0x4703b0
Capabilities:
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da535
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
mov eax, dword [0x50ffd8]
mov dword [ebp - 0x10], eax
push esi
push edi
mov dword [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0045bed0
movzx eax, al
test eax, eax
je 0x470427
mov byte [ebp - 0x1d1], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004014e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004014e0
mov al, byte [ebp - 0x1d1]
jmp 0x47097e
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x198], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0046d080
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0
jne 0x4704af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov byte [ebp - 0x1d2], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004014e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004014e0
mov al, byte [ebp - 0x1d2]
jmp 0x47097e
push 4
lea edx, [ebp + 0x20]
push edx
push 6
mov eax, dword [ebp - 0x1cc]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea ecx, [ebp + 0x20]
push ecx
push 7
mov edx, dword [ebp - 0x1cc]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x4704ea
lea ecx, [ebp + 0x18]
call fcn.0045c210
mov dword [ebp + 0x1c], eax
lea ecx, [ebp + 0xc]
call fcn.0045c210
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x194], 0x3c
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 1
mov word [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
lea eax, [ebp - 0x194]
push eax
push 0
mov ecx, dword [ebp - 0x1a8]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0046d080
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [ebp - 0x184]
push edx
call fcn.00499459
add esp, 4
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
add eax, dword [ebp - 0x180]
mov byte [eax], 0
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.00499459
add esp, 4
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
add edx, dword [ebp - 0x164]
mov byte [edx], 0
cmp dword [ebp - 0x1d0], 0
je 0x470600
mov eax, dword [ebp - 0x1d0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
movzx ecx, word [ebp - 0x17c]
cmp ecx, 0x50
jne 0x470618
mov dword [ebp - 0x148], 0x24000000
jmp 0x470622
mov dword [ebp - 0x148], 0x24800000
mov ecx, 0xc
mov esi, str.Content_Type:_application_x_www_form_urlencoded
lea edi, [ebp - 0x144]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [0x4e2364]
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x150], 0
xor eax, eax
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x150], ecx
push 1
mov edx, dword [ebp - 0x148]
push edx
push 3
push 0x4e2368
push 0x4e2369
mov ax, word [ebp - 0x17c]
push eax
mov ecx, dword [ebp - 0x1a4]
push ecx
mov edx, dword [ebp - 0x1cc]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
jne 0x47070d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1a4]
push eax
call fcn.00497e9d
add esp, 4
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.00497e9d
add esp, 4
mov byte [ebp - 0x1d3], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004014e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004014e0
mov al, byte [ebp - 0x1d3]
jmp 0x47097e
push 1
mov edx, dword [ebp - 0x148]
push edx
lea eax, [ebp - 0x150]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x158]
push ecx
push 0x4e236c
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
jne 0x4707b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1a4]
push eax
call fcn.00497e9d
add esp, 4
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.00497e9d
add esp, 4
mov byte [ebp - 0x1d4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004014e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004014e0
mov al, byte [ebp - 0x1d4]
jmp 0x47097e
mov edx, dword [ebp + 0x1c]
push edx
lea ecx, [ebp + 0x18]
call fcn.0046d080
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004980d0
add esp, 4
push eax
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x1d0]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x47085c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1a4]
push eax
call fcn.00497e9d
add esp, 4
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.00497e9d
add esp, 4
mov byte [ebp - 0x1d5], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004014e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004014e0
mov al, byte [ebp - 0x1d5]
jmp 0x47097e
mov edx, dword [ebp - 0x1a4]
push edx
call fcn.00497e9d
add esp, 4
mov eax, dword [ebp - 0x158]
push eax
call fcn.00497e9d
add esp, 4
mov dword [ebp - 0x154], 0x20
push 0
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x1c8]
push edx
push 0x13
mov eax, dword [ebp - 0x1d0]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea ecx, [ebp - 0x1c8]
push ecx
call fcn.00499420
add esp, 4
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
lea eax, [ebp - 0x1a0]
push eax
push 0xff
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1d0]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x1a0]
mov byte [ebp + eax - 0x114], 0
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00471ef0
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x268]
call fcn.0046d080
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0045bdf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
call fcn.00471f20
cmp dword [ebp - 0x1a0], 0
jne 0x4708b7
mov eax, dword [ebp - 0x198]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 0x25d], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004014e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004014e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004014e0
mov al, byte [ebp - 0x25d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00497e50
pop edi
pop esi
mov esp, ebp
pop ebp
ret