Function at 0x40ffdb
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, 0x466b12
call fcn.00463cb0
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.0040ff29
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.0044bfc0
push 1
push 0x20
mov dword [edi], 0x3c
pop edi
push edi
call fcn.004478cd
mov dword [esi + 0x1c], edi
push 1
mov edi, 0x100
push edi
mov dword [esi + 0x18], eax
call fcn.004478cd
mov dword [esi + 0x28], edi
push 1
mov edi, 0x800
push edi
mov dword [esi + 0x24], eax
call fcn.004478cd
push 1
push edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
call fcn.004478cd
mov dword [esi + 0x4c], edi
push 1
mov edi, 0x80
push edi
mov dword [esi + 0x48], eax
call fcn.004478cd
push 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
call fcn.004478cd
add esp, 0x3c
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
cmp dword [esi + 0x24], ebx
jne 0x4100cf
mov dword [esi], 0x12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x4100c2
mov ecx, esi
call fcn.00410ba4
jmp 0x4100c8
mov dword [esi], 0x63
xor eax, eax
jmp 0x4102c4
push 0xfde9
push dword [ebp - 0x10]
lea eax, [ebp + 4]
mov dword [ebp], eax
lea eax, [ebp]
push eax
call fcn.0040f77a
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 0x41015c
movzx eax, byte [edi]
cmp al, 0x7f
ja 0x410135
cmp al, 0x1f
jbe 0x410135
push eax
lea eax, [ebp - 0x10]
call fcn.00410c62
jmp 0x410157
movzx eax, al
push eax
push str.___02X
lea eax, [ebp - 0x14]
call fcn.00410e9f
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00410cf3
inc edi
cmp byte [edi], bl
jne 0x41011f
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 0x4101c5
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x410192
mov ecx, esi
call fcn.00410ba4
jmp 0x410198
mov dword [esi], 0x63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
lea eax, [edi - 0x10]
call fcn.004017c3
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x4100c8
push dword [ebp]
call fcn.0044783f
pop ecx
jmp 0x4100c8
mov dword [esi + 0x50], 0x84400300
cmp dword [esi + 0x68], ebx
je 0x4101d8
mov dword [esi + 0x50], 0x84600300
cmp dword [esi + 0x20], 4
jne 0x4101e5
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 0x410205
mov dword [esi], 2
jmp 0x410179
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 0x41023f
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 0x41029a
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x41027e
mov ecx, esi
call fcn.00410ba4
jmp 0x410284
mov dword [esi], 0x63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x4101a6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017c3
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x4102c1
push dword [ebp]
call fcn.0044783f
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.00447554
add ebp, 0x88
leave
ret 4