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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x3110
call fcn.100f6d70
mov esi, esp
mov dword [esi + 0x30f8], ebp
mov dword [esi + 0x30fc], esp
mov dword [esi + 0x3108], 0xffffffff
lea eax, [esi + 0x3100]
mov dword [esi + 0x3104], 0x1003e4b0
mov edx, dword fs:[0]
mov dword [esi + 0x3100], edx
mov dword fs:[0], eax
mov dword [esi + 0x30], ecx
mov byte [ecx + 0x36], 0
mov edx, dword [0x1035678c]
mov eax, dword [edx]
mov eax, dword [eax]
test eax, eax
je 0x1003bd4e
mov ecx, dword [0x10356824]
mov edx, dword [edx + 0x11c]
mov edi, dword [ecx]
push dword [edx + eax]
call dword [edi + 0x10]
test eax, eax
je 0x1003bd4e
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x11c]
mov edx, dword [ecx]
mov ecx, dword [0x10356824]
mov edi, dword [ecx]
push dword [eax + edx]
call dword [edi + 0x10]
mov edx, dword [0x1035678c]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0xb0]
mov edi, dword [ecx]
movzx eax, word [edx + eax]
push eax
call dword [edi + 8]
test eax, eax
je 0x1003bd4e
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x11c]
mov edx, dword [ecx]
mov ecx, dword [0x10356824]
mov edi, dword [ecx]
push dword [eax + edx]
call dword [edi + 0x10]
mov edx, dword [0x1035678c]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0xb0]
mov edi, dword [ecx]
movzx eax, word [edx + eax]
push eax
call dword [edi + 8]
cmp dword [eax + 0xc8], 0
je 0x1003bd4e
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x11c]
mov edx, dword [ecx]
mov ecx, dword [0x10356824]
mov edi, dword [ecx]
push dword [eax + edx]
call dword [edi + 0x10]
mov ecx, dword [0x1035678c]
mov edx, dword [ecx + 0xb0]
cmp word [edx + eax], 0x1f
je 0x1003bd4e
mov eax, dword [ecx]
mov ecx, dword [ecx + 0x30]
mov eax, dword [eax]
movss xmm0, dword [ecx + eax]
movss xmm1, dword [ecx + eax + 4]
mulss xmm0, xmm0
xorps xmm2, xmm2
addss xmm2, xmm0
mulss xmm1, xmm1
addss xmm1, xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jb 0x1003bd1f
sqrtsd xmm0, xmm0
jmp 0x1003bd3d
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
add esp, 8
fstp qword [esi + 0x98]
movsd xmm0, qword [esi + 0x98]
cvtsd2ss xmm0, xmm0
movss xmm1, dword [0x10155ff8]
ucomiss xmm1, xmm0
jbe 0x1003bd67
xor eax, eax
mov ecx, dword [esi + 0x3100]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea edi, [esi + 0x18]
mov ecx, 0x8421085
mov eax, edi
mul ecx
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov ecx, eax
shl ecx, 5
sub eax, ecx
lea ecx, [esi + eax]
add ecx, 0x18
lea eax, [esi + 0x50]
mov dword [esi + 0x48], ecx
rol eax, cl
sub eax, edi
bswap eax
mov dword [esi + 0x44], eax
mov ebx, 1
jmp 0x1003bdb4
mov ebx, dword [esi + 0x4c]
inc ebx
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
cmp ebx, dword [edx + 0x18]
jg 0x1003c4dd
mov edi, dword [0x103567e4]
mov dword [esi + 0x4c], ebx
lea ecx, [ebx - 1]
cmp ecx, 0x40
jae 0x1003c4ec
mov ebx, dword [0x1035678c]
mov eax, dword [ebx]
mov eax, dword [eax]
test eax, eax
je 0x1003bdb0
mov edx, dword [ebx + 0x128]
cmp byte [edx + eax], 0
jne 0x1003bdb0
mov ebx, dword [ebx + 0x1c]
cmp dword [ebx + eax], 0
jle 0x1003bdb0
imul ecx, ecx, 0xa818
mov dword [esi + 0x10], ecx
add ecx, edi
mov dword [esi + 0xc], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x1003bdb0
cmp byte [edx + ecx], 0
jne 0x1003bdb0
cmp dword [ebx + ecx], 0
jle 0x1003bdb0
cmp ecx, eax
je 0x1003bdb0
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x24]
mov dword [esi + 0x3108], 0xffffffff
call eax
test al, al
jne 0x1003bdb0
mov eax, dword [esi + 0xc]
mov ebx, dword [eax]
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, edx
mov dword [esi + 0x14], edx
cmp edx, ebx
je 0x1003bdb0
mov ecx, dword [eax + 0x214]
mov eax, dword [ecx]
call dword [eax + 0x34]
xorps xmm0, xmm0
test eax, eax
jne 0x1003be91
mov eax, dword [0x1035678c]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + ebx]
mov edx, dword [esi + 0x14]
cmp ecx, dword [eax + edx]
je 0x1003bdb0
mov eax, dword [esi + 0x10]
cmp dword [edi + eax + 0x3c50], 0
je 0x1003bdb0
mov eax, dword [esi + 0x10]
lea edx, [edi + eax]
add edx, 0x3c40
movaps xmmword [esi + 0x50], xmm0
movups xmmword [esi + 0x7c], xmm0
movaps xmmword [esi + 0x70], xmm0
movaps xmmword [esi + 0x60], xmm0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x5c], eax
mov eax, dword [edx + 0xc]
mov edi, eax
shr edi, 1
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
dec edx
and edx, edi
and eax, 1
shl eax, 3
add eax, dword [ecx + edx*4]
lea ecx, [esi + 0x60]
push eax
call fcn.1003c540
mov eax, dword [esi + 0x74]
cmp eax, dword [esi + 0x78]
je 0x1003bef1
mov dword [esi + 0x78], eax
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov edx, dword [eax + 0x30]
mov edi, dword [ecx]
mov ecx, dword [0x1035679c]
bswap ecx
mov ebx, dword [0x103567a0]
add ebx, ecx
mov ecx, dword [0x103567a4]
ror ebx, cl
movss xmm4, dword [edx + edi]
movss xmm2, dword [edx + edi + 4]
movss xmm3, dword [edx + edi + 8]
movss xmm6, dword [ebx + 0x20]
mulss xmm2, xmm6
mulss xmm3, xmm6
mulss xmm2, dword [ebp + 0xc]
movss xmm5, dword [eax + 0x3f90]
addss xmm2, dword [eax + 0x3f94]
movss xmm7, dword [eax + 0x3f98]
xorps xmm1, xmm1
movlps qword [esi + 0x34], xmm1
mov dword [esi + 0x3c], 0
movaps xmmword [esi + 0xd0], xmm1
movaps xmmword [esi + 0xc0], xmm1
movaps xmmword [esi + 0xb0], xmm1
movaps xmmword [esi + 0xa0], xmm1
lea eax, [esi + 0xe0]
lea ecx, [esi + 0x30e0]
movups xmmword [eax + 0x20], xmm1
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm1
movups xmmword [eax + 0x30], xmm1
movups xmmword [eax + 0x40], xmm1
movups xmmword [eax + 0x50], xmm1
movups xmmword [eax + 0x60], xmm1
movups xmmword [eax + 0x70], xmm1
movups xmmword [eax + 0x80], xmm1
movups xmmword [eax + 0x90], xmm1
movups xmmword [eax + 0xa0], xmm1
movups xmmword [eax + 0xb0], xmm1
movups xmmword [eax + 0xc0], xmm1
movups xmmword [eax + 0xd0], xmm1
movups xmmword [eax + 0xe0], xmm1
movups xmmword [eax + 0x110], xmm1
movups xmmword [eax + 0x100], xmm1
movups xmmword [eax + 0xf0], xmm1
movups xmmword [eax + 0x140], xmm1
movups xmmword [eax + 0x130], xmm1
movups xmmword [eax + 0x120], xmm1
movups xmmword [eax + 0x150], xmm1
movups xmmword [eax + 0x160], xmm1
movups xmmword [eax + 0x170], xmm1
movups xmmword [eax + 0x180], xmm1
movups xmmword [eax + 0x190], xmm1
movups xmmword [eax + 0x1a0], xmm1
movups xmmword [eax + 0x1b0], xmm1
movups xmmword [eax + 0x1c0], xmm1
movups xmmword [eax + 0x1d0], xmm1
movups xmmword [eax + 0x1e0], xmm1
movups xmmword [eax + 0x1f0], xmm1
movups xmmword [eax + 0x200], xmm1
movups xmmword [eax + 0x210], xmm1
movups xmmword [eax + 0x220], xmm1
movups xmmword [eax + 0x230], xmm1
movups xmmword [eax + 0x260], xmm1
movups xmmword [eax + 0x250], xmm1
movups xmmword [eax + 0x240], xmm1
movups xmmword [eax + 0x290], xmm1
movups xmmword [eax + 0x280], xmm1
movups xmmword [eax + 0x270], xmm1
movups xmmword [eax + 0x2c0], xmm1
movups xmmword [eax + 0x2b0], xmm1
movups xmmword [eax + 0x2a0], xmm1
movups xmmword [eax + 0x2f0], xmm1
movups xmmword [eax + 0x2e0], xmm1
movups xmmword [eax + 0x2d0], xmm1
add eax, 0x300
cmp eax, ecx
jne 0x1003bf86
movups xmmword [ecx], xmm1
mov byte [ecx + 0x10], 0
mov eax, dword [esi + 0x5c]
mov edx, dword [eax]
test edx, edx
je 0x1003c0ef
mov eax, dword [0x1035678c]
mov ecx, dword [eax + 0x128]
cmp byte [ecx + edx], 0
je 0x1003c1f4
mov edi, esp
mulss xmm4, xmm6
movss xmm0, dword [ebp + 0xc]
mulss xmm4, xmm0
addss xmm5, xmm4
mulss xmm3, xmm0
addss xmm3, xmm7
mov ecx, dword [0x10356800]
push eax
sub esp, 0x18
mov eax, esp
movss dword [eax + 0xc], xmm5
movss dword [eax + 0x10], xmm2
movss dword [eax + 0x14], xmm3
cmp byte [esi + 0x68], 0
je 0x1003c4fd
movlps qword [eax + 4], xmm1
mov edx, dword [esi + 0x64]
test edx, edx
mov dword [esi + 0xc], edi
je 0x1003c150
lock inc dword [edx + 4]
mov edx, dword [esi + 0x64]
mov dword [esi + 0x3108], 0
jmp 0x1003c152
xor edx, edx
mov edi, dword [esi + 0x60]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
lea edx, [esi + 0x50]
mov dword [eax], edx
lea edx, [esi + 0x34]
mov dword [eax + 0x18], edx
mov dword [esi + 0x3108], 0
call fcn.100265b0
mov esp, dword [esi + 0xc]
mov eax, dword [esi + 0x5c]
mov edx, dword [eax]
test edx, edx
je 0x1003c196
mov eax, dword [0x1035678c]
mov ecx, dword [eax + 0x128]
cmp byte [ecx + edx], 0
je 0x1003c38e
mov ecx, dword [0x10356800]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
lea eax, [esi + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x18], eax
push 0
lea eax, [esi + 0x34]
push eax
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.10027280
test al, al
jne 0x1003c4c6
lea ecx, [esi + 0x34]
call fcn.10016b90
lea ecx, [esi + 0x50]
call fcn.1001ca10
jmp 0x1003bdb0
mov eax, dword [eax + 0x1c]
cmp dword [eax + edx], 0
jle 0x1003c0ef
movss dword [esi + 0x24], xmm7
movss dword [esi + 0x28], xmm6
movss dword [esi + 0x2c], xmm5
movss dword [esi + 0x14], xmm4
movss dword [esi + 0x10], xmm3
movss dword [esi + 0xc], xmm2
lea ecx, [edx + 8]
mov dword [esi + 0x40], edx
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x3108], 0
call eax
test al, al
xorps xmm1, xmm1
movss xmm2, dword [esi + 0xc]
movss xmm3, dword [esi + 0x10]
movss xmm4, dword [esi + 0x14]
movss xmm5, dword [esi + 0x2c]
movss xmm6, dword [esi + 0x28]
movss xmm7, dword [esi + 0x24]
mov ebx, dword [esi + 0x40]
jne 0x1003c0ef
mov edi, dword [0x1035678c]
mov eax, dword [edi + 0x84]
mov eax, dword [eax + ebx + 8]
mov dword [esi + 0x30e4], eax
mov eax, dword [edi + 0x84]
mov eax, dword [eax + ebx + 0xc]
mov dword [esi + 0x30e8], eax
mov byte [esi + 0x30f0], 0
mov ecx, dword [ebx + 0x290c]
mov dword [esi + 0x30e0], ecx
mov eax, dword [ebx + 0x2900]
test eax, eax
je 0x1003c2e5
shl ecx, 4
lea ecx, [ecx + ecx*2]
push ecx
push eax
lea eax, [esi + 0xe0]
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm7, dword [esi + 0x24]
movss xmm6, dword [esi + 0x28]
movss xmm5, dword [esi + 0x2c]
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [esi + 0x10]
movss xmm2, dword [esi + 0xc]
xorps xmm1, xmm1
add esp, 0xc
mov byte [esi + 0x30f0], 1
mov eax, dword [edi + 0x18]
mov eax, dword [ebx + eax + 4]
mov dword [esi + 0x30ec], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + ebx + 8]
lea edx, [esi + 0xac]
mov dword [edx + 0x18], ecx
movsd xmm0, qword [eax + ebx]
movsd qword [edx + 0x10], xmm0
mov eax, dword [ebx + 0x3b0]
mov dword [edx + 0x24], eax
movsd xmm0, qword [ebx + 0x3a8]
movsd qword [edx + 0x1c], xmm0
mov eax, dword [edi + 0x54]
movsd xmm0, qword [eax + ebx]
movsd qword [esi + 0xa0], xmm0
mov eax, dword [eax + ebx + 8]
mov dword [esi + 0xa8], eax
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + ebx + 8]
mov dword [edx + 8], ecx
movsd xmm0, qword [eax + ebx]
movsd qword [edx], xmm0
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + ebx + 8]
lea edx, [esi + 0xd4]
mov dword [edx + 8], ecx
movsd xmm0, qword [eax + ebx]
movsd qword [edx], xmm0
mov eax, dword [edi + 0x1ac]
mov eax, dword [eax + ebx]
test eax, eax
je 0x1003c0ef
movss xmm0, dword [eax + 0x80]
movss dword [esi + 0xb8], xmm0
jmp 0x1003c0ef
mov eax, dword [eax + 0x1c]
cmp dword [eax + edx], 0
jle 0x1003c196
lea ecx, [edx + 8]
mov eax, dword [edx + 8]
mov dword [esi + 0xc], edx
call dword [eax + 0x24]
mov edi, dword [esi + 0xc]
test al, al
jne 0x1003c196
mov ecx, dword [esi + 0x30e4]
mov eax, dword [0x1035678c]
mov edx, dword [eax + 0x84]
mov dword [edx + edi + 8], ecx
mov ecx, dword [esi + 0x30e8]
mov edx, dword [eax + 0x84]
mov dword [edx + edi + 0xc], ecx
cmp byte [esi + 0x30f0], 0
je 0x1003c407
mov eax, dword [esi + 0x30e0]
shl eax, 4
lea eax, [eax + eax*2]
push eax
lea eax, [esi + 0xe0]
push eax
push dword [edi + 0x2900]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [0x1035678c]
mov ecx, dword [esi + 0x30ec]
mov eax, dword [eax + 0x18]
mov dword [edi + eax + 4], ecx
mov eax, dword [0x1035678c]
mov eax, dword [eax + 0x2c]
lea edx, [esi + 0xac]
mov ecx, dword [edx + 0x18]
mov dword [eax + edi + 8], ecx
movsd xmm0, qword [edx + 0x10]
movsd qword [eax + edi], xmm0
mov eax, dword [edx + 0x24]
mov dword [edi + 0x3b0], eax
movsd xmm0, qword [edx + 0x1c]
movsd qword [edi + 0x3a8], xmm0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
test eax, eax
je 0x1003c476
mov edx, dword [0x1035678c]
mov ecx, eax
lea eax, [esi + 0xac]
push eax
lea eax, [esi + 0xa0]
push eax
call dword [edx + 0x280]
mov ecx, dword [esi + 0xc]
movss xmm0, dword [esi + 0xb8]
mov dword [esi + 0x8c], 0
movss dword [esi + 0x90], xmm0
mov dword [esi + 0x94], 0
mov eax, dword [0x1035678c]
lea edx, [esi + 0x8c]
push edx
call dword [eax + 0x26c]
mov ecx, dword [esi + 0xc]
mov eax, dword [0x1035678c]
lea edx, [esi + 0xd4]
push edx
call dword [eax + 0x270]
jmp 0x1003c196
mov eax, dword [esi + 0x30]
mov byte [eax + 0x36], 1
lea ecx, [esi + 0x34]
call fcn.10016b90
lea ecx, [esi + 0x50]
call fcn.1001ca10
mov eax, dword [esi + 0x30]
cmp byte [eax + 0x36], 0
setne al
jmp 0x1003bd50
mov dword [esi + 0x3108], 0xffffffff
mov ecx, edi
call fcn.1002adc0
mov dword [esi + 0x3108], 0
call fcn.1002ad40
nop dword [eax]
push ebp
sub esp, 0x1c
lea esi, [ebp - 0x310c]
mov ebp, dword [esi + 0x30f8]
lea ecx, [esi + 0x34]
call fcn.10016b90
lea ecx, [esi + 0x50]
call fcn.1001ca10
add esp, 0x1c
pop ebp
ret