Function at 0x412c70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dd286
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5246f0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x5246f0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x78]
test eax, eax
je 0x412cd5
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x412cd5
mov eax, dword [esi + 0x78]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x412f4d
movzx edi, byte [esi + 0x84]
mov eax, dword [esi + 0x80]
mov ecx, dword [0x52a8b0]
neg edi
sbb edi, edi
and edi, 0x80000
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
test eax, eax
je 0x412e84
cmp word [eax], 0
je 0x412e84
cmp byte [esi + 0x88], 0
je 0x412e97
lea edx, [esp + 0x34]
push edx
call fcn.00444030
mov dword [esp + 0xc0], 0
call fcn.0041eea0
mov edx, dword [esi + 0x80]
mov ecx, dword [eax]
push 0
push 0
call fcn.0041cc30
push eax
lea ecx, [esp + 0x40]
call fcn.004413c0
cmp byte [esp + 0x78], 0
jne 0x412e63
lea eax, [esp + 0x34]
call fcn.00411c00
mov edi, eax
lea eax, [edi + 0x44]
push eax
mov ebx, str.width
call fcn.00444c80
test eax, eax
je 0x412d95
lea ecx, [eax + 0x30]
call fcn.00404d10
test eax, eax
je 0x412d95
mov eax, edi
call fcn.00443c70
push eax
call fcn.00460d7d
add esp, 4
mov dword [esi + 0xc], eax
lea eax, [edi + 0x44]
push eax
mov ebx, str.height
call fcn.00444c80
test eax, eax
je 0x412dc6
lea ecx, [eax + 0x30]
call fcn.00404d10
test eax, eax
je 0x412dc6
mov eax, edi
call fcn.00443c70
push eax
call fcn.00460d7d
add esp, 4
mov dword [esi + 0x10], eax
lea eax, [edi + 0x44]
push eax
mov ebx, str.title
call fcn.00444c80
test eax, eax
je 0x412e20
lea ecx, [eax + 0x30]
call fcn.00404d10
test eax, eax
je 0x412e20
mov eax, edi
call fcn.00443c70
mov edx, eax
lea ecx, [esp + 0x18]
call fcn.0043e470
mov byte [esp + 0xc0], 1
mov ebx, dword [esi]
mov ecx, eax
call fcn.00404cf0
push eax
mov eax, dword [ebx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 0
call fcn.00405540
mov eax, edi
call fcn.00411c00
mov ebx, eax
test ebx, ebx
je 0x412e5f
lea ecx, [ecx]
push 0
push esi
push ebx
call fcn.004225d0
mov ebx, dword [ebx + 0x40]
add esp, 0xc
test ebx, ebx
je 0x412e57
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
test eax, eax
jne 0x412e79
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x412e43
xor eax, eax
mov ebx, eax
test eax, eax
jne 0x412e30
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x34]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00411c50
jmp 0x412e97
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
jmp 0x412e59
cmp byte [esi + 0x88], 0
je 0x412e97
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
push esi
mov ecx, esi
call eax
call fcn.0041eea0
mov edx, dword [esi + 0x20]
mov ecx, dword [eax]
call fcn.0041c4f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x10]
push esi
push ecx
mov ecx, dword [esi + 0xc]
push 0
push 0
push edx
push ecx
push 0
push 0
push 0x86030000
push eax
push str.LiteUI_Window
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x412f4d
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x412eec
mov dword [0x52a8b8], ebx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x412f0e
cmp word [eax], 0
je 0x412f0e
cmp byte [esi + 0x88], 0
je 0x412f0e
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
mov edx, dword [esi + 0x9c]
mov eax, dword [edx + 4]
lea ecx, [esi + 0x9c]
push esi
mov byte [esi + 0x88], 0
call eax
push esi
call fcn.00413150
mov ecx, dword [esi + 0x78]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x78]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x78]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0045f522
mov esp, ebp
pop ebp
ret