Function at 0x4bb460
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
add ebx, ebx
inc ebx
test ebx, ebx
js 0x4bb481
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4bb47a
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb855
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004bac2c
mov ecx, 0x64
cdq
idiv ecx
mov esi, eax
cmp esi, 3
jne 0x4bb4c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004bac2c
cmp eax, 0x130
jne 0x4bb4d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x51], 0
je 0x4bb6a2
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x51]
call fcn.004043d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xe5], 0
je 0x4bb5ba
mov edx, dword [eax + 0xdd]
cmp edx, dword [eax + 0xe1]
jge 0x4bb5ba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x8e]
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xdd]
push eax
lea ecx, [ebp - 0x15]
lea edx, [ebp - 0x14]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xa4]
test al, al
je 0x4bb5a4
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0x8a
mov edx, dword [ebp - 0x14]
call fcn.0040438c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004bac2c
cmp eax, 0x12e
je 0x4bb579
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004bac2c
cmp eax, 0x12f
jne 0x4bb593
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
mov dword [eax + 0x8f], edx
mov byte [eax + 0x8e], 1
jmp 0x4bb615
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, byte [ebp - 0x15]
mov byte [eax + 0x8e], dl
jmp 0x4bb615
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004bb2ac
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x4bb83f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x8e]
mov byte [ebp - 0x15], al
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xdd]
push eax
lea ecx, [ebp - 0x15]
lea edx, [ebp - 0x14]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xa4]
test al, al
jne 0x4bb604
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004bb2ac
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x4bb83f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
add eax, 0x51
mov edx, dword [ebp - 0x14]
call fcn.0040438c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je 0x4bb83f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x70]
mov edx, dword [eax + 0x91]
mov dword [ebp - 0x1c], edx
xor edx, edx
push ebp
push 0x4bb69b
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [eax + 0x91], 0xfa0
xor eax, eax
push ebp
push 0x4bb671
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.004bb3e0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bb67b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb83f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x70]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x91], edx
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [eax + 0x70], 0
je 0x4bb6f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je 0x4bb6e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x70]
mov edx, dword [0x4b5558]
call fcn.004035f0
test al, al
je 0x4bb6e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004baa90
test al, al
je 0x4bb6e8
xor eax, eax
jmp 0x4bb6ea
mov al, 1
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov byte [edx + 0x71], al
cmp esi, 2
je 0x4bb801
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004bac2c
sub eax, 0x191
je 0x4bb718
sub eax, 6
je 0x4bb783
jmp 0x4bb7ee
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xbe]
cmp eax, dword [ebx + 0xcf]
jge 0x4bb746
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x9c]
test al, al
jne 0x4bb771
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x82]
test eax, eax
je 0x4bb75b
mov edx, dword [eax]
call dword [edx + 0x20]
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004bb2ac
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x4bb83f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + 0xe6], 1
setne bl
jmp 0x4bb801
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xc2]
cmp eax, dword [ebx + 0xcf]
jge 0x4bb7b1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xa0]
test al, al
jne 0x4bb7dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xef]
mov eax, dword [eax + 4]
test eax, eax
je 0x4bb7c9
mov edx, dword [eax]
call dword [edx + 0x20]
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004bb2ac
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x4bb83f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + 0xe6], 1
setne bl
jmp 0x4bb801
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004bb2ac
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x4bb83f
test bl, bl
je 0x4bb812
push ebp
call fcn.004bb3e0
pop ecx
mov byte [ebp - 0xd], 4
jmp 0x4bb83f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004bac2c
cmp eax, 0xcc
je 0x4bb83b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004b9660
mov byte [ebp - 0xd], 1
jmp 0x4bb83f
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb85c
lea eax, [ebp - 0x14]
call fcn.00404338
ret