Function at 0x4131d3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4b8
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [esp + 0xb4], ax
xor esi, esi
lea eax, [esp + 0xb6]
push esi
push eax
call fcn.004237a0
xor eax, eax
push edi
mov word [esp + 0x2c8], ax
lea eax, [esp + 0x2ca]
push esi
push eax
call fcn.004237a0
xor eax, eax
push 0x7e
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push esi
push eax
call fcn.004237a0
add esp, 0x24
mov edi, ebx
call fcn.00412d32
push 3
push dword [ebx + 4]
call fcn.0040b2ff
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [ebx + 0xd70]
push 0x30
push dword [ebx + 0xd78]
call edi
push 0x103
push 0x33
lea eax, [esp + 0x2c0]
call fcn.0040b351
push 0x3f
push 0x37
lea eax, [esp + 0x38]
call fcn.0040b351
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 4]
cmp eax, 1
jne 0x413299
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2bc]
push eax
push 0x438bd8
jmp 0x4132b0
cmp eax, 2
jne 0x4132c6
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2bc]
push eax
push str._s__64__s_
push 0x103
lea esi, [esp + 0xc0]
call fcn.00416529
add esp, 0x10
xor esi, esi
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0xd78]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 0x54]
mov eax, dword [eax]
push 0x80c086
push esi
shr eax, 2
push 0x409
push dword [ebx + 0xe9c]
and al, 1
mov byte [ebx + 0x68], al
call edi
push 0x640000
push esi
push 0x401
push dword [ebx + 0xe9c]
call edi
push esi
push esi
push 0x402
push dword [ebx + 0xe9c]
call edi
lea edi, [ebx + 0xd98]
call fcn.00416512
push esi
push dword [ebx + 0xd9c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
push 0x20
lea eax, [esp + 0xb8]
call fcn.0040b351
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0xdf8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebx + 0xe18]
call fcn.00416512
push esi
push dword [ebx + 0xe1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
push 0x2d
lea eax, [esp + 0xb8]
call fcn.0040b351
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0xe78]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebx + 0xee0]
call fcn.00416512
push esi
push dword [ebx + 0xee4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
push 0xf
lea eax, [esp + 0xb8]
call fcn.0040b351
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0xf40]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebx + 0xf60]
call fcn.00416512
push esi
push dword [ebx + 0xf64]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
push 0x15
lea eax, [esp + 0xb8]
call fcn.0040b351
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0xfc0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebx + 0xfe0]
call fcn.00416512
push esi
push dword [ebx + 0xfe4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
push 0x14
lea eax, [esp + 0xb8]
call fcn.0040b351
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0x1040]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebx + 0x1060]
call fcn.00416512
push esi
push dword [ebx + 0x1064]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
push 0x22
lea eax, [esp + 0xb8]
call fcn.0040b351
lea eax, [esp + 0xb0]
push eax
push dword [ebx + 0x10c0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebx + 0x68], 0
jne 0x4136ee
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0xd9c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
call esi
lea eax, [esp + 0xc]
lea edi, [ebx + 4]
call fcn.00403ed3
lea eax, [esp + 0x20]
push eax
push dword [ebx + 0xee4]
call esi
lea eax, [esp + 0x20]
lea edi, [ebx + 4]
call fcn.00403ed3
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0xd9c]
mov dword [esp + 0x24], eax
call edi
push 0
push dword [ebx + 0xdf8]
call edi
push 0
push dword [ebx + 0xe1c]
call edi
push 0
push dword [ebx + 0xe78]
call edi
push 0
push dword [ebx + 0xe9c]
call edi
push 0
push dword [ebx + 0xec0]
call edi
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0xee4]
call esi
lea eax, [esp + 0xc]
lea edi, [ebx + 4]
call fcn.00403ed3
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
lea eax, [ebx + 0xee4]
push eax
lea eax, [esp + 0x10]
call fcn.00403ef1
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0xf40]
call esi
lea eax, [esp + 0xc]
lea edi, [ebx + 4]
call fcn.00403ed3
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
lea eax, [ebx + 0xf40]
push eax
lea eax, [esp + 0x10]
call fcn.00403ef1
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0xf64]
call esi
lea eax, [esp + 0xc]
lea edi, [ebx + 4]
call fcn.00403ed3
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
lea eax, [ebx + 0xf64]
push eax
lea eax, [esp + 0x10]
call fcn.00403ef1
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0xfc0]
call esi
lea eax, [esp + 0xc]
lea edi, [ebx + 4]
call fcn.00403ed3
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
lea eax, [ebx + 0xfc0]
push eax
lea eax, [esp + 0x10]
call fcn.00403ef1
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0xfe4]
call esi
lea eax, [esp + 0xc]
lea edi, [ebx + 4]
call fcn.00403ed3
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
lea eax, [ebx + 0xfe4]
push eax
lea eax, [esp + 0x10]
call fcn.00403ef1
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0x1040]
call esi
lea eax, [esp + 0xc]
lea edi, [ebx + 4]
call fcn.00403ed3
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
lea eax, [ebx + 0x1040]
push eax
lea eax, [esp + 0x10]
call fcn.00403ef1
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0x1064]
call esi
lea eax, [esp + 0xc]
lea edi, [ebx + 4]
call fcn.00403ed3
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
lea eax, [ebx + 0x1064]
push eax
lea eax, [esp + 0x10]
call fcn.00403ef1
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0x10c0]
call esi
lea eax, [esp + 0xc]
lea edi, [ebx + 4]
call fcn.00403ed3
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
lea eax, [ebx + 0x10c0]
push eax
lea eax, [esp + 0x10]
call fcn.00403ef1
push dword [ebx + 4]
mov eax, dword [ebx + 0x64]
call fcn.00420f3b
xor eax, eax
pop edi
inc eax
pop esi
mov esp, ebp
pop ebp
ret