Function at 0x41d960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x50b080]
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 [0x50bf88], eax
test esi, esi
je 0x41d9a7
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 [0x50ec80]
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 + 0x1a0]
mov esi, eax
test ecx, ecx
je 0x41da0f
cmp ecx, esi
je 0x41da0f
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x1a0], esi
mov edi, 0xf
cmp byte [0x50bf8c], 0
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x41da36
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00492970
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4eaadc]
push 0x20
push eax
call fcn.0049c61a
add esp, 0xc
mov dword [ebp - 0x78], 0x2bc
lea eax, [ebp - 0x88]
mov byte [ebp - 0x70], 7
neg edi
mov byte [ebp - 0x6e], 5
mov dword [ebp - 0x88], edi
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x1ac], eax
mov edi, 0xf
cmp byte [0x50bf8c], 0
je 0x41daa2
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edi, eax
push 0x5c
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.00492970
add esp, 0xc
lea eax, [ebp - 0xcc]
push dword [0x4eaae0]
push 0x20
push eax
call fcn.0049c61a
add esp, 0xc
mov dword [ebp - 0xd8], 0x190
neg edi
mov byte [ebp - 0xd0], 7
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], edi
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov byte [ebp - 0xce], 5
call edi
mov dword [ebx + 0x1b0], eax
cmp byte [0x50bf8c], 0
mov dword [ebp - 0xec], 0xf
je 0x41db26
push 0x64
push dword [0x50bf88]
push 0xf
call esi
mov dword [ebp - 0xec], eax
push 0x5c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00492970
add esp, 0xc
lea eax, [ebp - 0x6c]
push dword [0x4eaae4]
push 0x20
push eax
call fcn.0049c61a
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 + 0x1b4], 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 [0x50bf8c], 0
mov eax, dword [0x50bff0]
mov edi, dword [0x50bff4]
je 0x41dbe2
push 0x64
push dword [0x50bf88]
push eax
call esi
cmp byte [0x50bf8c], 0
mov dword [ebp - 0xec], eax
je 0x41dbe2
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edi, eax
mov eax, dword [ebp - 0xec]
sub edi, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sub edi, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
add edi, dword [ebp - 0x10]
add edi, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push 0
push edi
push eax
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x50bf88]
cmp eax, 0x7d
jae 0x41dc1c
mov ecx, 0x82
jmp 0x41dc37
cmp eax, 0x96
jae 0x41dc2a
mov ecx, 0x83
jmp 0x41dc37
cmp eax, 0xc8
sbb ecx, ecx
add ecx, 0x85
cmp dword [ebx + 0xf8], ecx
je 0x41dc64
mov dword [ebx + 0xf8], ecx
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x41dc55
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0xf4], 0
mov eax, dword [0x50bf88]
mov edi, dword [ebx + 0x1a0]
cmp eax, 0x7d
jae 0x41dc76
mov eax, 0x8c
jmp 0x41dc90
cmp eax, 0x96
jae 0x41dc84
mov eax, 0x8d
jmp 0x41dc90
cmp eax, 0xc8
sbb eax, eax
add eax, 0x8f
cmp dword [ebx + 0x130], eax
je 0x41dcde
mov ecx, dword [ebx + 0x12c]
mov dword [ebx + 0x130], eax
test ecx, ecx
je 0x41dcae
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebx + 0x10c]
mov dword [ebx + 0x12c], 0
mov dword [ebx + 0x134], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41dcde
push 1
push 0
push dword [ebx + 0x10c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x578
push dword [ebx + 4]
lea edi, [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x41dd15
call fcn.004901ec
mov dword [edi + 0x14], eax
test eax, eax
je 0x41dd49
push edi
push dword [ebp - 0xf0]
push eax
call fcn.004902ee
push dword [edi + 0x14]
call fcn.00490251
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41dd49
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x579
push dword [ebx + 4]
call edi
push 0x57a
mov dword [ebx + 0x50], eax
push dword [ebx + 4]
call edi
push 0x57b
mov dword [ebx + 0x54], eax
lea edi, [ebx + 0x58]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x41dda0
call fcn.004901ec
mov dword [edi + 0x14], eax
test eax, eax
je 0x41ddd4
push edi
push dword [ebp - 0xf0]
push eax
call fcn.004902ee
push dword [edi + 0x14]
call fcn.00490251
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41ddd4
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
push 0x57c
push dword [ebx + 4]
lea edi, [ebx + 0x94]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x41de0e
call fcn.004901ec
mov dword [edi + 0x14], eax
test eax, eax
je 0x41de42
push edi
push dword [ebp - 0xf0]
push eax
call fcn.004902ee
push dword [edi + 0x14]
call fcn.00490251
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41de42
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
push 0x57d
push dword [ebx + 4]
lea edi, [ebx + 0xd0]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x41de7c
call fcn.004901ec
mov dword [edi + 0x14], eax
test eax, eax
je 0x41deb0
push edi
push dword [ebp - 0xf0]
push eax
call fcn.004902ee
push dword [edi + 0x14]
call fcn.00490251
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41deb0
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x57e
push dword [ebx + 4]
call edi
push 0x57f
mov dword [ebx + 0x100], eax
push dword [ebx + 4]
call edi
push 0x580
mov dword [ebx + 0x104], eax
lea edi, [ebx + 0x108]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x41df10
call fcn.004901ec
mov dword [edi + 0x14], eax
test eax, eax
je 0x41df44
push edi
push dword [ebp - 0xf0]
push eax
call fcn.004902ee
push dword [edi + 0x14]
call fcn.00490251
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41df44
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
push 0x581
push dword [ebx + 4]
lea edi, [ebx + 0x138]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0xec], eax
call dword [edx + 8]
mov dword [ebp - 0xf0], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x41df7e
call fcn.004901ec
mov dword [edi + 0x14], eax
test eax, eax
je 0x41dfb2
push edi
push dword [ebp - 0xf0]
push eax
call fcn.004902ee
push dword [edi + 0x14]
call fcn.00490251
push eax
push 0xfffffffffffffffc
push dword [ebp - 0xec]
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x41dfb2
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 4], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [ebx + 0x1ac]
push 0x30
push dword [ebx + 0x100]
call edi
push 1
push dword [ebx + 0x1b0]
push 0x30
push dword [ebx + 0x104]
call edi
push 1
push dword [ebx + 0x1b4]
push 0x30
push dword [ebx + 0x13c]
call edi
mov dword [ebx + 0x15c], 0xffffff
lea ecx, [ebx + 0x174]
mov dword [ebx + 0x160], 0xcc3e0d
mov dword [ebx + 0x164], 0xcc3e0d
mov dword [ebx + 0x168], 0xffff
mov dword [ebx + 0x16c], 0xffff00
mov dword [ebx + 0x170], 0xff00ff
push dword [ebx + 0x1a0]
call fcn.00421780
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c00c]
mov eax, dword [0x50c010]
mov ecx, dword [0x50c008]
mov edi, dword [0x50c014]
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], eax
je 0x41e0f0
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xec]
test cl, cl
je 0x41e09d
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xec], eax
test cl, cl
je 0x41e0c1
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xf0]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x41e0c7
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xf0], edx
test cl, cl
je 0x41e0e4
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xf0]
mov edi, eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c01c]
mov eax, dword [0x50c020]
mov ecx, dword [0x50c018]
mov edi, dword [0x50c024]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf0], eax
je 0x41e1bb
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf0]
test cl, cl
je 0x41e168
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf0], eax
test cl, cl
je 0x41e18c
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xec]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x41e192
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xec], edx
test cl, cl
je 0x41e1af
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x100]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c02c]
mov eax, dword [0x50c030]
mov ecx, dword [0x50c028]
mov edi, dword [0x50c034]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf0], eax
je 0x41e286
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf0]
test cl, cl
je 0x41e233
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf0], eax
test cl, cl
je 0x41e257
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xec]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x41e25d
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xec], edx
test cl, cl
je 0x41e27a
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x104]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c00c]
mov eax, dword [0x50c010]
mov ecx, dword [0x50c008]
mov edi, dword [0x50c014]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf0], eax
je 0x41e351
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf0]
test cl, cl
je 0x41e2fe
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf0], eax
test cl, cl
je 0x41e322
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xec]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x41e328
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xec], edx
test cl, cl
je 0x41e345
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x10c]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x50bf8c], 0
mov edx, dword [0x50c03c]
mov eax, dword [0x50c040]
mov ecx, dword [0x50c038]
mov edi, dword [0x50c044]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0xf0], eax
je 0x41e41c
push 0x64
push dword [0x50bf88]
push ecx
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf0]
test cl, cl
je 0x41e3c9
push 0x64
push dword [0x50bf88]
push eax
call esi
mov cl, byte [0x50bf8c]
mov dword [ebp - 0xf0], eax
test cl, cl
je 0x41e3ed
push 0x64
push dword [0x50bf88]
push dword [ebp - 0xec]
call esi
mov cl, byte [0x50bf8c]
mov edx, eax
jmp 0x41e3f3
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xec], edx
test cl, cl
je 0x41e410
push 0x64
push dword [0x50bf88]
push edi
call esi
mov edx, dword [ebp - 0xec]
mov edi, eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x13c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
mov edx, 0x579
lea ecx, [ebx + 0x13c]
call fcn.00447bf0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 4
push 0
push dword [ebx + 0x10c]
call esi
push 0
push dword [ebx + 0x13c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebx + 0x13c]
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x4eaca4
push dword [ebx + 0x100]
call esi
push 0x4eaca4
push dword [ebx + 0x104]
call esi
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x1b58
push 1
push dword [ebx + 4]
call esi
push 0
push 0xc8
push 2
push dword [ebx + 4]
call esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [ebx + 0x1bc], 0
mov esi, eax
je 0x41e509
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e509
mov eax, dword [ebx + 0x1bc]
push 1
mov dword [ebx + 0x1c0], 0x64
mov dword [ebx + 0x1c4], esi
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x1bc]
push 0
push 0x64
push 0
mov ecx, dword [eax]
push 0
push dword [ebx + 0x1c4]
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490396
mov esp, ebp
pop ebp
ret 0x10