Function at 0x10060b1
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x99c
mov eax, dword [0x10140d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
lea ecx, [ebp - 0x970]
mov dword [ebp - 0x97c], ebx
mov dword [ebp - 0x984], ebx
mov dword [ebp - 0x978], ebx
mov dword [ebp - 0x980], ebx
call fcn.010103d7
mov dword [ebp - 0x98c], ebx
mov dword [ebp - 0x988], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x974], eax
call fcn.01011cc9
cmp dword [0x10143ec], 0xffffffff
jne 0x100612c
push 0x10143ec
push 0x100126c
call fcn.0100eddc
mov edi, 0x10015f0
push edi
push dword [0x10143ec]
call fcn.0100f2af
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x1001598
push dword [0x10143ec]
call fcn.0100f2af
push edi
push dword [0x10143ec]
call fcn.0100f2af
push 0x20a
lea eax, [ebp - 0x210]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x20
push ebx
xor edi, edi
inc edi
push edi
push 0x1014068
push 0xd
lea ecx, [ebp - 0x99c]
call fcn.0100fe6f
push 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x980]
push eax
push esi
lea ecx, [ebp - 0x99c]
call fcn.010101ef
mov esi, 0x800
test eax, eax
je 0x10063f1
xor eax, eax
cmp byte [ebp - 0x980], bl
push ebx
setne al
push 0xffffffffffffffff
lea ecx, [ebp - 0x98c]
push eax
push 0x1001300
call fcn.0100d3f3
test eax, eax
je 0x10063e9
push ebx
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x980]
push eax
call fcn.01005f4b
test eax, eax
je 0x10063f7
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x980]
push 0x1001500
push dword [0x10143ec]
call fcn.0100f2af
mov eax, dword [ebp - 0x980]
add esp, 0x10
test al, 0x10
je 0x1006233
mov dword [ebp - 0x97c], edi
jmp 0x10063cd
test al, 1
je 0x1006283
cmp eax, edi
je 0x1006242
cmp eax, 0x801
jne 0x1006228
xor ecx, ecx
cmp cx, word [ebp - 0x210]
je 0x1006228
test esi, eax
jne 0x100626b
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x974]
call fcn.0100d5c4
test eax, eax
je 0x10063cd
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x974]
call fcn.0100d9cb
jmp 0x1006353
test al, 2
je 0x10062a7
cmp eax, 2
jne 0x1006228
xor eax, eax
cmp ax, word [ebp - 0x210]
jne 0x1006228
push dword [ebp - 0x974]
call fcn.0100d19d
jmp 0x1006353
test al, 8
je 0x100635b
cmp eax, 8
jne 0x1006228
xor eax, eax
cmp ax, word [ebp - 0x210]
jne 0x1006228
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1006306
lea ecx, [ebp - 0x99c]
call fcn.0100ff41
lea ecx, [ebp - 0x98c]
call fcn.0100d536
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100e410
leave
ret 0x10
push 0x900
push ebx
push ebx
push 0x10014fc
push 0x105
lea eax, [ebp - 0x628]
push eax
call fcn.01011bb9
test eax, eax
jge 0x1006341
lea ecx, [ebp - 0x99c]
call fcn.0100ff41
lea ecx, [ebp - 0x98c]
call fcn.0100d536
mov eax, ebx
jmp 0x10062f5
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x974]
call fcn.0100d004
mov dword [ebp - 0x978], eax
jmp 0x10063cd
test al, 4
jne 0x1006228
test eax, 0x1000
jne 0x1006375
test eax, 0x4000
je 0x1006375
xor ecx, ecx
jmp 0x1006377
mov ecx, edi
lea edx, [ebp - 0x98c]
push edx
mov edx, eax
and edx, 0x2000
push edx
push ecx
mov ecx, eax
and ecx, esi
push ecx
mov ecx, eax
and ecx, 0x200
push ecx
and eax, 0x400
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x974]
call fcn.0100b68c
cmp eax, ebx
mov dword [ebp - 0x978], eax
jge 0x10063cd
push eax
push eax
push 0x1001490
push dword [0x10143ec]
call fcn.0100f2af
add esp, 0x10
push edi
push dword [ebp - 0x978]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x980]
push eax
call fcn.01005f4b
jmp 0x10063f7
mov dword [ebp - 0x984], edi
jmp 0x10063f7
mov dword [ebp - 0x97c], edi
lea ecx, [ebp - 0x99c]
call fcn.0100ff41
mov ecx, dword [0x1014430]
cmp ecx, ebx
je 0x100641c
call fcn.01005f0d
push dword [0x1014430]
call sub.cmutil.dll_CmFree
mov ecx, dword [0x1014434]
cmp ecx, ebx
je 0x1006436
call fcn.01005f0d
push dword [0x1014434]
call sub.cmutil.dll_CmFree
mov ecx, dword [0x1014438]
cmp ecx, ebx
je 0x1006450
call fcn.01005f0d
push dword [0x1014438]
call sub.cmutil.dll_CmFree
mov ecx, dword [0x101443c]
cmp ecx, ebx
je 0x100646a
call fcn.01005f0d
push dword [0x101443c]
call sub.cmutil.dll_CmFree
lea ecx, [ebp - 0x98c]
call fcn.0100d536
cmp dword [ebp - 0x97c], ebx
je 0x1006566
push 0x100145c
push dword [0x10143ec]
call fcn.0100f2af
pop ecx
pop ecx
test dword [ebp - 0x980], esi
jne 0x10064f7
push 0xfd2
call sub.cmutil.dll_CmMalloc
mov edi, eax
cmp edi, ebx
je 0x10064f4
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
lea eax, [ebp - 0x41c]
push eax
push 0xd2
push dword [ebp - 0x974]
call esi
push 0x7e8
push edi
push 0xc8
push dword [ebp - 0x974]
call esi
push 0x40
lea eax, [ebp - 0x41c]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call sub.cmutil.dll_CmFree
xor edi, edi
inc edi
cmp dword [ebp - 0x978], ebx
jl 0x1006511
cmp dword [ebp - 0x97c], ebx
jne 0x1006511
cmp dword [ebp - 0x984], ebx
jne 0x1006511
mov ebx, edi
mov esi, 0x10015f0
push esi
push dword [0x10143ec]
call fcn.0100f2af
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x1001400
push dword [0x10143ec]
call fcn.0100f2af
push esi
push dword [0x10143ec]
call fcn.0100f2af
add esp, 0x14
cmp dword [0x10143ec], 0xffffffff
je 0x1006332
push 0x10143ec
call fcn.0100ee3d
jmp 0x1006332
cmp dword [ebp - 0x984], ebx
je 0x10064f7
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
lea eax, [ebp - 0x41c]
push eax
push 0xd2
push dword [ebp - 0x974]
call esi
push 0x104
lea eax, [ebp - 0x834]
push eax
push 0xd1
push dword [ebp - 0x974]
call esi
push ebx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x834]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x10064f7