Function at 0x10022f10
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x54
call fcn.1002d2ff
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x15
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x108
call fcn.1002d2ff
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1005d4e8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x108
call fcn.1002d2ff
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1005d4e8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x108
call fcn.1002d2ff
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1005d4e8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x1005d4f0]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10002825
mov dword [ebp - 4], eax
dec dword [ebp - 4]
push dword [ebp - 4]
call fcn.10023512
mov byte [ebp - 8], al
cmp byte [ebp - 8], 0x55
je 0x10023024
cmp byte [ebp - 8], 0x8b
je 0x10023024
cmp byte [ebp - 8], 0xcc
je 0x10023024
cmp byte [ebp - 8], 0xe8
je 0x10023024
mov eax, 1
jmp 0x10023029
mov eax, 0
test eax, eax
jne 0x10022fe7
push dword [ebp - 4]
call fcn.10023537
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.1002e950
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 4
mov eax, dword [ebp - 0x10]
push eax
push 0x348
call fcn.1002d2ff
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002318c
add eax, 8
push eax
xor eax, eax
call dword [0x101455e9]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100231b3
push 0x1cd
push 0x4013e19
push 6
call fcn.1002d311
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x20]
push ebx
mov edi, dword [ebp - 0x24]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.1002dbf0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x100231f4
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x100231f2
imul eax, dword [edi]
jmp 0x100231e7
mov ecx, eax
cmp ecx, 0x100
jle 0x10023201
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
push ebx
push edi
push 1
mov eax, 2
call fcn.1002dbf0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x1002323f
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1002323d
imul eax, dword [edi]
jmp 0x10023232
mov ecx, eax
cmp ecx, 0x100
jle 0x1002324c
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
push ebx
push edi
push 1
mov eax, 2
call fcn.1002dbf0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x1002328a
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10023288
imul eax, dword [edi]
jmp 0x1002327d
mov ecx, eax
cmp ecx, 0x100
jle 0x10023297
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.1002d305
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10023369
push ebx
call fcn.1002d305
add esp, 4
push dword [ebp - 4]
call fcn.10023fda
mov dword [ebp - 0x18], eax
push 0x80000101
push 0
push 9
push 1
mov ebx, 0x140
call fcn.1002dd60
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x20], ebx
push 0xa0000101
push 0
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.1002e150
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x1005d4f8
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push 0x1005d4fb
push dword [ebp - 0x18]
push dword [ebp - 0x14]
mov ecx, 6
call fcn.100028b7
add esp, 0x18
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100233f5
push ebx
call fcn.1002d305
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10023405
push ebx
call fcn.1002d305
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10023415
push ebx
call fcn.1002d305
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10023429
push ebx
call fcn.1002d305
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.10002825
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x10023490
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fild dword [ebp + 8]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x48]
fsub qword [ebp - 0x50]
fcomp qword [0x1005cedd]
fnstsw ax
test ah, 0x41
je 0x10023490
mov eax, 1
jmp 0x10023495
mov eax, 0
test eax, eax
jne 0x1002302d
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100234b9
push eax
mov ebx, eax
call fcn.1000284c
inc eax
push eax
call fcn.1002d2ff
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100234be
push eax
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1002d305
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1002d305
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1002d305
add esp, 4
pop ebx
call fcn.1002d305
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1002350b
push ebx
call fcn.1002d305
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4