Function at 0x415f8c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x48], 0x58
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
mov dword [0x47d8b8], ecx
xor ecx, ecx
mov dword [0x47d8bc], edx
mov dword [ebp - 0x34], ecx
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
push eax
call fcn.0045a500
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push edi
call sub.shell32.DLL_CommandLineToArgvW
mov ecx, dword [ebp - 0x30]
shl ecx, 3
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 8], eax
call fcn.0045a4b4
mov edx, dword [ebp - 0x30]
push 0
push 0
push 0
push 0
push dword [ebp - 0x2c]
push edi
push 0
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
push 0xfde9
call sub.KERNEL32.DLL_WideCharToMultiByte
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x28], eax
push eax
call fcn.0045a4b4
mov ecx, dword [ebp - 0x30]
xor ebx, ebx
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x20], ecx
add esp, 0xc
cmp ecx, ebx
jle 0x41609e
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push dword [edx + esi*4]
call fcn.0045a500
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 - 0x18]
lea ecx, [ebx + edx]
mov edx, dword [ebp - 0x40]
mov dword [edx + esi*8 + 4], ecx
sub eax, ebx
test edi, edi
mov dword [edx + esi*8], eax
je 0x416098
push 0
add ebx, edi
push 0
push edi
mov ecx, dword [ebp - 0x40]
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 - 0x20]
jl 0x41602d
push dword [ebp - 8]
call sub.KERNEL32.DLL_LocalFree
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [0x47d8a0], edx
mov ecx, dword [ebp - 0x40]
mov dword [0x47d8a4], ecx
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + edx*8]
lea ecx, [ebp - 0x48]
push edx
call fcn.0045a4b4
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x40]
lea edi, [eax + ecx*8]
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebp - 0x24], ecx
add esp, 4
cmp dword [ebp - 0x44], edx
je 0x416151
mov eax, dword [ebx + esi*8]
mov edx, dword [ebx + esi*8 + 4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], edx
mov edx, 6
cmp ecx, edx
jb 0x41611e
mov ecx, 0x415f84
mov eax, edx
push dword [ebp - 0x38]
push edx
push ecx
push eax
call fcn.0041aa1c
xor al, 1
je 0x41614b
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x38]
push edi
call fcn.004591d0
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
mov edx, eax
dec ecx
add edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
mov dword [eax + ecx*8], ebx
mov dword [eax + ecx*8 + 4], edx
add esp, 0xc
mov ebx, dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x24]
jb 0x4160ef
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], ebx
movsx edx, byte [0x46b3f0]
mov byte [ebp - 4], dl
call sub.KERNEL32.DLL_IsDebuggerPresent
test eax, eax
je 0x416174
mov byte [ebp - 4], 0
mov ecx, 0x416260
mov eax, ebp
mov eax, ebp
push ecx
push ebp
call fcn.004161d8
mov ebx, 0x477d78
push ebx
call fcn.0045a55c
add esp, 4
test eax, eax
je 0x4161c7
call fcn.0045a47f
push dword [eax]
call fcn.0045a5f8
add esp, 4
mov edx, 0x4798f0
push eax
mov ecx, 0x477d98
push edx
push ecx
call fcn.0045a640
add esp, 0xc
cmp dword [ebp - 0x34], 0
jne 0x4161c7
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
ret