Function at 0x40b890
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
xor esi, esi
push 0x42c970
mov dword [0x42d0e8], esi
call fcn.00413520
mov eax, dword [0x42c978]
add esp, 4
cmp eax, 8
mov dword [0x42c8cc], esi
ja case.default.0x40b8b8
jmp dword [eax*4 + 0x40bc04]
cmp dword [0x42c8c0], 1
jne case.default.0x40b8b8
jmp 0x40b8e9
cmp dword [0x42c8c8], 1
jne case.default.0x40b8b8
jmp 0x40b8e9
cmp dword [0x42c8bc], 1
jne case.default.0x40b8b8
jmp 0x40b8e9
cmp dword [0x42c8c4], 1
jne case.default.0x40b8b8
push eax
call fcn.004107c0
add esp, 4
mov eax, dword [0x42d11c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x146
push eax
call ebx
mov edi, 1
cmp eax, edi
jg 0x40b914
mov dword [esp + 0x10], edi
call fcn.0040d8b0
mov ecx, dword [0x42c978]
mov edx, dword [0x42c974]
push ecx
push 0x16
push edx
call fcn.00401000
mov eax, dword [0x42c978]
mov ecx, dword [0x42d11c]
push eax
push 0x42c8d0
push ecx
push 0x42c4e8
call fcn.00412c00
mov eax, dword [esp + 0x2c]
add esp, 0x1c
cmp eax, edi
jne 0x40b975
mov edx, dword [0x42d11c]
push esi
push esi
push 0x146
push edx
call ebx
dec eax
push eax
mov eax, dword [0x42d11c]
push eax
call fcn.00401150
add esp, 8
mov edi, 0x42c30a
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [0x42d124]
mov edx, ecx
mov esi, edi
mov edi, 0x42c6b0
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextA]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x42c6b0
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [0x42d124]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call esi
mov edx, dword [0x42c978]
mov eax, dword [0x42d120]
push edx
push 2
push eax
call fcn.00401000
mov ecx, dword [0x42d120]
add esp, 0xc
push 5
push ecx
call esi
mov ecx, dword [0x42c4ec]
mov eax, 1
cmp ecx, eax
jne 0x40ba0a
mov cl, byte [0x42c319]
mov dword [0x42c4f8], 0
cmp cl, 0x59
jne 0x40ba0a
mov dword [0x42c4f8], eax
mov edx, dword [0x42c4f8]
mov eax, dword [0x42d120]
push 0
push edx
push 0xf1
push eax
call ebx
mov ecx, dword [0x42d124]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ecx
call ebx
mov eax, dword [0x42c4f8]
test eax, eax
je 0x40ba7a
mov edx, dword [0x42d124]
push 1
push edx
call ebx
mov edi, 0x42c6b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40ba63
mov eax, dword [0x42d124]
push 0x42c6b0
push eax
jmp 0x40ba78
push 0x41e06c
call fcn.0041bfd0
mov ecx, dword [0x42d124]
add esp, 4
push eax
push ecx
call ebp
mov edx, dword [0x42c978]
mov eax, dword [0x42d118]
push edx
push 9
push eax
call fcn.00401000
mov ecx, dword [0x42c978]
mov edx, dword [0x42d128]
mov edi, 1
push ecx
push edi
push edx
call fcn.00401000
mov eax, dword [0x42c978]
mov ecx, dword [0x42d12c]
push eax
push 0x1a
push ecx
call fcn.00401000
mov edx, dword [0x42c978]
mov eax, dword [0x42d114]
push edx
push 0x25
push eax
call fcn.00401000
mov ecx, dword [0x42d120]
add esp, 0x30
push edi
push ecx
call ebx
mov edx, dword [0x42d118]
push edi
push edx
call ebx
mov eax, dword [0x42d0c4]
pop ebp
cmp eax, edi
je 0x40baf9
cmp dword [0x42c980], 0x2c
jne 0x40bb1b
mov eax, dword [0x42c978]
mov ecx, dword [0x42d130]
push eax
push 0x23
push ecx
call fcn.00401000
mov edx, dword [0x42d130]
add esp, 0xc
push 5
push edx
call esi
mov eax, dword [0x42d114]
push 5
push eax
call esi
mov ecx, dword [0x42d118]
push 5
push ecx
call esi
mov edx, dword [0x42d128]
push 5
push edx
call esi
mov eax, dword [0x42d124]
push 5
push eax
call esi
mov ecx, dword [0x42d12c]
push 5
push ecx
call esi
mov edx, dword [0x42d148]
push 0
push edx
call esi
push 2
call fcn.0040cb50
mov eax, dword [0x42d118]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.0040f550
cmp dword [esp + 0x10], edi
jne 0x40bba5
mov ecx, dword [0x42d120]
push 0
push ecx
call ebx
mov edx, dword [0x42d124]
push 0
push edx
call ebx
mov dword [0x42c8a8], 0
call fcn.0040fdd0
pop edi
pop esi
pop ebx
ret
mov al, byte [0x42c1d4]
mov dword [0x42c8a8], edi
cmp al, 0x4f
jne 0x40bbd4
xor esi, esi
call fcn.0040bc30
cmp esi, edi
mov dword [0x42d0b0], edi
push 0x5a
jne 0x40bbf6
push edi
call fcn.0040cce0
add esp, 8
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x42c8a0]
inc eax
cmp eax, 5
mov dword [0x42c8a0], eax
jge 0x40bbe8
mov esi, edi
jmp 0x40bbb6
pop edi
pop esi
mov dword [0x42c8a0], 0xffffffff
pop ebx
ret
push 0
call fcn.0040cce0
add esp, 8
pop edi
pop esi
pop ebx
ret