Function at 0x462940
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x50b080]
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 [0x50bf88], eax
test esi, esi
je 0x462987
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 [0x50ec80]
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 + 0xc4]
mov esi, eax
test ecx, ecx
je 0x4629ef
cmp ecx, esi
je 0x4629ef
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xc4], esi
mov edi, 0xf
cmp byte [0x50bf8c], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x462a16
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00492970
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4eab30]
push 0x20
push eax
call fcn.0049c61a
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 + 0xc8], eax
mov edi, 0xf
cmp byte [0x50bf8c], 0
je 0x462a82
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00492970
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4eab34]
push 0x20
push eax
call fcn.0049c61a
add esp, 0xc
mov dword [ebp - 0xd8], 0x190
neg edi
mov byte [ebp - 0xd0], 7
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], edi
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov byte [ebp - 0xce], 5
call edi
mov dword [ebx + 0xcc], eax
cmp byte [0x50bf8c], 0
mov dword [ebp - 0xec], 0xf
je 0x462b06
push 0x64
push dword [0x50bf88]
push 0xf
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00492970
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4eab38]
push 0x20
push eax
call fcn.0049c61a
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0x78], 0x2bc
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
mov byte [ebp - 0x70], 7
push eax
mov byte [ebp - 0x6e], 5
call edi
mov dword [ebx + 0xd0], 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 [0x50bf8c], 0
mov eax, dword [0x50c420]
mov edi, dword [0x50c424]
je 0x462bc2
push 0x64
push dword [0x50bf88]
push eax
call esi
cmp byte [0x50bf8c], 0
mov dword [ebp - 0xec], eax
je 0x462bc2
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edi, eax
mov eax, dword [ebp - 0xec]
sub edi, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sub edi, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
add edi, dword [ebp - 0x10]
add edi, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push 0
push edi
push eax
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x50bf88]
cmp eax, 0x7d
jae 0x462bfc
mov ecx, 0x82
jmp 0x462c17
cmp eax, 0x96
jae 0x462c0a
mov ecx, 0x83
jmp 0x462c17
cmp eax, 0xc8
sbb ecx, ecx
add ecx, 0x85
cmp dword [ebx + 0x48], ecx
je 0x462c38
mov dword [ebx + 0x48], ecx
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x462c2c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x44], 0
mov eax, dword [0x50bf88]
mov edi, dword [ebx + 0xc4]
cmp eax, 0x7d
jae 0x462c4a
mov eax, 0x96
jmp 0x462c64
cmp eax, 0x96
jae 0x462c58
mov eax, 0x97
jmp 0x462c64
cmp eax, 0xc8
sbb eax, eax
add eax, 0x99
cmp dword [ebx + 0x80], eax
je 0x462ca6
mov ecx, dword [ebx + 0x7c]
mov dword [ebx + 0x80], eax
test ecx, ecx
je 0x462c7f
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebx + 0x5c]
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x84], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x462ca6
push 1
push 0
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x5dc
push dword [ebx + 4]
lea edi, [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
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 0x462cdd
call fcn.004901ec
mov dword [edi + 0x14], eax
test eax, eax
je 0x462d11
push edi
push dword [ebp - 0xf0]
push eax
call fcn.004902ee
push dword [edi + 0x14]
call fcn.00490251
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x462d11
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x5dd
push dword [ebx + 4]
call edi
push 0x5de
mov dword [ebx + 0x50], eax
push dword [ebx + 4]
call edi
push 0x5df
mov dword [ebx + 0x54], eax
lea edi, [ebx + 0x58]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
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 0x462d68
call fcn.004901ec
mov dword [edi + 0x14], eax
test eax, eax
je 0x462d9c
push edi
push dword [ebp - 0xf0]
push eax
call fcn.004902ee
push dword [edi + 0x14]
call fcn.00490251
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x462d9c
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
push 0x5e0
push dword [ebx + 4]
lea edi, [ebx + 0x88]
call dword [sym.imp.USER32.dll_GetDlgItem]
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 0x462dd6
call fcn.004901ec
mov dword [edi + 0x14], eax
test eax, eax
je 0x462e0a
push edi
push dword [ebp - 0xf0]
push eax
call fcn.004902ee
push dword [edi + 0x14]
call fcn.00490251
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x462e0a
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [ebx + 0xc8]
push 0x30
push dword [ebx + 0x50]
call edi
push 1
push dword [ebx + 0xcc]
push 0x30
push dword [ebx + 0x54]
call edi
push 1
push dword [ebx + 0xd0]
push 0x30
push dword [ebx + 0x8c]
call edi
mov dword [ebx + 0xac], 0xffffff
mov dword [ebx + 0xb0], 0xcc3e0d
mov dword [ebx + 0xb4], 0xcc3e0d
mov dword [ebx + 0xb8], 0xffff
mov dword [ebx + 0xbc], 0xffff00
mov dword [ebx + 0xc0], 0xff00ff
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c42c]
mov eax, dword [0x50c430]
mov ecx, dword [0x50c428]
mov edi, dword [0x50c434]
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], eax
je 0x462f31
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xec]
test cl, cl
je 0x462ede
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xec], eax
test cl, cl
je 0x462f02
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xf0]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x462f08
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xf0], edx
test cl, cl
je 0x462f25
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xf0]
mov edi, eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c44c]
mov eax, dword [0x50c450]
mov ecx, dword [0x50c448]
mov edi, dword [0x50c454]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf0], eax
je 0x462ff9
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf0]
test cl, cl
je 0x462fa6
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf0], eax
test cl, cl
je 0x462fca
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xec]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x462fd0
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xec], edx
test cl, cl
je 0x462fed
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c45c]
mov eax, dword [0x50c460]
mov ecx, dword [0x50c458]
mov edi, dword [0x50c464]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf0], eax
je 0x4630c1
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf0]
test cl, cl
je 0x46306e
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf0], eax
test cl, cl
je 0x463092
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xec]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x463098
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xec], edx
test cl, cl
je 0x4630b5
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c42c]
mov eax, dword [0x50c430]
mov ecx, dword [0x50c428]
mov edi, dword [0x50c434]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf0], eax
je 0x463189
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf0]
test cl, cl
je 0x463136
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf0], eax
test cl, cl
je 0x46315a
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xec]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x463160
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xec], edx
test cl, cl
je 0x46317d
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c46c]
mov eax, dword [0x50c470]
mov ecx, dword [0x50c468]
mov edi, dword [0x50c474]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf0], eax
je 0x463251
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf0]
test cl, cl
je 0x4631fe
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf0], eax
test cl, cl
je 0x463222
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xec]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x463228
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xec], edx
test cl, cl
je 0x463245
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x8c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
mov edx, 0x5dd
lea ecx, [ebx + 0x8c]
call fcn.00447bf0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 4
push 0
push dword [ebx + 0x5c]
call esi
push 0
push dword [ebx + 0x8c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx + 0x8c]
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x4eaca4
push dword [ebx + 0x50]
call esi
push 0x4eaca4
push dword [ebx + 0x54]
call esi
push 0
push 0xc8
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490396
mov esp, ebp
pop ebp
ret 0x10