Function at 0x4015e0
Capabilities:
Parse url

Disassembly:
mov eax, 0x1094
call fcn.00437850
mov eax, dword [0x43d01c]
xor eax, esp
mov dword [esp + 0x1090], eax
push ebx
push ebp
push esi
push edi
push 0x3c
lea eax, [esp + 0x20]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x1c], 1
call sub.MSVCR90.dll_memset
mov eax, dword [esi + 8]
lea edi, [esi + 8]
sub eax, 0x10
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x3c], 0x100
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x101
add esp, 0xc
or ecx, edx
jge 0x401651
mov ecx, 0x101
mov eax, edi
call fcn.00401250
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
lea ebx, [esi + 0xc]
sub eax, 0x10
mov dword [esp + 0x4c], 0x800
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x801
or ecx, edx
jge 0x401689
mov ecx, 0x801
mov eax, ebx
call fcn.00401250
mov eax, dword [ebx]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x10]
lea ebp, [esi + 0x10]
sub eax, 0x10
mov dword [esp + 0x3c], 0x80
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x81
or ecx, edx
jge 0x4016c1
mov ecx, 0x81
mov eax, ebp
call fcn.00401250
mov eax, dword [ebp]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x14]
lea edx, [esi + 0x14]
sub eax, 0x10
mov dword [esp + 0x44], 0x80
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x81
or ecx, eax
mov dword [esp + 0x14], edx
jge 0x401701
mov ecx, 0x81
mov eax, edx
call fcn.00401250
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esi + 4]
push 0
lea edx, [esp + 0x1c]
mov dword [esp + 0x44], ecx
push edx
lea ecx, [esp + 0x60]
push ecx
push eax
mov dword [esp + 0x28], 0x824
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x40172f
mov dword [esp + 0x10], eax
jmp 0x401755
lea edx, [esp + 0x1c]
push edx
push 0
push 0
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x40174d
mov dword [esp + 0x10], eax
jmp 0x401755
mov cx, word [esp + 0x34]
mov word [esi], cx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
mov esi, dword [sym.imp.MSVCR90.dll_wcsnlen]
test eax, eax
jne 0x401768
xor eax, eax
jmp 0x401777
push ecx
push eax
call esi
add esp, 8
test eax, eax
jl 0x401827
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x401827
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4017a5
push ecx
push eax
call esi
add esp, 8
test eax, eax
jl 0x401827
mov ecx, dword [ebx]
cmp eax, dword [ecx - 8]
jg 0x401827
mov dword [ecx - 0xc], eax
mov edx, dword [ebx]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4017cc
push ecx
push eax
call esi
add esp, 8
test eax, eax
jl 0x401827
mov ecx, dword [ebp]
cmp eax, dword [ecx - 8]
jg 0x401827
mov edi, dword [esp + 0x14]
mov dword [ecx - 0xc], eax
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4017f8
push ecx
push eax
call esi
add esp, 8
test eax, eax
jl 0x401827
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x401827
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
pop edi
xor ecx, ecx
pop esi
mov word [edx + eax*2], cx
mov ecx, dword [esp + 0x1098]
mov eax, dword [esp + 8]
pop ebp
pop ebx
xor ecx, esp
call fcn.004035d2
add esp, 0x1094
ret
push 0x80070057
call fcn.00401000
int3