Function at 0x420920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4e006c]
xor eax, ebp
mov dword [ebp - 4], 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 [0x4e0ed0], eax
test esi, esi
je 0x420967
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 [0x4e4b60]
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 + 0x1ac]
mov esi, eax
test ecx, ecx
je 0x4209cf
cmp ecx, esi
je 0x4209cf
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x1ac], esi
mov edi, 0xf
cmp byte [0x4e0ed4], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x4209f6
push 0x64
push dword [0x4e0ed0]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c364c]
push 0x20
push eax
call fcn.0048f2e7
add esp, 0xc
mov dword [ebp - 0x78], 0x2bc
lea eax, [ebp - 0x88]
mov byte [ebp - 0x70], 7
neg edi
mov byte [ebp - 0x6e], 5
mov dword [ebp - 0x88], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x1b8], eax
mov edi, 0xf
cmp byte [0x4e0ed4], 0
je 0x420a62
push 0x64
push dword [0x4e0ed0]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4c3650]
push 0x20
push eax
call fcn.0048f2e7
add esp, 0xc
mov dword [ebp - 0xd8], 0x190
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xd0], 7
neg edi
mov byte [ebp - 0xce], 5
mov dword [ebp - 0xe8], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x1bc], eax
mov edi, 0xf
cmp byte [0x4e0ed4], 0
je 0x420ada
push 0x64
push dword [0x4e0ed0]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00482710
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c3654]
push 0x20
push eax
call fcn.0048f2e7
add esp, 0xc
mov dword [ebp - 0x78], 0x2bc
lea eax, [ebp - 0x88]
mov byte [ebp - 0x70], 7
neg edi
mov byte [ebp - 0x6e], 5
mov dword [ebp - 0x88], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x1c0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [ebx + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [0x4e0ed4], 0
mov edx, dword [0x4e0f38]
mov edi, dword [0x4e0f3c]
je 0x420b97
push 0x64
push dword [0x4e0ed0]
push edx
call esi
cmp byte [0x4e0ed4], 0
mov edx, eax
mov dword [ebp - 0xec], edx
je 0x420b97
push 0x64
push dword [0x4e0ed0]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
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 [0x4e0ed0]
cmp eax, 0x7d
jae 0x420bd5
mov ecx, 0xad
jmp 0x420bf0
cmp eax, 0x96
jae 0x420be3
mov ecx, 0xae
jmp 0x420bf0
cmp eax, 0xc8
sbb ecx, ecx
add ecx, 0xb0
cmp dword [ebx + 0xfc], ecx
je 0x420c1d
mov dword [ebx + 0xfc], ecx
mov ecx, dword [ebx + 0xf8]
test ecx, ecx
je 0x420c0e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0xf8], 0
mov eax, dword [0x4e0ed0]
mov esi, dword [ebx + 0x1ac]
cmp eax, 0x7d
jae 0x420c2f
mov eax, 0xb1
jmp 0x420c49
cmp eax, 0x96
jae 0x420c3d
mov eax, 0xb2
jmp 0x420c49
cmp eax, 0xc8
sbb eax, eax
add eax, 0xb4
cmp dword [ebx + 0x134], eax
je 0x420c97
mov ecx, dword [ebx + 0x130]
mov dword [ebx + 0x134], eax
test ecx, ecx
je 0x420c67
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebx + 0x110]
mov dword [ebx + 0x130], 0
mov dword [ebx + 0x138], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420c97
push 1
push 0
push dword [ebx + 0x110]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
lea edi, [ebx + 0x20]
push 0x5dc
push dword [ebx + 4]
call esi
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xf0], eax
test ecx, ecx
jne 0x420cd2
call fcn.00469f48
mov ecx, eax
mov dword [edi + 0x14], ecx
test ecx, ecx
je 0x420d06
push edi
push dword [ebp - 0xf0]
push ecx
call fcn.0046a04a
push dword [edi + 0x14]
call fcn.00469fad
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420d06
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
push 0x5dd
push dword [ebx + 4]
call esi
push 0x5de
mov dword [ebx + 0x50], eax
push dword [ebx + 4]
call esi
push 0x5df
mov dword [ebx + 0x54], eax
push dword [ebx + 4]
call esi
push 0x5e0
mov dword [ebx + 0x58], eax
lea edi, [ebx + 0x5c]
push dword [ebx + 4]
call esi
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x420d60
call fcn.00469f48
mov dword [edi + 0x14], eax
test eax, eax
je 0x420d94
push edi
push dword [ebp - 0xf0]
push eax
call fcn.0046a04a
push dword [edi + 0x14]
call fcn.00469fad
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420d94
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
push 0x5e1
push dword [ebx + 4]
lea edi, [ebx + 0x98]
call esi
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x420dca
call fcn.00469f48
mov dword [edi + 0x14], eax
test eax, eax
je 0x420dfe
push edi
push dword [ebp - 0xf0]
push eax
call fcn.0046a04a
push dword [edi + 0x14]
call fcn.00469fad
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420dfe
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
push 0x5e2
push dword [ebx + 4]
lea edi, [ebx + 0xd4]
call esi
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x420e34
call fcn.00469f48
mov dword [edi + 0x14], eax
test eax, eax
je 0x420e68
push edi
push dword [ebp - 0xf0]
push eax
call fcn.0046a04a
push dword [edi + 0x14]
call fcn.00469fad
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420e68
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
push 0x5e3
push dword [ebx + 4]
call esi
push 0x5e4
mov dword [ebx + 0x104], eax
push dword [ebx + 4]
call esi
push 0x5e5
mov dword [ebx + 0x108], eax
lea edi, [ebx + 0x10c]
push dword [ebx + 4]
call esi
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x420ebe
call fcn.00469f48
mov dword [edi + 0x14], eax
test eax, eax
je 0x420ef2
push edi
push dword [ebp - 0xf0]
push eax
call fcn.0046a04a
push dword [edi + 0x14]
call fcn.00469fad
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420ef2
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
push 0x5e6
push dword [ebx + 4]
lea edi, [ebx + 0x13c]
call esi
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x420f24
call fcn.00469f48
mov dword [edi + 0x14], eax
test eax, eax
je 0x420f4d
push edi
push dword [ebp - 0xf0]
push eax
call fcn.0046a04a
push dword [edi + 0x14]
call fcn.00469fad
push eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420f4d
mov dword [edi + 0x20], eax
mov dword [edi + 4], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [ebx + 0x1b8]
push 0x30
push dword [ebx + 0x104]
call esi
push 1
push dword [ebx + 0x1bc]
push 0x30
push dword [ebx + 0x108]
call esi
push 1
push dword [ebx + 0x1c0]
push 0x30
push dword [ebx + 0x140]
call esi
mov dword [ebx + 0x160], 0xffffff
lea ecx, [ebx + 0x178]
mov dword [ebx + 0x164], 0xcc3e0d
mov dword [ebx + 0x168], 0xcc3e0d
mov dword [ebx + 0x16c], 0xffff
mov dword [ebx + 0x170], 0xffff00
mov dword [ebx + 0x174], 0xff00ff
push dword [ebx + 0x1ac]
call fcn.00424c70
push 0x4e0f50
lea eax, [ebp - 0x100]
push eax
call fcn.00403e80
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 + 0xd8]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e0f70
lea eax, [ebp - 0x100]
push eax
call fcn.00403e80
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 + 0x104]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e0f80
lea eax, [ebp - 0x100]
push eax
call fcn.00403e80
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 + 0x108]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e0f50
lea eax, [ebp - 0x100]
push eax
call fcn.00403e80
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
sub ecx, edx
mov eax, dword [eax + 8]
push 0
push ecx
sub eax, esi
push eax
push edx
push esi
push dword [ebx + 0x110]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e0f90
lea eax, [ebp - 0x100]
push eax
call fcn.00403e80
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 + 0x140]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
mov edx, 0xc4
lea ecx, [ebx + 0x140]
call fcn.00443e40
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 4
push 0
push dword [ebx + 0x110]
call esi
push 0
push dword [ebx + 0x140]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx + 0x140]
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x4c3864
push dword [ebx + 0x104]
call esi
push 0x4c3864
push dword [ebx + 0x108]
call esi
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x1b58
push 1
push dword [ebx + 4]
call esi
push 0
push 0xc8
push 2
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a0e8
mov esp, ebp
pop ebp
ret 0x10