Function at 0x1012364
Capabilities:
Accept command line arguments

Disassembly:
push 0x1009718
call fcn.0100164a
add esp, 4
mov ecx, ebx
call fcn.01010fa3
push 0x10096f0
call fcn.0100164a
add esp, 4
mov ecx, ebx
call fcn.01013ec5
jmp 0x101bb10
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov edx, ecx
or edx, eax
jne 0x101b9fc
push 0xffffffffffffffff
call sub.IMM32.dll_ImmDisableIME
push 2
call sub.KERNEL32.dll_WerSetFlags
test eax, eax
jl 0x101ba14
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x10], eax
call fcn.01011cf7
and dword [0x10484e0], 0
mov dword [ebp - 0x14], eax
test eax, eax
mov eax, 0x1048a40
jne 0x100f1f4
mov eax, 0x10489f8
push 0x100f250
push edi
mov ebx, section..data
push eax
mov ecx, ebx
call fcn.0100f26b
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0101a09b
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.0100fe3c
mov esi, 0x100f260
lea edi, [ebp - 0xc]
lea eax, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x10]
movsw word es:[edi], word [esi]
call fcn.010100f5
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10100a5
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
mov edi, 0x409
jmp 0x101005e
push 0xffffffffffffffff
push 0x10100d8
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 1
push edi
call esi
cmp eax, 2
je 0x10111f9
push 0xffffffffffffffff
push 0x10100c4
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 1
push edi
call esi
cmp eax, 2
je 0x101ba50
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call fcn.010100f5
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x101005e
push 0x56
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x101ba60
cmp dword [ebp - 0x18], 0
jne 0x101ba60
jmp 0x101ba49
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x208
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [0x10484e0], eax
test eax, eax
je 0x101baae
push 0x10111ac
push dword [ebp - 0x54]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
mov eax, 0x1009df0
je 0x10110c3
mov eax, 0x1003958
push eax
push 0x104
push dword [0x10484e0]
call fcn.01003f4f
mov ecx, dword [0x10484e0]
test ecx, ecx
je 0x101baae
cmp dword [0x10482d0], 0
mov eax, 0x101119c
jne 0x10110f5
mov eax, 0x1011190
push ecx
push eax
push 0x1011184
push 0x1011138
call fcn.0100164a
add esp, 0x10
push dword [0x10484e0]
mov ecx, ebx
call fcn.01010ec9
test eax, eax
jl 0x101bb60
je 0x101bb60
mov edi, 0x100fa38
push edi
call fcn.0100164a
jmp 0x101bab5
push 0x1011208
call fcn.0100164a
add esp, 4
mov ecx, ebx
call fcn.0101122d
jmp 0x101bad7
cmp dword [0x1049294], 0
jne 0x101b9c9
jmp 0x100f1a8
mov ecx, ebx
call fcn.010339a9
jmp 0x1015300
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10489a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10491b8
push esi
call fcn.01011def
push 0x10123ec
mov dword [0x10491f8], 0x10123cc
mov dword [0x10491fc], 0x10123dc
mov dword [0x10489ac], esi
call fcn.01012413
mov eax, dword [0x10489ac]
mov esi, 0x10489ac
cmp eax, esi
je 0x10111e7
test byte [eax + 0x1c], 0x10
je 0x10111e7
jmp 0x101b9a8
mov eax, dword [0x10489ac]
cmp eax, 0x10489ac
je 0x1015282
test byte [eax + 0x1c], 0x10
jne 0x101bb1b
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov edx, ecx
or edx, eax
jne 0x101bb3c
call fcn.0101522c
push 0x10152ac
call fcn.0100164a
push edi
call fcn.0100164a
jmp 0x101bb54
mov eax, dword [0x10489ac]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov edx, ecx
add esp, 0xc
or edx, eax
je 0x10152f1
push 2
push eax
push ecx
push 0x61c
push 0x1009484
call fcn.01015316
xor eax, eax
cmp dword [0x10484e4], eax
sete al
lea eax, [eax + eax + 0x16]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001b23
leave
ret 0x10
push 0x101bca8
push 0x101bbb8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010223fa
mov eax, dword [0x10489ac]
jmp 0x10111e7
mov cl, byte [0x1049298]
cmp cl, 4
jae 0x101b9dc
test cl, cl
jne 0x100f1a8
push 0x101bb98
push dword [0x104926c]
push dword [0x1049268]
call fcn.0101e0cf
mov eax, dword [0x10489ac]
jmp 0x100f1a8
push 1
push eax
push ecx
push 0x60f
push 0x1009484
call fcn.01015316
jmp 0x100f1b8
mov ecx, dword [0x10489ac]
cmp ecx, esi
je 0x100f1ce
test byte [ecx + 0x1c], 4
je 0x100f1ce
push eax
push 0x101bca8
push 0x101bbb8
push 0xb
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01023b17
jmp 0x100f1ce
xor eax, eax
jmp 0x1015300
push 0
push 1
mov ecx, ebx
call fcn.01033703
jmp 0x1015300
cmp dword [0x10482d4], 0
mov eax, dword [ebp - 0x14]
mov dword [0x10482d0], eax
je 0x1011083
push 0x101bc70
call fcn.0100164a
movzx eax, word [0x10482d8]
add esp, 4
neg eax
sbb eax, eax
and eax, 0x10482d8
push eax
mov ecx, ebx
call fcn.01031426
mov dword [0x10484e0], eax
mov dword [0x1048518], 1
jmp 0x10110d4
push 0x19
jmp 0x101bb7f
add esp, 4
mov esi, 0x1049268
push esi
push 0x1049270
push 0x103c4fa
push 0x101bb88
call fcn.0103c551
jmp 0x10111ce
cmp dword [0x1049294], 0
je 0x10096c1
mov al, byte [0x1049298]
cmp al, 4
jae 0x101baf5
test al, al
jne 0x10096c1
push 0x101bba8
push dword [0x104926c]
push dword [0x1049268]
call fcn.0101e0cf
jmp 0x10096c1
push esi
call fcn.0103c57d
jmp 0x101526c
push 0x101bca8
push 0x101bbb8
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010223fa
mov eax, dword [0x10489ac]
jmp 0x1015282
push 2
push eax
push ecx
push 0x60f
push 0x1009484
call fcn.01015316
jmp 0x1015292
push 0
call fcn.0100164a
jmp 0x10152ca
push eax
push 0x101bca8
push 0x101bbc8
call fcn.0100164a
push 0x100fa38
call fcn.0100164a
add esp, 0x10
push 0x17
pop eax
jmp 0x1015300