Function at 0x10074150
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1009ea61
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov al, byte [ebp + 0x10]
push str.Kernel32.dll
mov byte [esp + 0x13], al
mov dword [esp + 0x7c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
test esi, esi
je 0x100741d6
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100741d3
lea ecx, [esp + 0x78]
push ecx
call eax
push esi
call edi
mov dword [esp + 0x120], 0
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
mov byte [esp + 0x120], 1
call sym.iImportLib.dll_bool___cdecl_elex::os::IsX64System_void_
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test al, al
je 0x100743d2
lea eax, [esp + 0xac]
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::GetWindowsDir_void_
push str.SysWOW64_regedit.exe
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x44]
mov byte [esp + 0x128], 2
call fcn.10011cb0
push str._regedit.exe
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x60]
mov byte [esp + 0x12c], 3
call fcn.10011cb0
add esp, 0xc
cmp byte [esp + 0xf], 0
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x54]
cmove eax, ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x120], 4
cmp ecx, eax
je 0x1007428d
push 0xffffffffffffffff
push 0
push eax
call fcn.10008c80
push str.regedit.exe
lea ecx, [esp + 0x18]
call fcn.10008550
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x124], 5
call sym.iImportLib.dll_bool___cdecl_elex::proc::CheckProcess_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
mov byte [esp + 0x120], 4
cmp dword [esp + 0x28], 8
mov byte [esp + 0xf], al
jb 0x100742d0
push dword [esp + 0x14]
call edi
mov al, byte [esp + 0x13]
add esp, 4
test al, al
je 0x10074364
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call fcn.10008550
lea eax, [esp + 0x14]
push 0x7d0
push eax
mov byte [esp + 0x128], 6
call sym.iImportLib.dll_bool___cdecl_elex::proc::TerminateProcess_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_long_int_
add esp, 8
mov byte [esp + 0x120], 4
cmp dword [esp + 0x28], 8
jb 0x10074322
push dword [esp + 0x14]
call edi
add esp, 4
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
call fcn.10008550
lea eax, [esp + 0x14]
push 0x7d0
push eax
mov byte [esp + 0x128], 7
call sym.iImportLib.dll_bool___cdecl_elex::proc::TerminateProcess_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_long_int_
add esp, 8
cmp dword [esp + 0x28], 8
jb 0x10074364
push dword [esp + 0x14]
call edi
add esp, 4
cmp dword [esp + 0x68], 8
jb 0x10074374
push dword [esp + 0x54]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0x50], 8
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
jb 0x1007439b
push dword [esp + 0x3c]
call edi
add esp, 4
xor eax, eax
mov byte [esp + 0x120], 1
cmp dword [esp + 0xc0], 8
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
jb 0x100743e5
push dword [esp + 0xac]
call edi
add esp, 4
jmp 0x100743e5
push 0xb
push str.regedit.exe
lea ecx, [esp + 0x84]
call fcn.100089b0
push str.regedit.exe
call sym.iImportLib.dll_private:_static_unsigned_long_int___cdecl_elex::reg::CJumpToRegistry::GetProcessIdByName_wchar_t_const__
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x1007448e
push 0x44
push eax
lea eax, [esp + 0xcc]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x90], 8
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0xc8]
push ecx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x98]
cmovae eax, dword [esp + 0x98]
push 0
push eax
xorps xmm0, xmm0
push 0
mov dword [esp + 0xec], 0x44
movdqa xmmword [esp + 0x7c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100747e8
mov edi, dword [esp + 0x5c]
push dword [esp + 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3c], edi
call esi
push dword [esp + 0x58]
call esi
test edi, edi
je 0x100747e8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x124], 8
call fcn.1000d380
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
call fcn.1000d380
xor esi, esi
lea esp, [esp]
lea eax, [esp + 0x54]
push eax
push sym.iImportLib.dll_private:_static_int___stdcall_elex::reg::CJumpToRegistry::FindRegeditMainWnd_struct_HWND_____long_int_
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x10074509
inc esi
cmp esi, 0xa
jl 0x100744e0
mov byte [esp + 0x120], 1
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x10074523
push ecx
call edi
mov eax, dword [esp + 0x30]
add esp, 4
test eax, eax
je 0x100747e8
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x10074542
push 9
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_EnumChildWindows]
lea eax, [esp + 0x30]
push eax
push sym.iImportLib.dll_private:_static_int___stdcall_elex::reg::CJumpToRegistry::FindRegeditTreeView_struct_HWND_____long_int_
push dword [esp + 0x34]
mov dword [esp + 0x3c], 0
call esi
cmp dword [esp + 0x30], 0
je 0x100747e8
lea eax, [esp + 0x34]
push eax
push sym.iImportLib.dll_private:_static_int___stdcall_elex::reg::CJumpToRegistry::FindRegeditListView_struct_HWND_____long_int_
push dword [esp + 0x34]
mov dword [esp + 0x40], 0
call esi
cmp dword [esp + 0x34], 0
je 0x100747e8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 7
push dword [esp + 0x3c]
call esi
mov edi, 0x1e
jmp 0x100745c0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x25
push 0x100
push dword [esp + 0x3c]
call esi
dec edi
jne 0x100745c0
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x10074687
lea ebx, [ebx]
push 0
push 0x27
push 0x100
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x3c]
push esi
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::strings::to_upper_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [esp + 0x120], 9
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x38], ecx
test eax, eax
je 0x10074660
cmp eax, ecx
jbe 0x10074697
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push 0
movzx eax, word [eax + ecx*2]
push eax
push 0x102
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
inc ecx
mov dword [esp + 0x38], ecx
cmp eax, ecx
ja 0x1007462b
mov byte [esp + 0x120], 1
cmp dword [esp + 0x50], 8
jb 0x1007467c
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x100745f0
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x100746a2
lea edi, [esi + 1]
jmp 0x100747ea
push str.invalid_string_position
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 7
push dword [esp + 0x40]
call edi
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x24
push 0x100
push dword [esp + 0x40]
call edi
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
cmp word [esi], ax
jne 0x100746ee
xor ecx, ecx
jmp 0x10074702
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100746f3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x44]
call fcn.100089b0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x128], 0xa
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::strings::to_upper_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [esp + 0x120], 0xc
cmp dword [esp + 0x50], 8
jb 0x10074746
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov word [esp + 0x3c], ax
mov eax, dword [esp + 0xa4]
xor esi, esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
test eax, eax
je 0x100747a7
cmp eax, esi
jbe 0x10074697
cmp dword [esp + 0xa8], 8
lea eax, [esp + 0x94]
cmovae eax, dword [esp + 0x94]
push 0
movzx eax, word [eax + esi*2]
push eax
push 0x102
push dword [esp + 0x40]
call edi
mov eax, dword [esp + 0xa4]
inc esi
cmp eax, esi
ja 0x10074772
cmp dword [esp + 0xa8], 8
mov edi, 1
jb 0x100747c6
push dword [esp + 0x94]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
jmp 0x100747ea
xor edi, edi
cmp dword [esp + 0x90], 8
jb 0x10074801
push dword [esp + 0x7c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
push str.Kernel32.dll
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
mov dword [esp + 0x124], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1007485b
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10074853
push dword [esp + 0x78]
call eax
mov eax, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret