Function at 0x4066aa
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], 0xc0e8a4b4
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov edi, dword [0x469140]
mov eax, dword [ebp - 0x10]
cmp eax, 0xf884ad7e
jg 0x40673c
cmp eax, 0xc3e74680
jle 0x40677f
cmp eax, 0xd5524248
jle 0x4067fd
cmp eax, 0xf3a5ca90
jle 0x4068e5
cmp eax, 0xf3a5ca91
je 0x406abc
cmp eax, 0xf6c95841
je 0x406aed
cmp eax, 0xf87de6dd
jne 0x4066c9
mov ecx, dword [ebp - 0x18]
shr ecx, 2
imul eax, ecx, 0x6c00
imul ecx, ecx
imul edx, ecx, 0x81f9
dec edx
mov dword [ebp - 0x18], eax
mov eax, 0xf946f9cd
cmp edx, ecx
jne 0x406cdf
jmp 0x406d57
cmp eax, 0x433b5a8a
jle 0x4067bb
cmp eax, 0x69ab8b65
jle 0x40682e
cmp eax, 0x72148f81
jle 0x406922
cmp eax, 0x72148f82
je 0x406b1c
cmp eax, 0x765fe26e
je 0x406b6c
cmp eax, 0x7db0b7c6
je 0x406916
jmp 0x4066c9
cmp eax, 0x9dde28c1
jg 0x406854
cmp eax, 0x86fcc60d
jle 0x406974
cmp eax, 0x86fcc60e
je 0x406ba0
cmp eax, 0x972b7564
je 0x406d2e
cmp eax, 0x884ae913
jne 0x4066c9
jmp 0x406de5
cmp eax, 0x1c54db3f
jg 0x4068a3
cmp eax, 0xf946f9cc
jg 0x4069ab
cmp eax, 0xf884ad7f
je 0x406bcd
cmp eax, 0xf8f83abb
jne 0x4066c9
push 0x45e102
push dword [ebp - 0x1c]
call edi
mov dword [ebp - 0x10], 0xf884ad7f
jmp 0x4066c9
cmp eax, 0xccafecae
jg 0x4069c6
cmp eax, 0xc3e74681
je 0x406bdf
cmp eax, 0xca785638
jne 0x4066c9
add dword [ebp - 0x14], 0x2c
mov dword [ebp - 0x10], 0x9dde28c2
jmp 0x4066c9
cmp eax, 0x666363fd
jg 0x406a15
cmp eax, 0x433b5a8b
je 0x406c18
cmp eax, 0x56601577
je 0x406d9c
jmp 0x4066c9
cmp eax, 0xb053617a
jg 0x406a3d
cmp eax, 0x9dde28c2
je 0x406d5f
cmp eax, 0xaf474543
jne 0x4066c9
imul esi, dword [ebp - 0x14], 0x38
and esi, 0xfffffff0
mov dword [ebp - 0x14], esi
push esi
call fcn.00404200
add esp, 4
mov eax, 0x86fcc60e
cmp esi, 0x8a
jae 0x406d57
mov eax, 0x765fe26e
jmp 0x406d57
cmp eax, 0x218043ef
jg 0x406a71
cmp eax, 0x1c54db40
je 0x406c2c
cmp eax, 0x1e738789
jne 0x4066c9
imul eax, dword [ebp - 0x18], 0x56
add eax, 0xfffffe36
shr eax, 0xb
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x884ae913
jmp 0x4066c9
cmp eax, 0xd5524249
je 0x406c59
cmp eax, 0xdf892bd2
jne 0x4066c9
imul eax, dword [ebp - 0x14], 0x37
add eax, 0x174
shr eax, 9
mov dword [ebp - 0x14], eax
sub esp, 4
push eax
call fcn.00404a03
add esp, 8
mov dword [ebp - 0x10], 0x68d27ac5
jmp 0x4066c9
cmp eax, 0x69ab8b66
je 0x406c77
cmp eax, 0x6ea7539c
jne 0x4066c9
mov eax, dword [ebp - 0x18]
mov ecx, 0xc4
add eax, ecx
mov ecx, eax
and ecx, 0x7ffff
imul eax, eax
imul edx, eax, 0x7af
add ecx, 0x22
dec edx
shr ecx, 5
mov dword [ebp - 0x18], ecx
mov ecx, 0x56601577
cmp eax, edx
je 0x406c10
mov ecx, 0xf6c95841
jmp 0x406c10
cmp eax, 0x80249ff4
je 0x406c91
cmp eax, 0x84d55917
jne 0x4066c9
mov eax, dword [ebp + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0xcc
mov eax, 0x1c54db40
je 0x406d57
mov eax, 0x330f3697
jmp 0x406d57
cmp eax, 0xf946f9cd
je 0x406ca2
cmp eax, 0xfcc75be0
je 0x406d15
jmp 0x4066c9
cmp eax, 0xccafecaf
je 0x406cc3
cmp eax, 0xccfc78f4
jne 0x4066c9
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + 0xd3]
add ecx, 0x5f
imul eax, eax
shr ecx, 0xb
imul edx, eax, 0x7b65
dec edx
add ecx, 0xac
mov dword [ebp - 0x18], ecx
mov ecx, 0xf3a5ca91
cmp edx, eax
je 0x406c10
mov ecx, 0x84d55917
jmp 0x406c10
cmp eax, 0x666363fe
je 0x406ce6
cmp eax, 0x68d27ac5
jne 0x4066c9
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0xf87de6dd
jmp 0x4066c9
cmp eax, 0xb053617b
je 0x406cfe
cmp eax, 0xc0e8a4b4
jne 0x4066c9
push 2
push 0x104
call fcn.00447c47
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0x7db0b7c6
jmp 0x4066c9
cmp eax, 0x218043f0
je 0x406d7d
cmp eax, 0x330f3697
jne 0x4066c9
mov eax, dword [ebp - 0x18]
imul ecx, eax, 0x6d
imul ecx, ecx
imul edx, ecx, 0x26e7
dec edx
imul eax, eax, 0x261b8
add eax, 0xffff1aa8
mov dword [ebp - 0x18], eax
mov eax, 0x218043f0
cmp edx, ecx
je 0x406d57
mov eax, 0xb053617b
jmp 0x406d57
mov eax, dword [ebp - 0x2c]
push dword [eax]
push dword [ebp - 0x20]
call edi
push 0x45e0a8
call fcn.00436ce1
add esp, 4
push eax
push dword [ebp - 0x20]
call edi
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x10], 0xccfc78f4
jmp 0x4066c9
push dword [ebp - 0x34]
push dword [ebp - 0x1c]
call edi
push 0x45e106
call fcn.00436ce1
add esp, 4
push eax
push dword [ebp - 0x1c]
call edi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call edi
mov dword [ebp - 0x10], 0x1e738789
jmp 0x4066c9
imul esi, dword [ebp - 0x14], 0x3b40
add esi, 0xffff0169
mov dword [ebp - 0x14], esi
push 0
push 0x11db
push 0xa82
push esi
call fcn.00405adc
add esp, 0x10
push 0xab5
push esi
push 0x3333
call fcn.004054e2
add esp, 0xc
mov eax, 0x68d27ac5
cmp esi, 0x7c
jb 0x406d57
mov eax, 0xca785638
jmp 0x406d57
imul esi, dword [ebp - 0x14], 0x53
shr esi, 2
add esi, 0xfffffe77
mov dword [ebp - 0x14], esi
push esi
call fcn.00404200
add esp, 4
mov eax, 0xf6c95841
cmp esi, 0xeb
jae 0x406d57
mov eax, 0xf8f83abb
jmp 0x406d57
mov eax, dword [ebp - 0x14]
shl eax, 6
and eax, 0x1ffffc0
add eax, 0xe2
mov dword [ebp - 0x14], eax
push eax
push 0x1b9b
call fcn.00405588
add esp, 8
mov dword [ebp - 0x10], 0xf6c95841
jmp 0x4066c9
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0x6ea7539c
jmp 0x4066c9
mov eax, dword [ebp - 0x18]
shr eax, 2
add eax, 0x14d
mov ecx, eax
shr ecx, 9
imul eax, eax
imul edx, eax, 0x29af
dec edx
add ecx, 0xfffffd89
mov dword [ebp - 0x18], ecx
mov ecx, 0xd5524249
cmp eax, edx
je 0x406c10
mov ecx, 0x80249ff4
mov dword [ebp - 0x10], ecx
jmp 0x4066c9
push dword [ebp - 0x30]
push dword [ebp - 0x1c]
call edi
mov dword [ebp - 0x10], 0xf8f83abb
jmp 0x4066c9
mov eax, dword [ebp - 0x18]
add eax, 0x13
lea ecx, [eax + eax*2]
mov edx, eax
imul edx, eax
imul esi, edx, 0xc6b
dec esi
shr ecx, 0xe
mov dword [ebp - 0x18], ecx
mov eax, 0x69ab8b66
cmp esi, edx
jne 0x406d52
jmp 0x406d57
mov ecx, dword [ebp - 0x14]
shr ecx, 0xc
and ecx, 0xfffffffc
mov dword [ebp - 0x14], ecx
mov eax, 0x72148f82
cmp ecx, 0xde
jb 0x406cdf
jmp 0x406d57
mov eax, dword [ebp - 0x14]
shl eax, 0xc
add eax, 0xfff2af55
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xf3a5ca91
jmp 0x4066c9
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0x433b5a8b
jmp 0x4066c9
imul ecx, dword [ebp - 0x14], 0x13c00
mov dword [ebp - 0x14], ecx
mov eax, 0xdf892bd2
test ecx, ecx
je 0x406d57
mov eax, 0x68d27ac5
jmp 0x406d57
mov ecx, dword [ebp - 0x14]
shl ecx, 2
and ecx, 0xffffc000
mov dword [ebp - 0x14], ecx
mov eax, 0x68d27ac5
cmp ecx, 0xb5
jl 0x406d57
mov eax, 0xf3a5ca91
jmp 0x406d57
popal
jmp 0x406ce7
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
cmp eax, 0xcd03
je 0x406d2e
movzx eax, ax
cmp eax, 0xf0b
jne 0x406d5f
imul eax, dword [ebp - 0x18], 0x9140000
add eax, 0xffffffd9
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x666363fe
jmp 0x4066c9
mov eax, dword [ebp - 0x18]
shr eax, 0x11
mov ecx, eax
imul ecx, eax
imul edx, ecx, 0x3daf
dec edx
shl eax, 8
lea eax, [eax + eax*4]
mov dword [ebp - 0x18], eax
mov eax, 0x68d27ac5
cmp edx, ecx
je 0x406d57
mov eax, 0x666363fe
mov dword [ebp - 0x10], eax
jmp 0x4066c9
push 2
push 0x104
call fcn.00447c47
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xc3e74681
jmp 0x4066c9
imul eax, dword [ebp - 0x14], 0x1c80000
mov dword [ebp - 0x14], eax
push eax
call fcn.00405ea1
add esp, 4
mov dword [ebp - 0x10], 0x84d55917
jmp 0x4066c9
mov esi, dword [ebp - 0x14]
shr esi, 0xc
add esi, 0xffffff42
mov edi, esi
shr edi, 2
mov dword [ebp - 0x14], edi
push 0x12c2
push edi
call fcn.004044d5
add esp, 8
push 0x3613
push edi
call fcn.0040461c
fstp st(0)
add esp, 8
mov eax, 0x9dde28c2
cmp esi, 0x68
jae 0x406ddd
mov eax, 0x84d55917
mov dword [ebp - 0x10], eax
jmp 0x4066c3
push 0x45e138
call fcn.00436ce1
add esp, 4
push dword [ebp + 0x14]
push 0
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call fcn.0040ed4e
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret