Function at 0x40e69e
Capabilities:
Parse url

Disassembly:
push 0x4c
mov eax, 0x456843
call fcn.0043cc79
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x3c
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0043dd90
push edi
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0043dd90
add esp, 0x18
mov dword [ebp - 0x58], edi
mov edi, dword [esi + 4]
push 0x64
pop eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov esi, dword [edi - 0xc]
call fcn.00402af7
push eax
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.004028b4
lea eax, [ebp - 0x58]
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x1c]
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x40e721
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
jmp 0x40e95a
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40e763
mov edi, dword [ebp - 0x44]
call fcn.00402af7
push eax
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.004028b4
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
call fcn.00402825
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
jmp 0x40e766
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40e7a6
mov edi, dword [ebp - 0x28]
call fcn.00402af7
push eax
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.004028b4
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0x14]
call fcn.00402825
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40e800
mov edi, dword [ebp - 0x38]
call fcn.00402af7
push eax
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.004028b4
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0040eaa4
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
lea ecx, [edi + 0x1c]
call fcn.00402825
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e85a
mov edi, dword [ebp - 0x30]
call fcn.00402af7
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.004028b4
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.0040eaa4
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x20]
call fcn.00402825
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40e89a
mov edi, dword [ebp - 0x20]
call fcn.00402af7
push eax
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
call fcn.004028b4
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x18]
call fcn.00402825
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp - 0x4c]
mov ax, word [ebp - 0x40]
mov dword [edi + 8], ecx
mov word [edi + 0xc], ax
cmp ecx, 5
jne 0x40e95a
lea ecx, [edi + 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 3
jle 0x40e95a
push ebx
call fcn.00402870
push 0x5c
pop ecx
cmp ax, cx
jne 0x40e95a
push 1
lea ecx, [edi + 0x14]
call fcn.00402870
push 0x5c
pop ecx
cmp ax, cx
jne 0x40e95a
push 2
lea ecx, [edi + 0x14]
call fcn.00402870
cmp ax, 0x3f
je 0x40e95a
lea ecx, [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004027aa
add edi, 0x10
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.00402825
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
push ebx
push 0x467c74
mov ecx, edi
call fcn.00404325
test eax, eax
jle 0x40e95a
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040276a
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00402825
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
lea ecx, [esi - 0x10]
call fcn.00401b8a
mov eax, ebx
call fcn.0043cc42
ret