Function at 0x41ff10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b09d0
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x4e606c]
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 [0x4e6ef8], eax
test esi, esi
je 0x41ff7e
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 [0x4eab30]
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 0x41ffe8
cmp ecx, esi
je 0x41ffe8
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x108], esi
mov esi, 0xf
cmp byte [0x4e6efc], 0
je 0x42000d
push 0x64
push dword [0x4e6ef8]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
push 0x5c
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00486a10
add esp, 0xc
lea eax, [ebp - 0x8c]
push dword [0x4c868c]
push 0x20
push eax
call fcn.0048ec96
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 [0x4e6efc], 0
je 0x420089
push 0x64
push dword [0x4e6ef8]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
push 0x5c
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00486a10
add esp, 0xc
lea eax, [ebp - 0xec]
push dword [0x4c8690]
push 0x20
push eax
call fcn.0048ec96
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 [0x4e6ef8]
je 0x420122
cmp eax, 0x7d
jae 0x420106
mov eax, 0xaa
jmp 0x420148
cmp eax, 0x96
jae 0x420114
mov eax, 0xab
jmp 0x420148
cmp eax, 0xc8
sbb eax, eax
add eax, 0xad
jmp 0x420148
cmp eax, 0x7d
jae 0x42012e
mov eax, 0xa0
jmp 0x420148
cmp eax, 0x96
jae 0x42013c
mov eax, 0xa1
jmp 0x420148
cmp eax, 0xc8
sbb eax, eax
add eax, 0xa3
cmp dword [ebx + 0x48], eax
je 0x420181
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x48], eax
test ecx, ecx
je 0x42015d
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 0x420181
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 0x4201b8
call fcn.0046e206
mov dword [esi + 0x14], eax
test eax, eax
je 0x4201ec
push esi
push dword [ebp - 0x110]
push eax
call fcn.0046e308
push dword [esi + 0x14]
call fcn.0046e26b
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4201ec
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 0x420234
call fcn.0046e206
mov dword [esi + 0x14], eax
test eax, eax
je 0x420268
push esi
push dword [ebp - 0x110]
push eax
call fcn.0046e308
push dword [esi + 0x14]
call fcn.0046e26b
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420268
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 0x4202a2
call fcn.0046e206
mov dword [esi + 0x14], eax
test eax, eax
je 0x4202d6
push esi
push dword [ebp - 0x110]
push eax
call fcn.0046e308
push dword [esi + 0x14]
call fcn.0046e26b
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4202d6
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 0x420310
call fcn.0046e206
mov dword [esi + 0x14], eax
test eax, eax
je 0x420344
push esi
push dword [ebp - 0x110]
push eax
call fcn.0046e308
push dword [esi + 0x14]
call fcn.0046e26b
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x420344
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.00441b70
add esp, 4
mov dword [ebp - 4], 0
call fcn.00403a40
mov ecx, eax
test ecx, ecx
je 0x420955
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.0041c0e0
mov edi, dword [ebp - 0x14]
push edi
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x4e6efc], 0
mov eax, dword [0x4e70f0]
mov esi, dword [0x4e70f4]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x114], esi
je 0x42044f
push 0x64
push dword [0x4e6ef8]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [0x4e6efc], 0
mov dword [ebp - 0x120], eax
je 0x420449
push 0x64
push dword [0x4e6ef8]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov dword [ebp - 0x114], esi
push 0x4e7108
lea eax, [ebp - 0x24]
push eax
call fcn.00403d70
push 0x4e7118
lea eax, [ebp - 0x14c]
push eax
call fcn.00403d70
push 0x4e7128
lea eax, [ebp - 0x15c]
push eax
call fcn.00403d70
push 0x4e7138
lea eax, [ebp - 0x16c]
push eax
call fcn.00403d70
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 0x420545
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 0x42058d
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 0x4e70f8
lea eax, [ebp - 0x17c]
push eax
call fcn.00403d70
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 0x4207ac
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebx + 0x124]
lea ecx, [ebx + 0x58]
push 0
call fcn.00441b70
mov edx, dword [ebx + 0x128]
lea ecx, [ebx + 0x94]
add esp, 4
push 0
call fcn.00441b70
mov edx, dword [ebx + 0x12c]
lea ecx, [ebx + 0xd0]
add esp, 4
push 0
call fcn.00441b70
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 0x4208c7
cmp dword [ebx + 0x128], 0
push 0
je 0x420856
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.00441b70
mov edx, dword [ebx + 0x128]
lea ecx, [ebx + 0xd0]
add esp, 4
push 0
call fcn.00441b70
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 0x4208c7
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.00441b70
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.00420960
test esi, esi
je 0x420913
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 0x420932
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.0046e3b0
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00403bb0
int3