Function at 0x10038165
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [0xcc], 0
jle 0x10038236
push 0xffffffffffffffff
push 8
push 0x16016d4a
push 0x52016c51
call fcn.100b6ab5
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100381df
mov eax, 0xf
push eax
push 1
mov ebx, 0x164
call fcn.100b6aa3
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10038208
push ebx
call fcn.100b6a9d
add esp, 4
fild dword [0xcc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fdiv qword [0x790]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.10027540
mov dword [ebp - 0x10], eax
jmp 0x100382b9
call fcn.10034667
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 8
push 0x16016d4a
push 0x52016c51
call fcn.100b6ab5
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1003826a
mov eax, 0xf
push eax
push 1
mov ebx, 0x164
call fcn.100b6aa3
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10038293
push ebx
call fcn.100b6a9d
add esp, 4
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [ebp - 0x20]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x790]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.10027540
mov dword [ebp - 0x10], eax
call fcn.10034d4b
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100385dd
mov dword [ebp - 4], 0xc7
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x10038302
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x10038302
mov eax, 1
jmp 0x10038307
mov eax, 0
test eax, eax
je 0x10038334
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x100382d2
mov dword [ebp - 4], 0xc8
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x1003836b
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x1003836b
mov eax, 1
jmp 0x10038370
mov eax, 0
test eax, eax
je 0x1003839d
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x1003833b
mov dword [ebp - 4], 0x2371
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x100383d4
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x100383d4
mov eax, 1
jmp 0x100383d9
mov eax, 0
test eax, eax
je 0x10038406
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x100383a4
mov dword [ebp - 4], 0xc9
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x1003843d
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x1003843d
mov eax, 1
jmp 0x10038442
mov eax, 0
test eax, eax
je 0x1003846f
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x1003840d
mov dword [ebp - 4], 0xca
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x100384a6
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x100384a6
mov eax, 1
jmp 0x100384ab
mov eax, 0
test eax, eax
je 0x100384d8
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x10038476
mov dword [ebp - 4], 0x977
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x1003850f
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x1003850f
mov eax, 1
jmp 0x10038514
mov eax, 0
test eax, eax
je 0x10038541
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x100384df
mov eax, 0x8d6
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10036147
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10038565
push ebx
call fcn.100b6a9d
add esp, 4
cmp dword [ebp - 0x18], 0
jle 0x1003858a
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x1003858a
mov eax, 1
jmp 0x1003858f
mov eax, 0
test eax, eax
je 0x100385d8
mov eax, 0x8d6
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10036147
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100385bb
push ebx
call fcn.100b6a9d
add esp, 4
push 1
push dword [ebp - 0x18]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x10038541
jmp 0x10038881
mov dword [ebp - 4], 0xca
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x10038614
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x10038614
mov eax, 1
jmp 0x10038619
mov eax, 0
test eax, eax
je 0x10038646
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x100385e4
mov dword [ebp - 4], 0x2371
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x1003867d
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x1003867d
mov eax, 1
jmp 0x10038682
mov eax, 0
test eax, eax
je 0x100386af
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x1003864d
mov dword [ebp - 4], 0xc9
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x100386e6
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x100386e6
mov eax, 1
jmp 0x100386eb
mov eax, 0
test eax, eax
je 0x10038718
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x100386b6
mov dword [ebp - 4], 0xc8
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x1003874f
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x1003874f
mov eax, 1
jmp 0x10038754
mov eax, 0
test eax, eax
je 0x10038781
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x1003871f
mov dword [ebp - 4], 0xc7
push dword [ebp - 4]
call fcn.1003531f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x100387b8
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x100387b8
mov eax, 1
jmp 0x100387bd
mov eax, 0
test eax, eax
je 0x100387ea
push dword [ebp - 4]
call fcn.1003578e
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x10038788
mov eax, 0x8d6
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10036147
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1003880e
push ebx
call fcn.100b6a9d
add esp, 4
cmp dword [ebp - 0x18], 0
jle 0x10038833
call fcn.100345fa
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x10038833
mov eax, 1
jmp 0x10038838
mov eax, 0
test eax, eax
je 0x10038881
mov eax, 0x8d6
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10036147
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10038864
push ebx
call fcn.100b6a9d
add esp, 4
push 1
push dword [ebp - 0x18]
call fcn.10035c2f
push dword [0xd0]
call fcn.10028698
jmp 0x100387ea
mov esp, ebp
pop ebp
ret