Function at 0x420320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1240
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x4e706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x118], ebx
push dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x13c], eax
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 0x42038e
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 [0x4ebbb0]
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
push esi
push 1
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebx + 0x108]
mov esi, eax
test ecx, ecx
je 0x4203f8
cmp ecx, esi
je 0x4203f8
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x108], esi
mov esi, 0xf
cmp byte [0x4e7efc], 0
je 0x42041d
push 0x64
push dword [0x4e7ef8]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
push 0x5c
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00487250
add esp, 0xc
lea eax, [ebp - 0x8c]
push dword [0x4c8690]
push 0x20
push eax
call fcn.0048f4d6
add esp, 0xc
mov dword [ebp - 0x98], 0x190
lea eax, [ebp - 0xa8]
mov byte [ebp - 0x90], 7
neg esi
mov byte [ebp - 0x8e], 5
mov dword [ebp - 0xa8], esi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x10c], eax
mov esi, 0xf
cmp byte [0x4e7efc], 0
je 0x420499
push 0x64
push dword [0x4e7ef8]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
push 0x5c
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00487250
add esp, 0xc
lea eax, [ebp - 0xec]
push dword [0x4c8694]
push 0x20
push eax
call fcn.0048f4d6
add esp, 0xc
mov dword [ebp - 0xf8], 0x2bc
lea eax, [ebp - 0x108]
mov byte [ebp - 0xf0], 7
neg esi
mov byte [ebp - 0xee], 5
mov dword [ebp - 0x108], esi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x110], eax
cmp byte [ebx + 0x114], 0
mov esi, dword [ebx + 0x108]
mov eax, dword [0x4e7ef8]
je 0x420532
cmp eax, 0x7d
jae 0x420516
mov eax, 0xaa
jmp 0x420558
cmp eax, 0x96
jae 0x420524
mov eax, 0xab
jmp 0x420558
cmp eax, 0xc8
sbb eax, eax
add eax, 0xad
jmp 0x420558
cmp eax, 0x7d
jae 0x42053e
mov eax, 0xa0
jmp 0x420558
cmp eax, 0x96
jae 0x42054c
mov eax, 0xa1
jmp 0x420558
cmp eax, 0xc8
sbb eax, eax
add eax, 0xa3
cmp dword [ebx + 0x48], eax
je 0x420591
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x48], eax
test ecx, ecx
je 0x42056d
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 0x420591
push 1
push 0
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x640
push dword [ebx + 4]
lea esi, [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x10c], eax
call dword [edx + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4205c8
call fcn.0046ea05
mov dword [esi + 0x14], eax
test eax, eax
je 0x4205fc
push esi
push dword [ebp - 0x110]
push eax
call fcn.0046eb07
push dword [esi + 0x14]
call fcn.0046ea6a
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4205fc
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
push 0x641
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x642
mov dword [ebx + 0x50], eax
lea esi, [ebx + 0x54]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x10c], eax
call dword [edx + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x420644
call fcn.0046ea05
mov dword [esi + 0x14], eax
test eax, eax
je 0x420678
push esi
push dword [ebp - 0x110]
push eax
call fcn.0046eb07
push dword [esi + 0x14]
call fcn.0046ea6a
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420678
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
push 0x643
push dword [ebx + 4]
lea esi, [ebx + 0x90]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x10c], eax
call dword [edx + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4206b2
call fcn.0046ea05
mov dword [esi + 0x14], eax
test eax, eax
je 0x4206e6
push esi
push dword [ebp - 0x110]
push eax
call fcn.0046eb07
push dword [esi + 0x14]
call fcn.0046ea6a
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4206e6
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
push 0x644
push dword [ebx + 4]
lea esi, [ebx + 0xcc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x10c], eax
call dword [edx + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x420720
call fcn.0046ea05
mov dword [esi + 0x14], eax
test eax, eax
je 0x420754
push esi
push dword [ebp - 0x110]
push eax
call fcn.0046eb07
push dword [esi + 0x14]
call fcn.0046ea6a
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420754
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [ebx + 0x10c]
push 0x30
push dword [ebx + 0x50]
call esi
push 1
push dword [ebx + 0x110]
lea eax, [ebx + 0x58]
push 0x30
push dword [eax]
mov dword [ebp - 0x138], eax
call esi
push 1
push dword [ebx + 0x110]
lea eax, [ebx + 0x94]
push 0x30
push dword [eax]
mov dword [ebp - 0x10c], eax
call esi
push 1
push dword [ebx + 0x110]
lea eax, [ebx + 0xd0]
push 0x30
push dword [eax]
mov dword [ebp - 0x110], eax
call esi
mov edx, dword [ebx + 0x118]
lea ecx, [ebx + 4]
push 0
call fcn.00441f90
add esp, 4
mov dword [ebp - 4], 0
call fcn.00403ab0
mov ecx, eax
test ecx, ecx
je 0x420d65
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
push dword [ebx + 0x11c]
call fcn.0041c130
mov edi, dword [ebp - 0x14]
push edi
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x4e7efc], 0
mov eax, dword [0x4e8180]
mov esi, dword [0x4e8184]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x114], esi
je 0x42085f
push 0x64
push dword [0x4e7ef8]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [0x4e7efc], 0
mov dword [ebp - 0x120], eax
je 0x420859
push 0x64
push dword [0x4e7ef8]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov dword [ebp - 0x114], esi
push 0x4e8198
lea eax, [ebp - 0x24]
push eax
call fcn.00403de0
push 0x4e81a8
lea eax, [ebp - 0x14c]
push eax
call fcn.00403de0
push 0x4e81b8
lea eax, [ebp - 0x15c]
push eax
call fcn.00403de0
push 0x4e81c8
lea eax, [ebp - 0x16c]
push eax
call fcn.00403de0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push dword [ebx + 0x50]
mov dword [ebp - 0x11c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 2
push dword [ebx + 0x10c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x610
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
push edi
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x11c]
cmp eax, ecx
jle 0x420955
sub eax, ecx
mov ecx, dword [ebp - 0x148]
add dword [ebp - 0x114], eax
lea edx, [ecx + eax]
mov eax, dword [ebp - 0x140]
sub eax, ecx
mov dword [ebp - 0x124], edx
add eax, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x158]
add eax, edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x160]
sub eax, dword [ebp - 0x168]
add eax, edx
mov dword [ebp - 0x134], eax
jmp 0x42099d
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x11c], eax
mov ebx, dword [ebp - 0x13c]
lea eax, [ebp - 0x44]
push eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
push dword [ebx]
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x44]
add eax, dword [ebp - 0x38]
add ecx, dword [ebp - 0x3c]
add eax, dword [ebp - 0x114]
add ecx, dword [ebp - 0x120]
push 0
push eax
push ecx
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4e8188
lea eax, [ebp - 0x17c]
push eax
call fcn.00403de0
push 0
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub ecx, edx
push ecx
sub eax, ebx
push eax
mov eax, dword [ebp - 0x118]
push edx
push ebx
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
push dword [eax + 0x24]
call ebx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov ecx, dword [ebp - 0x24]
push 0
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x118]
push edx
push ecx
push dword [eax + 0x50]
call ebx
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x14c]
sub eax, edx
push 0
push eax
mov eax, dword [ebp - 0x144]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x138]
push edx
push ecx
push dword [eax]
call ebx
mov eax, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x130]
sub eax, edx
push 0
mov ecx, dword [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x154]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x10c]
push edx
push ecx
push dword [eax]
call ebx
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x16c]
sub eax, edx
push 0
push eax
mov eax, dword [ebp - 0x164]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x110]
push edx
push ecx
push dword [eax]
call ebx
mov ebx, dword [ebp - 0x118]
cmp dword [ebx + 0x12c], 0
je 0x420bbc
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebx + 0x124]
lea ecx, [ebx + 0x58]
push 0
call fcn.00441f90
mov edx, dword [ebx + 0x128]
lea ecx, [ebx + 0x94]
add esp, 4
push 0
call fcn.00441f90
mov edx, dword [ebx + 0x12c]
lea ecx, [ebx + 0xd0]
add esp, 4
push 0
call fcn.00441f90
mov dword [ebx + 0x78], 0xffffff
mov dword [ebx + 0x7c], 0xcc3e0d
mov dword [ebx + 0x80], 0xcc3e0d
mov dword [ebx + 0x84], 0xffff
mov dword [ebx + 0x88], 0xffff00
mov dword [ebx + 0x8c], 0xff00ff
mov dword [ebx + 0xb4], 0xcc3e0d
mov dword [ebx + 0xb8], 0xffffff
mov dword [ebx + 0xbc], 0xcc3e0d
mov dword [ebx + 0xc0], 0xffff
mov dword [ebx + 0xc4], 0xffff00
mov dword [ebx + 0xc8], 0xff00ff
mov dword [ebx + 0xf0], 0xcc3e0d
mov dword [ebx + 0xf4], 0xffffff
jmp 0x420cd7
cmp dword [ebx + 0x128], 0
push 0
je 0x420c66
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x94]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebx + 0x124]
lea ecx, [ebx + 0x94]
push 0
call fcn.00441f90
mov edx, dword [ebx + 0x128]
lea ecx, [ebx + 0xd0]
add esp, 4
push 0
call fcn.00441f90
mov dword [ebx + 0xb4], 0xffffff
mov dword [ebx + 0xb8], 0xcc3e0d
mov dword [ebx + 0xbc], 0xcc3e0d
mov dword [ebx + 0xc0], 0xffff
mov dword [ebx + 0xc4], 0xffff00
mov dword [ebx + 0xc8], 0xff00ff
mov dword [ebx + 0xf0], 0xcc3e0d
mov dword [ebx + 0xf4], 0xffffff
jmp 0x420cd7
mov ebx, dword [ebp - 0x138]
push dword [ebx]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
call ebx
mov eax, dword [ebp - 0x10c]
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x10c]
push 0
push dword [eax]
call ebx
mov eax, dword [ebp - 0x110]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, dword [ebp - 0x118]
push 0
mov edx, dword [ebx + 0x124]
lea ecx, [ebx + 0xd0]
call fcn.00441f90
mov dword [ebx + 0xf0], 0xffffff
mov dword [ebx + 0xf4], 0xcc3e0d
mov dword [ebx + 0x104], 0xff00ff
add esp, 4
mov dword [ebx + 0x100], 0xffff00
mov dword [ebx + 0xfc], 0xffff
mov dword [ebx + 0xf8], 0xcc3e0d
mov ebx, dword [ebp - 0x13c]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.00420d70
test esi, esi
je 0x420d23
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
add edi, 0xfffffff0
mov dword [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x420d42
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ebaf
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00403c20
int3