Function at 0x54a89f
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x88]
cmp dword [eax + 0x24], 0xcc
push edi
jne 0x54a8c2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov ecx, dword [esi + 0x84]
lea eax, [ebp - 0x10]
push eax
push 5
xor edi, edi
pop eax
mov dword [ebp - 0x10], edi
call fcn.0054fd10
mov eax, dword [esi + 0x88]
cmp dword [eax + 0x34], edi
jne 0x54a8f3
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x34], ecx
mov eax, dword [esi + 0x88]
mov dword [eax + 0x38], edi
mov eax, dword [esi + 0x88]
mov eax, dword [eax + 0x24]
cmp eax, 0xc8
je 0x54a90e
cmp eax, 0xce
mov byte [ebp - 5], 0
jne 0x54a912
mov byte [ebp - 5], 1
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0xc], edi
call fcn.0054fd97
mov eax, dword [ebp - 0xc]
inc eax
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0051a3db
cmp dword [ebp - 0x2c], edi
jne 0x54a944
xor eax, eax
jmp 0x54a94a
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
mov ebx, dword [esi + 0x84]
lea ecx, [ebp - 0xc]
push ecx
push eax
lea edi, [ebp - 0x30]
call fcn.0051a28e
push eax
mov eax, ebx
call fcn.0054fe04
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x20], edi
jl 0x54a9c9
push dword [ebp - 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.0051a3db
lea eax, [ebp - 0x30]
call fcn.005213be
test al, al
jne 0x54aa2e
mov eax, dword [esi + 0x48]
cmp dword [eax - 0xc], ebx
je 0x54a9d8
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
jne 0x54a9a0
xor eax, eax
jmp 0x54a9a6
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
push ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea edi, [ebp - 0x30]
call fcn.0051a28e
push eax
push dword [ebp + 8]
call dword [0x100671cc]
test eax, eax
jne 0x54aa2e
call fcn.00518cf7
mov edi, eax
lea esi, [ebp - 0x30]
call fcn.0055e524
mov eax, edi
jmp 0x54a8bb
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
jbe 0x54a9e8
call fcn.00569431
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
jbe 0x54a9f8
call fcn.00569431
mov edi, dword [esi + 0x88]
mov ebx, dword [edi + 0x1c]
add edi, 0x14
cmp dword [edi + 4], ebx
jbe 0x54aa0e
call fcn.00569431
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x1c]
push eax
push ebx
mov ebx, dword [esi + 0x88]
push edi
push dword [ebp + 8]
add ebx, 0x14
call fcn.0054ad9e
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x88]
add dword [eax + 0x38], ecx
mov ecx, dword [esi + 0x80]
cmp ecx, ebx
je 0x54aa66
mov eax, dword [esi + 0x88]
mov edx, dword [eax + 0x34]
cmp edx, ebx
je 0x54aa66
cmp byte [ebp - 5], 0
je 0x54aa66
mov edi, dword [ecx]
push ebx
push 0x80000
push edx
push dword [eax + 0x38]
call dword [edi + 8]
lea eax, [ebp - 0x30]
call fcn.005213be
test al, al
jne 0x54aa79
xor edi, edi
jmp 0x54a91b
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0x34]
cmp ecx, ebx
je 0x54aa95
cmp ecx, dword [eax + 0x38]
je 0x54aa95
mov edi, 0x80072efe
jmp 0x54a9c9
mov edi, dword [ebp - 0x20]
mov byte [esi + 0x90], 1
jmp 0x54a9c9