Function at 0x45f140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ad79
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x564040]
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 eax, dword [ebp + 0x14]
mov dword [eax], 1
cmp dword [edi + 0x390], 0
jne 0x45f186
xor eax, eax
jmp 0x45f38b
push ecx
push 0x5293f0
lea ecx, [edi + 4]
call fcn.0042e7d0
mov ebx, dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetVisible_int__int_]
mov esi, eax
test esi, esi
je 0x45f1c0
push 1
push 1
mov ecx, esi
call ebx
push ecx
push str.loading_wnd_animateimg
mov ecx, esi
call fcn.004330b0
test eax, eax
je 0x45f1c0
mov ecx, eax
call fcn.0043c6a0
mov ecx, dword [edi + 0x390]
test ecx, ecx
je 0x45f1d0
push 1
push 0
call ebx
cmp dword [ebp + 0xc], 0
je 0x45f2fd
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x56fd34]
cmp eax, dword [ecx + 4]
jle 0x45f232
push 0x56fd34
call fcn.004d1c25
add esp, 4
cmp dword [0x56fd34], 0xffffffff
jne 0x45f232
mov dword [ebp - 4], 0
call fcn.004b4520
push 0x514100
call fcn.004d21da
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x56fd34
call fcn.004d1bd4
add esp, 4
mov edx, 0x56fe2c
lea ecx, [ebp - 0x28]
call fcn.00416590
push 0xb
mov dword [ebp - 4], 1
call fcn.0045f630
mov ecx, eax
call fcn.004a37c0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push ecx
cmova eax, dword [ebp - 0x28]
mov ecx, esp
push eax
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
mov ecx, dword [edi + 0x390]
call fcn.0044df30
lea ecx, [edi + 0x23c]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::IsWindowVisible_void_const]
test eax, eax
jne 0x45f2d6
mov ecx, dword [0x56f890]
test ecx, ecx
jne 0x45f2b7
push 0xc
call fcn.004d1b6b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2c], ecx
mov dword [0x56f890], ecx
mov dword [ecx], vtable.SOUI::SMantleCenter.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
cmp dword [ecx + 4], 0
je 0x45f2e2
mov eax, 1
lock xadd dword [ecx + 8], eax
inc eax
cmp eax, 1
jne 0x45f2e2
mov ecx, dword [ecx + 4]
push eax
push eax
call ebx
jmp 0x45f2e2
lea ecx, [edi + 0x23c]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::IsWindowVisible_void_const]
push 5
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x28]
call fcn.00415020
jmp 0x45f386
mov ecx, dword [edi + 0x390]
lea ecx, [ecx + 0x174]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::Empty_void_]
lea ecx, [edi + 0x23c]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::IsWindowVisible_void_const]
lea ecx, [edi + 0x23c]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::IsWindowVisible_void_const]
test eax, eax
je 0x45f378
mov ecx, dword [0x56f890]
test ecx, ecx
jne 0x45f35e
push 0xc
call fcn.004d1b6b
mov ecx, eax
add esp, 4
mov dword [ebp - 0x2c], ecx
mov dword [0x56f890], ecx
mov dword [ecx], vtable.SOUI::SMantleCenter.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
cmp dword [ecx + 4], 0
je 0x45f378
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x45f378
mov ecx, dword [ecx + 4]
push 1
push 0
call ebx
push 0
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
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.004d1b1e
mov esp, ebp
pop ebp
ret 0x10