Function at 0x407fbe
Capabilities:
Parse url

Disassembly:
push 0x50
mov eax, 0x44346d
call fcn.004420ed
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x3c
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.0042fde0
add esp, 0xc
mov dword [ebp - 0x5c], edi
mov edi, dword [esi + 4]
push 0x64
pop eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov esi, dword [edi - 0xc]
call fcn.0040268c
push eax
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040245d
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x18]
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x408036
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
jmp 0x408269
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408078
mov edi, dword [ebp - 0x48]
call fcn.0040268c
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0040245d
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
call fcn.004023ce
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401759
jmp 0x40807b
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4080bb
mov edi, dword [ebp - 0x2c]
call fcn.0040268c
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0040245d
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0x14]
call fcn.004023ce
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401759
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408112
mov edi, dword [ebp - 0x3c]
call fcn.0040268c
push eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0040245d
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00408279
mov edi, dword [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
lea ecx, [edi + 0x1c]
call fcn.004023ce
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00401759
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401759
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x408169
mov edi, dword [ebp - 0x34]
call fcn.0040268c
push eax
push edi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0040245d
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00408279
mov edi, dword [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x20]
call fcn.004023ce
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00401759
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401759
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4081a9
mov edi, dword [ebp - 0x24]
call fcn.0040268c
push eax
push edi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
call fcn.0040245d
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x18]
call fcn.004023ce
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401759
mov ecx, dword [ebp - 0x50]
mov ax, word [ebp - 0x44]
mov dword [edi + 8], ecx
mov word [edi + 0xc], ax
cmp ecx, 5
jne 0x408269
lea ecx, [edi + 0x14]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 3
jle 0x408269
push ebx
call fcn.00402419
push 0x5c
pop ecx
cmp ax, cx
jne 0x408269
push 1
lea ecx, [edi + 0x14]
call fcn.00402419
push 0x5c
pop ecx
cmp ax, cx
jne 0x408269
push 2
lea ecx, [edi + 0x14]
call fcn.00402419
cmp ax, 0x3f
je 0x408269
lea ecx, [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040234c
add edi, 0x10
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.004023ce
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00401759
push ebx
push 0x44bff8
mov ecx, edi
call fcn.00403e85
test eax, eax
jle 0x408269
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00402305
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.004023ce
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00401759
lea ecx, [esi - 0x10]
call fcn.00401759
mov eax, ebx
call fcn.004420b6
ret