Function at 0x404046
Capabilities:
Parse url

Disassembly:
push 0x88
mov eax, 0x430112
call fcn.0041bab3
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.00403fe2
mov esi, eax
push esi
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004124b3
lea eax, [ebx + 4]
lea ecx, [esi + 4]
mov dword [ebp - 0x20], eax
push ecx
mov ecx, eax
call fcn.004124b3
lea eax, [esi + 8]
lea ecx, [ebx + 8]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.004124b3
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
push eax
mov dword [ebp - 0x24], ecx
call fcn.004124b3
lea eax, [esi + 0x10]
lea ecx, [ebx + 0x10]
push eax
mov dword [ebp - 0x28], ecx
call fcn.004124b3
lea eax, [esi + 0x14]
lea ecx, [ebx + 0x14]
push eax
mov dword [ebp - 0x18], ecx
call fcn.004124b3
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.0040480f
push 0x38
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00418540
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 0x404188
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.00412bcd
push eax
mov ecx, esi
call fcn.0040f03e
lea ecx, [ebp - 0x74]
call fcn.00412d2a
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00402671
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00412d0e
jmp 0x40433e
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4041ce
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4041ce
cmp esi, 0xffffffff
je 0x4041ce
call fcn.00412bcd
push eax
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0040ef44
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.004124b3
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412d0e
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404210
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x404210
cmp esi, 0xffffffff
je 0x404210
call fcn.00412bcd
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040ef44
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.004124b3
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412d0e
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404252
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x404252
cmp esi, 0xffffffff
je 0x404252
call fcn.00412bcd
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040ef44
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 5
call fcn.004124b3
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412d0e
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x404294
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x404294
cmp esi, 0xffffffff
je 0x404294
call fcn.00412bcd
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040ef44
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.004124b3
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412d0e
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4042d6
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x4042d6
cmp esi, 0xffffffff
je 0x4042d6
call fcn.00412bcd
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040ef44
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.004124b3
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412d0e
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404318
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x404318
cmp esi, 0xffffffff
je 0x404318
call fcn.00412bcd
push eax
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040ef44
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 8
call fcn.004124b3
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412d0e
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.00412bcd
push eax
lea ecx, [edi + 8]
call fcn.0040f03e
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00412d0e
mov eax, edi
call fcn.0041ba81
ret