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

Disassembly:
push ebp
sub esp, 0x84
lea ebp, [esp - 4]
mov eax, dword [0x47f070]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 8
mov eax, 0x463108
call fcn.00460210
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.0040dd50
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.004484f0
push 1
push 0x20
mov dword [edi], 0x3c
pop edi
push edi
call fcn.0044721b
mov dword [esi + 0x1c], edi
push 1
mov edi, 0x100
push edi
mov dword [esi + 0x18], eax
call fcn.0044721b
mov dword [esi + 0x28], edi
push 1
mov edi, 0x800
push edi
mov dword [esi + 0x24], eax
call fcn.0044721b
push 1
push edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
call fcn.0044721b
mov dword [esi + 0x4c], edi
push 1
mov edi, 0x80
push edi
mov dword [esi + 0x48], eax
call fcn.0044721b
push 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
call fcn.0044721b
add esp, 0x3c
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
cmp dword [esi + 0x24], ebx
jne 0x40def6
mov dword [esi], 0x12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40dee9
mov ecx, esi
call fcn.0040e5de
jmp 0x40deef
mov dword [esi], 0x63
xor eax, eax
jmp 0x40e0e6
push dword [ebp - 0x10]
lea eax, [ebp + 4]
mov dword [ebp], eax
lea eax, [ebp]
push eax
call fcn.0040e66d
mov dword [ebp - 4], ebx
mov eax, dword [0x48220c]
mov edi, 0x48220c
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [0x48220c]
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 0x40df7e
movzx eax, byte [edi]
cmp al, 0x7f
ja 0x40df57
cmp al, 0x1f
jbe 0x40df57
push eax
lea eax, [ebp - 0x10]
call fcn.0040e72d
jmp 0x40df79
movzx eax, al
push eax
push str.___02X
lea eax, [ebp - 0x14]
call fcn.0040e8fe
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.0040e756
inc edi
cmp byte [edi], bl
jne 0x40df41
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 0x40dfe7
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40dfb4
mov ecx, esi
call fcn.0040e5de
jmp 0x40dfba
mov dword [esi], 0x63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
lea eax, [edi - 0x10]
call fcn.0040178c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40deef
push dword [ebp]
call fcn.0044435d
pop ecx
jmp 0x40deef
mov dword [esi + 0x50], 0x84400300
cmp dword [esi + 0x68], ebx
je 0x40dffa
mov dword [esi + 0x50], 0x84600300
cmp dword [esi + 0x20], 4
jne 0x40e007
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 0x40e027
mov dword [esi], 2
jmp 0x40df9b
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 0x40e061
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 0x40e0bc
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x40e0a0
mov ecx, esi
call fcn.0040e5de
jmp 0x40e0a6
mov dword [esi], 0x63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x40dfc8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040178c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40e0e3
push dword [ebp]
call fcn.0044435d
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.00444072
add ebp, 0x88
leave
ret 4