Function at 0x37f8363a
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x37f7d24c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x414]
push edx
add eax, 0x10
xor ebx, ebx
push 0x37f7d22c
mov dword [ebp - 0x428], ecx
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x410], ebx
call dword [ecx + 0x10]
mov esi, eax
cmp esi, ebx
jge 0x37f836bc
push dword [ebp - 0x410]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x418]
cmp eax, ebx
je 0x37f836a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x414]
cmp eax, ebx
je 0x37f836b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x37f838f3
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax]
lea edx, [ebp - 0x418]
push edx
push 0x37f7d21c
push 0x37f7d20c
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x41c], esi
jl 0x37f83689
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
lea edx, [ebp - 0x410]
push edx
push eax
call dword [ecx + 0x78]
test eax, eax
jl 0x37f83689
cmp esi, ebx
jne 0x37f838c1
lea eax, [ebp - 0x424]
push eax
push 0x37f7d1fc
xor esi, esi
inc esi
push esi
push ebx
push 0x37f7d1dc
mov dword [ebp - 0x424], ebx
call fcn.37fad13a
mov dword [ebp - 0x41c], eax
cmp eax, ebx
jne 0x37f838b1
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x420]
push edx
push dword [ebp - 0x410]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x41c], eax
cmp eax, ebx
jne 0x37f838b1
cmp dword [ebp - 0x420], ebx
je 0x37f8377f
cmp dword [ebp - 0x420], esi
je 0x37f8377f
cmp dword [ebp - 0x420], 2
je 0x37f8377f
mov dword [ebp - 0x41c], esi
jmp 0x37f838b1
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x464]
push ebx
push eax
mov dword [ebp - 0x41c], esi
call sub.MSVCR90.dll_memset
mov esi, 0x202
push esi
lea eax, [ebp - 0x208]
push ebx
push eax
call sub.MSVCR90.dll_memset
push esi
lea eax, [ebp - 0x40c]
push ebx
push eax
call sub.MSVCR90.dll_memset
lea eax, [ebp - 0x208]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x410]
mov ebx, 0x100
add esp, 0x24
mov dword [ebp - 0x464], edi
mov dword [ebp - 0x450], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x37f837e1
mov esi, dword [sym.imp.WININET.dll_InternetCrackUrlW]
sub eax, ecx
lea ecx, [ebp - 0x464]
push ecx
mov edi, 0x10000000
push edi
sar eax, 1
push eax
push dword [ebp - 0x410]
call esi
cmp eax, 1
jne 0x37f838ae
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x450], ebx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x37f8382f
lea ecx, [ebp - 0x464]
push ecx
sub eax, edx
push edi
sar eax, 1
push eax
push dword [ebp - 0x428]
call esi
cmp eax, 1
jne 0x37f838ae
lea eax, [ebp - 0x40c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x37f8385c
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [ebp - 0x208]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x37f83875
push esi
sub eax, ecx
lea ecx, [ebp - 0x40c]
push ecx
sar eax, 1
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
xor ecx, ecx
cmp eax, 2
setne cl
mov dword [ebp - 0x41c], ecx
xor ebx, ebx
pop edi
mov eax, dword [ebp - 0x424]
cmp eax, ebx
je 0x37f838c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x410]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x418]
cmp eax, ebx
je 0x37f838dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x414]
cmp eax, ebx
je 0x37f838ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.37facac9
leave
ret 4