Function at 0x4665d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4de080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ecx + 4]
mov dword [ebp - 0xf0], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push 0x64
push eax
call ebx
mov dword [0x4def88], eax
test esi, esi
je 0x46661d
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 [0x4e1a98]
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, dword [ebp - 0xf0]
mov esi, eax
push esi
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [edi + 0x9c]
mov esi, eax
test ecx, ecx
je 0x46668d
cmp ecx, esi
je 0x46668d
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x9c], esi
mov esi, 0x17
cmp byte [0x4def8c], 0
je 0x4666ae
push 0x64
push dword [0x4def88]
push esi
call ebx
mov esi, eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00485800
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c0acc]
push 0x20
push eax
call fcn.0048f4ab
add esp, 0xc
mov dword [ebp - 0x78], 0x258
lea eax, [ebp - 0x88]
mov byte [ebp - 0x70], 7
neg esi
mov byte [ebp - 0x6e], 5
mov dword [ebp - 0x88], esi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [edi + 0xa0], eax
mov esi, 0x10
cmp byte [0x4def8c], 0
je 0x46671a
push 0x64
push dword [0x4def88]
push esi
call ebx
mov esi, eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00485800
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4c0ad0]
push 0x20
push eax
call fcn.0048f4ab
add esp, 0xc
mov dword [ebp - 0xd8], 0x190
neg esi
mov byte [ebp - 0xd0], 7
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], esi
mov esi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov byte [ebp - 0xce], 5
call esi
mov dword [edi + 0xa4], eax
cmp byte [0x4def8c], 0
mov dword [ebp - 0xec], 0xf
je 0x46679e
push 0x64
push dword [0x4def88]
push 0xf
call ebx
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00485800
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c0ad4]
push 0x20
push eax
call fcn.0048f4ab
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 esi
mov dword [edi + 0xa8], eax
cmp byte [0x4def8c], 0
mov dword [ebp - 0xec], 0xf
je 0x466816
push 0x64
push dword [0x4def88]
push 0xf
call ebx
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00485800
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4c0ad8]
push 0x20
push eax
call fcn.0048f4ab
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 esi
mov dword [edi + 0xac], eax
cmp byte [0x4def8c], 0
mov dword [ebp - 0xec], 0xa
je 0x46689a
push 0x64
push dword [0x4def88]
push 0xa
call ebx
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00485800
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4c0adc]
push 0x20
push eax
call fcn.0048f4ab
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 esi
mov dword [edi + 0xb0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [0x4def8c], 0
mov eax, dword [0x4df488]
mov esi, dword [0x4df48c]
je 0x466956
push 0x64
push dword [0x4def88]
push eax
call ebx
cmp byte [0x4def8c], 0
mov dword [ebp - 0xf0], eax
je 0x466956
push 0x64
push dword [0x4def88]
push esi
call ebx
mov esi, eax
mov eax, dword [ebp - 0xf0]
sub esi, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sub esi, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
add esi, dword [ebp - 0x10]
add esi, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push 0
push esi
push eax
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x4def88]
mov esi, dword [edi + 0x9c]
cmp eax, 0x7d
jae 0x466996
mov eax, 0xa
jmp 0x4669ae
cmp eax, 0x96
jae 0x4669a4
mov eax, 0xb
jmp 0x4669ae
cmp eax, 0xc8
sbb eax, eax
add eax, 0xd
cmp dword [edi + 0x48], eax
je 0x4669e7
mov ecx, dword [edi + 0x44]
mov dword [edi + 0x48], eax
test ecx, ecx
je 0x4669c3
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [edi + 0x24]
mov dword [edi + 0x44], 0
mov dword [edi + 0x4c], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4669e7
push 1
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x3e8
push dword [edi + 4]
lea esi, [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
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 0x466a1e
call fcn.0048307c
mov dword [esi + 0x14], eax
test eax, eax
je 0x466a52
push esi
push dword [ebp - 0xf0]
push eax
call fcn.0048317e
push dword [esi + 0x14]
call fcn.004830e1
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x466a52
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [esi + 4], eax
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push dword [edi + 4]
call esi
lea ecx, [edi + 0x50]
mov dword [ecx], eax
push 0x3ea
push dword [edi + 4]
mov dword [ebp - 0x10c], ecx
call esi
lea ecx, [edi + 0x54]
mov dword [ecx], eax
lea esi, [edi + 0x58]
push 0x3eb
push dword [edi + 4]
mov dword [ebp - 0xf0], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf8], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x466ab9
call fcn.0048307c
mov dword [esi + 0x14], eax
test eax, eax
je 0x466aed
push esi
push dword [ebp - 0xf8]
push eax
call fcn.0048317e
push dword [esi + 0x14]
call fcn.004830e1
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x466aed
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [esi + 4], eax
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ec
push dword [edi + 4]
call esi
lea ecx, [edi + 0x94]
mov dword [ecx], eax
push 0x3ed
push dword [edi + 4]
mov dword [ebp - 0x114], ecx
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [edi + 0x98]
push 1
mov dword [ecx], eax
push dword [edi + 0xa0]
mov dword [ebp - 0x118], ecx
push 0x30
push dword [edi + 0x50]
call esi
push 1
push dword [edi + 0xa4]
push 0x30
push dword [edi + 0x54]
call esi
push 1
push dword [edi + 0xa8]
lea eax, [edi + 0x5c]
push 0x30
push dword [eax]
mov dword [ebp - 0x110], eax
call esi
push 1
push dword [edi + 0xac]
push 0x30
push dword [edi + 0x94]
call esi
push 1
push dword [edi + 0xb0]
push 0x30
push dword [edi + 0x98]
call esi
mov dword [edi + 0x7c], 0xffffff
mov dword [edi + 0x80], 0xcc3e0d
mov dword [edi + 0x84], 0xcc3e0d
mov dword [edi + 0x88], 0xffff
mov dword [edi + 0x8c], 0xffff00
mov dword [edi + 0x90], 0xff00ff
cmp byte [0x4def8c], 0
mov edx, dword [0x4df47c]
mov eax, dword [0x4df480]
mov ecx, dword [0x4df478]
mov esi, dword [0x4df484]
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xec], eax
je 0x466c70
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov cl, byte [0x4def8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xec]
test cl, cl
je 0x466c1d
push 0x64
push dword [0x4def88]
push eax
call ebx
mov cl, byte [0x4def8c]
mov dword [ebp - 0xec], eax
test cl, cl
je 0x466c41
push 0x64
push dword [0x4def88]
push dword [ebp - 0xf8]
call ebx
mov cl, byte [0x4def8c]
mov edx, eax
jmp 0x466c47
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xf8], edx
test cl, cl
je 0x466c64
push 0x64
push dword [0x4def88]
push esi
call ebx
mov edx, dword [ebp - 0xf8]
mov esi, eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf4]
push 0
sub esi, edx
sub eax, ecx
push esi
push eax
push edx
push ecx
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x4def8c], 0
mov eax, dword [0x4df494]
mov ecx, dword [0x4df490]
mov edi, dword [0x4df498]
mov esi, dword [0x4df49c]
mov dword [ebp - 0xec], eax
je 0x466d1c
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov cl, byte [0x4def8c]
mov dword [ebp - 0xf4], eax
test cl, cl
je 0x466cf3
push 0x64
push dword [0x4def88]
push edi
call ebx
mov cl, byte [0x4def8c]
mov edi, eax
test cl, cl
je 0x466cf3
push 0x64
push dword [0x4def88]
push dword [ebp - 0xec]
call ebx
mov cl, byte [0x4def8c]
jmp 0x466cf9
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xec], eax
test cl, cl
je 0x466d16
push 0x64
push dword [0x4def88]
push esi
call ebx
mov esi, eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf4]
push 0
sub esi, eax
sub edi, ecx
push esi
push edi
push eax
mov eax, dword [ebp - 0x10c]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x4def8c], 0
mov eax, dword [0x4df4a4]
mov ecx, dword [0x4df4a0]
mov edi, dword [0x4df4a8]
mov esi, dword [0x4df4ac]
mov dword [ebp - 0xec], eax
je 0x466dcd
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov cl, byte [0x4def8c]
mov dword [ebp - 0xf4], eax
test cl, cl
je 0x466da4
push 0x64
push dword [0x4def88]
push edi
call ebx
mov cl, byte [0x4def8c]
mov edi, eax
test cl, cl
je 0x466da4
push 0x64
push dword [0x4def88]
push dword [ebp - 0xec]
call ebx
mov cl, byte [0x4def8c]
jmp 0x466daa
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xec], eax
test cl, cl
je 0x466dc7
push 0x64
push dword [0x4def88]
push esi
call ebx
mov esi, eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf4]
push 0
sub esi, eax
sub edi, ecx
push esi
push edi
push eax
mov eax, dword [ebp - 0xf0]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x4def8c], 0
mov eax, dword [0x4df4b4]
mov ecx, dword [0x4df4b0]
mov edi, dword [0x4df4b8]
mov esi, dword [0x4df4bc]
mov dword [ebp - 0xec], eax
je 0x466e7e
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov cl, byte [0x4def8c]
mov dword [ebp - 0xf4], eax
test cl, cl
je 0x466e55
push 0x64
push dword [0x4def88]
push edi
call ebx
mov cl, byte [0x4def8c]
mov edi, eax
test cl, cl
je 0x466e55
push 0x64
push dword [0x4def88]
push dword [ebp - 0xec]
call ebx
mov cl, byte [0x4def8c]
jmp 0x466e5b
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xec], eax
test cl, cl
je 0x466e78
push 0x64
push dword [0x4def88]
push esi
call ebx
mov esi, eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf4]
push 0
sub esi, eax
sub edi, ecx
push esi
push edi
mov edi, dword [ebp - 0x110]
push eax
push ecx
push dword [edi]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x4def8c], 0
movups xmm0, xmmword [0x4df4c0]
movups xmmword [ebp - 0x108], xmm0
je 0x466f29
push 0x64
push dword [0x4def88]
push dword [0x4df4c0]
call ebx
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov al, byte [0x4def8c]
test al, al
je 0x466ee4
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov ecx, eax
mov al, byte [0x4def8c]
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp - 0x104]
test al, al
je 0x466f06
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov ecx, eax
mov al, byte [0x4def8c]
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0xfc]
test al, al
je 0x466f23
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov ecx, eax
mov dword [ebp - 0xfc], ecx
mov esi, dword [ebp - 0x114]
lea edx, [ebp - 0x108]
push 0x3fc
mov ecx, esi
call fcn.00447470
movups xmm0, xmmword [0x4df4d0]
add esp, 4
cmp byte [0x4def8c], 0
movups xmmword [ebp - 0x108], xmm0
je 0x466fd7
push 0x64
push dword [0x4def88]
push dword [0x4df4d0]
call ebx
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov al, byte [0x4def8c]
test al, al
je 0x466f92
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov ecx, eax
mov al, byte [0x4def8c]
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp - 0x104]
test al, al
je 0x466fb4
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov ecx, eax
mov al, byte [0x4def8c]
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0xfc]
test al, al
je 0x466fd1
push 0x64
push dword [0x4def88]
push ecx
call ebx
mov ecx, eax
mov dword [ebp - 0xfc], ecx
mov ecx, dword [ebp - 0x118]
lea edx, [ebp - 0x108]
push 0x3fd
call fcn.00447470
xor edx, edx
add esp, 4
cmp byte [0x4e2756], dl
je 0x46700b
cmp byte [0x4e2755], dl
setne dl
add edx, 0x3f2
jmp 0x46701a
cmp byte [0x4e2755], dl
setne dl
add edx, 0x3e8
mov ecx, dword [ebp - 0x10c]
push 0
call fcn.00447870
mov al, byte [0x4e2756]
add esp, 4
test al, al
jne 0x46704d
mov ecx, dword [ebp - 0xf0]
mov edx, 0x3ea
push 0
call fcn.00447870
mov al, byte [0x4e2756]
add esp, 4
test al, al
mov ecx, 0x3f4
mov edx, 0x3eb
cmovne edx, ecx
mov ecx, edi
push 0
call fcn.00447870
add esp, 4
cmp byte [0x4e2750], 0
jne 0x46707a
cmp byte [0x4e2756], 0
je 0x467084
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.00483226
mov esp, ebp
pop ebp
ret 0x10