Function at 0x1012cb6
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 1
push 0x3e5
push 0x10029f8
lea ecx, [ebp - 0x5c]
call fcn.01055826
xor esi, esi
mov eax, 0x1010420
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [0x1077408], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, esi
jne 0x1012d39
mov eax, 0x3fc
mov dword [ebp - 0x5c], esi
mov word [ebp - 0x58], ax
jmp 0x1012ebd
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov edi, 0x10773e8
push edi
call fcn.010111f1
push 0x10029b8
mov dword [0x10773e4], 0x1001858
mov dword [0x1075318], edi
call fcn.010112c2
lea eax, [ebp - 4]
push eax
call fcn.01011783
mov dword [ebp - 0x5c], eax
cmp eax, esi
mov eax, 0x40a
jge 0x1012d8f
mov word [ebp - 0x56], ax
jmp 0x1012e1a
push 0x1077428
mov word [ebp - 0x58], ax
call fcn.0102f32c
mov dword [ebp - 0x5c], eax
cmp eax, esi
mov eax, 0x40c
jl 0x1012d86
mov word [ebp - 0x58], ax
lea eax, [ebp - 0xc]
push eax
call fcn.01013028
mov dword [ebp - 0x5c], eax
cmp eax, esi
mov eax, 0x40e
jl 0x1012d86
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x10], 0xc321
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x1012df1
call fcn.0105d3b8
mov dword [ebp - 0x5c], eax
mov eax, 0x412
jmp 0x1012d86
push ebx
push dword [ebp - 8]
mov eax, 0x412
mov dword [ebp - 0x5c], esi
mov word [ebp - 0x58], ax
call fcn.0101229c
mov dword [ebp - 0x5c], eax
cmp eax, esi
mov eax, 0x414
jl 0x1012d86
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x5c], esi
jge 0x1012ebd
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x1012e4e
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
push 0x10027f0
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x1012ebd
push 0x1002858
push dword [ebx + 4]
call edi
pop ecx
pop ecx
test eax, eax
je 0x1012ebd
cmp dword [ebp - 4], esi
je 0x1012e6a
push dword [ebp - 4]
lea eax, [ebp - 0x20]
push dword [0x1077408]
push eax
call fcn.01064856
add esp, 0xc
jmp 0x1012e94
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x5c]
call fcn.01057106
cmp eax, esi
jl 0x1012ebd
push dword [ebp - 0x38]
lea eax, [ebp - 0x20]
push 0x494
push dword [0x1077408]
push eax
call fcn.01064856
add esp, 0x10
cmp eax, esi
jl 0x1012ebd
mov edx, dword [0x1077408]
push 0x499
lea ecx, [ebp - 0x2c]
call fcn.0106478e
cmp eax, esi
jl 0x1012ebd
push 0x10
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
push esi
call fcn.010613fe
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.01011310
cmp dword [ebp - 0xc], esi
je 0x1012ed4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.010635b3
lea ecx, [ebp - 0x20]
call fcn.010635b3
lea ecx, [ebp - 0x38]
call fcn.010635b3
lea ecx, [ebp - 0x5c]
call fcn.01055a3c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10