Function at 0x415931
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 8]
and byte [ebp - 8], 0
and byte [ebp + 0xb], 0
push ebx
push esi
push edi
xor edi, edi
push 0xf
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], edi
mov dword [0x4264c8], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.004029a7
lea ecx, [ebp - 0x78]
call fcn.0040298c
mov dword [ebp - 0x78], 0x41e53c
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040270c
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004132a3
push dword [ebp - 0x40]
call fcn.00415b60
pop ecx
push 1
pop esi
cmp dword [ebp - 0x70], esi
mov dword [ebp - 4], esi
jle 0x415a65
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 4]
push 0x423618
mov esi, dword [eax + ecx*4]
lea ecx, [ebp - 0x40]
call fcn.0040270c
push dword [ebp - 0x40]
mov eax, dword [esi]
push eax
call fcn.00413690
push dword [ebp - 0x40]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call fcn.00415b60
test bl, bl
pop ecx
je 0x4159e1
mov byte [ebp - 8], 1
jmp 0x415a53
push 0x423610
lea ecx, [ebp - 0x4c]
call fcn.0040270c
lea eax, [ebp - 0x58]
push 2
push eax
mov ecx, esi
call fcn.0040f925
push dword [ebp - 0x4c]
mov eax, dword [eax]
push eax
call fcn.00413690
push dword [ebp - 0x58]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call fcn.00415b60
push dword [ebp - 0x4c]
call fcn.00415b60
pop ecx
test bl, bl
pop ecx
je 0x415a53
lea eax, [ebp - 0x64]
push 2
push eax
mov ecx, esi
call fcn.0040f904
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c2ad
push dword [ebp - 0x64]
call fcn.00415b60
pop ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.004127c8
cmp dword [ebp - 0x18], edi
setne byte [ebp + 0xb]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x70]
jl 0x4159a5
push 1
pop esi
push 0xf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.004029a7
lea eax, [ebp - 0x28]
push eax
push dword [0x4264c8]
call fcn.004117a2
push 0xf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.004029a7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x28]
call fcn.00411e68
test al, al
jne 0x415abd
push str.Error_1329484
push edi
call fcn.00415889
mov edi, esi
jmp 0x415b25
cmp byte [ebp + 0xb], 0
je 0x415ac8
lea eax, [ebp - 0x1c]
jmp 0x415ada
push dword [ebp - 0x10]
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc], esi
push eax
call fcn.0040f925
cmp byte [ebp - 8], 0
push eax
sete al
push eax
lea eax, [ebp - 0x28]
push dword [ebp - 8]
push eax
push edi
call fcn.00414720
test byte [ebp - 0xc], 1
mov ebx, eax
je 0x415b01
push dword [ebp - 0x64]
call fcn.00415b60
pop ecx
cmp ebx, esi
jne 0x415b12
push 0x4235c0
push edi
call fcn.00415889
jmp 0x415b25
cmp ebx, edi
je 0x415b25
cmp ebx, 0x80004004
je 0x415b25
push ebx
push edi
call fcn.004158a1
push dword [ebp - 0x34]
call fcn.00415b60
push dword [ebp - 0x28]
call fcn.00415b60
pop ecx
mov dword [ebp - 0x78], 0x41e53c
pop ecx
lea ecx, [ebp - 0x78]
call fcn.004138f9
lea ecx, [ebp - 0x78]
call fcn.004138e9
push dword [ebp - 0x1c]
call fcn.00415b60
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10