Function at 0x45ddb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4e706c]
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 [0x4e7ef8], eax
test esi, esi
je 0x45ddf7
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 [0x4ebb30]
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 + 0x9c]
mov esi, eax
test ecx, ecx
je 0x45de5f
cmp ecx, esi
je 0x45de5f
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x9c], esi
mov edi, 0x17
cmp byte [0x4e7efc], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x45de86
push 0x64
push dword [0x4e7ef8]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c86c0]
push 0x20
push eax
call fcn.0048eff6
add esp, 0xc
mov dword [ebp - 0x78], 0x258
neg edi
mov byte [ebp - 0x70], 7
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], edi
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov byte [ebp - 0x6e], 5
call edi
mov dword [ebx + 0xa0], eax
cmp byte [0x4e7efc], 0
mov dword [ebp - 0xec], 0x10
je 0x45defe
push 0x64
push dword [0x4e7ef8]
push 0x10
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4c86c4]
push 0x20
push eax
call fcn.0048eff6
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0xd8], 0x190
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xd0], 7
push eax
mov byte [ebp - 0xce], 5
call edi
mov dword [ebx + 0xa4], eax
cmp byte [0x4e7efc], 0
mov dword [ebp - 0xec], 0xf
je 0x45df82
push 0x64
push dword [0x4e7ef8]
push 0xf
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c86c8]
push 0x20
push eax
call fcn.0048eff6
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 + 0xa8], eax
cmp byte [0x4e7efc], 0
mov dword [ebp - 0xec], 0xf
je 0x45dffa
push 0x64
push dword [0x4e7ef8]
push 0xf
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4c86cc]
push 0x20
push eax
call fcn.0048eff6
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0xd8], 0x258
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 0xd0], 7
push eax
mov byte [ebp - 0xce], 5
call edi
mov dword [ebx + 0xac], eax
cmp byte [0x4e7efc], 0
mov dword [ebp - 0xec], 0xa
je 0x45e07e
push 0x64
push dword [0x4e7ef8]
push 0xa
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c86d0]
push 0x20
push eax
call fcn.0048eff6
mov eax, dword [ebp - 0xec]
add esp, 0xc
neg eax
mov dword [ebp - 0x78], 0x190
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 + 0xb0], 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 [0x4e7efc], 0
mov edx, dword [0x4e829c]
mov edi, dword [0x4e82a0]
je 0x45e13d
push 0x64
push dword [0x4e7ef8]
push edx
call esi
cmp byte [0x4e7efc], 0
mov edx, eax
mov dword [ebp - 0xec], edx
je 0x45e13d
push 0x64
push dword [0x4e7ef8]
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 [0x4e7ef8]
mov esi, dword [ebx + 0x9c]
cmp eax, 0x7d
jae 0x45e181
mov eax, 0xa
jmp 0x45e199
cmp eax, 0x96
jae 0x45e18f
mov eax, 0xb
jmp 0x45e199
cmp eax, 0xc8
sbb eax, eax
add eax, 0xd
cmp dword [ebx + 0x48], eax
je 0x45e1d2
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x48], eax
test ecx, ecx
je 0x45e1ae
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 0x45e1d2
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 0x3e8
push dword [ebx + 4]
call edi
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x45e20b
call fcn.0046e565
mov dword [esi + 0x14], eax
test eax, eax
je 0x45e23f
push esi
push dword [ebp - 0xf0]
push eax
call fcn.0046e667
push dword [esi + 0x14]
call fcn.0046e5ca
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x45e23f
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [esi + 4], eax
push 0x3e9
push dword [ebx + 4]
call edi
lea ecx, [ebx + 0x50]
mov dword [ecx], eax
push 0x3ea
push dword [ebx + 4]
mov dword [ebp - 0xf8], ecx
call edi
lea ecx, [ebx + 0x54]
mov dword [ecx], eax
lea esi, [ebx + 0x58]
push 0x3eb
push dword [ebx + 4]
mov dword [ebp - 0xf4], ecx
call edi
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x45e29c
call fcn.0046e565
mov dword [esi + 0x14], eax
test eax, eax
je 0x45e2d0
push esi
push dword [ebp - 0xf0]
push eax
call fcn.0046e667
push dword [esi + 0x14]
call fcn.0046e5ca
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x45e2d0
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [esi + 4], eax
push 0x3ec
push dword [ebx + 4]
call edi
lea ecx, [ebx + 0x94]
mov dword [ecx], eax
push 0x3ed
push dword [ebx + 4]
mov dword [ebp - 0xf0], ecx
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [ebx + 0x98]
push 1
mov dword [edi], eax
push dword [ebx + 0xa0]
push 0x30
push dword [ebx + 0x50]
call esi
push 1
push dword [ebx + 0xa4]
push 0x30
push dword [ebx + 0x54]
call esi
push 1
push dword [ebx + 0xa8]
lea eax, [ebx + 0x5c]
push 0x30
push dword [eax]
mov dword [ebp - 0xec], eax
call esi
push 1
push dword [ebx + 0xac]
push 0x30
push dword [ebx + 0x94]
call esi
push 1
push dword [ebx + 0xb0]
push 0x30
push dword [edi]
call esi
push 0x4e828c
lea eax, [ebp - 0x108]
mov dword [ebx + 0x7c], 0xffffff
push eax
mov dword [ebx + 0x80], 0xcc3e0d
mov dword [ebx + 0x84], 0xcc3e0d
mov dword [ebx + 0x88], 0xffff
mov dword [ebx + 0x8c], 0xffff00
mov dword [ebx + 0x90], 0xff00ff
call fcn.00403d70
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]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e82a4
lea eax, [ebp - 0x108]
push eax
call fcn.00403d70
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 + 0x50]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e82b4
lea eax, [ebp - 0x108]
push eax
call fcn.00403d70
mov ebx, dword [ebp - 0xf4]
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]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e82c4
lea eax, [ebp - 0x108]
push eax
call fcn.00403d70
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 [ebp - 0xec]
push edx
push esi
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x3fc
push 0x4e82d4
lea eax, [ebp - 0x108]
push eax
call fcn.00403d70
mov esi, dword [ebp - 0xf0]
mov edx, eax
mov ecx, esi
call fcn.00441710
add esp, 4
lea eax, [ebp - 0x108]
push 0x3fd
push 0x4e82e4
push eax
call fcn.00403d70
mov edx, eax
mov ecx, edi
call fcn.00441710
xor edx, edx
add esp, 4
cmp byte [0x4ec9f5], dl
je 0x45e4b9
cmp byte [0x4ec9f4], dl
setne dl
add edx, 0x3f2
jmp 0x45e4c8
cmp byte [0x4ec9f4], dl
setne dl
add edx, 0x3e8
mov ecx, dword [ebp - 0xf8]
push 0
call fcn.00441bb0
mov al, byte [0x4ec9f5]
add esp, 4
test al, al
jne 0x45e4f7
push 0
mov edx, 0x3ea
mov ecx, ebx
call fcn.00441bb0
mov al, byte [0x4ec9f5]
add esp, 4
test al, al
mov ecx, 0x3f4
mov edx, 0x3eb
cmovne edx, ecx
mov ecx, dword [ebp - 0xec]
push 0
call fcn.00441bb0
add esp, 4
cmp byte [0x4ec9ef], 0
jne 0x45e528
cmp byte [0x4ec9f5], 0
je 0x45e532
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e70f
mov esp, ebp
pop ebp
ret 0x10