Function at 0x40b85e
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x46bd5c
call fcn.0045b030
sub esp, 0x2c
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0040b720
mov edi, eax
lea eax, [ebx + 0x120]
mov dword [ebp - 0x1c], edi
cmp edi, dword [eax]
je 0x40bd59
and dword [ebp - 0x10], 0
and dword [ebp - 0x34], 0
mov dword [eax], edi
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x38], 0xc
call fcn.00408527
cmp edi, 1
pop ecx
jne 0x40baee
push 0xc382
lea ecx, [ebp - 0x14]
call fcn.004028d8
push dword [eax]
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x14]
call fcn.00403037
push 0x44f
mov dword [ebp - 0x30], 0x8000
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
sub esp, 0x10
lea esi, [ebp - 0x38]
mov edi, esp
lea ecx, [ebx + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00444bb5
push 0xc413
lea ecx, [ebp - 0x14]
call fcn.004028d8
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [eax]
push 0x44f
push dword [ebx + 4]
call esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x14]
call fcn.00403037
push 0x44e
mov dword [ebp - 0x34], 1
push dword [ebx + 4]
mov dword [ebp - 0x38], 0xe
mov dword [ebp - 0x30], 0x8000
call esi
sub esp, 0x10
lea esi, [ebp - 0x38]
mov edi, esp
lea ecx, [ebx + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00444bb5
mov edi, 0xc3cd
lea ecx, [ebp - 0x18]
push edi
call fcn.004028d8
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x44e
mov dword [ebp - 0x14], eax
push dword [ebx + 4]
call esi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x18]
call fcn.00403037
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x44d
push dword [ebx + 4]
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x40b9e1
push edi
lea ecx, [ebp - 0x18]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_23_121_53_
and dword [ebp - 4], 0
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x18]
call fcn.00403037
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x45b
push dword [ebx + 4]
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x40ba37
push edi
lea ecx, [ebp - 0x18]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_23_121_53_
mov dword [ebp - 4], 1
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x18]
call fcn.00403037
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x454
push dword [ebx + 4]
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x40ba8d
push edi
lea ecx, [ebp - 0x18]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_23_121_53_
mov dword [ebp - 4], 2
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x18]
call fcn.00403037
cmp dword [ebp + 8], 0
je 0x40bac5
push 0x44b
push dword [ebx + 4]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push eax
call edi
push 0x456
push dword [ebx + 4]
call esi
push 0
push 1
push 0xf1
push eax
call edi
push 0x424
push dword [ebx + 4]
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0x425
push dword [ebx + 4]
call esi
push 0
push eax
call edi
mov edi, dword [ebp - 0x1c]
jmp 0x40baf4
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 3
jne 0x40bd3f
push 0xc43e
lea ecx, [ebp - 0x1c]
call fcn.004028d8
push dword [eax]
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x1c]
call fcn.00403037
push 0x44f
mov dword [ebp - 0x30], 0x7f7f7f
push dword [ebx + 4]
call esi
sub esp, 0x10
lea esi, [ebp - 0x38]
mov edi, esp
lea ecx, [ebx + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00444bb5
push 0xc413
lea ecx, [ebp - 0x1c]
call fcn.004028d8
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [eax]
push 0x44f
push dword [ebx + 4]
call esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x1c]
call fcn.00403037
push 0x44e
mov dword [ebp - 0x34], 1
push dword [ebx + 4]
mov dword [ebp - 0x38], 0xe
mov dword [ebp - 0x30], 0x7f7f7f
call esi
sub esp, 0x10
lea esi, [ebp - 0x38]
mov edi, esp
lea ecx, [ebx + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00444bb5
mov edi, 0xc3c9
lea ecx, [ebp - 0x18]
push edi
call fcn.004028d8
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x44e
mov dword [ebp - 0x1c], eax
push dword [ebx + 4]
call esi
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x18]
call fcn.00403037
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x44d
push dword [ebx + 4]
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x40bc31
push edi
lea ecx, [ebp - 0x1c]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_127_127_127
mov dword [ebp - 4], 3
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.00403037
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x45b
push dword [ebx + 4]
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x40bc87
push edi
lea ecx, [ebp - 0x1c]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_127_127_127
mov dword [ebp - 4], 4
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.00403037
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x454
push dword [ebx + 4]
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x40bcdd
push edi
lea ecx, [ebp - 0x20]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_127_127_127
mov dword [ebp - 4], 5
push dword [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.00403037
cmp dword [ebp + 8], 0
je 0x40bd15
push 0x44b
push dword [ebx + 4]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push eax
call edi
push 0x456
push dword [ebx + 4]
call esi
push 0
push 0
push 0xf1
push eax
call edi
push 0x424
push dword [ebx + 4]
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 0x425
push dword [ebx + 4]
call esi
push 5
push eax
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x41a
push dword [ebx + 4]
call esi
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4