Function at 0x10120e5
Capabilities:
Accept command line arguments

Disassembly:
push 0x34
mov eax, 0x1055963
call fcn.0100f160
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x1012106
mov eax, 0x80004003
jmp 0x101244f
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebx
je 0x10120fc
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
cmp dx, bx
jne 0x1012117
sub ecx, edi
sar ecx, 1
cmp ecx, 0x200
jbe 0x1012194
lea ecx, [ebp - 0x40]
call fcn.0102d184
mov dword [ebp - 4], ebx
push 0x1001d98
lea ecx, [ebp + 8]
call fcn.01010421
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push 0xf79a
push 0xf79b
push 0xf692
push dword [esi + 4]
lea ecx, [ebp - 0x40]
call fcn.0102d245
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.010061d0
cmp esi, ebx
jge 0x1012190
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0102d1aa
mov eax, esi
jmp 0x101244f
xor esi, esi
jmp 0x101217d
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x10123ed
xor eax, eax
inc eax
cmp dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
jle 0x10123e4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x10]
call fcn.01010421
push 2
pop edi
mov dword [ebp - 4], edi
push ebx
push 0x1002978
lea ecx, [ebp - 0x10]
call fcn.010113ac
cmp eax, 0xffffffff
je 0x101221c
lea ecx, [esi + 0x1e4]
call fcn.01047981
cmp eax, ebx
jl 0x1012207
push 1
lea ecx, [esi + 0x100]
call fcn.01046d64
cmp eax, ebx
jge 0x10123c9
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010061d0
mov eax, edi
jmp 0x101244f
push ebx
push 0x100296c
lea ecx, [ebp - 0x10]
call fcn.010113ac
cmp eax, 0xffffffff
je 0x1012250
push 1
call dword [sym.imp.USER32.dll_SetProcessDefaultLayout]
test eax, eax
setne al
cmp al, bl
je 0x1012457
mov byte [esi + 0xf98], 1
jmp 0x10123c9
push ebx
push 0x100295c
lea ecx, [ebp - 0x10]
call fcn.010113ac
push ebx
cmp eax, 0xffffffff
je 0x1012277
mov eax, 0x1001d98
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x10123c9
push 0x1002944
lea ecx, [ebp - 0x10]
call fcn.010113ac
cmp eax, 0xffffffff
je 0x1012295
mov byte [esi + 0xf95], 1
jmp 0x10123c9
push ebx
push 0x1002934
lea ecx, [ebp - 0x10]
call fcn.010113ac
cmp eax, 0xffffffff
je 0x1012323
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 7
jl 0x10123c9
push 1
push 7
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.01011c43
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0100759f
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_CharUpperW]
push 0x1002114
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.01010484
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x248]
call fcn.0104550b
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.010061d0
cmp edi, ebx
jl 0x1012461
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.010061d0
jmp 0x10123c9
push ebx
push 0x100291c
lea ecx, [ebp - 0x10]
call fcn.010113ac
cmp eax, 0xffffffff
je 0x101239a
lea ecx, [ebp - 0x40]
call fcn.0102d184
mov byte [ebp - 4], 5
push 0x1001d98
lea ecx, [ebp - 0x1c]
call fcn.01010421
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0xf79c
push 0xf79d
push 0xf692
push dword [esi + 4]
lea ecx, [ebp - 0x40]
call fcn.0102d245
mov edi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.010061d0
cmp edi, ebx
jl 0x1012472
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0102d1aa
jmp 0x10123c9
push ebx
push 0x1002584
lea ecx, [ebp - 0x10]
call fcn.010113ac
cmp eax, 0xffffffff
je 0x10123b2
add dword [ebp - 0x14], edi
jmp 0x10123c9
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x10123c9
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x1e0]
call fcn.01011900
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010061d0
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jl 0x10121b9
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [ebp + 8]
push edi
push ebx
push dword [esi + 4]
lea ecx, [esi + 0x360]
call fcn.01037387
cmp eax, ebx
jl 0x101244f
cmp byte [edi], bl
je 0x101244d
mov ecx, esi
call fcn.0101097e
cmp eax, ebx
jl 0x101244f
cmp byte [esi + 0xf95], bl
lea ecx, [esi + 0x100]
sete al
movzx eax, al
push eax
call fcn.01046d64
cmp eax, ebx
jl 0x101244f
mov ecx, dword [esi + 0x1e0]
lea eax, [esi + 0xf96]
mov byte [eax], 1
cmp dword [ecx - 8], ebx
jne 0x101244b
cmp byte [esi + 0x233], bl
je 0x101244d
mov byte [eax], bl
xor eax, eax
call fcn.0100f24c
ret 4
mov edi, 0x80004005
jmp 0x1012209
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.010061d0
jmp 0x1012209
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0102d1aa
jmp 0x1012209