Function at 0x412680
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x65b0c8]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x60
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [0x65be00], eax
test esi, esi
je 0x4126ce
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
call esi
push 0xb
mov edi, eax
call esi
push 0
push edi
push eax
push 1
push 0x80
push dword [0x66345c]
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push esi
push 1
push 0x80
push dword [ebx + 4]
call edi
push esi
push 0
push 0x80
push dword [ebx + 4]
call edi
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebx + 0xdc]
mov esi, eax
test ecx, ecx
je 0x412736
cmp ecx, esi
je 0x412736
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xdc], esi
mov edi, 0x16
cmp byte [0x65be04], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x41275d
push 0x64
push dword [0x65be00]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00577050
add esp, 0xc
lea eax, [esp + 0x74]
push dword [0x63ad14]
push 0x20
push eax
call fcn.00585afe
add esp, 0xc
mov dword [esp + 0x68], 0x1f4
lea eax, [esp + 0x58]
mov byte [esp + 0x70], 7
neg edi
mov byte [esp + 0x72], 5
mov dword [esp + 0x58], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0xe0], eax
mov edi, 0xe
cmp byte [0x65be04], 0
je 0x4127c7
push 0x64
push dword [0x65be00]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [esp + 0xbc]
push 0
push eax
call fcn.00577050
add esp, 0xc
lea eax, [esp + 0xd4]
push dword [0x63ad18]
push 0x20
push eax
call fcn.00585afe
add esp, 0xc
mov dword [esp + 0xc8], 0x1f4
lea eax, [esp + 0xb8]
mov byte [esp + 0xd0], 7
neg edi
mov byte [esp + 0xd2], 5
mov dword [esp + 0xb8], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0xe4], eax
mov edi, 0xe
cmp byte [0x65be04], 0
je 0x412846
push 0x64
push dword [0x65be00]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00577050
add esp, 0xc
lea eax, [esp + 0x74]
push dword [0x63ad1c]
push 0x20
push eax
call fcn.00585afe
add esp, 0xc
mov dword [esp + 0x68], 0x2bc
lea eax, [esp + 0x58]
mov byte [esp + 0x70], 7
neg edi
mov byte [esp + 0x72], 5
mov dword [esp + 0x58], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0xe8], eax
xorps xmm0, xmm0
lea eax, [esp + 0x48]
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x50], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x38]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x40], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [0x65be04], 0
mov edx, dword [0x65bd38]
mov edi, dword [0x65bd3c]
je 0x412901
push 0x64
push dword [0x65be00]
push edx
call esi
cmp byte [0x65be04], 0
mov edx, eax
mov dword [esp + 0xc], edx
je 0x412901
push 0x64
push dword [0x65be00]
push edi
call esi
mov edx, dword [esp + 0xc]
mov edi, eax
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x40]
sub ecx, dword [esp + 0x4c]
sub eax, dword [esp + 0x48]
add ecx, dword [esp + 0x54]
add eax, dword [esp + 0x50]
add ecx, edi
push 0
push ecx
add eax, edx
push eax
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
push 0
push 0
push dword [ebx + 4]
call eax
mov eax, dword [0x65be00]
mov esi, dword [ebx + 0xdc]
cmp eax, 0x7d
jae 0x41294e
mov eax, 0x384
jmp 0x412968
cmp eax, 0x96
jae 0x41295c
mov eax, 0x385
jmp 0x412968
cmp eax, 0xc8
sbb eax, eax
add eax, 0x387
cmp dword [ebx + 0x48], eax
je 0x4129a1
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x48], eax
test ecx, ecx
je 0x41297d
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebx + 0x24]
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x4c], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4129a1
push 1
push 0
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebx + 0x20]
push 0x708
push dword [ebx + 4]
call edi
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x10], eax
call dword [edx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4129d6
call fcn.005735fc
mov dword [esi + 0x14], eax
test eax, eax
je 0x412a04
push esi
push dword [esp + 0x10]
push eax
call fcn.005736fe
push dword [esi + 0x14]
call fcn.00573661
push eax
push 0xfffffffffffffffc
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x412a04
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
push 0x709
push dword [ebx + 4]
call edi
lea ecx, [ebx + 0x50]
mov dword [ecx], eax
push 0x70a
push dword [ebx + 4]
mov dword [esp + 0x20], ecx
call edi
lea ecx, [ebx + 0x54]
mov dword [ecx], eax
push 0x70b
push dword [ebx + 4]
mov dword [esp + 0x24], ecx
call edi
lea ecx, [ebx + 0x58]
mov dword [ecx], eax
push 0x70c
push dword [ebx + 4]
mov dword [esp + 0x28], ecx
call edi
lea ecx, [ebx + 0x5c]
mov dword [ecx], eax
push 0x70d
push dword [ebx + 4]
mov dword [esp + 0x2c], ecx
call edi
lea ecx, [ebx + 0x60]
mov dword [ecx], eax
lea esi, [ebx + 0x64]
push 0x70e
push dword [ebx + 4]
mov dword [esp + 0x14], ecx
call edi
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x10], eax
call dword [edx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x412a92
call fcn.005735fc
mov dword [esi + 0x14], eax
test eax, eax
je 0x412ac0
push esi
push dword [esp + 0x18]
push eax
call fcn.005736fe
push dword [esi + 0x14]
call fcn.00573661
push eax
push 0xfffffffffffffffc
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x412ac0
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
push 0x70f
push dword [ebx + 4]
lea esi, [ebx + 0xa0]
call edi
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x412af0
call fcn.005735fc
mov dword [esi + 0x14], eax
test eax, eax
je 0x412b17
push esi
push dword [esp + 0x18]
push eax
call fcn.005736fe
push dword [esi + 0x14]
call fcn.00573661
push eax
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x412b17
mov dword [esi + 0x20], eax
mov dword [esi + 4], edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [ebx + 0xe0]
push 0x30
push dword [ebx + 0x50]
call esi
push 1
push dword [ebx + 0xe4]
push 0x30
push dword [ebx + 0x54]
call esi
push 1
push dword [ebx + 0xe4]
push 0x30
push dword [ebx + 0x58]
call esi
push 1
push dword [ebx + 0xe4]
push 0x30
push dword [ebx + 0x5c]
call esi
push 1
push dword [ebx + 0xe4]
push 0x30
push dword [ebx + 0x60]
call esi
push 1
push dword [ebx + 0xe8]
lea edi, [ebx + 0x68]
push 0x30
push dword [edi]
call esi
push 1
push dword [ebx + 0xe8]
lea eax, [ebx + 0xa4]
push 0x30
push dword [ebx + 0xa4]
mov dword [esp + 0x24], eax
call esi
mov dword [ebx + 0x88], 0xffffff
lea eax, [esp + 0x28]
mov dword [ebx + 0x8c], 0xcc3e0d
mov dword [ebx + 0x90], 0xcc3e0d
mov dword [ebx + 0x94], 0xffff
mov dword [ebx + 0x98], 0xffff00
mov dword [ebx + 0x9c], 0xff00ff
push 0x664344
push eax
mov dword [ebx + 0xc4], 0xcc3e0d
mov dword [ebx + 0xc8], 0xffffff
mov dword [ebx + 0xcc], 0xcc3e0d
mov dword [ebx + 0xd0], 0xffff
mov dword [ebx + 0xd4], 0xffff00
mov dword [ebx + 0xd8], 0xff00ff
call fcn.00404800
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
push edx
push esi
push dword [ebx + 0x24]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
call ebx
push 0x65bd40
lea eax, [esp + 0x2c]
push eax
call fcn.00404800
push 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
sub ecx, edx
mov esi, dword [eax]
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
mov eax, dword [esp + 0x24]
push edx
push esi
push dword [eax]
call ebx
push 0x65bd50
lea eax, [esp + 0x2c]
push eax
call fcn.00404800
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
mov eax, dword [esp + 0x28]
push edx
push esi
push dword [eax]
call ebx
push 0x65bd60
lea eax, [esp + 0x2c]
push eax
call fcn.00404800
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
mov eax, dword [esp + 0x2c]
push edx
push esi
push dword [eax]
call ebx
push 0x65bd70
lea eax, [esp + 0x2c]
push eax
call fcn.00404800
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
mov eax, dword [esp + 0x30]
push edx
push esi
push dword [eax]
call ebx
push 0x65bd80
lea eax, [esp + 0x2c]
push eax
call fcn.00404800
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
mov eax, dword [esp + 0x18]
push edx
push esi
push dword [eax]
call ebx
push 0x65bd90
lea eax, [esp + 0x2c]
push eax
call fcn.00404800
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
push edx
push esi
push dword [edi]
call ebx
push 0x65bda0
lea eax, [esp + 0x2c]
push eax
call fcn.00404800
mov ebx, dword [esp + 0x14]
push 0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push ecx
sub eax, esi
push eax
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
push edx
push esi
push dword [ebx]
call eax
mov ecx, dword [esp + 0x18]
mov edx, 0x708
push 0
call fcn.0042bd40
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, 0x709
push 1
call fcn.0042bd40
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, 0x70a
push 1
call fcn.0042bd40
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, 0x4b7
push 1
call fcn.0042bd40
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, 0x70b
push 1
call fcn.0042bd40
add esp, 4
mov edx, 0x5dc
mov ecx, edi
push 0
call fcn.0042bd40
add esp, 4
mov edx, 0x70c
mov ecx, ebx
push 0
call fcn.0042bd40
add esp, 4
call fcn.004342c0
test al, al
jne 0x412e18
call fcn.00434430
test al, al
jne 0x412e18
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x11c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057374d
mov esp, ebp
pop ebp
ret 0x10