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

Disassembly:
push ebp
sub esp, 0x40
mov eax, 0x4525fa
call fcn.0044c764
mov eax, 0x343c
call fcn.0043b0f0
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.0043ab70
push edi
lea eax, [ebp - 0x447]
push ebx
push eax
mov byte [ebp - 0x448], bl
call fcn.0043ab70
push edi
lea eax, [ebp - 0x847]
push ebx
push eax
mov byte [ebp - 0x848], bl
call fcn.0043ab70
push 0x27ff
lea eax, [ebp - 0x3447]
push ebx
push eax
mov byte [ebp - 0x3448], bl
call fcn.0043ab70
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0043ab70
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 0x41ab66
or eax, 0xffffffff
jmp 0x41ad6b
cmp dword [esi + 0xa4], ebx
jne 0x41ab7e
push str.Mozilla_4.0__compatible__MSIE_5.00__Windows_98__SoDA_
lea ecx, [esi + 0x90]
call fcn.00401784
lea eax, [esi + 0x90]
cmp dword [eax + 0x18], 0x10
jb 0x41ab8f
mov eax, dword [eax + 4]
jmp 0x41ab92
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 0x41ab5e
cmp dword [esi + 0x88], ebx
je 0x41ac1f
cmp dword [esi + 0x8c], 0x10
mov dword [ebp + 4], 4
jb 0x41abc4
mov ecx, dword [esi + 0x78]
jmp 0x41abc7
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 0x41ac1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetSetOption_failed____d__n
push 8
push dword [0x467474]
call fcn.00429210
add esp, 0x10
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 0x41ab5e
xor edi, edi
cmp dword [ebp - 0x3c], 4
mov dword [ebp + 0x3c], 0x458f28
mov dword [ebp + 0x40], ebx
jne 0x41ac60
mov edi, 0x800000
push dword [ebp - 0x1c]
lea ecx, [ebp + 0x1c]
cmp dword [esi + 0x50], ebx
jne 0x41aca7
call fcn.0040162e
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], ebx
call fcn.0041d9e2
cmp dword [eax + 0x18], 0x10
jb 0x41ac88
mov eax, dword [eax + 4]
jmp 0x41ac8b
add eax, 4
push ebx
or edi, 0x80280000
push edi
lea ecx, [ebp + 0x3c]
push ecx
push dword [ebp + 0x50]
push str.HTTP_1.0
push eax
push 0x458418
jmp 0x41ace5
call fcn.0040162e
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], 1
call fcn.0041d9e2
cmp dword [eax + 0x18], 0x10
jb 0x41acc8
mov eax, dword [eax + 4]
jmp 0x41accb
add eax, 4
push ebx
or edi, 0x84280000
push edi
lea ecx, [ebp + 0x3c]
push ecx
push dword [ebp + 0x50]
push str.HTTP_1.0
push eax
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.004017a7
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004017a7
mov eax, dword [esi + 0xf0]
cmp eax, ebx
je 0x41ab5e
push 4
pop edi
cmp dword [ebp - 0x3c], edi
jne 0x41ad55
lea ecx, [ebp + 0x38]
push ecx
lea ecx, [ebp + 0x50]
push ecx
push 0x1f
push eax
mov dword [ebp + 0x38], 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.00401784
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x44
leave
ret 8