Function at 0x41021c
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, 0x466ead
call fcn.00463fe0
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x10], eax
mov eax, esi
call fcn.0041016a
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.0044c2f0
push 1
push 0x20
mov dword [edi], 0x3c
pop edi
push edi
call fcn.00447bfb
mov dword [esi + 0x1c], edi
push 1
mov edi, 0x100
push edi
mov dword [esi + 0x18], eax
call fcn.00447bfb
mov dword [esi + 0x28], edi
push 1
mov edi, 0x800
push edi
mov dword [esi + 0x24], eax
call fcn.00447bfb
push 1
push edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
call fcn.00447bfb
mov dword [esi + 0x4c], edi
push 1
mov edi, 0x80
push edi
mov dword [esi + 0x48], eax
call fcn.00447bfb
push 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
call fcn.00447bfb
add esp, 0x3c
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
cmp dword [esi + 0x24], ebx
jne 0x410310
mov dword [esi], 0x12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x410303
mov ecx, esi
call fcn.00410de5
jmp 0x410309
mov dword [esi], 0x63
xor eax, eax
jmp 0x410505
push 0xfde9
push dword [ebp - 0x10]
lea eax, [ebp + 4]
mov dword [ebp], eax
lea eax, [ebp]
push eax
call fcn.0040f9bb
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 0x41039d
movzx eax, byte [edi]
cmp al, 0x7f
ja 0x410376
cmp al, 0x1f
jbe 0x410376
push eax
lea eax, [ebp - 0x10]
call fcn.00410ea3
jmp 0x410398
movzx eax, al
push eax
push str.___02X
lea eax, [ebp - 0x14]
call fcn.004110e0
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00410f34
inc edi
cmp byte [edi], bl
jne 0x410360
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 0x410406
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x4103d3
mov ecx, esi
call fcn.00410de5
jmp 0x4103d9
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 0x410309
push dword [ebp]
call fcn.00447b6d
pop ecx
jmp 0x410309
mov dword [esi + 0x50], 0x84400300
cmp dword [esi + 0x68], ebx
je 0x410419
mov dword [esi + 0x50], 0x84600300
cmp dword [esi + 0x20], 4
jne 0x410426
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 0x410446
mov dword [esi], 2
jmp 0x4103ba
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 0x410480
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 0x4104db
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
cmp eax, 0x2f05
je 0x4104bf
mov ecx, esi
call fcn.00410de5
jmp 0x4104c5
mov dword [esi], 0x63
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x4103e7
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 0x410502
push dword [ebp]
call fcn.00447b6d
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.00447882
add ebp, 0x88
leave
ret 4