Function at 0x1002e660
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009a0f4
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
sub esp, 8
lea ecx, [esp + 0xbc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
call fcn.1002fd90
mov dword [esp + 0x150], 0
push edi
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
call sym.iImportLib.dll_public:_void___thiscall_elex::reg::RegistryValueIterator::constructor_class_elex::reg::RegPath_const__
mov byte [esp + 0x150], 1
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jmp 0x1002e740
mov eax, dword [esp + 0x80]
test eax, eax
je 0x1002ed2a
cmp dword [esp + 0x84], 0
jl 0x1002ed2a
push 0x80
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], eax
test esi, esi
je 0x1002e7c9
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], eax
mov word [esi + 0x18], ax
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], eax
mov word [esi + 0x30], ax
mov dword [esi + 0x5c], 7
mov dword [esi + 0x58], eax
mov word [esi + 0x48], ax
mov dword [esi + 0x74], 7
mov dword [esi + 0x70], eax
mov word [esi + 0x60], ax
mov byte [esi + 0x78], al
mov byte [esi + 0x7c], 1
jmp 0x1002e7cf
xor esi, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x154], 2
call sym.iImportLib.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_elex::reg::RegPath::ToString_void_
mov edi, eax
cmp esi, edi
je 0x1002e852
cmp dword [esi + 0x14], 8
jb 0x1002e7fa
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
jae 0x1002e829
mov eax, dword [edi + 0x10]
inc eax
je 0x1002e833
add eax, eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x1002e833
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x2c], 8
jb 0x1002e862
push dword [esp + 0x18]
call ebx
add esp, 4
cmp dword [esp + 0x9c], 8
lea edx, [esp + 0x88]
cmovae edx, dword [esp + 0x88]
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
cmp word [edx], ax
jne 0x1002e899
xor ecx, ecx
jmp 0x1002e8af
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e8a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.100089b0
lea edi, [esi + 0x18]
lea eax, [esp + 0x50]
cmp edi, eax
je 0x1002e92b
cmp dword [edi + 0x14], 8
jb 0x1002e8d2
push dword [edi]
call ebx
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x64], 8
jae 0x1002e915
mov eax, dword [esp + 0x60]
inc eax
je 0x1002e91b
add eax, eax
push eax
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.MSVCR110.dll_memmove]
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x70]
add esp, 0xc
mov dword [edi + 0x14], eax
jmp 0x1002e93b
mov eax, dword [esp + 0x50]
mov dword [edi], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 0x14], eax
jmp 0x1002e93b
cmp dword [esp + 0x64], 8
jb 0x1002e93b
push dword [esp + 0x50]
call ebx
add esp, 4
mov edx, dword [esp + 0xa0]
xor eax, eax
cmp edx, dword [esp + 0xa4]
mov dword [esp + 0x7c], 7
cmove edx, eax
mov dword [esp + 0x78], eax
mov word [esp + 0x68], ax
cmp word [edx], ax
jne 0x1002e968
xor ecx, ecx
jmp 0x1002e97f
mov ecx, edx
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002e970
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.100089b0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x158], 3
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::trim_all_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
mov ebx, eax
lea edi, [esi + 0x30]
add esp, 8
cmp edi, ebx
je 0x1002ea16
cmp dword [edi + 0x14], 8
jb 0x1002e9be
push dword [edi]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebx + 0x14], 8
jae 0x1002e9ed
mov eax, dword [ebx + 0x10]
inc eax
je 0x1002e9f7
add eax, eax
push eax
push ebx
push edi
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x1002e9f7
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [esp + 0x64], 8
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x1002ea2c
push dword [esp + 0x50]
call ebx
add esp, 4
xor eax, eax
mov byte [esp + 0x150], 2
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x1002ea5b
push dword [esp + 0x68]
call ebx
add esp, 4
cmp dword [esi + 0x40], 0
jne 0x1002ea92
mov ecx, esi
mov byte [esp + 0x150], 1
call fcn.10030150
push esi
call ebx
dec dword [esp + 0x88]
add esp, 4
lea ecx, [esp + 0x80]
call sym.iImportLib.dll_private:_bool___thiscall_elex::reg::RegistryValueIterator::Read_void_
mov edi, dword [esp + 0x10]
jmp 0x1002e740
lea eax, [esp + 0x18]
push edi
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::filepath::ExpandPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x160], 4
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__
add esp, 0x10
mov byte [esp + 0x150], 6
cmp dword [esp + 0x2c], 8
jb 0x1002eacb
push dword [esp + 0x18]
call ebx
add esp, 4
xor eax, eax
cmp dword [esp + 0x7c], 8
mov word [esp + 0x18], ax
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x48]
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push ecx
push eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
xor eax, eax
mov edx, dword [edi]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov dword [esp + 0x14], edi
cmp word [edx], ax
jne 0x1002eb28
xor ecx, ecx
jmp 0x1002eb43
mov ecx, edx
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002eb30
sub ecx, edi
mov edi, dword [esp + 0x14]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.100089b0
lea eax, [esi + 0x60]
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x158], 7
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
test al, al
jne 0x1002ebc5
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x64], 8
jb 0x1002eb82
push dword [esp + 0x50]
call ebx
add esp, 4
xor eax, eax
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x1002eba9
push dword [esp + 0x68]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
jmp 0x1002ea61
mov eax, dword [esp + 0x48]
cmp eax, 1
jle 0x1002ec3d
lea eax, [esi + 0x48]
mov edi, 1
mov dword [esp + 0x30], eax
mov esi, eax
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + edi*4]
cmp word [edx], 0
jne 0x1002ebf1
xor ecx, ecx
jmp 0x1002ec11
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x30], eax
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ec00
sub ecx, dword [esp + 0x30]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10011f70
mov eax, dword [esp + 0x48]
inc edi
cmp edi, eax
jge 0x1002ec39
push 1
push 0x100b5314
mov ecx, esi
call fcn.10011f70
mov eax, dword [esp + 0x48]
cmp edi, eax
jl 0x1002ebe0
mov esi, dword [esp + 0x4c]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x64], 8
jb 0x1002ec57
push dword [esp + 0x50]
call ebx
add esp, 4
xor eax, eax
mov byte [esp + 0x150], 2
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x1002ec86
push dword [esp + 0x68]
call ebx
add esp, 4
movzx eax, byte [0x100e8a71]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xc0]
call fcn.100303c0
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
mov eax, dword [edi + 4]
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], esi
cmp ecx, eax
jae 0x1002ecec
mov ecx, dword [edi]
lea edx, [esp + 0x34]
cmp ecx, edx
ja 0x1002ecec
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [edi + 8]
jne 0x1002ecdc
push ecx
mov ecx, edi
call fcn.1000d820
mov ecx, dword [edi + 4]
mov eax, dword [edi]
test ecx, ecx
je 0x1002ed02
mov eax, dword [eax + esi*4]
mov dword [ecx], eax
jmp 0x1002ed02
cmp eax, dword [edi + 8]
jne 0x1002ecf9
push ecx
mov ecx, edi
call fcn.1000d820
mov eax, dword [edi + 4]
test eax, eax
je 0x1002ed02
mov dword [eax], esi
add dword [edi + 4], 4
mov byte [esp + 0x150], 1
dec dword [esp + 0x84]
lea ecx, [esp + 0x80]
call sym.iImportLib.dll_private:_bool___thiscall_elex::reg::RegistryValueIterator::Read_void_
mov edi, dword [esp + 0x10]
jmp 0x1002e740
mov byte [esp + 0x150], 0
test eax, eax
je 0x1002ed3d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xa0], 0
je 0x1002ed81
lea ecx, [esp + 0xa0]
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [esp + 0xa0]
call ebx
add esp, 4
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
cmp dword [esp + 0x9c], 8
jb 0x1002ed97
push dword [esp + 0x88]
call ebx
add esp, 4
xor eax, eax
mov word [esp + 0x88], ax
mov dword [esp + 0x4c], eax
mov eax, dword [0x100ebf78]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
test eax, eax
jne 0x1002eddc
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100ebf78], eax
test eax, eax
je 0x1002f2c8
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1002f2c8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x4c]
push ecx
push eax
call esi
cmp dword [esp + 0x4c], 0
setg al
test al, al
je 0x1002f2c8
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [esp + 0x108], 0
jb 0x1002ee26
mov eax, dword [eax]
push 1
push eax
push dword [edi]
lea ecx, [esp + 0x114]
call sym.iImportLib.dll_public:_void___thiscall_elex::reg::RegPath::constructor_struct_HKEY_____wchar_t_const___bool_
mov byte [esp + 0x150], 8
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xd8]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
call sym.iImportLib.dll_public:_void___thiscall_elex::reg::RegistryValueIterator::constructor_class_elex::reg::RegPath_const__
mov byte [esp + 0x150], 9
jmp 0x1002ee90
cmp dword [esp + 0xd4], 0
je 0x1002f2b0
cmp dword [esp + 0xd8], 0
jl 0x1002f2b0
push 0x80
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1002eecd
mov ecx, eax
call fcn.1002bdf0
mov esi, eax
mov dword [esp + 0x4c], eax
jmp 0x1002eed3
xor esi, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10c]
mov byte [esp + 0x154], 0xa
call sym.iImportLib.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_elex::reg::RegPath::ToString_void_
mov edi, eax
cmp esi, edi
je 0x1002ef5b
cmp dword [esi + 0x14], 8
jb 0x1002ef03
push dword [esi]
call ebx
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
jae 0x1002ef32
mov eax, dword [edi + 0x10]
inc eax
je 0x1002ef3c
add eax, eax
push eax
push edi
push esi
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x1002ef3c
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x2c], 8
jb 0x1002ef6b
push dword [esp + 0x18]
call ebx
add esp, 4
cmp dword [esp + 0xf0], 8
lea edx, [esp + 0xdc]
cmovae edx, dword [esp + 0xdc]
cmp word [edx], 0
jne 0x1002ef8c
xor ecx, ecx
jmp 0x1002efa0
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002ef91
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x18]
call fcn.100089b0
mov eax, dword [esp + 0xf4]
xor ecx, ecx
cmp eax, dword [esp + 0xf8]
cmove eax, ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.10008550
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x158], 0xb
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::trim_all_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea edi, [esi + 0x30]
add esp, 8
mov dword [esp + 0x10], eax
cmp edi, eax
je 0x1002f018
cmp dword [edi + 0x14], 8
jb 0x1002effd
push dword [edi]
call ebx
mov eax, dword [esp + 0x14]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
call fcn.1000d5d0
cmp dword [esp + 0x2c], 8
jb 0x1002f028
push dword [esp + 0x18]
call ebx
add esp, 4
xor eax, eax
mov byte [esp + 0x150], 0xa
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
jb 0x1002f057
push dword [esp + 0x68]
call ebx
add esp, 4
cmp dword [esi + 0x40], 0
jne 0x1002f08a
mov ecx, esi
mov byte [esp + 0x150], 9
call fcn.10030150
push esi
call ebx
dec dword [esp + 0xdc]
add esp, 4
lea ecx, [esp + 0xd4]
call sym.iImportLib.dll_private:_bool___thiscall_elex::reg::RegistryValueIterator::Read_void_
jmp 0x1002ee90
lea eax, [esi + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xbc]
call fcn.1002fe40
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
cmp ecx, eax
je 0x1002f0bb
lea ebx, [ebx]
mov ecx, dword [ecx]
inc edx
cmp ecx, eax
jne 0x1002f0b0
test edx, edx
jne 0x1002f05d
lea eax, [esp + 0x18]
push edi
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::filepath::ExpandPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x160], 0xc
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__
add esp, 0x10
mov byte [esp + 0x150], 0xe
cmp dword [esp + 0x2c], 8
jb 0x1002f0f4
push dword [esp + 0x18]
call ebx
add esp, 4
xor eax, eax
cmp dword [esp + 0x7c], 8
mov word [esp + 0x18], ax
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x48]
lea eax, [esp + 0x68]
cmovae eax, dword [esp + 0x68]
push ecx
push eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push dword [eax]
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], eax
call fcn.10008550
lea ecx, [esi + 0x60]
push ecx
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x158], 0xf
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
test al, al
jne 0x1002f1b2
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x64], 8
jb 0x1002f16f
push dword [esp + 0x50]
call ebx
add esp, 4
xor eax, eax
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x1002f196
push dword [esp + 0x68]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
jmp 0x1002f05d
mov eax, dword [esp + 0x48]
test eax, eax
jle 0x1002f22d
mov edi, 1
cmp eax, edi
jle 0x1002f22d
lea eax, [esi + 0x48]
mov dword [esp + 0x10], eax
mov esi, eax
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + edi*4]
cmp word [edx], 0
jne 0x1002f1e1
xor eax, eax
jmp 0x1002f201
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x10], ecx
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002f1f0
sub eax, dword [esp + 0x10]
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.10011f70
mov eax, dword [esp + 0x48]
inc edi
cmp edi, eax
jge 0x1002f229
push 1
push 0x100b5314
mov ecx, esi
call fcn.10011f70
mov eax, dword [esp + 0x48]
cmp edi, eax
jl 0x1002f1d0
mov esi, dword [esp + 0x4c]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x64], 8
jb 0x1002f247
push dword [esp + 0x50]
call ebx
add esp, 4
xor eax, eax
mov byte [esp + 0x150], 0xa
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x1002f276
push dword [esp + 0x68]
call ebx
add esp, 4
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], esi
call fcn.1000d380
mov byte [esp + 0x150], 9
dec dword [esp + 0xd8]
lea ecx, [esp + 0xd4]
call sym.iImportLib.dll_private:_bool___thiscall_elex::reg::RegistryValueIterator::Read_void_
jmp 0x1002ee90
lea ecx, [esp + 0xd4]
call sym.iImportLib.dll_public:_void___thiscall_elex::reg::RegistryValueIterator::destructor_void_
lea ecx, [esp + 0x108]
call sym.iImportLib.dll_public:_void___thiscall_elex::reg::RegPath::destructor_void_
mov dword [esp + 0x150], 0xffffffff
cmp dword [esp + 0xbc], 0
je 0x1002f317
lea ecx, [esp + 0xbc]
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
push dword [esp + 0xbc]
call ebx
add esp, 4
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea ecx, [esp + 0xb4]
call fcn.10030290
push dword [esp + 0xb4]
call ebx
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret 8