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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d30fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push esi
push edi
mov edi, dword [0x10185028]
mov dword [ebp - 0x38], edi
mov eax, dword [edi + 0x3e40]
mov byte [eax + 0xac], 1
mov esi, dword [edi + 0x3e40]
mov dword [ebp - 0x30], esi
cmp byte [esi + 0xaf], 0
jne 0x1005ab6d
mov eax, dword [ebp + 0x14]
and eax, 0x3000000
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x68]
push eax
call fcn.10010a00
movss xmm2, dword [0x100d5914]
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x1005aabc
movss xmm1, dword [ebp - 0x64]
maxss xmm1, xmm2
jmp 0x1005aabf
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x68]
sub esp, 8
mov eax, dword [ebp + 0x18]
maxss xmm0, xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x70]
push eax
call fcn.1001b240
movss xmm0, dword [esi + 0xf0]
add esp, 0x14
cmp dword [ebp - 0x28], 0
movaps xmm2, xmm0
movss xmm1, dword [ebp - 0x6c]
addss xmm1, dword [esi + 0xf4]
addss xmm2, dword [ebp - 0x70]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [esi + 0xf4]
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x54], xmm1
movss dword [ebp - 0x58], xmm2
je 0x1005ab7f
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.1001b180
add esp, 8
test al, al
je 0x1005ab7f
movss xmm0, dword [ebp - 0x58]
lea eax, [ebp - 0x44]
subss xmm0, dword [ebp - 0x60]
push ecx
mov dword [esp], 0xbf800000
push eax
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x54]
subss xmm0, dword [ebp - 0x5c]
movss dword [ebp - 0x40], xmm0
call fcn.1001ad60
add esp, 8
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x4a04]
push 0xffffffffffffffff
push eax
call fcn.10015ac0
mov edx, eax
mov ecx, dword [edx]
cmp ecx, 0xffffffff
je 0x1005aba4
imul esi, ecx, 0x1e8
jmp 0x1005ac83
mov eax, dword [edi + 0x4a10]
mov dword [edx], eax
mov ecx, dword [edi + 0x4a10]
mov edx, dword [edi + 0x49f8]
mov dword [ebp - 0x10], ecx
cmp ecx, edx
jne 0x1005ac56
mov ecx, dword [edi + 0x49fc]
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, ecx
jle 0x1005ac41
test ecx, ecx
je 0x1005abe3
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x2c]
sar eax, 1
add eax, ecx
jmp 0x1005abe8
mov eax, 8
cmp eax, edx
mov esi, edx
cmovg esi, eax
cmp esi, ecx
jle 0x1005ac41
imul eax, esi, 0x1e8
push eax
call fcn.10014660
mov edx, dword [edi + 0x4a00]
add esp, 4
mov dword [ebp - 0x20], eax
test edx, edx
je 0x1005ac32
imul ecx, dword [edi + 0x49f8], 0x1e8
push ecx
push edx
push eax
call fcn.100b11a0
push dword [edi + 0x4a00]
call fcn.10014690
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov edx, dword [ebp - 0x2c]
mov dword [edi + 0x4a00], eax
mov dword [edi + 0x49fc], esi
mov dword [edi + 0x49f8], edx
inc dword [edi + 0x4a10]
imul esi, dword [ebp - 0x10], 0x1e8
jmp 0x1005ac6b
mov eax, dword [edi + 0x4a00]
imul esi, ecx, 0x1e8
mov eax, dword [esi + eax]
mov dword [edi + 0x4a10], eax
mov ecx, dword [edi + 0x4a00]
add ecx, esi
mov dword [ebp - 0x24], ecx
je 0x1005ac7d
call fcn.10060440
inc dword [edi + 0x4a14]
mov eax, dword [edi + 0x4a00]
add esi, eax
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + 4]
mov dword [ebp - 0x20], ecx
mov ecx, esi
sub ecx, eax
mov eax, 0x4325c53f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x49e8]
inc eax
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x49e8], eax
cmp eax, dword [edi + 0x49ec]
jle 0x1005adde
push 0x68
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.100b1720
add esp, 0xc
mov dword [ebp - 0xd4], 0xbf800000
mov eax, dword [edi + 0x49f0]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0
cmp ecx, eax
jle 0x1005ad75
test eax, eax
je 0x1005ad0c
cdq
sub eax, edx
mov edx, dword [edi + 0x49f0]
sar eax, 1
add eax, edx
jmp 0x1005ad17
mov edx, dword [edi + 0x49f0]
mov eax, 8
cmp eax, ecx
mov esi, ecx
cmovg esi, eax
mov eax, esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x34]
cmp eax, edx
jle 0x1005ad75
imul eax, eax, 0x68
push eax
call fcn.10014660
mov edx, dword [edi + 0x49f4]
add esp, 4
mov dword [ebp - 0x14], eax
test edx, edx
je 0x1005ad63
imul ecx, dword [edi + 0x49ec], 0x68
push ecx
push edx
push eax
call fcn.100b11a0
push dword [edi + 0x49f4]
call fcn.10014690
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x49f4], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x49f0], eax
mov eax, dword [edi + 0x49ec]
cmp ecx, eax
jle 0x1005ada8
imul edx, eax, 0x68
mov edi, dword [edi + 0x49f4]
lea esi, [ebp - 0xd8]
add edi, edx
mov ecx, 0x1a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1c]
inc eax
mov edi, dword [ebp - 0x38]
add edx, 0x68
cmp eax, ecx
jl 0x1005ad82
mov esi, dword [ebp - 0x34]
mov dword [edi + 0x49ec], ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 1
call fcn.10045ac0
mov eax, dword [ebp - 0xb8]
mov byte [ebp - 4], 2
test eax, eax
je 0x1005add7
push eax
call fcn.10014690
add esp, 4
mov dword [ebp - 4], 0xffffffff
imul ecx, dword [edi + 0x49e8], 0x68
mov eax, dword [edi + 0x49f4]
mov edx, dword [ebp + 0x14]
add ecx, 0xffffff98
add eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x18], eax
mov dword [eax], ecx
mov ecx, edx
mov eax, dword [esi + 0xc]
add eax, 0x10
test edx, 0xe000
mov dword [esi + 0x160], eax
mov dword [eax], 0
mov dword [eax + 4], 1
sete al
mov byte [esi + 0x1e2], al
test ecx, 0xe000
jne 0x1005ae4d
test edx, 0x1000000
jne 0x1005ae46
mov eax, dword [ebp - 0x30]
test byte [eax + 0xc], 0x40
mov eax, 0x8000
je 0x1005ae4b
mov eax, 0x2000
or edx, eax
mov eax, edx
mov ecx, edx
or ecx, 0x40000
and eax, 0xe000
cmp eax, 0x4000
mov eax, dword [ebp - 0x30]
cmovne ecx, edx
mov edx, ecx
or edx, 0x200
mov eax, dword [eax + 0x300]
test cl, 1
cmove edx, ecx
mov ecx, edx
and ecx, 0xfffcffff
test edx, 0x3000000
cmove ecx, edx
mov edx, ecx
and edx, 0xfffff7ff
test ecx, 0x1000
cmove edx, ecx
mov ecx, edx
or ecx, 0x10
test dl, 0xf
cmovne ecx, edx
mov edx, ecx
or edx, 0x10
test dword [eax + 0xc], 0x100
mov eax, dword [esi + 0x3c]
cmove edx, ecx
mov dword [ebp - 0x1c], edx
cmp eax, dword [edi + 0x3de0]
je 0x1005aece
mov dword [ebp - 0x14], 0
jmp 0x1005aed6
movsx eax, word [esi + 0x4c]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
movss xmm3, dword [ebp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [edi + 0x3de0]
mov edi, dword [ebp - 0x18]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x150], eax
mov dword [esi + 0x14c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x40], eax
mov byte [esi + 0x1d6], 0
movss dword [esi + 0xa0], xmm3
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 8], eax
mov eax, edi
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x14]
mov word [esi + 0x4c], ax
test eax, eax
jle 0x1005b01e
mov ecx, dword [esi + 0x174]
cmp ecx, eax
jge 0x1005aff4
mov eax, dword [esi + 0x178]
cmp ecx, eax
jne 0x1005afc1
inc ecx
test eax, eax
je 0x1005af62
cdq
sub eax, edx
mov edx, dword [esi + 0x178]
sar eax, 1
add eax, edx
jmp 0x1005af6d
mov edx, dword [esi + 0x178]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edx
jle 0x1005afc1
mov eax, ecx
shl eax, 4
push eax
call fcn.10014660
mov edi, eax
add esp, 4
mov eax, dword [esi + 0x17c]
test eax, eax
je 0x1005afb2
mov ecx, dword [esi + 0x174]
shl ecx, 4
push ecx
push eax
push edi
call fcn.100b11a0
push dword [esi + 0x17c]
call fcn.10014690
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x17c], edi
mov dword [esi + 0x178], eax
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x17c]
add ecx, ecx
mov dword [eax + ecx*8], 0
mov dword [eax + ecx*8 + 4], 0
mov dword [eax + ecx*8 + 8], 0
mov dword [eax + ecx*8 + 0xc], 0
inc dword [esi + 0x174]
push dword [ebp + 0xc]
push 0
push str.Instances
call fcn.1001acd0
push eax
push dword [ebp - 0x14]
call fcn.1001ad20
movss xmm3, dword [ebp + 0x1c]
add esp, 0x14
mov edx, dword [ebp - 0x1c]
mov edi, eax
mov dword [ebp - 0x10], eax
jmp 0x1005b024
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
movsx ecx, word [esi + 0x4c]
test ecx, ecx
jne 0x1005b034
lea eax, [esi + 0x164]
jmp 0x1005b042
mov eax, dword [esi + 0x17c]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
cmp dword [ebp - 0x28], 0
mov dword [eax], edi
mov edi, dword [ebp - 0x38]
je 0x1005b1b9
movss xmm1, dword [0x100d939c]
mov eax, edx
and eax, 0x3000000
movaps xmm2, xmm1
movaps xmm0, xmm1
cmp eax, 0x1000000
jne 0x1005b075
movss xmm0, dword [0x100ee59c]
test edx, 0x1000000
je 0x1005b09f
xorps xmm4, xmm4
comiss xmm3, xmm4
jbe 0x1005b09f
ucomiss xmm3, xmm1
movaps xmm2, xmm3
lahf
test ah, 0x44
jnp 0x1005b09f
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005b0a8
xorps xmm0, xmm0
jmp 0x1005b0b4
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005b0ca
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1005b0b4
xorps xmm2, xmm2
lea eax, [ebp - 0x44]
movss dword [ebp - 0x44], xmm2
push eax
movss dword [ebp - 0x40], xmm0
call fcn.100107c0
add esp, 4
test dword [ebp - 0x20], 0x3000000
jne 0x1005b0ed
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
mov dword [ebp - 0x40], 0
call fcn.10010840
add esp, 4
movss xmm0, dword [ebp - 0x58]
subss xmm0, dword [ebp - 0x60]
mov eax, dword [ebp - 0x1c]
shr eax, 0xd
and eax, 0x800
push eax
movss dword [ebp - 0x44], xmm0
lea eax, [ebp - 0x44]
movss xmm0, dword [ebp - 0x54]
subss xmm0, dword [ebp - 0x5c]
push 0
push eax
push dword [ebp - 0x10]
push dword [ebp + 8]
movss dword [ebp - 0x40], xmm0
call fcn.1001b830
mov ecx, dword [edi + 0x3e40]
add esp, 0x14
cmp dword [ebp - 0x14], 0
mov dword [esi + 0x150], ecx
movups xmm0, xmmword [ecx + 0x1f0]
movups xmmword [esi + 0xdc], xmm0
movss xmm0, dword [ecx + 0x18]
movss xmm1, dword [ecx + 0x14]
movss dword [ebp - 0x48], xmm0
addss xmm0, dword [ecx + 0x20]
movss dword [ebp - 0x4c], xmm1
addss xmm1, dword [ecx + 0x1c]
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x44], xmm1
movups xmm0, xmmword [ebp - 0x4c]
movups xmmword [esi + 0xbc], xmm0
movups xmm0, xmmword [ecx + 0x1d0]
movups xmmword [esi + 0xcc], xmm0
jne 0x1005b19f
mov al, byte [esi + 0x1e3]
mov byte [esi + 0x1e4], al
mov byte [esi + 0x1e3], 0
movss xmm0, dword [ecx + 0x84]
comiss xmm0, dword [0x100d5908]
seta al
or byte [esi + 0x1e3], al
jmp 0x1005b1e0
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [esi + 0xcc], xmm0
movups xmm0, xmmword [esi + 0xcc]
movups xmmword [esi + 0xbc], xmm0
movups xmm0, xmmword [esi + 0xcc]
movups xmmword [esi + 0xdc], xmm0
push dword [ebp + 0xc]
call fcn.1001ac90
add esp, 4
cmp dword [ebp - 0x14], 0
jle 0x1005b1fc
push dword [ebp - 0x10]
call fcn.1001ac90
add esp, 4
mov edx, dword [esi + 0x150]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov eax, dword [edx + 0x134]
mov dword [esi + 0x84], eax
lea eax, [edx + 0x210]
movups xmm0, xmmword [eax]
mov dword [ebp - 0x24], eax
movups xmmword [esi + 0x12c], xmm0
mov al, byte [edx + 0xaf]
mov byte [esi + 0x1e6], al
movups xmm0, xmmword [edx + 0x1f0]
mov eax, dword [ebp - 0x30]
movups xmmword [ecx + 0x24], xmm0
movups xmm0, xmmword [edx + 0x200]
movups xmmword [ecx + 0x34], xmm0
mov eax, dword [eax + 0x138]
mov dword [ecx + 0x5c], eax
mov eax, dword [edx + 0x120]
mov ecx, dword [edx + 0x124]
mov dword [edi + 0x44], eax
mov eax, edi
mov dword [eax + 0x48], ecx
mov eax, dword [edx + 0x118]
mov ecx, dword [edx + 0x11c]
mov dword [edi + 0x4c], eax
mov eax, edi
mov dword [eax + 0x50], ecx
mov eax, dword [edx + 0x108]
mov ecx, dword [edx + 0x10c]
mov dword [edi + 0x54], eax
mov eax, edi
mov edi, dword [ebp - 0x30]
mov dword [eax + 0x58], ecx
mov eax, dword [edi + 0x1a0]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x60], eax
mov eax, dword [edi + 0x1a8]
mov dword [ecx + 0x64], eax
mov dword [edx + 0x118], 0
mov dword [edx + 0x11c], 0
mov dword [edx + 0x120], 0
mov dword [edx + 0x124], 0
mov edx, dword [ebp - 0x1c]
test edx, 0x400000
je 0x1005b2e5
mov byte [ebp - 0x10], 0
jmp 0x1005b300
test edx, 0x200000
je 0x1005b2f3
mov byte [ebp - 0x10], 1
jmp 0x1005b300
mov eax, edx
shr eax, 0xa
and eax, 0xffffff01
mov dword [ebp - 0x10], eax
movss xmm5, dword [0x100d5914]
mov ecx, edx
shr ecx, 0x17
mov eax, edx
not cl
xorps xmm3, xmm3
and cl, 1
and eax, 0x200
mov dword [ebp - 0x3c], eax
je 0x1005b326
movaps xmm4, xmm5
jmp 0x1005b329
xorps xmm4, xmm4
mov edi, dword [ebp - 0x38]
test cl, cl
je 0x1005b460
test eax, eax
jne 0x1005b460
movss xmm1, dword [edi + 0x37fc]
lea eax, [edi + 0x37fc]
mov dword [ebp - 0x28], eax
xorps xmm2, xmm2
movss dword [esi + 0x9c], xmm1
movaps xmm0, xmm1
movss dword [esi + 0x90], xmm2
addss xmm0, xmm4
movss dword [esi + 0x98], xmm0
mov eax, dword [edi + 0x3800]
mov dword [esi + 0x94], eax
test edx, 0x400
jne 0x1005b386
xorps xmm5, xmm5
cmp byte [ebp - 0x10], 0
je 0x1005b393
mov eax, dword [ebp - 0x28]
movss xmm3, dword [eax]
mov edi, dword [ebp - 0x30]
addss xmm3, xmm5
mov dword [esi + 0x48], 0xffffffff
lea ecx, [esi + 0xdc]
mov dword [esi + 0x44], 0xffffffff
xor eax, eax
cmp dword [ebp - 0x14], edi
mov word [esi + 0x66], ax
mov eax, ecx
cmovne eax, dword [ebp - 0x24]
subss xmm3, xmm2
mov dword [esi + 0x68], 0
movss dword [esi + 0x8c], xmm3
movups xmm0, xmmword [eax]
movups xmmword [esi + 0xec], xmm0
movss xmm3, dword [ecx]
movss xmm4, dword [ecx + 4]
maxss xmm4, dword [esi + 0xf0]
maxss xmm3, dword [esi + 0xec]
movss dword [esi + 0xf0], xmm4
movss dword [esi + 0xec], xmm3
movss xmm1, dword [esi + 0xf4]
movss xmm0, dword [ecx + 0xc]
minss xmm1, dword [ecx + 8]
minss xmm0, dword [esi + 0xf8]
movss dword [esi + 0xf4], xmm1
movss dword [esi + 0xf8], xmm0
movss xmm2, dword [esi + 0x130]
comiss xmm2, xmm4
movss xmm1, dword [esi + 0x134]
ja 0x1005b44e
movss xmm2, dword [esi + 0x138]
minss xmm2, xmm4
movss xmm0, dword [esi + 0x12c]
comiss xmm0, xmm3
jbe 0x1005b487
movaps xmm1, xmm0
jmp 0x1005b48b
lea eax, [edi + 0x37fc]
xorps xmm1, xmm1
mov dword [ebp - 0x28], eax
test cl, cl
je 0x1005b34d
cmp dword [ebp - 0x3c], 0
je 0x1005b34d
movss xmm2, dword [eax]
jmp 0x1005b350
minss xmm1, xmm3
movss dword [esi + 0xec], xmm1
movss dword [esi + 0xf0], xmm2
movss xmm2, dword [esi + 0xf8]
movss xmm1, dword [esi + 0x130]
comiss xmm1, xmm2
ja 0x1005b4bc
movss xmm1, dword [esi + 0x138]
minss xmm1, xmm2
movss xmm2, dword [esi + 0xf4]
comiss xmm0, xmm2
ja 0x1005b4d5
movss xmm0, dword [esi + 0x134]
minss xmm0, xmm2
mov eax, dword [ebp - 0x14]
movss dword [esi + 0xf4], xmm0
movss dword [esi + 0xf8], xmm1
test edx, 0x20000
je 0x1005b4fe
movss xmm0, dword [eax + 0x1fc]
minss xmm0, xmm1
jmp 0x1005b506
movss xmm0, dword [eax + 0x21c]
push ecx
xor eax, eax
movss dword [esi + 0xf8], xmm0
movss xmm0, dword [esi + 0xe0]
mov dword [esp], 0x3f800000
push 0x2b
movss dword [esi + 0x54], xmm0
movss dword [esi + 0x50], xmm0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x1c6], eax
mov dword [esi + 0x1ca], eax
mov byte [esi + 0x1e1], 1
mov word [esi + 0x1aa], ax
call fcn.10011380
add esp, 4
mov dword [esi + 0x74], eax
mov dword [esp], 0x3f800000
push 0x2c
call fcn.10011380
mov edi, dword [ebp - 0x38]
add esp, 8
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x49e4], esi
mov dword [ecx + 0x194], edx
cmp eax, ecx
je 0x1005b58e
mov dword [eax + 0x194], edx
test byte [ebp - 0x20], 2
je 0x1005b5a1
test byte [ebp - 0x1c], 2
jne 0x1005b5a1
mov byte [esi + 0x1e0], 1
cmp edx, dword [edi + 0x4a18]
jl 0x1005b673
mov eax, dword [edi + 0x4a1c]
lea ecx, [edx + 1]
mov dword [ebp - 0x3c], 0xbf800000
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jle 0x1005b646
test eax, eax
je 0x1005b5db
cdq
sub eax, edx
mov edx, dword [edi + 0x4a1c]
sar eax, 1
add eax, edx
jmp 0x1005b5e6
mov edx, dword [edi + 0x4a1c]
mov eax, 8
cmp eax, ecx
mov esi, ecx
cmovg esi, eax
mov eax, esi
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x34]
cmp eax, edx
jle 0x1005b646
shl eax, 2
push eax
call fcn.10014660
mov edx, dword [edi + 0x4a20]
add esp, 4
mov dword [ebp - 0x24], eax
test edx, edx
je 0x1005b634
mov ecx, dword [edi + 0x4a18]
shl ecx, 2
push ecx
push edx
push eax
call fcn.100b11a0
push dword [edi + 0x4a20]
call fcn.10014690
mov eax, dword [ebp - 0x24]
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x4a20], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x4a1c], eax
mov edx, dword [edi + 0x4a18]
cmp ecx, edx
jle 0x1005b66a
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x4a20]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, esi
jl 0x1005b656
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword [edi + 0x4a18], ecx
movsd xmm0, qword [edi + 0x3dd8]
xor ecx, ecx
mov eax, dword [edi + 0x4a20]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], ecx
movss dword [eax + edx*4], xmm0
movsd xmm0, qword [edi + 0x3dd8]
mov eax, dword [ebp - 0x18]
cvtpd2ps xmm0, xmm0
movss dword [eax + 4], xmm0
mov eax, 0x92492493
mov byte [esi + 0x1e5], 0
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
imul ecx
mov eax, dword [ebp + 0x10]
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x24], ecx
je 0x1005b6e5
cmp ecx, eax
je 0x1005b6e5
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x28], ecx
mov dword [esi + 8], 0
cmp dword [esi + 8], 0
jne 0x1005b703
push eax
push esi
call fcn.1005b9d0
add esp, 8
mov byte [esi + 0x1dc], 1
mov byte [esi + 0x1d8], 1
cmp byte [esi + 0x1df], 0
je 0x1005b715
push esi
call fcn.1005f520
add esp, 4
cmp byte [esi + 0x1d8], 0
lea eax, [esi + 0x1dc]
je 0x1005b88a
or eax, 0xffffffff
mov dword [esi + 0x38], 0xffffffff
cmp dword [ebp + 0x10], 0
mov word [esi + 0x4e], ax
mov word [esi + 0x1c4], ax
mov word [esi + 0x1b4], ax
mov word [esi + 0x1b2], ax
mov word [esi + 0x1b8], ax
mov word [esi + 0x1b0], ax
mov word [esi + 0x1ae], ax
mov word [esi + 0x1ac], ax
lea eax, [esi + 0x1dc]
mov byte [esi + 0x1d9], 1
mov dword [ebp - 0x2c], 0
jle 0x1005b88a
xor eax, eax
xor edi, edi
mov dword [ebp - 0x10], eax
nop dword [eax]
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 0x20]
add edx, eax
mov dword [ebp - 0x3c], edx
test ecx, ecx
je 0x1005b7b5
cmp edi, dword [ebp - 0x24]
jge 0x1005b7b5
lea esi, [eax + ecx]
mov edi, edx
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
jmp 0x1005b857
movss xmm0, dword [edx + 0x14]
lea eax, [ebp - 0xe0]
push 0x70
push 0
push eax
movss dword [ebp - 0x1c], xmm0
call fcn.100b1720
mov edx, dword [ebp - 0x3c]
lea esi, [ebp - 0xe0]
movss xmm0, dword [ebp - 0x1c]
or eax, 0xffffffff
mov word [ebp - 0x90], ax
add esp, 0xc
and byte [ebp - 0x73], 0xfc
mov ecx, 0x1c
mov word [ebp - 0x8c], ax
mov edi, edx
mov word [ebp - 0x8e], ax
mov word [ebp - 0x88], ax
mov word [ebp - 0x8a], ax
mov word [ebp - 0x86], ax
mov eax, 0xff
mov dword [ebp - 0xd0], 0xbf800000
mov dword [ebp - 0xc8], 0xbf800000
mov dword [ebp - 0x82], 0xff00ff
mov word [ebp - 0x84], ax
rep movsd dword es:[edi], dword [esi]
movss dword [edx + 0x14], xmm0
mov byte [edx + 0x69], 1
mov word [edx + 0x63], 0x101
mov byte [edx + 0x62], 1
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x2c]
movzx ecx, di
mov eax, dword [esi + 0x18]
mov word [eax + edi*2], cx
inc edi
mov eax, dword [ebp - 0x10]
add eax, 0x70
mov word [edx + 0x52], cx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x10], eax
cmp edi, dword [ebp + 0x10]
jl 0x1005b790
mov edi, dword [ebp - 0x38]
lea eax, [esi + 0x1dc]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1005b8a0
push ecx
call fcn.10014690
add esp, 4
lea eax, [esi + 0x1dc]
cmp byte [eax], 0
je 0x1005b8ae
push esi
call fcn.1005f1c0
add esp, 4
movss xmm0, dword [esi + 0xb8]
ucomiss xmm0, dword [0x100d5908]
movss xmm2, dword [edi + 0x3bd0]
lahf
test ah, 0x44
jnp 0x1005b98f
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1005b98f
mov edx, dword [ebp + 0x10]
movaps xmm1, xmm2
xor eax, eax
divss xmm1, xmm0
cmp edx, 4
jl 0x1005b96c
lea edi, [edx - 4]
xor ecx, ecx
shr edi, 2
inc edi
lea eax, [edi*4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x10]
movaps xmm0, xmm1
lea ecx, [ecx + 0x1c0]
mulss xmm0, dword [ecx + eax - 0x1b0]
movss dword [ecx + eax - 0x1b0], xmm0
movaps xmm0, xmm1
mov eax, dword [esi + 0x10]
mulss xmm0, dword [ecx + eax - 0x140]
movss dword [ecx + eax - 0x140], xmm0
movaps xmm0, xmm1
mov eax, dword [esi + 0x10]
mulss xmm0, dword [ecx + eax - 0xd0]
movss dword [ecx + eax - 0xd0], xmm0
movaps xmm0, xmm1
mov eax, dword [esi + 0x10]
mulss xmm0, dword [ecx + eax - 0x60]
movss dword [ecx + eax - 0x60], xmm0
sub edi, 1
jne 0x1005b904
mov eax, dword [ebp - 0x24]
cmp eax, edx
jge 0x1005b98f
imul ecx, eax, 0x70
sub edx, eax
mov eax, dword [esi + 0x10]
movaps xmm0, xmm1
lea ecx, [ecx + 0x70]
mulss xmm0, dword [ecx + eax - 0x60]
movss dword [ecx + eax - 0x60], xmm0
sub edx, 1
jne 0x1005b975
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x154]
movss dword [esi + 0xb8], xmm2
mov byte [eax + 0xaf], 1
cmp dword [ecx], 0
jle 0x1005b9b3
push 0
call fcn.1002d060
push esi
call fcn.1005ba80
mov ecx, dword [ebp - 0xc]
add esp, 4
mov al, 1
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret