Function at 0x1002f980
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009a5c8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x78], eax
push ebx
lea eax, [esp + 0x38]
push eax
push edi
call sym.iImportLib.dll_bool___cdecl_elex::RetriveLnkCommand_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
test al, al
je 0x1002f9ff
cmp dword [esp + 0x44], 0
jne 0x1002fa5f
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0
call sym.iImportLib.dll_private:_void___thiscall_elex::CWow64Helper::Init_void_
cmp byte [esp + 0x2c], 0
je 0x1002fa20
lea ecx, [esp + 0x30]
call fcn.10039760
push ebx
lea eax, [esp + 0x38]
push eax
push edi
mov byte [esp + 0x84], 1
call sym.iImportLib.dll_bool___cdecl_elex::RetriveLnkCommand_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
add esp, 0xc
test al, al
je 0x1002fb44
cmp dword [esp + 0x44], 0
je 0x1002fb44
mov byte [esp + 0x78], 0
cmp byte [esp + 0x2c], 0
je 0x1002fa5f
lea ecx, [esp + 0x30]
call fcn.10039810
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call sym.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__
mov edi, eax
lea eax, [esp + 0x3c]
add esp, 8
cmp eax, edi
je 0x1002faac
cmp dword [esp + 0x48], 8
jb 0x1002fa8b
push dword [esp + 0x34]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.1000d5d0
cmp dword [esp + 0x28], 8
jb 0x1002fabc
push dword [esp + 0x14]
call esi
add esp, 4
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push ecx
push eax
mov dword [esp + 0x54], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
lea ecx, [esp + 0x50]
push dword [edi]
call fcn.10008550
push dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x80], 2
call sym.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
push edi
test al, al
jne 0x1002fb13
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor bl, bl
jmp 0x1002fb1b
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov bl, 1
cmp dword [esp + 0x64], 8
jb 0x1002fb2b
push dword [esp + 0x50]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jmp 0x1002fb5b
mov byte [esp + 0x78], 0
cmp byte [esp + 0x2c], 0
je 0x1002fb59
lea ecx, [esp + 0x30]
call fcn.10039810
xor bl, bl
cmp dword [esp + 0x48], 8
jb 0x1002fb6b
push dword [esp + 0x34]
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.100947be
mov esp, ebp
pop ebp
ret