Function at 0x40f8e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8ced
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x530010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], esi
lea ecx, [edi + 0x178]
mov dword [ebp - 4], 2
lea eax, [ebp + 0x10]
cmp ecx, eax
je 0x40f93e
cmp dword [ebp + 0x24], 8
push dword [ebp + 0x20]
cmovae eax, dword [ebp + 0x10]
push eax
call fcn.004014e0
or dword [edi + 0x1a8], 2
push esi
push 0x64
push 0x64
push 0
push 0
push ecx
push 0x86000000
push ecx
lea ecx, [edi + 0x15c]
call fcn.0041e860
mov ecx, dword [edi + 0x160]
test ecx, ecx
je 0x40f989
push 0
push 0
push 0
lea ecx, [edi + 4]
call fcn.00419880
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
push 0
call dword [eax + 0x4c]
mov ecx, dword [edi + 0x160]
cmp dword [ebp + 0x3c], 8
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ecx
lea ecx, [edi + 0x15c]
call fcn.0041e910
push 5
push dword [edi + 0x160]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
xor eax, eax
mov dword [ebp - 0x24], 0
push str.title
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.004014e0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00406340
mov eax, dword [edi + 0x7c]
lea ecx, [edi + 4]
test eax, eax
je 0x40fa09
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x78]
test eax, eax
jne 0x40fa00
call fcn.004181d0
mov byte [ebp - 4], 2
mov esi, eax
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x40fa4e
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe30
push edx
push ecx
call fcn.00476a87
add esp, 8
test esi, esi
je 0x40fb6b
cmp dword [ebp + 0x3c], 8
lea edx, [ebp + 0x28]
mov dword [ebp - 0x3c], 0
cmovae edx, dword [ebp + 0x28]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fa81
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.004014e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
push 3
xor eax, eax
mov dword [ebp - 0x24], 0
push 0x518b70
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.004014e0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x40fb19
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe26
push edx
push ecx
call fcn.00476a87
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp edx, 8
jb 0x40fb6b
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe26
push edx
push ecx
call fcn.00476a87
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0x3c], 0
push 0x518b78
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.004014e0
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.00406340
mov eax, dword [edi + 0x7c]
lea ecx, [edi + 4]
test eax, eax
je 0x40fbba
mov ecx, eax
mov eax, dword [ecx + 0x78]
test eax, eax
jne 0x40fbb1
call fcn.004181d0
mov byte [ebp - 4], 2
mov esi, eax
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x40fbff
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe30
push edx
push ecx
call fcn.00476a87
add esp, 8
test esi, esi
je 0x40fd1c
cmp dword [ebp + 0x54], 8
lea edx, [ebp + 0x40]
mov dword [ebp - 0x3c], 0
cmovae edx, dword [ebp + 0x40]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fc32
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.004014e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
push 3
xor eax, eax
mov dword [ebp - 0x24], 0
push 0x518b70
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.004014e0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x40fcca
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fcc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe2b
push edx
push ecx
call fcn.00476a87
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp edx, 8
jb 0x40fd1c
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fd12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe2b
push edx
push ecx
call fcn.00476a87
add esp, 8
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
push 0
call dword [eax + 0x4c]
push dword [ebp - 0x40]
mov ecx, edi
call fcn.0041b7d0
mov esi, dword [ebp - 0x44]
lea eax, [edi + 0x21c]
push eax
mov ecx, esi
call fcn.00406340
mov edx, dword [ebp + 0x24]
cmp edx, 8
jb 0x40fd7c
mov ecx, dword [ebp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fd72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe30
push edx
push ecx
call fcn.00476a87
add esp, 8
mov edx, dword [ebp + 0x3c]
xor eax, eax
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 7
mov word [ebp + 0x10], ax
cmp edx, 8
jb 0x40fdc6
mov ecx, dword [ebp + 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fdbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe30
push edx
push ecx
call fcn.00476a87
add esp, 8
mov edx, dword [ebp + 0x54]
xor eax, eax
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 7
mov word [ebp + 0x28], ax
cmp edx, 8
jb 0x40fe10
mov ecx, dword [ebp + 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fe06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe30
push edx
push ecx
call fcn.00476a87
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x50
call fcn.004ca66d
call fcn.004ca66d
call fcn.004ca66d
int3