Function at 0x406dc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a69a0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4ed3dc]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x31a4]
push 0x4c996c
push eax
mov byte [esi + 0x31b0], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0x31a4]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], ebx
call fcn.0049c860
push ebx
push ebx
push 0x4d8fe4
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.0049b530
test al, al
jne 0x406e67
lea ecx, [esp + 0x10]
call fcn.0049da00
lea ecx, [esp + 0x10]
call fcn.0049cbe0
push 0x3e
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.00470e10
add esp, 0xc
push 0x20
lea ecx, [esp + 0x20]
push ecx
push 0x66
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call fcn.0049b3f0
test al, al
jne 0x406f4f
lea ecx, [esp + 0x10]
call fcn.0049da00
lea ecx, [esp + 0x10]
call fcn.0049cbe0
mov eax, dword [esi + 0x31b8]
push ebx
push ebx
push 0x14e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x4eb
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov ecx, dword [esi + 0x24]
push 0
push 0x4eb
push ecx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov eax, dword [esi + 0x24]
push 5
push 0x4ea
push eax
call edi
push eax
call ebx
mov edx, dword [esi + 0x24]
push 1
push 0x4ea
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov esi, dword [esi + 0x24]
push 0
push 0x3f2
push esi
call edi
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.0049c800
lea ecx, [esp + 0x18]
call fcn.0049b3d0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0046ec29
mov esp, ebp
pop ebp
ret
mov ecx, 0x4d9000
lea eax, [esp + 0x1c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406f7e
cmp dx, bx
je 0x406f7a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406f7e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x406f58
xor eax, eax
jmp 0x406f83
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x406fc3
mov ecx, str.green
lea eax, [esp + 0x1c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406fb6
cmp dx, bx
je 0x406fb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406fb6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x406f90
xor eax, eax
jmp 0x406fbb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x406ead
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
push ebx
push 0x4eb
push eax
call edi
mov ecx, dword [esi + 0x24]
push ebx
push 0x4ea
push ecx
call edi
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push 0x4eb
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov eax, dword [esi + 0x24]
push 0
push 0x4ea
push eax
call edi
push eax
call ebx
mov eax, dword [esi + 0x24]
push 5
push 0x3f2
push eax
call edi
push eax
call ebx
mov edx, dword [esi + 0x31b8]
push 0
push 1
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x406f1f