Function at 0x5ef07a
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe64
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
call fcn.005743e6
pop ecx
cmp eax, dword [ebp + 8]
jne 0x5ef0a6
mov eax, 1
jmp 0x5ef381
xor edx, edx
mov eax, 0x4f55cc
mov ecx, dword [eax]
cmp ecx, dword [ebp + 8]
jne 0x5ef127
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp + 0xc]
jne 0x5ef0c4
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
jmp 0x5ef0df
cmp dword [eax + 8], 0
je 0x5ef127
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 0xc]
ja 0x5ef0da
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 0xc]
jae 0x5ef127
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test edx, edx
jle 0x5ef11f
mov esi, eax
lea edi, [ebp - 0x119c]
mov ecx, 5
mov eax, edx
rep movsd dword es:[edi], dword [esi]
shl eax, 2
lea eax, [eax + eax*4]
push eax
push 0x4f55cc
push 0x4f55e0
call fcn.005f955e
add esp, 0xc
lea esi, [ebp - 0x119c]
mov edi, 0x4f55cc
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
jmp 0x5ef381
inc edx
add eax, 0x14
cmp edx, 0x800
jl 0x5ef0ad
xor edx, edx
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
xor edx, edx
xor esi, esi
mov dword [ebp - 0x24], edx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x828], edx
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
lea edx, [ebp + eax*4 - 0x828]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 8], 0
jle 0x5ef332
dec dword [ebp - 8]
add dword [ebp - 0x28], 0xfffffffc
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ecx]
cmp ebx, dword [ebp + 0xc]
jne 0x5ef1a2
mov dword [ebp - 0x10], 1
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
jmp 0x5ef332
cmp ebx, dword [ebp - 0x18]
jae 0x5ef1ac
mov dword [ebp - 0x18], ebx
jmp 0x5ef1b4
cmp ebx, dword [ebp - 0x1c]
jbe 0x5ef1b4
mov dword [ebp - 0x1c], ebx
cmp ebx, dword [ebp - 0x20]
jb 0x5ef1c3
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
cmp ebx, edx
jb 0x5ef232
cmp dword [ebp - 0xc], 3
jg 0x5ef166
test esi, esi
je 0x5ef1d3
push esi
call fcn.00605100
push ebx
call fcn.005b7a52
pop ecx
mov edi, eax
test edi, edi
jne 0x5ef1e7
xor eax, eax
jmp 0x5ef381
mov edx, dword [edi + 4]
push edx
push 0
call fcn.006050fa
mov esi, eax
test esi, esi
jne 0x5ef1ff
xor eax, eax
jmp 0x5ef381
mov edx, dword [edi]
mov dword [ebp - 0x20], edx
push 3
mov ecx, dword [edi + 4]
push ecx
mov eax, dword [ebp - 0x20]
push eax
push esi
call fcn.005b7316
add esp, 0x10
mov dword [ebp - 0x24], eax
mov edx, dword [edi + 4]
cmp edx, dword [ebp - 0x24]
je 0x5ef22f
push esi
call fcn.00605100
xor eax, eax
jmp 0x5ef381
inc dword [ebp - 0xc]
mov edi, ebx
sub edi, dword [ebp - 0x20]
xor eax, eax
mov al, byte [esi + edi]
cmp eax, 0xcc
je 0x5ef166
push 0
lea edx, [ebp - 0x1188]
push 0
push edx
push 0
push ebx
mov ecx, dword [ebp - 0x24]
mov eax, edi
sub ecx, edi
add eax, esi
push ecx
push eax
call fcn.0056bf52
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xb84]
and edx, 0xf0
mov dword [ebp - 4], edx
cmp dword [ebp - 0xb50], 0
jne 0x5ef166
cmp dword [ebp - 4], 0xf0
je 0x5ef166
cmp dword [ebp - 4], 0x80
je 0x5ef2a6
cmp dword [ebp - 4], 0xa0
jne 0x5ef2af
mov byte [esi + edi], 0xcc
jmp 0x5ef166
cmp dword [ebp - 4], 0x50
je 0x5ef2cf
cmp dword [ebp - 4], 0x60
je 0x5ef2cf
mov byte [esi + edi], 0xcc
add ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], ebx
inc dword [ebp - 8]
jmp 0x5ef166
push 0
lea eax, [ebp - 0x1188]
push 4
push eax
push 0
push ebx
mov edx, dword [ebp - 0x24]
mov ecx, edi
sub edx, edi
add ecx, esi
push edx
push ecx
call fcn.0056bf52
add esp, 0x1c
mov eax, dword [ebp - 0xb58]
test eax, eax
je 0x5ef306
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
inc dword [ebp - 8]
add dword [ebp - 0x28], 4
cmp dword [ebp - 4], 0x60
jne 0x5ef324
cmp dword [ebp - 8], 0x200
jge 0x5ef324
add ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], ebx
inc dword [ebp - 8]
add dword [ebp - 0x28], 4
mov byte [esi + edi], 0xcc
cmp dword [ebp - 8], 0
jg 0x5ef17d
test esi, esi
je 0x5ef33c
push esi
call fcn.00605100
push 0xa000
push 0x4f55cc
push 0x4f55e0
call fcn.005f955e
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [0x4f55cc], eax
mov edx, dword [ebp - 0x18]
mov dword [0x4f55d0], edx
mov ecx, dword [ebp - 0x1c]
mov dword [0x4f55d4], ecx
mov eax, dword [ebp + 0xc]
mov dword [0x4f55d8], eax
mov edx, dword [ebp - 0x10]
mov dword [0x4f55dc], edx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret