Function at 0x4138b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x454f03
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x46d674]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x46d674]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x413915
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413915
mov eax, dword [ebx + 0x78]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x413bde
movzx esi, byte [ebx + 0x84]
mov eax, dword [ebx + 0x80]
mov ecx, dword [0x4700b4]
neg esi
sbb esi, esi
and esi, 0x80000
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
test eax, eax
je 0x413b15
cmp word [eax], 0
je 0x413b15
cmp byte [ebx + 0x88], 0
je 0x413b28
lea edx, [esp + 0x1c]
push edx
call fcn.00439a30
mov dword [esp + 0xc0], 0
call fcn.0040f210
mov edx, dword [ebx + 0x80]
mov ecx, dword [eax]
push 0
push 0
call fcn.0040cfd0
push eax
lea ecx, [esp + 0x28]
call fcn.0043b620
cmp byte [esp + 0x60], 0
jne 0x413ac3
lea eax, [esp + 0x1c]
call fcn.0040b430
lea edi, [eax + 0x44]
mov esi, str.width
mov dword [esp + 0x10], eax
call fcn.0043a8d0
test eax, eax
je 0x4139e0
add eax, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x4139c2
mov eax, dword [eax]
test eax, eax
je 0x4139e0
mov eax, dword [esp + 0x10]
mov esi, str.width
call fcn.004396c0
push eax
call fcn.0043fa89
add esp, 4
mov dword [ebx + 0xc], eax
mov esi, str.height
call fcn.0043a8d0
test eax, eax
je 0x413a17
add eax, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x4139f9
mov eax, dword [eax]
test eax, eax
je 0x413a17
mov eax, dword [esp + 0x10]
mov esi, str.height
call fcn.004396c0
push eax
call fcn.0043fa89
add esp, 4
mov dword [ebx + 0x10], eax
mov esi, str.title
call fcn.0043a8d0
test eax, eax
je 0x413a7e
add eax, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x413a30
mov eax, dword [eax]
test eax, eax
je 0x413a7e
mov eax, dword [esp + 0x10]
mov esi, str.title
call fcn.004396c0
mov edx, eax
lea ecx, [esp + 0x94]
call fcn.0040abc0
mov byte [esp + 0xc0], 1
cmp dword [eax + 0x14], 8
jb 0x413a60
mov eax, dword [eax]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
lea esi, [esp + 0x94]
mov byte [esp + 0xc0], 0
call fcn.0040f280
mov eax, dword [esp + 0x10]
call fcn.0040b430
mov esi, eax
test esi, esi
je 0x413abf
lea ecx, [ecx]
push 0
push ebx
push esi
call fcn.0041a5e0
mov esi, dword [esi + 0x40]
add esp, 0xc
test esi, esi
je 0x413ab7
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x413b0a
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x413aa3
xor eax, eax
mov esi, eax
test eax, eax
jne 0x413a90
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x1c], vtable.TiXmlDocument.0
jb 0x413aea
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0043e981
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
call fcn.00439270
jmp 0x413b28
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x413ab9
cmp byte [ebx + 0x88], 0
je 0x413b28
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push ebx
mov ecx, ebx
call eax
call fcn.0040f210
mov edx, dword [ebx + 0x20]
mov ecx, dword [eax]
call fcn.0040c830
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x10]
push ebx
push ecx
mov ecx, dword [ebx + 0xc]
push 0
push 0
push edx
push ecx
push 0
push 0
push 0x86030000
push eax
push str.LiteUI_Window
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x413bde
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413b7d
mov dword [0x4700bc], esi
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x413b9f
cmp word [eax], 0
je 0x413b9f
cmp byte [ebx + 0x88], 0
je 0x413b9f
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
mov edx, dword [ebx + 0x9c]
mov eax, dword [edx + 4]
lea ecx, [ebx + 0x9c]
push ebx
mov byte [ebx + 0x88], 0
call eax
push ebx
call fcn.00413de0
mov ecx, dword [ebx + 0x78]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 0x78]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx + 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.0043e417
mov esp, ebp
pop ebp
ret