joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4045b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edi, eax
test edi, edi
je 0x4045e4
mov esi, dword [edi]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SWindow::GetClassNameW_void_]
push eax
mov ecx, edi
call dword [esi + 4]
test eax, eax
je 0x4045e4
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x404600
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x404602
xor esi, esi
push 0x2800
call fcn.0047fa17
add esp, 4
mov edi, eax
push 0x5000
call fcn.0047fa17
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SWindow::GetClassNameW_void_]
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004057e0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x404670
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0047a539
add esp, 4
test esi, esi
je 0x4046c5
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x4046c5
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.0047a539
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.0047fa17
add esp, 4
mov esi, eax
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00405840
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0047a539
add esp, 4
push edi
call fcn.0047a539
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x404720
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edi, eax
test edi, edi
je 0x404754
mov esi, dword [edi]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SImageButton::GetClassNameW_void_]
push eax
mov ecx, edi
call dword [esi + 4]
test eax, eax
je 0x404754
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x404770
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x404772
xor esi, esi
push 0x2800
call fcn.0047fa17
add esp, 4
mov edi, eax
push 0x5000
call fcn.0047fa17
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SImageButton::GetClassNameW_void_]
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004057e0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x4047e0
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0047a539
add esp, 4
test esi, esi
je 0x404835
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x404835
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.0047a539
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.0047fa17
add esp, 4
mov esi, eax
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00405840
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0047a539
add esp, 4
push edi
call fcn.0047a539
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x404890
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edi, eax
test edi, edi
je 0x4048c0
mov esi, dword [edi]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SProgress::GetClassNameW_void_]
push eax
mov ecx, edi
call dword [esi + 4]
test eax, eax
je 0x4048c0
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x4048dc
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x4048de
xor esi, esi
push ebx
push 0x2800
call fcn.0047fa17
push 0x5000
mov edi, eax
call fcn.0047fa17
add esp, 8
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SProgress::GetClassNameW_void_]
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004057e0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x40494a
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0047a539
add esp, 4
pop ebx
test esi, esi
je 0x40499e
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x40499e
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.0047a539
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push 0x2800
call fcn.0047fa17
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00405840
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0047a539
add esp, 4
push edi
call fcn.0047a539
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x4049f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov edi, eax
test edi, edi
je 0x404a20
mov esi, dword [edi]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SStatic::GetClassNameW_void_]
push eax
mov ecx, edi
call dword [esi + 4]
test eax, eax
je 0x404a20
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x404a3c
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x404a3e
xor esi, esi
push ebx
push 0x2800
call fcn.0047fa17
push 0x5000
mov edi, eax
call fcn.0047fa17
add esp, 8
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SStatic::GetClassNameW_void_]
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004057e0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x404aaa
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.0047a539
add esp, 4
pop ebx
test esi, esi
je 0x404afe
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x404afe
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.0047a539
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push 0x2800
call fcn.0047fa17
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00405840
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.0047a539
add esp, 4
push edi
call fcn.0047a539
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x404e20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aac85
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x6360c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x800
mov esi, eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00477510
push esi
push str._nOnUpdateStep_th:__d_n
lea eax, [ebp - 0x810]
push 0x3ff
push eax
call fcn.00404c60
add esp, 0x1c
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x62930c
lea ecx, [ebp - 0x818]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0x629300
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 1
mov ecx, dword [edi + 4]
push str.wnd_update
add ecx, 4
call fcn.004045b0
push 0
lea ecx, [ebp - 0x818]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x814]
push ecx
mov ecx, eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x814]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push 0x628e60
lea ecx, [ebp - 0x820]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0x629300
lea ecx, [ebp - 0x81c]
mov dword [ebp - 4], 2
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 3
mov ecx, dword [edi + 4]
push str.wnd_update_faild
add ecx, 4
call fcn.004045b0
push 0
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x81c]
push ecx
mov ecx, eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x81c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x820]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [edi + 4]
mov byte [eax + 0x3b0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d9e0
mov esp, ebp
pop ebp
ret
Function at 0x404fd0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aac85
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x6360c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x800
mov esi, eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00477510
push esi
push str._nOnUpdateStep_th:__d_n
lea eax, [ebp - 0x810]
push 0x3ff
push eax
call fcn.00404c60
add esp, 0x1c
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x62930c
lea ecx, [ebp - 0x818]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0x629300
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 1
mov ecx, dword [edi + 4]
push str.wnd_update
add ecx, 4
call fcn.004045b0
push 0
lea ecx, [ebp - 0x818]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x814]
push ecx
mov ecx, eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x814]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push 0x628e60
lea ecx, [ebp - 0x820]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0x629300
lea ecx, [ebp - 0x81c]
mov dword [ebp - 4], 2
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 3
mov ecx, dword [edi + 4]
push str.wnd_update_succ
add ecx, 4
call fcn.004045b0
push 0
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x81c]
push ecx
mov ecx, eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x81c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x820]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [edi + 4]
mov byte [eax + 0x3b0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d9e0
mov esp, ebp
pop ebp
ret
Function at 0x4051e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aace5
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x6360c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov bl, byte [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x800
mov esi, eax
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00477510
push esi
push 0x628fa0
lea eax, [ebp - 0x810]
push 0x3ff
push eax
call fcn.00404c60
add esp, 0x1c
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x62930c
lea ecx, [ebp - 0x818]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0x629300
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 1
mov ecx, dword [edi + 4]
push str.wnd_msg_main
add ecx, 4
call fcn.004045b0
push 0
lea ecx, [ebp - 0x818]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x814]
push ecx
mov ecx, eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x814]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push 0x62930c
lea ecx, [ebp - 0x820]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0x629300
lea ecx, [ebp - 0x81c]
mov dword [ebp - 4], 2
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
mov byte [ebp - 4], 3
mov ecx, dword [edi + 4]
push str.wnd_uninstall
add ecx, 4
call fcn.004045b0
push 0
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x81c]
push ecx
mov ecx, eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x81c]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x820]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
xor eax, eax
test bl, bl
push 1
setne al
push eax
push ecx
push str.wnd_uninstall_succ
mov ecx, dword [edi + 4]
add ecx, 4
call fcn.004045b0
mov esi, dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetVisible_int__int_]
mov ecx, eax
call esi
xor eax, eax
test bl, bl
push 1
sete al
push eax
push ecx
mov ecx, dword [edi + 4]
push str.wnd_uninstall_failed
add ecx, 4
call fcn.004045b0
mov ecx, eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d9e0
mov esp, ebp
pop ebp
ret
Function at 0x407000
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x6360c0]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0
push ecx
mov dword [esp + 0x1c], 0
mov ebx, dword [edi + 4]
or ebx, 0x2001f
mov dword [esp + 0x20], 0
push ebx
push 0
push eax
push dword [edi]
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x407141
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40707b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [esp + 0x24]
and ebx, 0x300
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
test esi, esi
jne 0x407141
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x100
push eax
lea eax, [esp + 0x44]
push eax
push esi
push dword [esp + 0x30]
call ebx
test eax, eax
jne 0x4070f9
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00407000
mov esi, eax
test esi, esi
jne 0x407141
lea eax, [esp + 0x28]
mov dword [esp + 0x20], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push dword [esp + 0x30]
call ebx
test eax, eax
je 0x4070c0
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x407112
push eax
call ebx
mov dword [esp + 0x14], 0
mov esi, dword [edi + 8]
mov dword [esp + 0x18], 0
test esi, esi
je 0x40717a
cmp dword [esi], 0
mov edi, dword [edi]
je 0x40716d
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40714c
mov esi, 1
jmp 0x4071e0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4071e0
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407137
push 0
push dword [esi]
push 0
push 0
push dword [esp + 0x20]
push edi
call eax
jmp 0x4071de
cmp dword [esi + 4], 0
je 0x407137
push dword [esp + 0x10]
push edi
jmp 0x4071d8
cmp byte [0x63fd64], 0
jne 0x4071ba
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4071ac
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x63fd68], eax
mov byte [0x63fd64], 1
jmp 0x4071bf
mov eax, dword [0x63fd68]
mov byte [0x63fd64], 1
jmp 0x4071bf
mov eax, dword [0x63fd68]
test eax, eax
je 0x4071d2
push 0
push dword [edi + 4]
push dword [esp + 0x18]
push dword [edi]
call eax
jmp 0x4071de
push dword [esp + 0x10]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4071eb
push eax
call ebx
mov ecx, dword [esp + 0x234]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042d9e0
mov esp, ebp
pop ebp
ret 4