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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x14f0
call fcn.01008280
mov eax, dword [0x10180ac]
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], pe_nt_image_headers32
mov dword [ebp - 0x14c0], 0x824
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x1003847
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1003832
call esi
mov esi, eax
jmp 0x10039b9
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10039b9
lea eax, [ebp - 0x44]
push 0x1001410
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x1003866
mov esi, 0x80004005
jmp 0x10039bd
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.010035b9
cmp dword [ebp - 0x14a4], ebx
jne 0x100389e
mov esi, 0x8007000e
jmp 0x100396e
lea eax, [ebp - 0x14b4]
push eax
push dword [ebp - 0x14a4]
push 0xffffffffffffffff
push dword [ebp - 0x14c4]
call fcn.01009f8e
mov esi, eax
cmp esi, ebx
jl 0x10039ae
push 0xffffffffffffffff
push dword [ebp - 0x14a4]
lea ecx, [ebp - 0x139c]
call fcn.0100370d
mov esi, dword [ebp - 0x139c]
cmp esi, ebx
jl 0x10039a3
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 0x1003933
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1003921
call esi
jmp 0x10039a1
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10039a3
cmp dword [ebp - 0x139c], ebx
jge 0x100393f
xor eax, eax
jmp 0x1003945
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 0x100397b
lea ecx, [ebp - 0x139c]
mov esi, 0x8007000e
call fcn.01002b7b
lea ecx, [ebp - 0x14a4]
call fcn.01002b58
jmp 0x10039bd
cmp dword [ebp - 0x139c], ebx
jge 0x1003987
xor edi, edi
jmp 0x100398d
mov edi, dword [ebp - 0x1398]
lea ecx, [ebp - 0x139c]
call fcn.0100357f
push eax
inc edi
push edi
push esi
call fcn.01002f28
mov esi, eax
lea ecx, [ebp - 0x139c]
call fcn.01002b7b
lea ecx, [ebp - 0x14a4]
call fcn.01002b58
cmp esi, ebx
jge 0x10039e5
mov edi, dword [ebp - 0x14a8]
mov eax, dword [edi]
cmp eax, ebx
je 0x10039d2
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 0x10039e5
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.01007f54
leave
ret 0x10