Function at 0x488340
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 0x488361
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x48835a
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488735
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00487ad4
mov ecx, 0x64
cdq
idiv ecx
mov esi, eax
cmp esi, 3
jne 0x4883a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00487ad4
cmp eax, 0x130
jne 0x4883b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp dword [eax + 0x58], 0
je 0x488582
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x58]
call fcn.00404158
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xf8], 0
je 0x48849a
mov edx, dword [eax + 0xf0]
cmp edx, dword [eax + 0xf4]
jge 0x48849a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x98]
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xf0]
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 0x488484
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0x94
mov edx, dword [ebp - 0x14]
call fcn.00404114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00487ad4
cmp eax, 0x12e
je 0x488459
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00487ad4
cmp eax, 0x12f
jne 0x488473
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
mov dword [eax + 0x9c], edx
mov byte [eax + 0x98], 1
jmp 0x4884f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, byte [ebp - 0x15]
mov byte [eax + 0x98], dl
jmp 0x4884f5
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00488168
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x48871f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x98]
mov byte [ebp - 0x15], al
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xf0]
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 0x4884e4
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00488168
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x48871f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
add eax, 0x58
mov edx, dword [ebp - 0x14]
call fcn.00404114
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je 0x48871f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x74]
mov edx, dword [eax + 0xa0]
mov dword [ebp - 0x1c], edx
xor edx, edx
push ebp
push 0x48857b
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [eax + 0xa0], 0xfa0
xor eax, eax
push ebp
push 0x488551
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.004882b4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48855b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48871f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0xa0], edx
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [eax + 0x74], 0
je 0x4885d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je 0x4885c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x74]
mov edx, dword [0x4821fc]
call fcn.00403458
test al, al
je 0x4885c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00487938
test al, al
je 0x4885c8
xor eax, eax
jmp 0x4885ca
mov al, 1
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov byte [edx + 0x7c], al
cmp esi, 2
je 0x4886e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00487ad4
sub eax, 0x191
je 0x4885f8
sub eax, 6
je 0x488663
jmp 0x4886ce
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xc8]
cmp eax, dword [ebx + 0xdc]
jge 0x488626
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 0x488651
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x48863b
mov edx, dword [eax]
call dword [edx + 0x20]
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00488168
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x48871f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + 0xf9], 1
setne bl
jmp 0x4886e1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0xcc]
cmp eax, dword [ebx + 0xdc]
jge 0x488691
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 0x4886bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x104]
mov eax, dword [eax + 4]
test eax, eax
je 0x4886a9
mov edx, dword [eax]
call dword [edx + 0x20]
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00488168
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x48871f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + 0xf9], 1
setne bl
jmp 0x4886e1
push ebp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00488168
pop ecx
mov byte [ebp - 0xd], 1
jmp 0x48871f
test bl, bl
je 0x4886f2
push ebp
call fcn.004882b4
pop ecx
mov byte [ebp - 0xd], 4
jmp 0x48871f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00487ad4
cmp eax, 0xcc
je 0x48871b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0048649c
mov byte [ebp - 0xd], 1
jmp 0x48871f
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48873c
lea eax, [ebp - 0x14]
call fcn.004040c0
ret