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

Disassembly:
push ebp
sub esp, 0x84
lea ebp, [esp - 4]
mov eax, dword [0x484060]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 8
mov eax, 0x466d93
call fcn.00463ef0
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.0040ffc7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
push 0x3c
lea edi, [esi + 0x14]
push ebx
push edi
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ebx
call fcn.0044c1f0
push 1
push 0x20
mov dword [edi], 0x3c
pop edi
push edi
call fcn.00447b01
mov dword [esi + 0x1c], edi
push 1
mov edi, 0x100
push edi
mov dword [esi + 0x18], eax
call fcn.00447b01
mov dword [esi + 0x28], edi
push 1
mov edi, 0x800
push edi
mov dword [esi + 0x24], eax
call fcn.00447b01
push 1
push edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
call fcn.00447b01
mov dword [esi + 0x4c], edi
push 1
mov edi, 0x80
push edi
mov dword [esi + 0x48], eax
call fcn.00447b01
push 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
call fcn.00447b01
add esp, 0x3c
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
cmp dword [esi + 0x24], ebx
jne 0x41016d
mov dword [esi], 0x12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x410160
mov ecx, esi
call fcn.00410c42
jmp 0x410166
mov dword [esi], 0x63
xor eax, eax
jmp 0x410362
push 0xfde9
push dword [ebp - 0x10]
lea eax, [ebp + 4]
mov dword [ebp], eax
lea eax, [ebp]
push eax
call fcn.0040f80d
mov dword [ebp - 4], ebx
mov eax, dword [0x4872ec]
mov edi, 0x4872ec
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4872ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp]
mov edi, eax
cmp byte [eax], bl
je 0x4101fa
movzx eax, byte [edi]
cmp al, 0x7f
ja 0x4101d3
cmp al, 0x1f
jbe 0x4101d3
push eax
lea eax, [ebp - 0x10]
call fcn.00410d00
jmp 0x4101f5
movzx eax, al
push eax
push str.___02X
lea eax, [ebp - 0x14]
call fcn.00410f3d
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00410d91
inc edi
cmp byte [edi], bl
jne 0x4101bd
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi - 0xc]
lea eax, [esi + 0x14]
push eax
push ebx
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x410263
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x410230
mov ecx, esi
call fcn.00410c42
jmp 0x410236
mov dword [esi], 0x63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017b8
lea eax, [edi - 0x10]
call fcn.004017b8
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x410166
push dword [ebp]
call fcn.00447a73
pop ecx
jmp 0x410166
mov dword [esi + 0x50], 0x84400300
cmp dword [esi + 0x68], ebx
je 0x410276
mov dword [esi + 0x50], 0x84600300
cmp dword [esi + 0x20], 4
jne 0x410283
or dword [esi + 0x50], 0x800000
mov eax, dword [esi + 0x54]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x4102a3
mov dword [esi], 2
jmp 0x410217
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [esi + 0x58]
push ecx
push 2
push eax
call edi
push 4
lea eax, [esi + 0x5c]
push eax
push 6
push dword [esi + 8]
call edi
push 4
lea eax, [esi + 0x60]
push eax
push 3
push dword [esi + 8]
call edi
lea eax, [esi + 0x64]
cmp dword [eax], ebx
je 0x4102dd
push 4
push eax
push 0x49
push ebx
call edi
movzx eax, word [esi + 0x2c]
push ebx
push ebx
push 3
pop edi
push edi
push dword [esi + 0x38]
push dword [esi + 0x30]
push eax
push dword [esi + 0x24]
push dword [esi + 8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x410338
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x41031c
mov ecx, esi
call fcn.00410c42
jmp 0x410322
mov dword [esi], 0x63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x410244
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017b8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017b8
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x41035f
push dword [ebp]
call fcn.00447a73
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.00447788
add ebp, 0x88
leave
ret 4