Function at 0x4301c0
Capabilities:
Connect to http server
Create http request
Parse url
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5effba
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x673f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], edx
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
push 0x38
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x50]
push ebx
mov dword [ebp - 0x58], ebx
push eax
mov dword [ebp - 0x54], 0x3c
call fcn.005ae810
add esp, 0xc
mov dword [ebp - 0x40], 0xffffffff
lea eax, [ebp - 0x54]
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x43052a
cmp dword [ebp - 0x44], ebx
je 0x43052a
cmp dword [ebp - 0x28], ebx
je 0x43052a
mov eax, dword [ebp - 0x48]
sub eax, 3
je 0x430277
sub eax, 1
jne 0x43052a
mov dword [ebp - 0x60], 0x800000
jmp 0x43027a
mov dword [ebp - 0x60], ebx
push 0
push 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call fcn.005c092b
mov edi, dword [sym.imp.urlmon.dll_ObtainUserAgentString]
add esp, 8
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
push 0
call edi
test eax, eax
jns 0x4302d0
cmp eax, 0x8007000e
jne 0x4302c5
push dword [ebp - 0x18]
push esi
call fcn.005c092b
add esp, 8
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
push 0
call edi
test eax, eax
js 0x4302a1
jmp 0x4302d0
push esi
call fcn.005bfc6b
add esp, 4
xor esi, esi
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetOpenA]
push esi
mov edi, eax
call fcn.005bfc6b
add esp, 4
cmp dword [ebp - 0x14], ebx
je 0x430316
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x14]
push 4
push eax
push 2
push edi
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp - 0x14]
push eax
push 5
push edi
call esi
mov eax, dword [ebp - 0x5c]
mov dword [eax], edi
test edi, edi
je 0x43052a
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x43032e
xor esi, esi
jmp 0x43037f
push dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0xb0], ebx
mov word [ebp - 0xb0], cx
lea ecx, [ebp - 0xb0]
push eax
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], 7
call fcn.004059d0
mov dword [ebp - 4], 0
lea esi, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
mov ebx, 1
mov dword [ebp - 0x58], ebx
cmovae esi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x43038a
xor edi, edi
jmp 0x4303c9
push dword [ebp - 0x34]
xor ecx, ecx
mov dword [ebp - 0x78], 0
mov word [ebp - 0x78], cx
lea ecx, [ebp - 0x78]
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
call fcn.004059d0
mov dword [ebp - 4], 1
lea edi, [ebp - 0x78]
or ebx, 2
cmp dword [ebp - 0x64], 8
mov dword [ebp - 0x58], ebx
cmovae edi, dword [ebp - 0x78]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push dword [ebp - 0x44]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
call fcn.004059d0
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
push 0
cmovae eax, dword [ebp - 0x98]
push 0
push 3
push esi
push edi
push dword [ebp - 0x3c]
mov edi, dword [ebp - 0x5c]
push eax
push dword [edi]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x84]
mov dword [esi], eax
cmp edx, 8
jb 0x430468
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43045e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43057f
push edx
push ecx
call fcn.0058a7f7
add esp, 8
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
test bl, 2
je 0x4304db
mov edx, dword [ebp - 0x64]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x4304c7
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4304bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43057f
push edx
push ecx
call fcn.0058a7f7
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
test bl, 1
je 0x43051c
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x43051c
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430512
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43057f
push edx
push ecx
call fcn.0058a7f7
add esp, 8
mov eax, dword [esi]
test eax, eax
jne 0x430548
push dword [edi]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058a7e9
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x60]
push 0
push 0
push 0
push dword [ebp - 0x28]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
test eax, eax
jne 0x43057b
push dword [esi]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [edi]
call esi
jmp 0x43052a
mov al, 1
jmp 0x43052c
call fcn.005b1b1f
int3