Function at 0x403300
Capabilities:
Create http request
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x44606c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push 0
push 1
push str.winnet_http_client_v1.0
mov edi, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [edi], eax
test eax, eax
jne 0x40335a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_InternetOpenA._n
call fcn.004013b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413261
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x14], 0x10
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], 1
jb 0x4033b3
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push eax
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x4033ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__u_in_InternetCrackUrlA._n
call fcn.004013b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413261
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
push dword [ebp - 0x30]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00409390
lea eax, [ebp - 0x58]
push eax
lea ecx, [edi + 0xc]
call fcn.00407960
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40344f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403445
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403566
push edx
push ecx
call fcn.004137b1
add esp, 8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
push dword [ebp - 0x14]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00409390
lea eax, [ebp - 0x58]
push eax
lea ecx, [edi + 0x24]
call fcn.00407960
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4034af
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4034a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403566
push edx
push ecx
call fcn.004137b1
add esp, 8
push dword [ebp - 8]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
push dword [ebp - 0xc]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00409390
lea eax, [ebp - 0x58]
lea esi, [edi + 0x3c]
push eax
mov ecx, esi
call fcn.00407960
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40350d
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403566
push edx
push ecx
call fcn.004137b1
add esp, 8
mov eax, dword [ebp - 0x34]
lea ecx, [edi + 0x24]
mov dword [edi + 0x54], eax
mov ax, word [ebp - 0x28]
push esi
mov word [edi + 0x58], ax
call fcn.004078a0
lea ecx, [edi + 0x68]
cmp ecx, 0x4469c0
je 0x40354e
cmp dword [0x4469d4], 0x10
mov eax, 0x4469c0
push dword [0x4469d0]
cmovae eax, dword [0x4469c0]
push eax
call fcn.00409390
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413261
mov esp, ebp
pop ebp
ret 8
call fcn.004189c5
int3