Function at 0x41d370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x4cb06c]
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 [0x4cbea8], eax
test esi, esi
je 0x41d3de
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 [0x4cf788]
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 0x41d448
cmp ecx, esi
je 0x41d448
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x108], esi
mov esi, 0xf
cmp byte [0x4cbeac], 0
je 0x41d46d
push 0x64
push dword [0x4cbea8]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
push 0x5c
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00475700
add esp, 0xc
lea eax, [ebp - 0x8c]
push dword [0x4b1484]
push 0x20
push eax
call fcn.00481e83
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 [0x4cbeac], 0
je 0x41d4e9
push 0x64
push dword [0x4cbea8]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
push 0x5c
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00475700
add esp, 0xc
lea eax, [ebp - 0xec]
push dword [0x4b1488]
push 0x20
push eax
call fcn.00481e83
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 eax, dword [0x4cbea8]
je 0x41d57c
cmp eax, 0x7d
jae 0x41d560
mov eax, 0xbd
jmp 0x41d5a2
cmp eax, 0x96
jae 0x41d56e
mov eax, 0xbe
jmp 0x41d5a2
cmp eax, 0xc8
sbb eax, eax
add eax, 0xc0
jmp 0x41d5a2
cmp eax, 0x7d
jae 0x41d588
mov eax, 0xb9
jmp 0x41d5a2
cmp eax, 0x96
jae 0x41d596
mov eax, 0xba
jmp 0x41d5a2
cmp eax, 0xc8
sbb eax, eax
add eax, 0xbc
mov esi, dword [ebx + 0x108]
cmp dword [ebx + 0x48], eax
je 0x41d5e1
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x48], eax
test ecx, ecx
je 0x41d5bd
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 0x41d5e1
push 1
push 0
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x6a4
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 0x41d618
call fcn.0045d2c8
mov dword [esi + 0x14], eax
test eax, eax
je 0x41d64c
push esi
push dword [ebp - 0x110]
push eax
call fcn.0045d3ca
push dword [esi + 0x14]
call fcn.0045d32d
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41d64c
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
push 0x6a5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x6a6
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 0x41d694
call fcn.0045d2c8
mov dword [esi + 0x14], eax
test eax, eax
je 0x41d6c8
push esi
push dword [ebp - 0x110]
push eax
call fcn.0045d3ca
push dword [esi + 0x14]
call fcn.0045d32d
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41d6c8
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
push 0x6a7
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 0x41d702
call fcn.0045d2c8
mov dword [esi + 0x14], eax
test eax, eax
je 0x41d736
push esi
push dword [ebp - 0x110]
push eax
call fcn.0045d3ca
push dword [esi + 0x14]
call fcn.0045d32d
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41d736
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10c]
mov dword [esi + 4], eax
push 0x6a8
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 0x41d770
call fcn.0045d2c8
mov dword [esi + 0x14], eax
test eax, eax
je 0x41d7a4
push esi
push dword [ebp - 0x110]
push eax
call fcn.0045d3ca
push dword [esi + 0x14]
call fcn.0045d32d
push eax
push 0xfffffffffffffffc
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41d7a4
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.0043b710
add esp, 4
mov dword [ebp - 4], 0
call fcn.00403580
mov ecx, eax
test ecx, ecx
je 0x41ddb5
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.00410810
mov edi, dword [ebp - 0x14]
push edi
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x4cbeac], 0
mov eax, dword [0x4cc038]
mov esi, dword [0x4cc03c]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x114], esi
je 0x41d8af
push 0x64
push dword [0x4cbea8]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [0x4cbeac], 0
mov dword [ebp - 0x120], eax
je 0x41d8a9
push 0x64
push dword [0x4cbea8]
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov dword [ebp - 0x114], esi
push 0x4cc050
lea eax, [ebp - 0x24]
push eax
call fcn.004038b0
push 0x4cc060
lea eax, [ebp - 0x14c]
push eax
call fcn.004038b0
push 0x4cc070
lea eax, [ebp - 0x15c]
push eax
call fcn.004038b0
push 0x4cc080
lea eax, [ebp - 0x16c]
push eax
call fcn.004038b0
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 0x41d9a5
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 0x41d9ed
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 0x4cc040
lea eax, [ebp - 0x17c]
push eax
call fcn.004038b0
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 + 0x128], 0
je 0x41dc0c
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebx + 0x120]
lea ecx, [ebx + 0x58]
push 0
call fcn.0043b710
mov edx, dword [ebx + 0x124]
lea ecx, [ebx + 0x94]
add esp, 4
push 0
call fcn.0043b710
mov edx, dword [ebx + 0x128]
lea ecx, [ebx + 0xd0]
add esp, 4
push 0
call fcn.0043b710
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 0x41dd27
cmp dword [ebx + 0x124], 0
push 0
je 0x41dcb6
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 + 0x120]
lea ecx, [ebx + 0x94]
push 0
call fcn.0043b710
mov edx, dword [ebx + 0x124]
lea ecx, [ebx + 0xd0]
add esp, 4
push 0
call fcn.0043b710
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 0x41dd27
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 + 0x120]
lea ecx, [ebx + 0xd0]
call fcn.0043b710
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.0041ddc0
test esi, esi
je 0x41dd73
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 0x41dd92
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.0045d468
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004036f0
int3