Function at 0x45c060
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x4d6e26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x874
push ebx
push ebp
push esi
mov esi, dword [esp + 0x890]
xor ebx, ebx
push edi
cmp esi, ebx
mov ebp, ecx
mov dword [esp + 0x1c], ebx
je 0x45c293
cmp byte [esi], 0x30
je 0x45c293
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x61]
mov byte [esp + 0x60], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x64]
push 0x10000000
push esi
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x824
call edi
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x45c293
cmp byte [esp + 0x60], bl
je 0x45c28d
mov edx, dword [0x4eee90]
lea eax, [esp + 0x60]
test eax, eax
mov dword [esp + 0x10], edx
je 0x45c186
lea ecx, [esp + 0x60]
shr ecx, 0x10
jne 0x45c135
xor eax, eax
lea edx, [esp + 0x60]
mov ax, dx
lea ecx, [esp + 0x10]
push eax
call fcn.00416d40
jmp 0x45c186
lea eax, [esp + 0x60]
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x45c186
push esi
lea ecx, [esp + 0x14]
call fcn.00408da0
test eax, eax
je 0x45c186
mov ecx, dword [esp + 0x10]
lea eax, [esi + 1]
cmp eax, ebx
mov esi, ecx
jne 0x45c161
cmp ecx, ebx
jne 0x45c17b
push eax
push ecx
lea ecx, [esp + 0x68]
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jle 0x45c17b
mov word [esi + eax*2 - 2], bx
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00416f70
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x898], ebx
mov dword [esp + 0x2c], 0xffffffff
call fcn.0043c570
lea esi, [ebp + 4]
mov ecx, esi
call fcn.00478ec0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
je 0x45c262
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x45c262
mov eax, dword [0x4eee90]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x14]
mov ebx, 1
push edx
push ecx
mov ecx, esi
mov byte [esp + 0x894], bl
call fcn.00479070
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
cmp eax, ebx
jne 0x45c20c
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
mov edx, dword [0x4ee0f0]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45c237
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45c237
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004d2909
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4ee0f0]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45c262
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45c262
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004d2909
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4ee0f0]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45c28d
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45c28d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d2909
add esp, 4
mov eax, dword [esp + 0x1c]
jmp 0x45c295
xor eax, eax
mov ecx, dword [esp + 0x884]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x880
ret 4