Function at 0x406d22
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, 0x104
mov esi, ecx
push edi
push 0
push eax
call fcn.00451320
mov eax, dword [esi + 0x30]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push 0x1103
push eax
call ebx
mov ebp, eax
mov eax, dword [0x4775f0]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x406d6a
mov eax, 0x4614a8
push ecx
lea ecx, [esp + 0x18]
push edi
push ecx
push 0xb74
push eax
call sub.hccutils.DLL_LoadSTRING
lea eax, [esp + 0x28]
push eax
call fcn.004512a0
add esp, 0x18
test eax, eax
jbe 0x406d9b
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x406da4
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00451320
mov eax, dword [esi + 0x30]
add esp, 0xc
push 0x1105
push eax
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [0x4775f0]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x406dd7
mov eax, 0x4614a8
push ecx
lea ecx, [esp + 0x18]
push edi
push ecx
push 0xb75
push eax
call sub.hccutils.DLL_LoadSTRING
lea eax, [esp + 0x28]
push eax
call fcn.004512a0
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x18
test eax, eax
jbe 0x406e3e
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [esi + 0x6c], 1
jne 0x406e30
cmp dword [esi + 0x70], 1
push 0
jne 0x406e21
push 1
jmp 0x406e23
push 0
push 0xf1
push dword [esp + 0x1c]
call ebp
jmp 0x406e4a
push 0
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x406e4a
push 0
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00451320
mov eax, dword [esi + 0x30]
add esp, 0xc
push 0x1107
push eax
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [0x4775f0]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x406e7d
mov eax, 0x4614a8
push ecx
lea ecx, [esp + 0x18]
push edi
push ecx
push 0xb76
push eax
call sub.hccutils.DLL_LoadSTRING
lea eax, [esp + 0x28]
push eax
call fcn.004512a0
add esp, 0x18
test eax, eax
jbe 0x406ef8
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [esi + 0x84], 1
jne 0x406ed6
cmp dword [esi + 0x88], 1
push 0
jne 0x406ec7
push 1
jmp 0x406ec9
push 0
push 0xf1
push dword [esp + 0x1c]
call ebp
jmp 0x406f04
push 0
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x30]
push 0x110f
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x406f04
push 0
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x30]
push 0x110f
push eax
call ebx
cmp dword [esi + 0xa8], 0
mov dword [esp + 0x10], eax
lea eax, [esi + 0xa8]
je 0x406f4b
movzx eax, word [eax]
shl eax, 0x10
or al, 1
push eax
push 1
push 0x406
push dword [esp + 0x1c]
call ebp
push dword [esi + 0xb0]
push 1
push 0x405
push dword [esp + 0x1c]
call ebp
push edi
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00451320
mov eax, dword [esi + 0x30]
add esp, 0xc
push 0x110c
push eax
call ebx
mov ebp, eax
mov eax, dword [0x4775f0]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x406f7c
mov eax, 0x4614a8
push ecx
lea ecx, [esp + 0x18]
push edi
push ecx
push 0xb77
push eax
call sub.hccutils.DLL_LoadSTRING
lea eax, [esp + 0x28]
push eax
call fcn.004512a0
add esp, 0x18
test eax, eax
jbe 0x406fc1
cmp dword [esi + 0x84], 1
jne 0x406fb6
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x406fca
push 0
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x406fca
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
xor ebp, ebp
push edi
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.00451320
mov eax, dword [esi + 0x30]
add esp, 0xc
push 0x110d
push eax
call ebx
mov ebx, eax
mov eax, dword [0x4775f0]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x14]
cmp eax, ebp
jne 0x406ffc
mov eax, 0x4614a8
push ecx
lea ecx, [esp + 0x18]
push edi
push ecx
push 0xb78
push eax
call sub.hccutils.DLL_LoadSTRING
lea eax, [esp + 0x28]
push eax
call fcn.004512a0
add esp, 0x18
test eax, eax
jbe 0x407040
cmp dword [esi + 0x84], 1
jne 0x407036
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x407048
push ebp
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x407048
push ebp
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret