Function at 0x4040a1
Capabilities:
Parse url

Disassembly:
push 0x88
mov eax, 0x4304e8
call fcn.0041be63
mov ebx, edx
mov dword [ebp - 0x14], ebx
mov edi, ecx
and dword [ebp - 0x68], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.0040403d
mov esi, eax
push esi
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00412862
lea eax, [ebx + 4]
lea ecx, [esi + 4]
mov dword [ebp - 0x20], eax
push ecx
mov ecx, eax
call fcn.00412862
lea eax, [esi + 8]
lea ecx, [ebx + 8]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00412862
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
push eax
mov dword [ebp - 0x24], ecx
call fcn.00412862
lea eax, [esi + 0x10]
lea ecx, [ebx + 0x10]
push eax
mov dword [ebp - 0x28], ecx
call fcn.00412862
lea eax, [esi + 0x14]
lea ecx, [ebx + 0x14]
push eax
mov dword [ebp - 0x18], ecx
call fcn.00412862
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x94]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov byte [ebp - 4], 0
call fcn.0040486d
push 0x38
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004188f0
or eax, 0xffffffff
mov dword [ebp - 0x64], 0x3c
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
setne al
test al, al
jne 0x4041e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0xad
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov esi, esp
call fcn.00412f7e
push eax
mov ecx, esi
call fcn.0040f3c2
lea ecx, [ebp - 0x74]
call fcn.004130db
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00402691
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.004130bf
jmp 0x404399
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x404229
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x404229
cmp esi, 0xffffffff
je 0x404229
call fcn.00412f7e
push eax
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0040f2c8
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.00412862
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004130bf
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40426b
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x40426b
cmp esi, 0xffffffff
je 0x40426b
call fcn.00412f7e
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040f2c8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.00412862
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004130bf
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4042ad
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4042ad
cmp esi, 0xffffffff
je 0x4042ad
call fcn.00412f7e
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040f2c8
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.00412862
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004130bf
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4042ef
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x4042ef
cmp esi, 0xffffffff
je 0x4042ef
call fcn.00412f7e
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040f2c8
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.00412862
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004130bf
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x404331
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x404331
cmp esi, 0xffffffff
je 0x404331
call fcn.00412f7e
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040f2c8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.00412862
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004130bf
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404373
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x404373
cmp esi, 0xffffffff
je 0x404373
call fcn.00412f7e
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040f2c8
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 8
call fcn.00412862
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004130bf
mov ecx, dword [ebp - 0x14]
mov ax, word [ebp - 0x4c]
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 0x18], eax
and dword [edi], 0
and dword [edi + 4], 0
call fcn.00412f7e
push eax
lea ecx, [edi + 8]
call fcn.0040f3c2
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004130bf
mov eax, edi
call fcn.0041be31
ret