Function at 0x40b260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4fb744]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 4]
push 0x116c
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x24]
push ecx
push eax
mov dword [ebp - 0x28], eax
call ebx
mov edx, dword [esi + 4]
push 0x116d
push edx
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call ebx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov edi, ecx
sub edi, dword [ebp - 0x24]
mov ebx, edx
sub ebx, dword [ebp - 0x20]
mov eax, edi
sub eax, ecx
add eax, dword [ebp - 0xc]
push 0x1c
mov dword [ebp - 0x38], eax
mov eax, ebx
sub eax, edx
add eax, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov dword [esi + 0x50], edx
call fcn.004b4117
mov dword [esi + 0x38], eax
mov dword [eax], 3
mov eax, dword [esi + 0x38]
mov dword [eax + 0x14], 0xffffffff
mov ecx, dword [esi + 0x38]
push 0x64
mov dword [ecx + 0xc], str.CMYK
call fcn.004b4117
xor ecx, ecx
add esp, 8
cmp eax, ecx
je 0x40b342
mov dword [eax + 4], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov byte [eax + 0x20], cl
mov dword [eax + 0x24], ecx
mov dword [eax], vtable.CCmykSelForm.0
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x28], 0x6a
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x5c], ecx
jmp 0x40b344
xor eax, eax
mov dword [esi + 0x40], eax
lea edx, [esi + 0x5c]
mov dword [eax + 0x60], edx
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x40]
push edx
call fcn.0040b1b0
mov ecx, dword [esi + 0x40]
call fcn.00401020
push eax
mov eax, dword [esi + 0x5c]
push eax
call fcn.004110a0
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 4]
add esp, 8
add eax, 4
push 0xfffffffffffffff0
push ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xff3fffff
or ecx, 0x40000000
cmp eax, ecx
je 0x40b3a5
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 1
sub eax, ebx
push eax
sub ecx, edi
push ecx
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 4]
push ebx
push edi
push edx
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov dword [ecx + 0x18], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x50]
push eax
push 0
push 0x133e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5c
call fcn.004b4117
xor edx, edx
add esp, 4
cmp eax, edx
je 0x40b42f
mov dword [eax + 4], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov byte [eax + 0x20], dl
mov dword [eax + 0x24], edx
mov dword [eax], vtable.CHsvSelForm.0
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], edx
mov dword [eax + 0x28], 0x69
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x54], edx
jmp 0x40b431
xor eax, eax
mov dword [esi + 0x44], eax
lea ecx, [esi + 0x5c]
mov dword [eax + 0x58], ecx
mov ecx, dword [esi + 0x44]
push edx
mov edx, dword [esi + 4]
push edx
call fcn.0040b1b0
mov ecx, dword [esi + 0x44]
call fcn.004112a0
push eax
mov eax, dword [esi + 0x5c]
push eax
call fcn.00411260
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 4]
add esp, 8
add eax, 4
push 0xfffffffffffffff0
push ecx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xff3fffff
or ecx, 0x40000000
cmp eax, ecx
je 0x40b492
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x44]
push 1
push ecx
mov ecx, dword [eax + 4]
push edx
push ebx
push edi
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x5c
call fcn.004b4117
xor edx, edx
add esp, 4
cmp eax, edx
je 0x40b4f1
mov dword [eax + 4], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov byte [eax + 0x20], dl
mov dword [eax + 0x24], edx
mov dword [eax], vtable.CRrgSelForm.0
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x50], edx
mov dword [eax + 0x28], 0x68
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x54], edx
jmp 0x40b4f3
xor eax, eax
mov dword [esi + 0x48], eax
lea ecx, [esi + 0x5c]
mov dword [eax + 0x58], ecx
mov ecx, dword [esi + 0x48]
push edx
mov edx, dword [esi + 4]
push edx
call fcn.0040b1b0
mov ecx, dword [esi + 0x48]
call fcn.004112a0
push eax
mov eax, dword [esi + 0x5c]
push eax
call fcn.004109d0
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 4]
add esp, 8
add eax, 4
push 0xfffffffffffffff0
push ecx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xff3fffff
or ecx, 0x40000000
cmp eax, ecx
je 0x40b554
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x48]
push 1
push ecx
mov ecx, dword [eax + 4]
push edx
push ebx
push edi
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x1c
call fcn.004b4117
mov dword [esi + 0x3c], eax
mov dword [eax], 3
mov edx, dword [esi + 0x3c]
mov dword [edx + 0x14], 0xffffffff
mov eax, dword [esi + 0x3c]
push 0x3c
mov dword [eax + 0xc], str.Properties
call fcn.004b4117
xor ecx, ecx
add esp, 8
cmp eax, ecx
je 0x40b5ce
mov dword [eax + 4], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov byte [eax + 0x20], cl
mov dword [eax + 0x24], ecx
mov dword [eax], vtable.CColPropertySelForm.0
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x28], 0x6b
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
jmp 0x40b5d0
xor eax, eax
mov edx, dword [esi + 0x30]
mov dword [esi + 0x4c], eax
mov dword [eax + 0x30], edx
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x34]
mov dword [eax + 0x2c], edx
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x4c]
push eax
call fcn.0040b1b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 4]
add eax, 4
push 0xfffffffffffffff0
push ecx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xff3fffff
or ecx, 0x40000000
cmp eax, ecx
je 0x40b625
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x4c]
push 1
push ecx
mov ecx, dword [eax + 4]
push edx
push ebx
push edi
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x3c]
mov ecx, dword [edx + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x50]
push edx
push 1
push 0x133e
push eax
call edi
mov ecx, dword [esi + 0x50]
push 0
push 0
push 0x130c
push ecx
call edi
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3f21
mov esp, ebp
pop ebp
ret