Function at 0x412220
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x65d0c8]
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 [0x65de00], eax
test esi, esi
je 0x41226e
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 [0x66550c]
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 0x4122d6
cmp ecx, esi
je 0x4122d6
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xdc], esi
mov edi, 0x16
cmp byte [0x65de04], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x4122fd
push 0x64
push dword [0x65de00]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.005771e0
add esp, 0xc
lea eax, [esp + 0x74]
push dword [0x63ad98]
push 0x20
push eax
call fcn.00585c8e
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 [0x65de04], 0
je 0x412367
push 0x64
push dword [0x65de00]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [esp + 0xbc]
push 0
push eax
call fcn.005771e0
add esp, 0xc
lea eax, [esp + 0xd4]
push dword [0x63ad9c]
push 0x20
push eax
call fcn.00585c8e
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 [0x65de04], 0
je 0x4123e6
push 0x64
push dword [0x65de00]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.005771e0
add esp, 0xc
lea eax, [esp + 0x74]
push dword [0x63ada0]
push 0x20
push eax
call fcn.00585c8e
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 [0x65de04], 0
mov edx, dword [0x65dd38]
mov edi, dword [0x65dd3c]
je 0x4124a1
push 0x64
push dword [0x65de00]
push edx
call esi
cmp byte [0x65de04], 0
mov edx, eax
mov dword [esp + 0xc], edx
je 0x4124a1
push 0x64
push dword [0x65de00]
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 [0x65de00]
mov esi, dword [ebx + 0xdc]
cmp eax, 0x7d
jae 0x4124ee
mov eax, 0x384
jmp 0x412508
cmp eax, 0x96
jae 0x4124fc
mov eax, 0x385
jmp 0x412508
cmp eax, 0xc8
sbb eax, eax
add eax, 0x387
cmp dword [ebx + 0x48], eax
je 0x412541
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x48], eax
test ecx, ecx
je 0x41251d
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 0x412541
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 0x412576
call fcn.0057377f
mov dword [esi + 0x14], eax
test eax, eax
je 0x4125a4
push esi
push dword [esp + 0x10]
push eax
call fcn.00573881
push dword [esi + 0x14]
call fcn.005737e4
push eax
push 0xfffffffffffffffc
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4125a4
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 0x412632
call fcn.0057377f
mov dword [esi + 0x14], eax
test eax, eax
je 0x412660
push esi
push dword [esp + 0x18]
push eax
call fcn.00573881
push dword [esi + 0x14]
call fcn.005737e4
push eax
push 0xfffffffffffffffc
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x412660
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 0x412690
call fcn.0057377f
mov dword [esi + 0x14], eax
test eax, eax
je 0x4126b7
push esi
push dword [esp + 0x18]
push eax
call fcn.00573881
push dword [esi + 0x14]
call fcn.005737e4
push eax
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4126b7
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 0x6663ec
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.004043b0
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 0x65dd40
lea eax, [esp + 0x2c]
push eax
call fcn.004043b0
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 0x65dd50
lea eax, [esp + 0x2c]
push eax
call fcn.004043b0
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 0x65dd60
lea eax, [esp + 0x2c]
push eax
call fcn.004043b0
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 0x65dd70
lea eax, [esp + 0x2c]
push eax
call fcn.004043b0
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 0x65dd80
lea eax, [esp + 0x2c]
push eax
call fcn.004043b0
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 0x65dd90
lea eax, [esp + 0x2c]
push eax
call fcn.004043b0
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 0x65dda0
lea eax, [esp + 0x2c]
push eax
call fcn.004043b0
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.0042ade0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, 0x709
push 1
call fcn.0042ade0
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, 0x70a
push 1
call fcn.0042ade0
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, 0x4b7
push 1
call fcn.0042ade0
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, 0x70b
push 1
call fcn.0042ade0
add esp, 4
mov edx, 0x5dc
mov ecx, edi
push 0
call fcn.0042ade0
add esp, 4
mov edx, 0x70c
mov ecx, ebx
push 0
call fcn.0042ade0
add esp, 4
call fcn.00432790
test al, al
jne 0x4129b8
call fcn.00432900
test al, al
jne 0x4129b8
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.005738eb
mov esp, ebp
pop ebp
ret 0x10