Function at 0x40be60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
push 0
push 0x139f
mov eax, dword [esi]
call dword [eax + 0x8c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov eax, dword [esi]
mov ecx, esi
push 0
push 0x139e
call dword [eax + 0x8c]
push eax
call edi
mov eax, dword [esi]
mov ecx, esi
push 0
push 0x139c
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x14b
push 0x139d
call dword [eax + 0x8c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x14b
push 0x139c
call dword [eax + 0x8c]
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x14b
push 0x1398
call dword [eax + 0x8c]
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
push 8
push 0x517634
push 0x139d
call dword [eax + 0x8c]
push eax
call fcn.00405b10
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 0
push 0
push 0x14e
push 0x139d
call dword [eax + 0x8c]
push eax
call ebx
xor edi, edi
nop dword [eax]
push edi
lea eax, [ebp - 0x24]
push 0x5168c0
push eax
call fcn.004054c0
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, esi
push edi
push eax
mov eax, dword [esi]
push 0x1398
call dword [eax + 0x8c]
push eax
call fcn.00405b10
inc edi
add esp, 0xc
cmp edi, 0x20
jl 0x40bf50
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x14e
push 0x1398
call dword [eax + 0x8c]
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
push str.0000000000000000000000000000000000000000000000000000000000000000
push 0x1392
call dword [eax + 0x8c]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
push 0x5176c4
push 0x1394
call dword [eax + 0x8c]
push eax
call ebx
mov edi, dword [ebp + 8]
cmp edi, 4
jne 0x40c086
mov eax, dword [esi]
mov ecx, esi
push 0x38
push 0x5176c8
push 0x139c
call dword [eax + 0x8c]
push eax
call fcn.00405b10
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 0x20
push 0x5176d0
push 0x139c
call dword [eax + 0x8c]
push eax
call fcn.00405b10
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 0x10
push 0x5176d8
push 0x139c
call dword [eax + 0x8c]
push eax
call fcn.00405b10
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 8
push 0x517634
push 0x139c
call dword [eax + 0x8c]
push eax
call fcn.00405b10
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 0
push 0
push 0x14e
push 0x139c
call dword [eax + 0x8c]
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
push 0x5176e0
jmp 0x40c11a
cmp edi, 5
jne 0x40c0d1
mov eax, dword [esi]
mov ecx, esi
push 0x10
push 0x5176d8
push 0x139c
call dword [eax + 0x8c]
push eax
call fcn.00405b10
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 0
push 0
push 0x14e
push 0x139c
call dword [eax + 0x8c]
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
push str.00000000000000000000000000000000
jmp 0x40c11a
cmp edi, 6
jne 0x40c12c
mov eax, dword [esi]
mov ecx, esi
push 0x18
push 0x51780c
push 0x139c
call dword [eax + 0x8c]
push eax
call fcn.00405b10
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 0
push 0
push 0x14e
push 0x139c
call dword [eax + 0x8c]
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
push str.000000000000000000000000000000000000000000000000
mov eax, dword [esi]
mov ecx, esi
push 0x138e
call dword [eax + 0x8c]
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
push str.0000000000000000
push 0x138f
call dword [eax + 0x8c]
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
push str.0000000000000000
push 0x1390
call dword [eax + 0x8c]
push eax
call ebx
cmp edi, 1
je 0x40c16d
cmp edi, 2
je 0x40c16d
cmp edi, 3
jne 0x40c247
mov eax, dword [esi]
mov ecx, esi
push 0x20
push 0x5176d0
push 0x139c
call dword [eax + 0x8c]
push eax
call fcn.00405b10
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 0
push 0
push 0x14e
push 0x139c
call dword [eax + 0x8c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0x14b
push 0x139d
call dword [eax + 0x8c]
push eax
call edi
mov eax, dword [esi]
mov ecx, esi
push 0x10
push 0x5176d8
push 0x139d
call dword [eax + 0x8c]
push eax
call fcn.00405b10
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 0
push 0
push 0x14e
push 0x139d
call dword [eax + 0x8c]
push eax
call edi
mov eax, dword [esi]
mov ecx, esi
push str.0000000000000000000000000000000000000000000000000000000000000000
push 0x138e
call dword [eax + 0x8c]
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
push str.00000000000000000000000000000000
push 0x138f
call dword [eax + 0x8c]
push eax
call ebx
mov eax, dword [esi]
mov ecx, esi
push str.00000000000000000000000000000000
push 0x1390
call dword [eax + 0x8c]
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 4