Function at 0x436ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af2f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x645300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x436f87
mov esi, dword [sym.imp.USER32.dll_IsIconic]
push ebx
call esi
test eax, eax
jne 0x436f40
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436f40
push 5
jmp 0x436f4e
push ebx
call esi
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 5
push eax
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
call esi
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov dword [0x6527d4], eax
mov eax, dword [ebp + 0x10]
mov dword [0x6527d8], eax
mov eax, dword [ebp + 0x14]
mov dword [0x6527dc], eax
mov al, byte [ebp + 0x18]
mov byte [edi + 0x290], al
test edx, edx
je 0x436fde
cmp word [edx], 0
je 0x436fde
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436fc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x298]
call fcn.004294a0
jmp 0x437053
call dword [sym.imp.soui4.dll_public:_static_class_SOUI::SUiDef____cdecl_SOUI::SSingleton2_class_SOUI::SUiDef_::getSingletonPtr_void_]
push str._string_messagebox_check_text
lea ecx, [ebp - 0x28]
mov esi, eax
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [sym.imp.soui4.dll_public:_class_SOUI::SStringW___thiscall_SOUI::SUiDef::GetString_class_SOUI::SStringW_const__]
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.utilities4.dll_public:_wchar_t_const____thiscall_SOUI::SStringW::operator_wchar_t_const__void_const]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x437020
sub edx, esi
lea ecx, [edi + 0x298]
sar edx, 1
push edx
push eax
call fcn.004294a0
mov esi, dword [sym.imp.utilities4.dll_public_virtual:_void___thiscall_SOUI::SStringW::destructor_void_]
lea ecx, [ebp - 0x34]
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call esi
mov esi, dword [edi + 0x2b0]
add edi, 0x2b0
mov eax, dword [edi + 4]
cmp esi, eax
je 0x437083
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x90]
add esi, 0xc
cmp esi, ebx
jne 0x437068
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4370f8
mov esi, dword [eax]
mov eax, dword [eax + 4]
cmp esi, eax
je 0x4370f8
mov ebx, eax
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x43709f
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_wchar_t_const__]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1c]
mov eax, dword [edi + 4]
mov dword [ebp + 0x18], eax
push ecx
cmp eax, dword [edi + 8]
je 0x4370d6
mov ecx, eax
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_class_SOUI::SStringW_const__]
mov eax, dword [ebp + 0x18]
mov dword [eax], vtable.SOUI::SStringW.0
add dword [edi + 4], 0xc
jmp 0x4370de
push eax
mov ecx, edi
call fcn.00439a70
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.utilities4.dll_public_virtual:_void___thiscall_SOUI::SStringW::destructor_void_]
add esi, 0x18
cmp esi, ebx
jne 0x437095
mov ebx, dword [ebp + 8]
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x10]
mov eax, dword [ebp + 0x24]
push dword [ebp + 0xc]
mov dword [ecx + 0x294], eax
push ebx
call dword [sym.imp.soui4.dll_public:_int___thiscall_SOUI::SMessageBoxImpl::MessageBoxW_struct_HWND_____wchar_t_const___wchar_t_const___unsigned_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20