Function at 0x808d48
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x808d50
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x8091ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp byte [eax + 0xc2], 0
je 0x808d99
lea edx, [ebp - 0x10]
mov eax, dword [0x8767f0]
call fcn.00410e3c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x8029cc]
call fcn.0060f368
call fcn.00409c14
mov eax, dword [ebp - 8]
mov byte [eax + 0xc2], 1
mov eax, dword [ebp - 8]
cmp dword [eax + 0xa8], 0
je 0x808e35
mov edx, 0x191
mov eax, dword [ebp - 8]
call fcn.008083f0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
call fcn.0040aa5c
test eax, eax
jne 0x808e35
mov eax, dword [ebp - 8]
cmp dword [eax + 0xb8], 0
jne 0x808e35
mov edx, 0x809208
mov eax, dword [ebp - 8]
call fcn.006c694c
push 0x809248
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
call fcn.004276e4
push dword [ebp - 0x14]
push 0x809274
mov eax, dword [ebp - 8]
push dword [eax + 0xc4]
push 0x809284
mov eax, dword [ebp - 8]
add eax, 0xbc
mov edx, 5
call fcn.0040b3b0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.006c6920
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
jne 0x808e92
mov eax, dword [ebp - 8]
cmp dword [eax + 0xbc], 0
jne 0x808e56
mov eax, dword [ebp - 8]
cmp dword [eax + 0xb8], 0
je 0x808e92
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
call fcn.0040a990
cmp dword [ebp - 4], 0
jne 0x808e77
lea eax, [ebp - 4]
mov edx, 0x8092b8
call fcn.0040a990
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x8092d0
call fcn.0040b328
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.006c694c
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2c], 0xffffffff
jne 0x809004
cmp dword [eax + 0x28], 0xffffffff
jne 0x809004
mov eax, dword [ebp - 8]
cmp dword [eax + 0x80], 0
je 0x808ed0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x80]
mov edx, 0x809304
call fcn.00618418
test al, al
je 0x809004
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xd0]
cmp byte [eax + 0x110], 1
je 0x808ff8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
mov ecx, 0x64
cdq
idiv ecx
dec eax
je 0x808ff8
mov eax, dword [ebp - 8]
cmp dword [eax + 0xb0], 0xcc
je 0x808ff8
mov eax, dword [ebp - 8]
cmp dword [eax + 0xb0], 0x130
je 0x808ff8
mov eax, dword [ebp - 8]
cmp dword [eax + 0xbc], 0
je 0x808f5f
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
call fcn.0065fee4
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cdq
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.006c6920
jmp 0x809004
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0xb8]
test ebx, ebx
je 0x808f81
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.006c6920
jmp 0x809004
mov edx, 0x809208
mov eax, dword [ebp - 8]
call fcn.006c694c
push 0x809248
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
call fcn.004276e4
push dword [ebp - 0x20]
push 0x809274
mov eax, dword [ebp - 8]
push dword [eax + 0xc4]
push 0x809284
mov eax, dword [ebp - 8]
add eax, 0xbc
mov edx, 5
call fcn.0040b3b0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
call fcn.0065fee4
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xbc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cdq
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.006c6920
jmp 0x809004
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.006c6920
mov eax, dword [ebp - 8]
fldz
fld qword [eax + 0x58]
fucompp
wait
fnstsw ax
sahf
ja 0x809020
call fcn.0042b348
mov eax, dword [ebp - 8]
fstp qword [eax + 0x58]
wait
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0xa0]
call fcn.0063901c
xor al, 1
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x80905b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0xa0]
call fcn.006390e4
xor eax, eax
push ebp
push 0x809177
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x809324
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
call fcn.004276e4
push dword [ebp - 0x2c]
push 0x809274
mov eax, dword [ebp - 8]
push dword [eax + 0xc4]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040b3b0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0xa0]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0xa8]
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0xa0]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0xb0]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb4]
call fcn.004b5230
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x80913a
inc ebx
xor esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb4]
mov edx, esi
call fcn.006cdee4
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x809344
call fcn.0040b328
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0xa0]
xor ecx, ecx
mov edi, dword [eax]
call dword [edi + 0xa8]
inc esi
dec ebx
jne 0x8090f2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0xa0]
xor edx, edx
call fcn.00637ae8
cmp byte [ebp - 9], 0
je 0x80916d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0xa0]
mov edx, dword [eax]
call dword [edx + 0xdc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x8091a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8091f4
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0040a5b8
lea eax, [ebp - 0x24]
call fcn.0040f6a0
lea eax, [ebp - 0x20]
call fcn.0040a558
lea eax, [ebp - 0x1c]
call fcn.0040f6a0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040a5b8
lea eax, [ebp - 4]
call fcn.0040a558
pop eax
jmp eax