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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14e0
call fcn.01007230
mov eax, dword [0x10140b8]
xor eax, dword [ebp + 4]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
push 0xf
mov dword [eax], ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
or word [ebp - 0x28], 0xffff
lea eax, [ebp - 0x298]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x498]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x14e0]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x38], 0x20
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x10], 0x824
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x100326a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1003255
call esi
mov esi, eax
jmp 0x10033c4
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10033c4
lea eax, [ebp - 0x298]
push 0x10013e0
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x100328c
mov esi, 0x80004005
jmp 0x10033c8
push dword [ebp - 0x14]
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax*8]
pop ecx
lea eax, [eax + eax + 1]
push eax
lea ecx, [ebp - 0x258]
mov dword [ebp + 0xc], eax
call fcn.01003058
cmp dword [ebp - 0x258], ebx
jne 0x10032be
mov esi, 0x8007000e
jmp 0x1003379
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x258]
push 0xffffffffffffffff
push dword [ebp - 0x14]
call fcn.01008e17
mov esi, eax
cmp esi, ebx
jl 0x10033b9
push 0xffffffffffffffff
push dword [ebp - 0x258]
lea ecx, [ebp - 0x150]
call fcn.01003173
mov esi, dword [ebp - 0x150]
cmp esi, ebx
jl 0x10033ae
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x28]
lea eax, [ebp - 0x498]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jne 0x1003341
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x100332f
call esi
jmp 0x10033ac
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10033ae
cmp dword [ebp - 0x150], ebx
jge 0x100334d
xor eax, eax
jmp 0x1003353
mov eax, dword [ebp - 0x14c]
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 + 0x14]
pop ecx
mov dword [eax], esi
jne 0x1003386
lea ecx, [ebp - 0x150]
mov esi, 0x8007000e
call fcn.010028c1
lea ecx, [ebp - 0x258]
call fcn.01010b3f
jmp 0x10033c8
cmp dword [ebp - 0x150], ebx
jge 0x1003392
xor edi, edi
jmp 0x1003398
mov edi, dword [ebp - 0x14c]
lea ecx, [ebp - 0x150]
call fcn.0100302c
push eax
inc edi
push edi
push esi
call fcn.01002b52
mov esi, eax
lea ecx, [ebp - 0x150]
call fcn.010028c1
lea ecx, [ebp - 0x258]
call fcn.01010b3f
cmp esi, ebx
jge 0x10033ea
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp eax, ebx
je 0x10033da
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi], ebx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp eax, ebx
je 0x10033ea
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.0100701d
leave
ret 0x10