Function at 0x10037b4
Capabilities:
Connect to http server
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x14f0
call fcn.01007910
mov eax, dword [0x101a0bc]
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x14b0], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [eax], ebx
push 0xf
mov dword [ebp - 0x14a8], eax
xor eax, eax
mov dword [ebp - 0x14ac], ecx
mov dword [ecx], ebx
pop ecx
lea edi, [ebp - 0x14f0]
rep stosd dword es:[edi], eax
or word [ebp - 0x14d8], 0xffff
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14ec], eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x14e0], eax
lea eax, [ebp - 0x128c]
mov dword [ebp - 0x14c4], eax
lea eax, [ebp - 0x14f0]
push eax
push ebx
push ebx
push edx
mov dword [ebp - 0x14f0], 0x3c
mov dword [ebp - 0x14e8], 0x20
mov dword [ebp - 0x14dc], 0x100
mov dword [ebp - 0x14c0], 0x824
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x100388f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x100387a
call esi
mov esi, eax
jmp 0x1003a01
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1003a01
lea eax, [ebp - 0x44]
push 0x1001410
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10038ae
mov esi, 0x80004005
jmp 0x1003a05
push dword [ebp - 0x14c4]
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax*8]
pop ecx
lea eax, [eax + eax + 1]
push eax
lea ecx, [ebp - 0x14a4]
mov dword [ebp - 0x14b4], eax
call fcn.0100b01a
cmp dword [ebp - 0x14a4], ebx
jne 0x10038e6
mov esi, 0x8007000e
jmp 0x10039b6
lea eax, [ebp - 0x14b4]
push eax
push dword [ebp - 0x14a4]
push 0xffffffffffffffff
push dword [ebp - 0x14c4]
call fcn.010095e9
mov esi, eax
cmp esi, ebx
jl 0x10039f6
push 0xffffffffffffffff
push dword [ebp - 0x14a4]
lea ecx, [ebp - 0x139c]
call fcn.01003755
mov esi, dword [ebp - 0x139c]
cmp esi, ebx
jl 0x10039eb
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x14d8]
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x14b0]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov ecx, dword [ebp - 0x14a8]
mov dword [ecx], eax
jne 0x100397b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1003969
call esi
jmp 0x10039e9
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10039eb
cmp dword [ebp - 0x139c], ebx
jge 0x1003987
xor eax, eax
jmp 0x100398d
mov eax, dword [ebp - 0x1398]
lea eax, [eax + eax + 2]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp - 0x14ac]
pop ecx
mov dword [eax], esi
jne 0x10039c3
lea ecx, [ebp - 0x139c]
mov esi, 0x8007000e
call fcn.01002c92
lea ecx, [ebp - 0x14a4]
call fcn.01012aaf
jmp 0x1003a05
cmp dword [ebp - 0x139c], ebx
jge 0x10039cf
xor edi, edi
jmp 0x10039d5
mov edi, dword [ebp - 0x1398]
lea ecx, [ebp - 0x139c]
call fcn.010035fa
push eax
inc edi
push edi
push esi
call fcn.01002ff4
mov esi, eax
lea ecx, [ebp - 0x139c]
call fcn.01002c92
lea ecx, [ebp - 0x14a4]
call fcn.01012aaf
cmp esi, ebx
jge 0x1003a2d
mov edi, dword [ebp - 0x14a8]
mov eax, dword [edi]
cmp eax, ebx
je 0x1003a1a
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi], ebx
mov eax, dword [ebp - 0x14ac]
mov eax, dword [eax]
cmp eax, ebx
je 0x1003a2d
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.01007613
leave
ret 0x10