Function at 0x1017d83
Capabilities:
Accept command line arguments

Disassembly:
push 0x280
mov eax, 0x1054cbc
call fcn.01021f2c
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], SysReAllocString
call fcn.01015288
mov esi, 0x1064ba8
xor ebx, ebx
push esi
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], ebx
call fcn.01015076
push esi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x224], ebx
call fcn.01015076
push ebx
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x28c], ebx
call fcn.01014fc6
xor eax, eax
lea ecx, [ebp - 0x258]
mov word [ebp - 0x284], ax
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x254], ebx
call fcn.01014fc6
xor edi, edi
inc edi
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
call fcn.01014fc6
push 0x1064710
push dword [0x1064708]
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
call fcn.01035f03
test eax, eax
je 0x101814d
call fcn.01035328
mov dword [0x1063148], eax
call fcn.0101664b
call fcn.01016b4e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x224], eax
cmp eax, ebx
jne 0x1017ee2
push 0x10025f8
push edi
call fcn.01016717
push 0x10042ac
push 3
call fcn.01016717
jmp 0x101814d
push esi
push 0x1004284
push edi
call fcn.010168f9
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x101449b
push edi
push 0x10
push ebx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
test eax, eax
je 0x1017f2d
cmp dword [ebp - 0x21c], 0x18
jne 0x1017f2d
push 0x1004240
push edi
call fcn.01016717
mov dword [ebp - 0x220], edi
jmp 0x1017f42
push 0x1004204
push edi
call fcn.01016717
mov dword [ebp - 0x220], 2
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x21c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x21c], esi
jne 0x1017f7c
push 0x10041c8
push eax
push 3
call fcn.010167cb
jmp 0x101814d
cmp dword [ebp - 0x21c], ebx
jne 0x1017f8b
push 0x1004170
jmp 0x1017f6f
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push dword [0x1064708]
push eax
call fcn.0102083e
cmp eax, ebx
je 0x1017fae
push 0x10040f8
jmp 0x1017f6f
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x224]
lea esi, [ebp - 0x28c]
push dword [ebp - 0x238]
call fcn.01015b11
mov esi, eax
mov eax, dword [ebp - 0x244]
cmp dword [eax - 0xc], ebx
je 0x1017fe8
push eax
push 0x10040dc
push edi
call fcn.010168f9
add esp, 0xc
push 0x10025f8
push edi
call fcn.01016717
cmp esi, ebx
jne 0x101801a
push dword [ebp - 0x22c]
push 3
call fcn.01016717
push dword [ebp - 0x234]
lea edi, [ebp - 0x22c]
call fcn.01016ec7
jmp 0x101814a
cmp dword [ebp - 0x28c], ebx
jne 0x1018028
mov dword [ebp - 0x28c], edi
cmp dword [ebp - 0x28c], 4
jne 0x101806d
push 0x10022ec
lea ecx, [ebp - 0x220]
call fcn.010161a7
push dword [ebp - 0x234]
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.01016ec7
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.010147cd
jmp 0x101814a
cmp dword [ebp - 0x24c], ebx
je 0x10180aa
cmp dword [0x1063148], 3
jne 0x1018087
push 0x1004028
push 2
jmp 0x10180a5
call fcn.010200ad
test eax, eax
je 0x101809e
push 0x1003fd0
mov dword [0x106470c], edi
push edi
jmp 0x10180a5
push 0x1003f68
push 3
call fcn.01016717
push dword [ebp - 0x250]
mov esi, dword [ebp - 0x224]
push ecx
mov ecx, esp
mov dword [ebp - 0x234], esp
push dword [esi]
call fcn.010161a7
call fcn.0101533e
cmp eax, ebx
jne 0x10180e2
push dword [esi]
push 0x1003ef8
push 3
call fcn.010168f9
add esp, 0xc
jmp 0x101814d
lea eax, [ebp - 0x230]
push eax
call fcn.01036816
test eax, eax
jne 0x1018106
push dword [ebp - 0x230]
push 0x1003eb0
push edi
call fcn.010168f9
add esp, 0xc
mov edi, dword [0x1013e3c]
push ebx
push 0x10172d2
call edi
cmp dword [ebp - 0x28c], 1
je 0x1018135
jle 0x1018146
cmp dword [ebp - 0x28c], 3
jg 0x1018146
lea esi, [ebp - 0x28c]
call fcn.01017bb2
jmp 0x1018140
lea ecx, [ebp - 0x28c]
call fcn.0101732b
mov dword [ebp - 0x228], eax
push ebx
push ebx
call edi
xor edi, edi
inc edi
push dword [ebp - 0x228]
push 0x1003e78
push edi
call fcn.010168f9
add esp, 0xc
call fcn.01020426
cmp dword [0x106470c], ebx
je 0x1018173
call fcn.0101ffaf
cmp dword [ebp - 0x224], ebx
je 0x1018187
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.01016ada
mov ecx, 0x1064714
call fcn.0101fdb7
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.010147cd
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.010147cd
lea ecx, [ebp - 0x28c]
call fcn.01015183
mov eax, dword [ebp - 0x228]
call fcn.01021fbe
ret 4