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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a971b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov edi, dword [0x100ae0e0]
mov dword [ebp - 0x50], esi
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x100039cf
cmp byte [esi + 0x5c], 0
jne 0x100039d5
cmp dword [esi + 0x1c], 0
jle 0x100039cf
call fcn.10006020
cmp dword [eax], 0
je 0x100039cf
mov dword [esi + 0x48], 0
mov byte [esi + 0x5c], 1
call edi
add eax, dword [esi + 0x1c]
mov dword [esi + 0x60], eax
cmp byte [esi + 0x5c], 0
je 0x100039e0
call edi
cmp dword [esi + 0x60], eax
jg 0x10003a3f
mov byte [esi + 0x5c], 0
xor edi, edi
mov dword [esi + 0x48], 0
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
cmp byte [esi + 0x20], al
je 0x10003a1c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
cmp byte [esi + 0x21], 0
je 0x10003ab7
mov dword [ebp - 0x14], 6
cmp eax, edi
je 0x10003a46
mov dword [eax], 6
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003a5c
xor eax, eax
jmp 0x10004687
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 5
cmp eax, edi
je 0x10003a75
mov dword [eax], 5
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003a8b
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 4
cmp eax, edi
je 0x10003aa4
mov dword [eax], 4
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003ab7
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], edi
cmp byte [esi + 0x22], 0
mov eax, dword [ebp - 0x1c]
je 0x10003bde
mov dword [ebp - 0x14], 0x12
cmp eax, edi
je 0x10003add
mov dword [eax], 0x12
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003af3
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0xe
cmp eax, edi
je 0x10003b0c
mov dword [eax], 0xe
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003b22
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0x11
cmp eax, edi
je 0x10003b3b
mov dword [eax], 0x11
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003b51
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0x10
cmp eax, edi
je 0x10003b6a
mov dword [eax], 0x10
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003b80
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0xd
cmp eax, edi
je 0x10003b99
mov dword [eax], 0xd
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003baf
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0xf
cmp eax, edi
je 0x10003bc8
mov dword [eax], 0xf
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003bde
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
cmp byte [esi + 0x23], 0
je 0x10003cff
mov dword [ebp - 0x14], 0xc
cmp eax, edi
je 0x10003c01
mov dword [eax], 0xc
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003c17
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0xa
cmp eax, edi
je 0x10003c30
mov dword [eax], 0xa
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003c46
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 8
cmp eax, edi
je 0x10003c5f
mov dword [eax], 8
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003c75
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0xb
cmp eax, edi
je 0x10003c8e
mov dword [eax], 0xb
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003ca4
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0xa
cmp eax, edi
je 0x10003cbd
mov dword [eax], 0xa
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003cd3
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 8
cmp eax, edi
je 0x10003cec
mov dword [eax], 8
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x10003cff
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.100054e0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], edi
mov eax, dword [0x100d8afc]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [eax]
call fcn.1006e900
mov eax, dword [0x100d55f4]
mov edx, 1
mov dword [ebp - 0x14], edx
cmp dword [eax + 0x18], edx
jl 0x10004652
mov edi, dword [ebp - 0x1c]
nop dword [eax + eax]
mov ecx, dword [0x100d5618]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1000463a
mov ecx, eax
call fcn.10006020
cmp dword [eax], 0
jne 0x1000463a
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x274]
call eax
test al, al
je 0x1000463a
mov eax, dword [0x100d466c]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x100d55f0]
cmp eax, dword [ecx + 4]
jle 0x10003eda
push 0x100d55f0
call fcn.1007090d
add esp, 4
cmp dword [0x100d55f0], 0xffffffff
jne 0x10003eda
mov byte [ebp - 4], 1
call fcn.10005030
push 0x12
push 0x100bb2c8
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 0
mov esi, eax
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call fcn.10005390
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
push 0xb
push 0x100bb2bc
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
call fcn.10005390
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.100703d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x100]
mov dword [0x100d5610], eax
cmp edx, 0x10
jb 0x10003e6d
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003e63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000469c
push edx
push ecx
call fcn.10070d2d
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x10003eab
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003ea1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000469c
push edx
push ecx
call fcn.10070d2d
add esp, 8
push 0x100d55f0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov byte [ebp - 4], 0
call fcn.100708c3
mov esi, dword [ebp - 0x50]
add esp, 4
mov eax, dword [0x100d5610]
mov ecx, dword [ebp - 0x34]
cmp byte [eax + ecx], 0
jne 0x1000463a
call fcn.1006eaa0
test al, al
jne 0x10003efe
cmp byte [esi + 1], al
je 0x1000463a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
cmp eax, edi
je 0x1000463a
nop dword [eax]
mov eax, dword [eax]
mov edi, dword [ebp - 0x34]
mov ecx, edi
push eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x74]
push eax
call fcn.1006eb20
movss xmm0, dword [ebp - 0x74]
movss xmm2, dword [ebp - 0x6c]
movaps xmm1, xmm0
subss xmm1, dword [ebp - 0x80]
movss dword [ebp - 0x44], xmm0
movaps xmm3, xmm2
movss xmm0, dword [ebp - 0x70]
subss xmm3, dword [ebp - 0x78]
movss dword [ebp - 0x48], xmm0
subss xmm0, dword [ebp - 0x7c]
movss dword [ebp - 0x4c], xmm2
xorps xmm2, xmm2
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x2c], xmm3
ucomiss xmm0, xmm2
movss dword [ebp - 0x58], xmm0
lahf
test ah, 0x44
jp 0x10003f9f
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x10003f9f
comiss xmm3, xmm2
movss dword [ebp - 0x3c], xmm2
jbe 0x10003f92
movss xmm0, dword [0x100c4dac]
jmp 0x1000405d
movss xmm0, dword [0x100c4d10]
jmp 0x1000405d
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x40], xmm0
fld qword [ebp - 0x40]
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x40], xmm0
fld qword [ebp - 0x40]
call fcn.100a7750
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
xorps xmm1, xmm1
mulss xmm0, dword [0x100c4d78]
divss xmm0, dword [0x100c4c20]
comiss xmm1, xmm0
movss dword [ebp - 0x3c], xmm0
jbe 0x10003fec
addss xmm0, dword [0x100c4e20]
movss dword [ebp - 0x3c], xmm0
movss xmm1, dword [ebp - 0x58]
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.100029b0
movss xmm1, dword [ebp - 0x2c]
xorps xmm1, xmmword [0x100c5790]
cvtss2sd xmm1, xmm1
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x30], xmm1
fld qword [ebp - 0x30]
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
call fcn.100a7750
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
xorps xmm1, xmm1
mulss xmm0, dword [0x100c4d78]
divss xmm0, dword [0x100c4c20]
comiss xmm1, xmm0
movss dword [ebp - 0x28], xmm0
jbe 0x10004062
addss xmm0, dword [0x100c4e20]
movss dword [ebp - 0x28], xmm0
movss xmm1, dword [esi + 0x70]
lea ecx, [ebp - 0x68]
mov eax, dword [ebx + 8]
addss xmm1, xmm1
movss xmm5, dword [esi + 0x74]
movss xmm4, dword [esi + 0x78]
addss xmm5, xmm5
movss xmm3, dword [ebp - 0x28]
addss xmm4, xmm4
movss xmm0, dword [eax + 0xc]
movss xmm2, dword [ebp - 0x3c]
addss xmm0, xmm1
xorps xmm1, xmm1
addss xmm5, dword [eax + 0x10]
subss xmm3, xmm0
movss xmm0, dword [eax + 0x14]
addss xmm0, xmm4
subss xmm2, xmm5
movss dword [ebp - 0x68], xmm3
subss xmm1, xmm0
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x60], xmm1
call fcn.10016c30
movss xmm0, dword [ebp - 0x64]
sub esp, 8
mov dword [esp + 4], 0x40000000
movss dword [esp], xmm0
call fcn.10002980
movss xmm0, dword [ebp - 0x68]
fstp dword [ebp - 0x2c]
mov dword [esp + 4], 0x40000000
movss dword [esp], xmm0
call fcn.10002980
fadd dword [ebp - 0x2c]
add esp, 8
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
call fcn.100029b0
movaps xmm1, xmm0
mov ecx, esi
movss dword [ebp - 0x2c], xmm1
call fcn.10003910
comiss xmm1, xmm0
ja 0x10004625
mov eax, dword [0x100d8afc]
mov dword [ebp - 0x1f0], 0x7f800000
mov dword [ebp - 0x1f4], 0x7f800000
mov dword [ebp - 0x1f8], 0x7f800000
mov ecx, dword [eax]
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x1e4], 0x7f800000
mov dword [ebp - 0x1e8], 0x7f800000
mov dword [ebp - 0x1ec], 0x7f800000
mov dword [ebp - 0x1d8], 0x7f800000
mov dword [ebp - 0x1dc], 0x7f800000
mov dword [ebp - 0x1e0], 0x7f800000
mov dword [ebp - 0xe8], 0x7f800000
mov dword [ebp - 0xec], 0x7f800000
mov dword [ebp - 0xf0], 0x7f800000
mov dword [ebp - 0xd8], 0x7f800000
mov dword [ebp - 0xdc], 0x7f800000
mov dword [ebp - 0xe0], 0x7f800000
mov dword [ebp - 0xc8], 0x7f800000
mov dword [ebp - 0xcc], 0x7f800000
mov dword [ebp - 0xd0], 0x7f800000
mov dword [ebp - 0xb8], 0x7f800000
mov dword [ebp - 0xbc], 0x7f800000
mov dword [ebp - 0xc0], 0x7f800000
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0x100bb44c
mov dword [ebp - 0x9c], ecx
call fcn.1006e900
movss xmm2, dword [ebp - 0x44]
mov ecx, eax
movss xmm1, dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x4c]
subss xmm2, dword [ecx]
subss xmm1, dword [ecx + 4]
subss xmm0, dword [ecx + 8]
mov byte [ebp - 0xab], 1
movss dword [ebp - 0xe0], xmm2
movss dword [ebp - 0xdc], xmm1
mulss xmm2, xmm2
mulss xmm1, xmm1
movss dword [ebp - 0xd8], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x100c4ac8]
lahf
test ah, 0x44
jp 0x1000428b
mov byte [ebp - 0xab], 0
mov dword [ebp - 0xc0], 0
lea edx, [ebp - 0x1f8]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xac], 1
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
movss xmm2, dword [ecx + 8]
mov ecx, dword [0x100d5654]
push edx
lea edx, [ebp - 0xa0]
movss dword [ebp - 0xf0], xmm0
push edx
movss dword [ebp - 0xec], xmm1
lea edx, [ebp - 0xf0]
movss dword [ebp - 0xe8], xmm2
mov eax, dword [ecx]
push 0x4600400b
push edx
call dword [eax + 0x14]
cmp dword [ebp - 0x1ac], edi
je 0x1000454a
movss xmm0, dword [ebp - 0x1cc]
comiss xmm0, dword [0x100c4bc4]
ja 0x1000454a
cmp byte [esi + 0x38], 0
je 0x10004625
mov eax, dword [0x100d8afc]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x198], 0x7f800000
mov dword [ebp - 0x19c], 0x7f800000
mov dword [ebp - 0x1a0], 0x7f800000
mov dword [ebp - 0x18c], 0x7f800000
mov dword [ebp - 0x190], 0x7f800000
mov dword [ebp - 0x194], 0x7f800000
mov dword [ebp - 0x180], 0x7f800000
mov dword [ebp - 0x184], 0x7f800000
mov dword [ebp - 0x188], 0x7f800000
mov dword [ebp - 0x174], 0x7f800000
mov dword [ebp - 0x178], 0x7f800000
mov dword [ebp - 0x17c], 0x7f800000
mov dword [ebp - 0x138], 0x7f800000
mov dword [ebp - 0x13c], 0x7f800000
mov dword [ebp - 0x140], 0x7f800000
mov dword [ebp - 0x134], 0x100bb44c
push ecx
mov ecx, dword [eax]
call fcn.1006e900
movss xmm3, dword [ebp - 0x44]
mov esi, dword [0x100d8afc]
movss xmm2, dword [eax]
subss xmm3, xmm2
movss dword [ebp - 0x1a0], xmm2
movss xmm1, dword [eax + 4]
movss xmm2, dword [ebp - 0x48]
movss dword [ebp - 0x19c], xmm1
subss xmm2, xmm1
movss xmm0, dword [eax + 8]
movss xmm1, dword [ebp - 0x4c]
subss xmm1, xmm0
movss dword [ebp - 0x198], xmm0
mov eax, dword [esi]
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movq qword [ebp - 0x140], xmm0
movq qword [ebp - 0xfc], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mov dword [ebp - 0x130], eax
mulss xmm2, xmm2
movss dword [ebp - 0x138], xmm1
mov eax, dword [ebp - 0x138]
addss xmm0, xmm2
mulss xmm1, xmm1
mov dword [ebp - 0xf4], eax
movss dword [ebp - 0x44], xmm3
addss xmm0, xmm1
call fcn.100029b0
movaps xmm3, xmm0
xorps xmm0, xmm0
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x100044cd
movss xmm1, dword [ebp - 0x44]
movss xmm0, dword [ebp - 0xf8]
movss xmm2, dword [ebp - 0xf4]
divss xmm1, xmm3
divss xmm0, xmm3
divss xmm2, xmm3
jmp 0x100044d3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov eax, dword [0x100d5618]
movss dword [ebp - 0x140], xmm1
movss dword [ebp - 0x13c], xmm0
movss dword [ebp - 0x138], xmm2
mov eax, dword [eax]
mov ecx, dword [esi]
mov edi, dword [eax + 0x10]
call fcn.100035e0
push ecx
mov ecx, esp
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [0x100d5618]
call edi
test eax, eax
jne 0x10004519
movss xmm0, dword [0x100c4f40]
jmp 0x10004537
lea edx, [ebp - 0x1a0]
mov ecx, eax
call fcn.10007060
test al, al
je 0x10004534
movss xmm0, dword [ebp - 0x124]
jmp 0x10004537
xorps xmm0, xmm0
mov esi, dword [ebp - 0x50]
cvttss2si eax, xmm0
cmp eax, dword [esi + 0x3c]
jl 0x10004625
mov edi, dword [ebp - 0x34]
cmp byte [esi + 9], 0
je 0x100045e8
mov edi, dword fs:[0x2c]
mov edx, dword [0x100d466c]
mov eax, dword [0x100d8aec]
mov ecx, dword [edi + edx*4]
mov edi, dword [ebp - 0x34]
cmp eax, dword [ecx + 4]
jle 0x100045b3
push 0x100d8aec
call fcn.1007090d
add esp, 4
cmp dword [0x100d8aec], 0xffffffff
jne 0x100045b3
mov edx, 0x100bb330
mov byte [ebp - 4], 4
mov ecx, 0x100bb35c
call fcn.10017640
push 0x100d8aec
mov dword [0x100d8af4], eax
mov byte [ebp - 4], 0
call fcn.100708c3
add esp, 4
movq xmm0, qword [ebp - 0x74]
sub esp, 0xc
mov eax, dword [ebp - 0x6c]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x80]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x78]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call dword [0x100d8af4]
add esp, 0x18
test al, al
jne 0x10004625
mov ecx, dword [ebx + 0x10]
movss xmm1, dword [ebp - 0x2c]
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x10004625
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x5c]
movss xmm0, dword [ebp - 0x28]
movss dword [ecx], xmm1
mov dword [edx], eax
mov eax, dword [ebx + 0x14]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 4], xmm0
mov dword [eax + 8], 0
mov dword [esi + 0x48], edi
mov eax, dword [ebp - 0x54]
add eax, 4
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x1c]
jne 0x10003f10
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [0x100d55f4]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [eax + 0x18]
jle 0x10003d30
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov esi, dword [esi + 0x48]
test ecx, ecx
je 0x10004685
sub edi, ecx
mov eax, ecx
and edi, 0xfffffffc
cmp edi, 0x1000
jb 0x1000467b
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000469c
push edi
push ecx
call fcn.10070d2d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.10075dea
int3