Function at 0x45c460
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x4d7386
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 0x45c693
cmp byte [esi], 0x30
je 0x45c693
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 0x45c693
cmp byte [esp + 0x60], bl
je 0x45c68d
mov edx, dword [0x4eeea4]
lea eax, [esp + 0x60]
test eax, eax
mov dword [esp + 0x10], edx
je 0x45c586
lea ecx, [esp + 0x60]
shr ecx, 0x10
jne 0x45c535
xor eax, eax
lea edx, [esp + 0x60]
mov ax, dx
lea ecx, [esp + 0x10]
push eax
call fcn.00416e40
jmp 0x45c586
lea eax, [esp + 0x60]
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x45c586
push esi
lea ecx, [esp + 0x14]
call fcn.00408e20
test eax, eax
je 0x45c586
mov ecx, dword [esp + 0x10]
lea eax, [esi + 1]
cmp eax, ebx
mov esi, ecx
jne 0x45c561
cmp ecx, ebx
jne 0x45c57b
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 0x45c57b
mov word [esi + eax*2 - 2], bx
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00417070
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.0043c810
lea esi, [ebp + 4]
mov ecx, esi
call fcn.004793a0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
je 0x45c662
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
je 0x45c662
mov eax, dword [0x4eeea4]
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.00479550
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
cmp eax, ebx
jne 0x45c60c
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
mov edx, dword [0x4ee0f0]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45c637
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45c637
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004d2e69
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4ee0f0]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45c662
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45c662
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004d2e69
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4ee0f0]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x45c68d
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x45c68d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d2e69
add esp, 4
mov eax, dword [esp + 0x1c]
jmp 0x45c695
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