Function at 0x10012e30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002d308
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10048070]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x10048070]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
add eax, 0x48
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::QuotaCommandline_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
mov dword [esp + 0x78], 0
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov byte [esp + 0x78], 1
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
xor eax, eax
mov edx, dword [ebx]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
cmp word [edx], ax
jne 0x10012eeb
xor ecx, ecx
jmp 0x10012f05
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012ef4
sub ecx, dword [esp + 0x18]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.10001320
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x80], 2
call dword [sym.imp.iImportLib.dll_bool___cdecl_elex::NormalizeFilePath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___struct_elex::FilePath__]
add esp, 8
test al, al
jne 0x10012f39
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor bl, bl
jmp 0x10012fae
mov eax, dword [esi + 4]
mov dword [esi + 0x40], edi
cmp dword [eax + 0x60], 2
jne 0x10012f92
cmp dword [esp + 0x1c], 3
jl 0x10012f92
mov edx, dword [ebx + 8]
cmp word [edx], 0
jne 0x10012f59
xor ecx, ecx
jmp 0x10012f6f
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012f60
sub ecx, edi
sar ecx, 1
push ecx
lea edi, [esi + 0x24]
push edx
mov ecx, edi
call fcn.10001320
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x10012fa5
mov ecx, dword [esp + 0x14]
push edi
push eax
call fcn.10018d10
jmp 0x10012fa5
cmp dword [eax + 0x6c], 0
je 0x10012fa5
push dword [eax + 0x6c]
mov ecx, edi
call fcn.10018c90
mov dword [esi + 0x3c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov bl, 1
cmp dword [esp + 0x34], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10012fc4
push dword [esp + 0x20]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
jb 0x10012feb
push dword [esp + 0x38]
call esi
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10029016
mov esp, ebp
pop ebp
ret 4