Function at 0x4be3a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af01b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x478
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x428], edi
mov ecx, dword [edi + 0x6b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, eax
cmp edx, 0xffffffff
jne 0x4be409
mov ecx, edi
call fcn.004be160
jmp 0x4be6fc
mov ecx, dword [edi + 0x6b0]
lea esi, [ebp - 0x400]
push 0x3e8
push esi
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, esi
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0xf
mov byte [ebp - 0x418], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be441
sub ecx, edx
lea eax, [ebp - 0x400]
push ecx
push eax
lea ecx, [ebp - 0x418]
call fcn.004ad0f0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x6b0]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x60
lea eax, [ebp - 0x488]
push 0
push eax
call fcn.00583650
mov ecx, dword [edi + 0x774]
xor eax, eax
test ecx, ecx
mov edx, dword [edi]
mov dword [ebp - 0x45c], ecx
setle al
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x444], ecx
mov ecx, edi
lea eax, [eax*8 + 0x7de]
mov dword [ebp - 0x480], eax
movsx eax, byte [ebx + 8]
mov dword [ebp - 0x478], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x42c], eax
mov eax, dword [edi + 0x6b4]
sub eax, dword [edi + 0x6b8]
cmp dword [ebp - 0x404], 0x10
mov dword [ebp - 0x47c], eax
movups xmm0, xmmword [ebp - 0x488]
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x418]
cmovae eax, dword [ebp - 0x418]
sub esp, 0x54
mov dword [ebp - 0x46c], eax
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x478]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x468]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x458]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x448]
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [ebp - 0x438]
movups xmmword [eax + 0x50], xmm0
call dword [edx + 0x88]
cmp byte [edi + 0x668], 0
je 0x4be6c6
mov ecx, dword [edi + 0x6b0]
cmp dword [ecx + 4], 0
je 0x4be58a
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, dword [edi + 0x6b0]
mov eax, dword [esi + 4]
test eax, eax
je 0x4be57c
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
mov byte [edi + 0x668], 0
cmp dword [edi + 0x774], 0
jg 0x4be6c6
mov eax, dword [edi + 0x260]
mov esi, dword [edi + 0x238]
add eax, eax
cmp byte [edi + 0x6be], 0
mov esi, dword [esi + eax*8]
je 0x4be631
mov eax, dword [edi + 0x2a8]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 4]
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x420], ecx
call dword [eax + 8]
cmp esi, eax
jge 0x4be61f
mov edi, dword [ebp - 0x420]
nop word [eax + eax]
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x424]
push esi
push eax
call fcn.004a7cf0
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x41c]
call fcn.004a97f0
cmp eax, 2
jne 0x4be619
mov eax, dword [edi]
add esi, dword [ebp - 0x420]
push edi
call dword [eax + 8]
cmp esi, eax
jl 0x4be5e0
mov edi, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x41c]
push 1
push 1
push esi
call fcn.004a7870
mov esi, eax
mov ecx, dword [ebp - 0x47c]
cmp esi, ecx
jl 0x4be6c6
cmp dword [ebp - 0x404], 0x10
lea eax, [ebp - 0x418]
push dword [ebp - 0x408]
cmovae eax, dword [ebp - 0x418]
sub esi, ecx
push eax
push esi
push ecx
mov ecx, edi
call fcn.004bd850
mov ecx, edi
call fcn.004c61b0
mov edx, dword [edi]
sub esp, 0x60
mov eax, esp
mov dword [ebp - 0x480], 0x7ee
movups xmm0, xmmword [ebp - 0x488]
mov ecx, edi
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x478]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x468]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x458]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x448]
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [ebp - 0x438]
movups xmmword [eax + 0x50], xmm0
call dword [edx + 0x88]
mov edx, dword [ebp - 0x404]
cmp edx, 0x10
jb 0x4be6fc
mov ecx, dword [ebp - 0x418]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4be6f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be71c
push edx
push ecx
call fcn.0057eb7e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0058a276
int3