Function at 0x4122f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x6670c8]
xor eax, esp
mov dword [esp + 0x100], 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 [0x667e00], eax
test esi, esi
je 0x41233e
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 [0x66f60c]
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 0x4123a6
cmp ecx, esi
je 0x4123a6
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xdc], esi
mov edi, 0x16
cmp byte [0x667e04], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x4123cd
push 0x64
push dword [0x667e00]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.0057fee0
add esp, 0xc
lea eax, [esp + 0x64]
push dword [0x642d98]
push 0x20
push eax
call fcn.00591ec1
add esp, 0xc
mov dword [esp + 0x58], 0x1f4
lea eax, [esp + 0x48]
mov byte [esp + 0x60], 7
neg edi
mov byte [esp + 0x62], 5
mov dword [esp + 0x48], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0xe0], eax
mov edi, 0xe
cmp byte [0x667e04], 0
je 0x412437
push 0x64
push dword [0x667e00]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [esp + 0xac]
push 0
push eax
call fcn.0057fee0
add esp, 0xc
lea eax, [esp + 0xc4]
push dword [0x642d9c]
push 0x20
push eax
call fcn.00591ec1
add esp, 0xc
mov dword [esp + 0xb8], 0x1f4
lea eax, [esp + 0xa8]
mov byte [esp + 0xc0], 7
neg edi
mov byte [esp + 0xc2], 5
mov dword [esp + 0xa8], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0xe4], eax
mov edi, 0xe
cmp byte [0x667e04], 0
je 0x4124b6
push 0x64
push dword [0x667e00]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.0057fee0
add esp, 0xc
lea eax, [esp + 0x64]
push dword [0x642da0]
push 0x20
push eax
call fcn.00591ec1
add esp, 0xc
mov dword [esp + 0x58], 0x2bc
lea eax, [esp + 0x48]
mov byte [esp + 0x60], 7
neg edi
mov byte [esp + 0x62], 5
mov dword [esp + 0x48], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0xe8], eax
xorps xmm0, xmm0
lea eax, [esp + 0x38]
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [0x667e04], 0
mov edx, dword [0x667d38]
mov edi, dword [0x667d3c]
je 0x412571
push 0x64
push dword [0x667e00]
push edx
call esi
cmp byte [0x667e04], 0
mov edx, eax
mov dword [esp + 0x14], edx
je 0x412571
push 0x64
push dword [0x667e00]
push edi
call esi
mov edx, dword [esp + 0x14]
mov edi, eax
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x30]
sub ecx, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
add ecx, dword [esp + 0x44]
add eax, dword [esp + 0x40]
add ecx, edi
push 0
push ecx
add eax, edx
push eax
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x667e00]
mov esi, dword [ebx + 0xdc]
cmp eax, 0x7d
jae 0x4125bd
mov eax, 0x384
jmp 0x4125d7
cmp eax, 0x96
jae 0x4125cb
mov eax, 0x385
jmp 0x4125d7
cmp eax, 0xc8
sbb eax, eax
add eax, 0x387
cmp dword [ebx + 0x48], eax
je 0x412610
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x48], eax
test ecx, ecx
je 0x4125ec
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 0x412610
push 1
push 0
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x708
push dword [ebx + 4]
call esi
push eax
lea ecx, [ebx + 0x20]
call fcn.00403bf0
push 0x709
push dword [ebx + 4]
call esi
push 0x70a
mov dword [ebx + 0x50], eax
push dword [ebx + 4]
call esi
push 0x70b
mov dword [ebx + 0x54], eax
push dword [ebx + 4]
call esi
push 0x70c
mov dword [ebx + 0x58], eax
push dword [ebx + 4]
call esi
push 0x70d
mov dword [ebx + 0x5c], eax
push dword [ebx + 4]
call esi
mov dword [ebx + 0x60], eax
mov eax, ebx
push 0x70e
push dword [eax + 4]
call esi
mov ecx, ebx
push eax
lea ecx, [ecx + 0x64]
call fcn.00403bf0
mov eax, ebx
push 0x70f
push dword [eax + 4]
call esi
mov esi, ebx
push eax
lea ecx, [esi + 0xa0]
call fcn.00403bf0
push 1
push dword [esi + 0xe0]
push 0x30
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0xe4]
push 0x30
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0xe4]
push 0x30
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0xe4]
push 0x30
push dword [ebx + 0x5c]
call edi
push 1
push dword [esi + 0xe4]
push 0x30
push dword [ebx + 0x60]
call edi
push 1
push dword [esi + 0xe8]
lea edi, [esi + 0x68]
push 0x30
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0xe8]
lea eax, [esi + 0xa4]
push 0x30
push dword [eax]
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x88], 0xffffff
lea eax, [esp + 0x18]
mov dword [esi + 0x8c], 0xcc3e0d
mov dword [esi + 0x90], 0xcc3e0d
mov dword [esi + 0x94], 0xffff
mov dword [esi + 0x98], 0xffff00
mov dword [esi + 0x9c], 0xff00ff
push 0x670510
push eax
mov dword [esi + 0xc4], 0xcc3e0d
mov dword [esi + 0xc8], 0xffffff
mov dword [esi + 0xcc], 0xcc3e0d
mov dword [esi + 0xd0], 0xffff
mov dword [esi + 0xd4], 0xffff00
mov dword [esi + 0xd8], 0xff00ff
call fcn.00404390
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
mov eax, ebx
push esi
push dword [eax + 0x24]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x667d40
lea eax, [esp + 0x1c]
push eax
call fcn.00404390
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
mov eax, ebx
push esi
push dword [eax + 0x50]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x667d50
lea eax, [esp + 0x1c]
push eax
call fcn.00404390
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
mov eax, ebx
push esi
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x667d60
lea eax, [esp + 0x1c]
push eax
call fcn.00404390
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
mov eax, ebx
push esi
push dword [eax + 0x58]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x667d70
lea eax, [esp + 0x1c]
push eax
call fcn.00404390
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
mov eax, ebx
push esi
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x667d80
lea eax, [esp + 0x1c]
push eax
call fcn.00404390
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 + 0x60]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x667d90
lea eax, [esp + 0x1c]
push eax
call fcn.00404390
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 dword [sym.imp.USER32.dll_MoveWindow]
push 0x667da0
lea eax, [esp + 0x1c]
push eax
call fcn.00404390
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 + 0x20]
push edx
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, ebx
mov edx, 0x708
push 0
lea ecx, [esi + 0x50]
call fcn.004391f0
add esp, 4
push 1
mov edx, 0x709
lea ecx, [esi + 0x54]
call fcn.004391f0
add esp, 4
lea ecx, [esi + 0x58]
mov edx, 0x70a
push 1
call fcn.004391f0
add esp, 4
lea ecx, [esi + 0x5c]
mov edx, 0x4bd
push 1
call fcn.004391f0
add esp, 4
lea ecx, [ebx + 0x60]
mov edx, 0x70b
push 1
call fcn.004391f0
add esp, 4
mov edx, 0x5dc
mov ecx, edi
push 0
call fcn.004391f0
add esp, 4
lea ecx, [esi + 0xa4]
mov edx, 0x70c
push 0
call fcn.004391f0
add esp, 4
call fcn.004406b0
test al, al
jne 0x4129c5
call fcn.004407f0
test al, al
jne 0x4129c5
push 0
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x10c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057c5eb
mov esp, ebp
pop ebp
ret 0x10