Function at 0x456230
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
je 0x456269
push 0
push str.ATLASSERT
mov edx, 0xa3
mov ecx, str.CMainDialog::ProcessWindowMessage
call fcn.00455720
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0xc]
cmp edx, 0x110
jne 0x45628c
sub esp, 0x10
call fcn.0045c8f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [ebp + 0x14]
cmp edx, 2
jne 0x4562f5
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
sub esp, 0xc
call fcn.0045d220
cmp dword [esp + 0xc], 0
mov dword [esi], eax
jne 0x4568b1
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 0x28]
cmp edx, 2
jne 0x45681a
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
sub esp, 0xc
call fcn.0046faa0
cmp dword [esp + 0xc], 0
mov dword [esi], eax
je 0x45625e
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x112
jne 0x45632c
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
mov eax, dword [ebp + 0x10]
push ecx
push eax
push ecx
call fcn.0045d340
cmp dword [esp + 0xc], 0
mov dword [esi], eax
je 0x4562b6
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x312
jne 0x456350
sub esp, 8
push dword [ebp + 0x10]
push ecx
call fcn.0045e5d0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x7b
jne 0x456372
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.0046acb0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x111
jne 0x45670e
mov eax, dword [ebp + 0x10]
movzx ecx, ax
mov eax, 1
cmp ax, cx
jne 0x4563a6
sub esp, 0x10
call fcn.0045e5c0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 2
cmp ax, cx
je 0x45638e
mov eax, 4
cmp ax, cx
jne 0x4563d6
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0045fe90
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x3f4
cmp ax, cx
jne 0x4563fa
sub esp, 0x10
mov ecx, edi
call fcn.00463b40
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 5
cmp ax, cx
jne 0x456420
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0045fe90
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x3ec
cmp ax, cx
jne 0x456444
sub esp, 0x10
mov ecx, edi
call fcn.0045e6d0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x3ed
cmp ax, cx
jne 0x456468
sub esp, 0x10
mov ecx, edi
call fcn.004641b0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x3f2
cmp ax, cx
jne 0x45648c
sub esp, 0x10
mov ecx, edi
call fcn.0045f2e0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x400
cmp ax, cx
jne 0x4564b0
sub esp, 0x10
mov ecx, edi
call fcn.0045f270
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x402
cmp ax, cx
jne 0x4564d4
sub esp, 0x10
mov ecx, edi
call fcn.0045f220
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x401
cmp ax, cx
jne 0x4564f8
sub esp, 0x10
mov ecx, edi
call fcn.0045f290
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x41a
cmp ax, cx
jne 0x45651c
sub esp, 0x10
mov ecx, edi
call fcn.00461e90
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x42b
cmp ax, cx
jne 0x45653e
sub esp, 0x10
call fcn.00463300
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c4a
cmp ax, cx
jne 0x456564
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0046a600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c47
cmp ax, cx
jne 0x45658a
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0046a600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c4b
cmp ax, cx
jne 0x4565b0
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0046a600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c48
cmp ax, cx
jne 0x4565d6
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0046a600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c49
cmp ax, cx
jne 0x4565fc
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0046a600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c4d
cmp ax, cx
jne 0x456622
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0046a600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c53
cmp ax, cx
jne 0x456648
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0046a600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c54
cmp ax, cx
jne 0x45666e
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0046a600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c55
cmp ax, cx
jne 0x456694
sub esp, 8
push eax
push ecx
mov ecx, edi
call fcn.0046a600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x9c4f
cmp ax, cx
je 0x45642a
mov eax, 0x9c51
cmp ax, cx
je 0x45644e
mov eax, 0x9c52
cmp ax, cx
je 0x456502
lea eax, [ecx + 0x63aa]
cmp ax, 9
ja 0x4566e6
sub esp, 8
push ecx
push ecx
mov ecx, edi
call fcn.0046aff0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x433
cmp ax, cx
jne 0x4562b9
sub esp, 0x10
mov ecx, edi
call fcn.00462e80
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x4e
jne 0x4562b9
mov eax, dword [ebx + 4]
cmp eax, 0x404
jne 0x4562b9
cmp dword [ebx + 8], 0xffffff4f
jne 0x456746
push ecx
push ebx
push ecx
call fcn.00460a20
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x404
jne 0x4562b9
cmp dword [ebx + 8], 0xfffffffe
jne 0x45676f
push ecx
push ebx
push ecx
call fcn.004612d0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x404
jne 0x4562b9
cmp dword [ebx + 8], 0xfffffffd
jne 0x456798
push ecx
push ebx
push ecx
call fcn.004612f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x404
jne 0x4562b9
cmp dword [ebx + 8], 0xffffff65
jne 0x4567c4
push ecx
push ebx
push ecx
call fcn.00461d70
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x404
jne 0x4562b9
cmp dword [ebx + 8], 0xffffff9b
jne 0x4567ed
sub esp, 0xc
call fcn.00461e10
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x404
jne 0x4562b9
cmp dword [ebx + 8], 0xffffff94
jne 0x4562b9
push ecx
push ebx
push ecx
call fcn.00461e20
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 5
jne 0x45688a
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x45685b
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jne 0x45684c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x456863
test ecx, ecx
jne 0x45685e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x456863
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
je 0x4568ab
mov eax, ebx
lea ecx, [edi + 0x28]
shr eax, 0x10
cwde
push eax
movsx eax, bx
push eax
call fcn.0046f500
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x24
jne 0x45625e
cmp dword [ecx + 0x14], 0xffffffff
je 0x4568ab
cmp dword [ecx + 0x18], 0xffffffff
je 0x4568ab
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [ebx + 0x1c], eax
mov dword [esi], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18