Function at 0x555d20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66de30
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
push str.invokedNativeFunc
lea ecx, [ebp - 0x28]
call fcn.00405040
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00506d50
mov ecx, eax
call fcn.0054ee80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405300
push str.invokedNativeCallback
lea ecx, [ebp - 0x40]
call fcn.00405040
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
call fcn.00506d50
mov ecx, eax
call fcn.0054ee80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405300
cmp dword [ebp - 0x44], 0
je 0x555dc2
mov edx, dword [ebp - 0x44]
add edx, 4
mov dword [ebp - 0x48], edx
jmp 0x555dc9
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0057a8d0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 4
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
mov edx, dword [eax + 0x94]
call edx
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x44]
add ecx, 4
call dword [sym.imp.soui.dll_public:_long_int___thiscall_SOUI::SWindow::SSendMessage_unsigned_int__unsigned_int__long_int__int__]
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x30c], 0
je 0x555e68
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x30c]
push edx
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x74]
call eax
mov ecx, eax
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SMessageLoop::RemoveMessageFilter_struct_SOUI::IMessageFilter__]
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::IToolTipFactory____thiscall_SOUI::SApplication::GetToolTipFactory_void_]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x30c]
push edx
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x30c], 0
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x258], 0
je 0x555e96
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x258]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::IsWindow_void_]
test eax, eax
je 0x555e96
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x258]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::DestroyWindow_void_]
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x314
call fcn.0057bc50
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x310
call fcn.0057bbe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0057bae0
call fcn.0058d0e0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret