Function at 0x43146b
Capabilities:
Connect to http server
Create http request
Parse url

Disassembly:
push ebp
sub esp, 0x40
mov eax, 0x50f927
call fcn.00508264
mov eax, 0x343c
call fcn.004a1280
mov eax, dword [esi]
push ebx
push edi
mov ecx, esi
call dword [eax + 0xc]
mov edi, 0x3ff
xor ebx, ebx
push edi
lea eax, [ebp - 0xc47]
push ebx
push eax
mov byte [ebp - 0xc48], bl
call fcn.0049d740
push edi
lea eax, [ebp - 0x447]
push ebx
push eax
mov byte [ebp - 0x448], bl
call fcn.0049d740
push edi
lea eax, [ebp - 0x847]
push ebx
push eax
mov byte [ebp - 0x848], bl
call fcn.0049d740
push 0x27ff
lea eax, [ebp - 0x3447]
push ebx
push eax
mov byte [ebp - 0x3448], bl
call fcn.0049d740
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0049d740
lea eax, [ebp - 0xc48]
mov dword [ebp - 0x38], eax
mov eax, 0x400
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
add esp, 0x3c
lea eax, [ebp - 0x3448]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
push eax
push ebx
lea ecx, [ebp - 0x448]
push ebx
push dword [ebp + 0x4c]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0x2800
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x43154f
or eax, 0xffffffff
jmp 0x431754
cmp dword [esi + 0xa4], ebx
jne 0x431567
push str.Mozilla_4.0__compatible__MSIE_5.00__Windows_98__SoDA_
lea ecx, [esi + 0x90]
call fcn.004017bb
lea eax, [esi + 0x90]
cmp dword [eax + 0x18], 0x10
jb 0x431578
mov eax, dword [eax + 4]
jmp 0x43157b
add eax, 4
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0xe8], eax
cmp eax, ebx
je 0x431547
cmp dword [esi + 0x88], ebx
je 0x4315ff
cmp dword [esi + 0x8c], 0x10
mov dword [ebp + 4], 4
jb 0x4315ad
mov ecx, dword [esi + 0x78]
jmp 0x4315b0
lea ecx, [esi + 0x78]
push 0x14
mov dword [ebp + 8], ecx
pop ecx
push ecx
mov dword [ebp + 0x24], ecx
lea ecx, [ebp + 0x24]
push ecx
push 0x4b
lea edx, [ebp + 4]
push eax
mov dword [ebp + 0x10], 1
mov dword [ebp + 0x14], 5
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], 2
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], edx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x4315ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetSetOption_failed____d__n
call fcn.00413df9
pop ecx
pop ecx
push ebx
push ebx
push 3
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push dword [esi + 0xe8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 0xec], eax
cmp eax, ebx
je 0x431547
cmp dword [ebp - 0x3c], 4
mov dword [ebp + 0x38], 0x53c388
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
jne 0x431643
mov dword [ebp + 0x40], 0x800000
push dword [ebp - 0x1c]
lea ecx, [ebp + 0x1c]
cmp dword [esi + 0x50], ebx
jne 0x43168d
call fcn.00401644
lea ecx, [ebp]
push ecx
mov edi, eax
mov dword [ebp - 4], ebx
call fcn.004342d1
cmp dword [eax + 0x18], 0x10
jb 0x43166c
mov ecx, dword [eax + 4]
jmp 0x43166f
lea ecx, [eax + 4]
mov eax, dword [ebp + 0x40]
push ebx
or eax, 0x80280000
push eax
lea eax, [ebp + 0x38]
push eax
push dword [ebp + 0x50]
push str.HTTP_1.0
push ecx
push 0x53aed8
jmp 0x4316ce
call fcn.00401644
lea ecx, [ebp]
push ecx
mov edi, eax
mov dword [ebp - 4], 1
call fcn.004342d1
cmp dword [eax + 0x18], 0x10
jb 0x4316af
mov ecx, dword [eax + 4]
jmp 0x4316b2
lea ecx, [eax + 4]
mov eax, dword [ebp + 0x40]
push ebx
or eax, 0x84280000
push eax
lea eax, [ebp + 0x38]
push eax
push dword [ebp + 0x50]
push str.HTTP_1.0
push ecx
push str.POST
push dword [esi + 0xec]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push ebx
push 1
lea ecx, [ebp]
mov dword [esi + 0xf0], eax
call fcn.004017de
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004017de
mov eax, dword [esi + 0xf0]
cmp eax, ebx
je 0x431547
push 4
pop edi
cmp dword [ebp - 0x3c], edi
jne 0x43173e
lea ecx, [ebp + 0x40]
push ecx
lea ecx, [ebp + 0x50]
push ecx
push 0x1f
push eax
mov dword [ebp + 0x40], edi
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [ebp + 0x50], 0x80
push edi
lea eax, [ebp + 0x50]
push eax
push 0x1f
push dword [esi + 0xf0]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push dword [ebp + 0x4c]
lea ecx, [esi + 0x104]
mov byte [esi + 0x100], bl
call fcn.004017bb
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x44
leave
ret 8