Function at 0x45b324
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x68], 0x74
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
mov dword [0x5108d0], ecx
xor ecx, ecx
mov dword [0x5108d4], edx
mov dword [ebp - 0x2c], ecx
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
push eax
call fcn.004a9390
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push edi
call sub.SHELL32.DLL_CommandLineToArgvW
mov ecx, dword [ebp - 0x28]
shl ecx, 3
push ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 8], eax
call fcn.004a9f44
mov edx, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push dword [ebp - 0x24]
push edi
push 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
push 0xfde9
call sub.KERNEL32.DLL_WideCharToMultiByte
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], eax
push eax
call fcn.004a9f44
mov ecx, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x14], eax
xor esi, esi
mov dword [ebp - 0x1c], ecx
add esp, 0xc
cmp ecx, ebx
jle 0x45b436
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push dword [edx + esi*4]
call fcn.004a9390
add esp, 4
push eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ecx + esi*4]
push 0
push 0xfde9
call sub.KERNEL32.DLL_WideCharToMultiByte
mov edi, eax
add eax, ebx
mov edx, dword [ebp - 0x14]
lea ecx, [ebx + edx]
mov edx, dword [ebp - 0x58]
mov dword [edx + esi*8 + 4], ecx
sub eax, ebx
test edi, edi
mov dword [edx + esi*8], eax
je 0x45b430
push 0
add ebx, edi
push 0
push edi
mov ecx, dword [ebp - 0x58]
lea edx, [ecx + esi*8]
push dword [edx + 4]
mov ecx, dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ecx + esi*4]
push 0
push 0xfde9
call sub.KERNEL32.DLL_WideCharToMultiByte
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x45b3c5
push dword [ebp - 8]
call sub.KERNEL32.DLL_LocalFree
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], 0
mov dword [0x5108c0], edx
mov ecx, dword [ebp - 0x58]
mov dword [0x5108c4], ecx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + edx*8]
lea ecx, [ebp - 0x68]
push edx
call fcn.004a9f44
mov ecx, dword [ebp - 0x5c]
xor edx, edx
mov dword [ebp - 0x3c], ecx
lea edi, [eax + ecx*8]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov esi, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x38], ecx
add esp, 4
cmp dword [ebp - 0x3c], edx
je 0x45b4f0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + esi*8]
mov edx, dword [edx + esi*8 + 4]
mov dword [ebp - 0x34], eax
mov cl, byte [0x4e2600]
xor cl, 1
mov dword [ebp - 0x30], edx
jne 0x45b4c3
mov edx, 6
cmp dword [ebp - 0x34], edx
jb 0x45b4c3
mov ecx, 0x4d76e0
push dword [ebp - 0x30]
push edx
push ecx
push edx
call fcn.00465334
xor al, 1
je 0x45b4ea
mov ebx, dword [ebp - 0x34]
push ebx
push dword [ebp - 0x30]
push edi
call fcn.004a8980
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
mov edx, eax
dec ecx
add edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov dword [eax + ecx*8], ebx
mov dword [eax + ecx*8 + 4], edx
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x3c]
jb 0x45b48a
mov dword [ebp - 0x50], 0x4d76f0
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x54], 0xe
push dword [ebp - 0x54]
push 0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], ebx
push 0
call fcn.004653a4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov cl, byte [0x4e25f0]
mov byte [ebp - 3], cl
cmp dword [ebp - 0x64], 0
je 0x45b565
lea edx, [ebp - 0x64]
mov dword [ebp - 0x40], 0x4d76f0
lea esi, [ebp - 3]
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0xe
push dword [ebp - 0x44]
push edx
push esi
mov dword [ebp - 0x48], 0x4bb220
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push dword [ebp - 0x4c]
call fcn.0046547c
mov bl, byte [ebp - 3]
mov byte [ebp - 4], bl
call sub.KERNEL32.DLL_IsDebuggerPresent
test eax, eax
je 0x45b578
mov byte [ebp - 4], 0
mov eax, 0x45b664
mov ecx, ebp
push eax
mov eax, ebp
push ebp
call fcn.0045b5dc
mov edx, 0x4f5578
push edx
call fcn.004a9ce8
add esp, 4
test eax, eax
je 0x45b5cb
call fcn.004a8fa3
push dword [eax]
call fcn.004a9f90
add esp, 4
mov ebx, 0x502620
push eax
mov esi, 0x4f5598
push ebx
push esi
call fcn.004a9fd8
add esp, 0xc
cmp dword [ebp - 0x2c], 0
jne 0x45b5cb
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
mov esp, ebp
pop ebp
ret