Function at 0x10023ab
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x1004008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push ebx
push ebx
push 0x100
call dword [sym.imp.KERNEL32.dll_SetThreadPreferredUILanguages]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x10012c7
push ebx
mov dword [0x1007108], eax
call dword [sym.imp.msvcrt.dll_setlocale]
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov eax, dword [edi]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x1002407
mov edi, dword [sym.imp.msvcrt.dll_strspn]
sub eax, ecx
mov ebx, 0x10012c4
sar eax, 1
push ebx
push esi
mov dword [ebp - 0x818], eax
call edi
add eax, dword [ebp - 0x818]
push ebx
add esi, eax
push esi
call edi
add esp, 0x10
add esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
xor ebx, ebx
push 0x1001294
inc ebx
push ebx
call dword [sym.imp.wbemcomn.dll_int___cdecl_DebugTrace_char__char_const__]
push 0x400
lea eax, [ebp - 0x814]
push esi
push eax
call dword [sym.imp.msvcrt.dll_mbstowcs]
xor eax, eax
add esp, 0x1c
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
mov al, byte [esi]
test al, al
jne 0x100248e
call fcn.01001b9e
xor eax, eax
jmp 0x1002692
cmp al, 0x2d
je 0x10024aa
cmp al, 0x2f
je 0x10024aa
push 0xd5
push ebx
call fcn.01001a59
pop ecx
pop ecx
mov esi, ebx
jmp 0x100268b
push 7
lea edi, [esi + 1]
push edi
push 0x100128c
call fcn.010015c0
test eax, eax
jne 0x10024c8
call fcn.01001cc4
jmp 0x1002692
push 8
push edi
push 0x1001280
call fcn.010015c0
test eax, eax
jne 0x10024e3
call fcn.01001ddb
jmp 0x1002692
push 0xa
push edi
push 0x1001274
call fcn.010015c0
test eax, eax
jne 0x10024fb
call fcn.01001f91
jmp 0x1002487
push 0xe
push edi
push 0x1001264
call fcn.010015c0
test eax, eax
jne 0x10025d5
push 4
push 0x1001260
push 0x10
pop edi
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.010019b9
add esp, 0x10
lea eax, [ebp - 0x818]
push eax
push 0x7fffffff
push esi
call fcn.010019f4
cmp dword [ebp - 0x818], edi
jbe 0x1002598
movsx eax, byte [esi + 0x10]
mov ebx, dword [sym.imp.msvcrt.dll_isspace]
jmp 0x1002552
inc edi
movsx eax, byte [edi + esi]
push eax
call ebx
pop ecx
test eax, eax
jne 0x100254d
add edi, esi
push edi
push 0x100125c
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.010019b9
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.msvcrt.dll_atoi]
add esp, 0x14
test eax, eax
jl 0x1002583
cmp eax, 6
jle 0x1002598
push 4
push 0x1001260
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.010019b9
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.010017c8
test eax, eax
jne 0x10025b8
push 0xcc
push 0
call fcn.01001a59
pop ecx
pop ecx
jmp 0x1002487
push 0xcd
push 0xc8
push 0xc9
push eax
call fcn.01001bbb
xor eax, eax
inc eax
jmp 0x1002692
push 0xa
push edi
push 0x1001250
call fcn.010015c0
test eax, eax
jne 0x100260c
push eax
call fcn.01001824
test eax, eax
je 0x10025a5
push 0xcd
push 0xc8
push 0xc9
push eax
call fcn.01001bbb
mov eax, ebx
jmp 0x1002692
push 0x10
push edi
push 0x10011e4
call fcn.010015c0
test eax, eax
jne 0x100262d
call fcn.01002050
xor ecx, ecx
test eax, eax
setl cl
mov eax, ecx
jmp 0x1002692
push 0x11
push edi
push 0x1001214
call fcn.010015c0
test eax, eax
jne 0x1002645
call fcn.010021a7
jmp 0x1002622
push 0xf
push edi
push 0x1001228
call fcn.010015c0
test eax, eax
jne 0x100265d
call fcn.010022da
jmp 0x1002622
push 0x11
push edi
push 0x100123c
call fcn.010015c0
test eax, eax
jne 0x1002675
call fcn.0100238f
jmp 0x1002622
push ebx
push edi
push 0x1001238
call fcn.010015c0
test eax, eax
jne 0x1002496
xor esi, esi
call fcn.01001b9e
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002acb
leave
ret