Function at 0x40368c
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [0x410ee4], eax
xor esi, esi
lea eax, [ebp - 0x10]
or ebx, 0xffffffff
inc esi
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x403723
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, edi
jle 0x403707
and esi, 0xffff
or esi, 0x80070000
cmp esi, edi
jl 0x40370e
mov esi, 0x80004005
push esi
push 0x464
push 0x40def8
call fcn.0040d716
jmp 0x403abf
cmp dword [ebp - 0x10], esi
mov dword [ebp + 8], esi
jle 0x403a82
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
lea edi, [eax + ecx*4]
mov eax, dword [edi]
movzx ecx, word [eax]
cmp cx, 0x2d
je 0x40375a
cmp cx, 0x2f
jne 0x403a30
push ebx
push 0x40e248
push ebx
add eax, 2
push eax
push 1
push 0x7f
call esi
cmp eax, 2
je 0x4039a3
mov eax, dword [edi]
push ebx
push 0x40e238
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
je 0x4039a3
mov eax, dword [edi]
push ebx
push 0x40e232
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x4037be
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jge 0x403a30
mov dword [ebp - 0x30], 1
jmp 0x4039b6
mov eax, dword [edi]
push ebx
push 0x40e226
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x403804
inc dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
inc dword [ebp - 4]
push 0
push dword [eax + ecx*4]
lea eax, [ebp - 8]
push eax
call fcn.0040d19c
push 0
push 0x40e222
lea eax, [ebp - 8]
push eax
call fcn.0040d19c
jmp 0x4039c8
mov eax, dword [edi]
push ebx
push 0x40e216
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
push 2
pop ecx
cmp eax, ecx
jne 0x403825
mov dword [ebp - 0x14], ecx
jmp 0x4039c8
mov eax, dword [edi]
push ebx
push 0x40e206
push ebx
add eax, ecx
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x403848
mov dword [ebp - 0x14], 3
jmp 0x4039c8
mov eax, dword [edi]
push ebx
push 0x40e1f2
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x403868
push 0
push 0x40e1c4
jmp 0x4037f6
mov eax, dword [edi]
push ebx
push 0x40e1aa
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x40388b
push 0
push 0x40e18e
jmp 0x4037f6
mov eax, dword [edi]
push ebx
push 0x40e172
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x4038ae
push 0
push 0x40e154
jmp 0x4037f6
mov eax, dword [edi]
push ebx
push 0x40e140
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x4038de
cmp dword [ebp - 0x14], 5
jne 0x4038d2
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x34], 7
jmp 0x4039c8
mov eax, dword [edi]
push ebx
push 0x40e040
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x403914
inc dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
inc dword [ebp - 4]
push 0
push dword [eax + ecx*4]
lea eax, [ebp - 0x24]
push eax
call fcn.0040d122
jmp 0x4039c8
mov eax, dword [edi]
push ebx
push 0x40e136
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x403951
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jge 0x403a30
inc dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
push dword [eax + ecx*4]
inc dword [ebp - 4]
call fcn.00403dca
pop ecx
mov dword [ebp - 0x38], eax
jmp 0x4039c8
mov eax, dword [edi]
push ebx
push 0x40e132
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
je 0x40399a
mov eax, dword [edi]
push ebx
push 0x40e12e
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
je 0x40399a
mov eax, dword [edi]
push ebx
push 0x40e124
push ebx
inc eax
inc eax
push eax
push 1
push 0x7f
call esi
cmp eax, 2
jne 0x403a30
mov dword [ebp - 0x28], 1
jmp 0x4039c8
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jge 0x403a30
mov dword [ebp - 0x2c], 1
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
inc dword [ebp - 4]
mov dword [ebp - 0x18], eax
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
inc dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jl 0x40373c
xor edi, edi
cmp dword [ebp - 0x28], edi
je 0x403a3a
lea eax, [ebp - 0x1c]
push eax
push 0xc739
push dword [0x410ee4]
call fcn.0040d302
mov esi, eax
cmp esi, edi
jl 0x403abf
lea eax, [ebp - 0x20]
push eax
push 0x7d5
push dword [0x410ee4]
call fcn.0040d302
mov esi, eax
test esi, esi
jl 0x403abf
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x403abf
mov esi, 0x80070057
jmp 0x403abf
cmp dword [ebp - 0x2c], edi
je 0x403a49
push dword [ebp - 0x18]
call fcn.004026c0
jmp 0x403abd
cmp dword [ebp - 0x30], edi
je 0x403a82
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 8]
push eax
xor edi, edi
push 0x40dee6
push edi
mov dword [ebp + 8], edi
mov dword [ebp - 0x38], edi
call fcn.0040d378
mov esi, eax
cmp esi, edi
jl 0x403abf
mov eax, dword [ebp + 8]
push 2
push dword [ebp - 0x18]
add eax, 4
push eax
call fcn.0040d490
jmp 0x403abd
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0xc73a
push 0
call fcn.0040d378
mov esi, eax
cmp esi, 0x80070716
jne 0x403aa2
xor esi, esi
test esi, esi
jl 0x403abf
push dword [ebp - 0x34]
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push dword [ebp - 0x38]
push dword [ebp - 8]
push dword [ebp - 0x3c]
call fcn.00403198
mov esi, eax
xor edi, edi
cmp dword [ebp - 8], edi
je 0x403ace
push dword [ebp - 8]
call fcn.0040cbe6
cmp dword [ebp - 0x1c], edi
je 0x403adb
push dword [ebp - 0x1c]
call fcn.0040cbe6
cmp dword [ebp - 0x20], edi
je 0x403ae8
push dword [ebp - 0x20]
call fcn.0040cbe6
cmp dword [ebp - 0x24], edi
je 0x403af5
push dword [ebp - 0x24]
call fcn.0040cbe6
pop edi
mov eax, esi
pop esi
and eax, 0xffff
pop ebx
leave
ret 0x10