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

Disassembly:
push ebp
sub esp, 0x84
lea ebp, [esp - 4]
mov eax, dword [0x480070]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 8
mov eax, 0x463d8e
call fcn.00460eb0
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.0040de32
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.00449180
push 1
push 0x20
mov dword [edi], 0x3c
pop edi
push edi
call fcn.00447ee5
mov dword [esi + 0x1c], edi
push 1
mov edi, 0x100
push edi
mov dword [esi + 0x18], eax
call fcn.00447ee5
mov dword [esi + 0x28], edi
push 1
mov edi, 0x800
push edi
mov dword [esi + 0x24], eax
call fcn.00447ee5
push 1
push edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
call fcn.00447ee5
mov dword [esi + 0x4c], edi
push 1
mov edi, 0x80
push edi
mov dword [esi + 0x48], eax
call fcn.00447ee5
push 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
call fcn.00447ee5
add esp, 0x3c
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
cmp dword [esi + 0x24], ebx
jne 0x40dfd8
mov dword [esi], 0x12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40dfcb
mov ecx, esi
call fcn.0040e6c0
jmp 0x40dfd1
mov dword [esi], 0x63
xor eax, eax
jmp 0x40e1c8
push dword [ebp - 0x10]
lea eax, [ebp + 4]
mov dword [ebp], eax
lea eax, [ebp]
push eax
call fcn.0040e74f
mov dword [ebp - 4], ebx
mov eax, dword [0x4831ec]
mov edi, 0x4831ec
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4831ec]
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 0x40e060
movzx eax, byte [edi]
cmp al, 0x7f
ja 0x40e039
cmp al, 0x1f
jbe 0x40e039
push eax
lea eax, [ebp - 0x10]
call fcn.0040e80f
jmp 0x40e05b
movzx eax, al
push eax
push str.___02X
lea eax, [ebp - 0x14]
call fcn.0040e9d5
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.0040e838
inc edi
cmp byte [edi], bl
jne 0x40e023
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 0x40e0c9
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40e096
mov ecx, esi
call fcn.0040e6c0
jmp 0x40e09c
mov dword [esi], 0x63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
lea eax, [edi - 0x10]
call fcn.004017a1
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40dfd1
push dword [ebp]
call fcn.00444e19
pop ecx
jmp 0x40dfd1
mov dword [esi + 0x50], 0x84400300
cmp dword [esi + 0x68], ebx
je 0x40e0dc
mov dword [esi + 0x50], 0x84600300
cmp dword [esi + 0x20], 4
jne 0x40e0e9
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 0x40e109
mov dword [esi], 2
jmp 0x40e07d
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 0x40e143
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 0x40e19e
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40e182
mov ecx, esi
call fcn.0040e6c0
jmp 0x40e188
mov dword [esi], 0x63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x40e0aa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017a1
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40e1c5
push dword [ebp]
call fcn.00444e19
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.00444b2e
add ebp, 0x88
leave
ret 4