Function at 0x1001a220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esi + 4]
push edi
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x1c], edi
jle 0x1001a527
mov eax, dword [esi + 0xc]
xor edx, edx
cmp dword [edi + eax + 0x60], edx
mov dword [esp + 0x18], edx
jle 0x1001a50e
mov ecx, dword [edi + eax + 0x68]
lea ebp, [edx*8]
sub ebp, edx
add ebp, ebp
add ebp, ebp
cmp dword [ecx + ebp + 8], 0
je 0x1001a4fa
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x1001a4fa
mov ecx, edx
shl ecx, 4
sub ecx, edx
add ecx, ecx
add ecx, ecx
add ecx, ecx
jmp 0x1001a290
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
jne 0x1001a2a3
mov edx, dword [esp + 0x18]
add edx, 1
jmp 0x1001a2a5
xor edx, edx
cmp edx, dword [ecx + eax + 0x60]
mov dword [esp + 0x24], edx
jge 0x1001a4e1
lea ebx, [edx*8]
sub ebx, edx
add ebx, ebx
add ebx, ebx
mov edx, dword [esi + 0xc]
fnstcw word [esp + 0x12]
mov eax, dword [edi + edx + 0x68]
fld qword [edi + edx + 0x20]
add eax, ebp
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
movzx eax, word [esp + 0x12]
or ah, 0xc
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp qword [esp + 0x40]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
fldcw word [esp + 0x12]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + edx + 0x68]
add eax, ebx
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
fld qword [ecx + edx + 0x20]
mov eax, dword [eax + 4]
fnstcw word [esp + 0x12]
mov dword [esp + 0x28], eax
movzx eax, word [esp + 0x12]
or ah, 0xc
mov dword [esp + 0x40], eax
fldcw word [esp + 0x40]
mov eax, dword [esp + 0x20]
fistp qword [esp + 0x40]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x30]
cmp eax, dword [edx + 8]
fldcw word [esp + 0x12]
jne 0x1001a4c6
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
sub eax, edx
jns 0x1001a37b
sub edx, dword [esp + 0x34]
mov dword [esp + 0x34], edx
jmp 0x1001a37f
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
cdq
idiv dword [esi + 0x2c]
cmp dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
jg 0x1001a4c6
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x20]
sub eax, dword [esp + 0x2c]
jns 0x1001a3af
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x38]
add eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jge 0x1001a430
mov eax, dword [esi + 0xc]
mov edx, dword [edi + eax + 0x68]
mov eax, dword [esp + 0x28]
mov dword [edx + ebp + 4], eax
mov eax, dword [esi + 0xc]
mov edx, dword [edi + eax + 0x68]
mov eax, dword [ecx + eax + 0x68]
mov eax, dword [eax + ebx + 0x10]
add dword [edx + ebp + 0x10], eax
mov eax, dword [esi + 0xc]
lea edx, [edx + ebp + 0x10]
mov edx, dword [edi + eax + 0x68]
mov eax, dword [ecx + eax + 0x68]
fld dword [eax + ebx + 0x18]
lea edx, [edx + ebp + 0x18]
fadd dword [edx]
fstp dword [edx]
mov edx, dword [esi + 0xc]
mov eax, dword [edi + edx + 0x68]
fld dword [eax + ebp + 0x18]
lea eax, [eax + ebp + 0x18]
fmul dword [0x307fb80]
fstp dword [eax]
mov edx, dword [esi + 0xc]
mov edx, dword [ecx + edx + 0x68]
xor eax, eax
mov dword [ebx + edx], eax
mov edx, dword [esi + 0xc]
mov edx, dword [ecx + edx + 0x68]
mov dword [edx + ebx + 4], eax
mov edx, dword [esi + 0xc]
mov edx, dword [ecx + edx + 0x68]
mov dword [edx + ebx + 8], eax
jmp 0x1001a4c6
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
jns 0x1001a44a
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x3c]
add eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x30]
jge 0x1001a4c6
mov eax, dword [esi + 0xc]
mov edx, dword [ecx + eax + 0x68]
mov eax, dword [esp + 0x2c]
mov dword [edx + ebx + 4], eax
mov eax, dword [esi + 0xc]
mov edx, dword [ecx + eax + 0x68]
mov eax, dword [edi + eax + 0x68]
mov eax, dword [eax + ebp + 0x10]
add dword [edx + ebx + 0x10], eax
mov eax, dword [esi + 0xc]
lea edx, [edx + ebx + 0x10]
mov edx, dword [ecx + eax + 0x68]
mov eax, dword [edi + eax + 0x68]
fld dword [eax + ebp + 0x18]
lea edx, [edx + ebx + 0x18]
fadd dword [edx]
fstp dword [edx]
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + edx + 0x68]
fld dword [eax + ebx + 0x18]
lea eax, [eax + ebx + 0x18]
fmul dword [0x307fb80]
fstp dword [eax]
mov edx, dword [esi + 0xc]
mov edx, dword [edi + edx + 0x68]
xor eax, eax
mov dword [edx + ebp], eax
mov edx, dword [esi + 0xc]
mov edx, dword [edi + edx + 0x68]
mov dword [edx + ebp + 4], eax
mov edx, dword [esi + 0xc]
mov edx, dword [edi + edx + 0x68]
mov dword [edx + ebp + 8], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
add edx, 1
add ebx, 0x1c
cmp edx, dword [ecx + eax + 0x60]
mov dword [esp + 0x24], edx
jl 0x1001a2c0
add dword [esp + 0x14], 1
mov ebx, dword [esi + 4]
add ecx, 0x78
cmp dword [esp + 0x14], ebx
jl 0x1001a290
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
add edx, 1
cmp edx, dword [edi + eax + 0x60]
mov dword [esp + 0x18], edx
jl 0x1001a253
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 4]
add eax, 1
add edi, 0x78
cmp eax, ebx
mov dword [esp + 0x1c], eax
jl 0x1001a240
mov ebx, dword [esi + 4]
xor ecx, ecx
cmp ebx, ecx
mov dword [esp + 0x1c], ecx
jle 0x1001a7d1
mov dword [esp + 0x20], ecx
lea esp, [esp]
mov eax, dword [esi + 0xc]
xor edx, edx
cmp dword [ecx + eax + 0x60], edx
mov dword [esp + 0x18], edx
jle 0x1001a7b4
mov edi, dword [ecx + eax + 0x68]
lea ebp, [edx*8]
sub ebp, edx
add ebp, ebp
add ebp, ebp
cmp dword [edi + ebp + 8], 0
je 0x1001a7a0
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x1001a7a0
mov edi, edx
shl edi, 4
sub edi, edx
add edi, edi
add edi, edi
add edi, edi
jmp 0x1001a590
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
jne 0x1001a5a3
mov edx, dword [esp + 0x18]
add edx, 1
jmp 0x1001a5a5
xor edx, edx
cmp edx, dword [edi + eax + 0x60]
mov dword [esp + 0x24], edx
jge 0x1001a787
lea ebx, [edx*8]
sub ebx, edx
add ebx, ebx
add ebx, ebx
fld qword [0x307f088]
mov eax, dword [esi + 0xc]
fstp qword [esp + 0x80]
add ecx, eax
fld qword [0x307f088]
sub esp, 0x10
fstp qword [esp + 0x88]
fld qword [0x307f088]
fstp qword [esp + 0x80]
fld qword [0x307f088]
fstp qword [esp + 0x78]
fld qword [0x307f088]
fstp qword [esp + 0x70]
fld qword [0x307f088]
fstp qword [esp + 0x68]
fld qword [0x307f088]
fstp qword [esp + 0x60]
fld qword [0x307f088]
fstp qword [esp + 0x58]
mov edx, dword [ecx + 0x68]
fild dword [edx + ebp]
lea eax, [edx + ebp]
fild dword [eax + 0xc]
fld qword [ecx + 0x20]
fsub st(1)
fild dword [eax + 4]
mov eax, dword [esi + 0xc]
lea ecx, [edi + eax]
fsub st(3)
fxch st(3)
fstp qword [esp + 0x78]
fstp qword [esp + 0x80]
fxch st(1)
fstp qword [esp + 0x88]
fstp qword [esp + 0x90]
mov edx, dword [ecx + 0x68]
fild dword [edx + ebx]
lea eax, [edx + ebx]
fild dword [eax + 0xc]
fld qword [ecx + 0x20]
lea ecx, [esp + 0x78]
fsub st(1)
fild dword [eax + 4]
mov eax, dword [esi + 0x2c]
neg eax
mov dword [esp + 0x50], eax
fsub st(3)
fxch st(3)
fstp qword [esp + 0x58]
fstp qword [esp + 0x60]
fxch st(1)
fstp qword [esp + 0x68]
fstp qword [esp + 0x70]
fild dword [esp + 0x50]
fst qword [esp + 8]
fstp qword [esp]
call fcn.10059280
mov ecx, dword [esi + 0x2c]
neg ecx
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
sub esp, 0x10
lea ecx, [esp + 0x58]
fst qword [esp + 8]
fstp qword [esp]
call fcn.10059280
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x6c]
call fcn.100592c0
test al, al
je 0x1001a768
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + ecx + 0x68]
mov ecx, dword [edi + ecx + 0x68]
mov edx, dword [edx + ebp + 0x14]
mov ecx, dword [ecx + ebx + 0x14]
cmp ecx, edx
jge 0x1001a716
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + edx + 0x68]
xor eax, eax
mov dword [ecx + ebx + 8], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + edx + 0x68]
mov dword [ebx + ecx], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + edx + 0x68]
mov dword [ecx + ebx + 4], eax
jmp 0x1001a768
jg 0x1001a746
mov ecx, dword [esi + 0xc]
mov edx, dword [edi + ecx + 0x68]
mov eax, dword [eax + ecx + 0x68]
mov ecx, dword [edx + ebx + 4]
sub ecx, dword [edx + ebx]
add edx, ebx
mov edx, dword [eax + ebp + 4]
sub edx, dword [eax + ebp]
add eax, ebp
cmp edx, ecx
jle 0x1001a742
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + eax + 0x68]
jmp 0x1001a6f9
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0xc]
mov edx, dword [eax + edx + 0x68]
xor ecx, ecx
mov dword [edx + ebp + 8], ecx
mov edx, dword [esi + 0xc]
mov edx, dword [eax + edx + 0x68]
mov dword [edx + ebp], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [eax + edx + 0x68]
mov dword [eax + ebp + 4], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
add ecx, 1
add ebx, 0x1c
cmp ecx, dword [edi + eax + 0x60]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
jl 0x1001a5c0
add dword [esp + 0x14], 1
mov ebx, dword [esi + 4]
add edi, 0x78
cmp dword [esp + 0x14], ebx
jl 0x1001a590
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
add edx, 1
cmp edx, dword [ecx + eax + 0x60]
mov dword [esp + 0x18], edx
jl 0x1001a553
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 4]
add eax, 1
add ecx, 0x78
cmp eax, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jl 0x1001a540
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret