Function at 0x43c810
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5c15d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63727c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x6318a8
call fcn.0046f590
test eax, eax
je 0x43c93d
mov eax, dword [esi + 0x3b4]
mov ebp, dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetVisible_int__int_]
xor edi, edi
cmp eax, edi
je 0x43c888
push eax
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x43c870
call dword [sym.imp.USER32.dll_EndMenu]
jmp 0x43c888
push edi
call dword [sym.imp.soui.dll_public:_static_void___cdecl_SOUI::SMenuEx::ExitPopupMenu_int_]
mov eax, dword [esi + 0x3b4]
add esp, 4
push 1
push edi
lea ecx, [eax + 4]
call ebp
push 1
push 0xffffffffffffffff
push 0x5d3350
lea ecx, [esi + 4]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
push eax
lea ecx, [esp + 0x20]
call fcn.00431390
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x28], edi
call fcn.00488be0
mov eax, dword [eax]
mov ecx, dword [esi + 0x248]
push 0x64
push 0x44
push eax
push str.2301053
push ecx
mov byte [esp + 0x3c], 1
call dword [sym.imp.soui.dll_int___cdecl_SOUI::SMessageBox_struct_HWND_____wchar_t_const___wchar_t_const___unsigned_int__int_]
add esp, 0x18
cmp eax, 6
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c8fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x43c90a
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
mov dword [0x638fc4], edi
cmp ecx, edi
je 0x43ca22
push 1
push edi
call ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 0
lea ecx, [esi + 0x23c]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::ShowWindow_int_]
mov ecx, 0x6318a8
mov dword [esi + 0x598], 1
call fcn.0046f560
mov ecx, 0x6318a8
call fcn.0046f590
test eax, eax
je 0x43c979
push 1
mov ecx, 0x6318a8
call fcn.0046f5a0
mov eax, dword [esi + 0x404]
mov edx, dword [eax + 0x20]
lea ecx, [eax + 0x20]
mov eax, dword [edx + 4]
push 0xffff0000
call eax
mov eax, dword [esi + 0x400]
mov edx, dword [eax + 0x20]
lea ecx, [eax + 0x20]
mov eax, dword [edx + 4]
push 0xffff0000
call eax
mov ecx, 0x638e48
call fcn.00461760
mov edi, dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SHostWnd::DestroyWindow_void_]
lea ecx, [esi + 0x644]
call edi
mov ecx, esi
call edi
mov ecx, 0x6318a8
call fcn.0046f670
mov ecx, dword [esi + 0x3f0]
test ecx, ecx
je 0x43c9dc
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x3ec]
test ecx, ecx
je 0x43c9ed
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x408]
test ecx, ecx
je 0x43c9fe
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x404]
test ecx, ecx
je 0x43ca0f
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 0x400]
test esi, esi
je 0x43ca22
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret