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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142a9
mov eax, dword fs:[0]
push eax
mov eax, 0x14f0
call fcn.01008470
mov eax, dword [0x1017068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push 0x3c
mov dword [ebp - 0x14bc], eax
mov eax, dword [ebp + 0x10]
pop ebx
xor esi, esi
mov dword [eax], esi
push ebx
mov dword [ebp - 0x14b4], eax
lea eax, [ebp - 0x14fc]
push esi
push eax
mov dword [ebp - 0x14b8], ecx
mov dword [ecx], esi
call sub.msvcrt.dll_memset
or word [ebp - 0x14e4], 0xffff
lea eax, [ebp - 0x50]
mov dword [ebp - 0x14f8], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x14ec], eax
add esp, 0xc
lea eax, [ebp - 0x1298]
mov dword [ebp - 0x14d0], eax
lea eax, [ebp - 0x14fc]
push eax
push esi
push esi
push edi
mov dword [ebp - 0x14fc], ebx
mov dword [ebp - 0x14f4], 0x20
mov dword [ebp - 0x14e8], 0x100
mov dword [ebp - 0x14cc], 0x824
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x100372a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x1003723
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x10038c4
lea eax, [ebp - 0x50]
push 0x1001410
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x1003749
mov edi, 0x80004005
jmp 0x10038c8
mov eax, dword [ebp - 0x14d0]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1003752
sub eax, edx
sar eax, 1
imul eax, eax, 0x12
inc eax
push eax
lea ecx, [ebp - 0x14b0]
mov dword [ebp - 0x14c0], eax
call fcn.01003495
cmp dword [ebp - 0x14b0], esi
mov dword [ebp - 4], esi
jne 0x100379a
or dword [ebp - 4], 0xffffffff
mov edi, 0x8007000e
lea ecx, [ebp - 0x14b0]
call fcn.010029e3
jmp 0x10038c8
lea eax, [ebp - 0x14c0]
push eax
push dword [ebp - 0x14b0]
or ebx, 0xffffffff
push ebx
push dword [ebp - 0x14d0]
call fcn.0100a8e3
mov edi, eax
cmp edi, esi
jge 0x10037c4
mov dword [ebp - 4], ebx
jmp 0x10038b9
push ebx
push dword [ebp - 0x14b0]
lea ecx, [ebp - 0x13a8]
call fcn.010035e2
mov edi, dword [ebp - 0x13a8]
cmp edi, esi
mov byte [ebp - 4], 1
jge 0x10037f1
lea ecx, [ebp - 0x13a8]
call fcn.01002a06
jmp 0x10037bc
push esi
push esi
push 3
push esi
push esi
push dword [ebp - 0x14e4]
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x14bc]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, esi
mov ecx, dword [ebp - 0x14b4]
mov dword [ecx], eax
jne 0x1003834
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x1003830
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x10037e4
cmp dword [ebp - 0x13a8], esi
jge 0x1003840
xor eax, eax
jmp 0x1003846
mov eax, dword [ebp - 0x13a4]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov edi, eax
cmp edi, esi
mov eax, dword [ebp - 0x14b8]
pop ecx
mov dword [eax], edi
jne 0x1003882
lea ecx, [ebp - 0x13a8]
mov edi, 0x8007000e
call fcn.01002a06
mov dword [ebp - 4], ebx
jmp 0x100378a
cmp dword [ebp - 0x13a8], esi
jge 0x100388e
xor ebx, ebx
jmp 0x1003894
mov ebx, dword [ebp - 0x13a4]
lea ecx, [ebp - 0x13a8]
call fcn.0100345b
push eax
inc ebx
push ebx
push edi
call fcn.01002d41
lea ecx, [ebp - 0x13a8]
mov edi, eax
call fcn.01002a06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14b0]
call fcn.010029e3
cmp edi, esi
jge 0x10038f0
mov ebx, dword [ebp - 0x14b4]
mov eax, dword [ebx]
cmp eax, esi
je 0x10038dd
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx], esi
mov eax, dword [ebp - 0x14b8]
mov eax, dword [eax]
cmp eax, esi
je 0x10038f0
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01008397
leave
ret 0x10