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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffe0
mov eax, 0x6180
call fcn.100e8330
mov esi, esp
mov dword [esi + 0x6158], ebp
mov dword [esi + 0x615c], esp
mov dword [esi + 0x6168], 0xffffffff
lea eax, [esi + 0x6160]
mov dword [esi + 0x6164], 0x1003e830
mov edx, dword fs:[0]
mov dword [esi + 0x6160], edx
mov dword fs:[0], eax
mov dword [esi + 0x2c], ecx
mov byte [ecx + 0x49], 0
mov edx, dword [0x1029fb9c]
mov eax, dword [edx]
mov eax, dword [eax]
test eax, eax
je 0x1003cd4c
mov ecx, dword [0x1029fc3c]
mov edx, dword [edx + 0x178]
mov edi, dword [ecx]
push dword [edx + eax]
call dword [edi + 0x10]
test eax, eax
je 0x1003cd4c
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x178]
mov edx, dword [ecx]
mov ecx, dword [0x1029fc3c]
mov edi, dword [ecx]
push dword [eax + edx]
call dword [edi + 0x10]
mov edx, dword [0x1029fb9c]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0x108]
mov edi, dword [ecx]
movzx eax, word [edx + eax]
push eax
call dword [edi + 8]
test eax, eax
je 0x1003cd4c
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x178]
mov edx, dword [ecx]
mov ecx, dword [0x1029fc3c]
mov edi, dword [ecx]
push dword [eax + edx]
call dword [edi + 0x10]
mov edx, dword [0x1029fb9c]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0x108]
mov edi, dword [ecx]
movzx eax, word [edx + eax]
push eax
call dword [edi + 8]
cmp dword [eax + 0xc8], 0
je 0x1003cd4c
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x178]
mov edx, dword [ecx]
mov ecx, dword [0x1029fc3c]
mov edi, dword [ecx]
push dword [eax + edx]
call dword [edi + 0x10]
mov ecx, dword [0x1029fb9c]
mov edx, dword [ecx + 0x108]
cmp word [edx + eax], 0x1f
jne 0x1003cd65
xor eax, eax
mov ecx, dword [esi + 0x6160]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
movzx ebx, byte [ebp + 0x10]
mov eax, dword [ecx]
mov ecx, dword [ecx + 0x34]
mov eax, dword [eax]
vmovss xmm0, dword [ecx + eax]
vmovss xmm1, dword [ecx + eax + 4]
vxorps xmm2, xmm2, xmm2
vfmadd231ss xmm2, xmm0, xmm0
vfmadd231ss xmm2, xmm1, xmm1
vcvtss2sd xmm0, xmm2, xmm2
vxorps xmm1, xmm1, xmm1
vucomisd xmm0, xmm1
jb 0x1003cd9d
vsqrtsd xmm0, xmm0, xmm0
jmp 0x1003cdb5
sub esp, 8
vmovsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
add esp, 8
fstp qword [esi + 0x58]
vmovsd xmm0, qword [esi + 0x58]
vcvtsd2ss xmm0, xmm0, xmm0
test bl, bl
jne 0x1003cdcd
vmovss xmm1, dword [0x101471f4]
vucomiss xmm1, xmm0
ja 0x1003cd4c
jmp 0x1003cddf
vmovss xmm1, dword [0x101471f0]
vucomiss xmm1, xmm0
ja 0x1003cd4c
lea edx, [esi + 0x14]
mov eax, 0x8421085
mulx ecx, ecx, eax
mov eax, edx
sub eax, ecx
shr eax, 1
add eax, ecx
shr eax, 4
mov ecx, eax
shl ecx, 5
sub eax, ecx
lea ecx, [esi + eax]
add ecx, 0x14
lea eax, [esi + 0x30c8]
mov dword [esi + 0x44], ecx
rol eax, cl
sub eax, edx
bswap eax
mov dword [esi + 0x40], eax
mov edi, 1
jmp 0x1003ce24
mov edi, dword [esi + 0x48]
inc edi
mov eax, dword [0x1029fbac]
bswap eax
mov edx, dword [0x1029fbb0]
add edx, eax
mov ecx, dword [0x1029fbb4]
ror edx, cl
cmp edi, dword [edx + 0x18]
jg 0x1003d632
mov dword [esi + 0x48], edi
lea ecx, [edi - 1]
cmp ecx, 0x40
jae 0x1003d641
mov edx, dword [0x1029fb9c]
mov eax, dword [edx]
mov eax, dword [eax]
test eax, eax
je 0x1003ce20
mov ebx, dword [edx + 0x184]
cmp byte [ebx + eax], 0
jne 0x1003ce20
mov edx, dword [edx + 0x1c]
mov dword [esi + 8], edx
cmp dword [edx + eax], 0
jle 0x1003ce20
mov edx, dword [0x1029fbfc]
imul edi, ecx, 0x4060
mov dword [esi + 0x10], edx
mov ecx, dword [edx + edi + 0x20]
test ecx, ecx
je 0x1003ce20
cmp byte [ebx + ecx], 0
jne 0x1003ce20
cmp ecx, eax
je 0x1003ce20
mov eax, dword [esi + 8]
cmp dword [eax + ecx], 0
jle 0x1003ce20
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x24]
mov dword [esi + 0x6168], 0xffffffff
call eax
test al, al
jne 0x1003ce20
mov eax, dword [esi + 0x10]
add eax, edi
add eax, 0x20
mov eax, dword [eax]
mov dword [esi + 8], eax
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax]
mov ebx, dword [ecx]
mov ecx, dword [eax + 0x284]
mov eax, dword [ecx]
call dword [eax + 0x34]
test ebx, ebx
je 0x1003cf8b
test eax, eax
jne 0x1003cf8b
mov ecx, ebx
add ecx, 8
je 0x1003cf8b
cmp dword [esi + 8], 0xfffffff8
je 0x1003cf8b
mov eax, dword [ebx + 8]
call dword [eax + 0x28]
mov dword [esi + 0xc], eax
mov ecx, dword [0x1029fc38]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edx, dword [0x1029fb9c]
cmp dword [esi + 0xc], eax
jne 0x1003cf73
mov eax, dword [edx + 0x184]
cmp byte [eax + ebx], 0
je 0x1003cf6a
mov ecx, dword [0x1029fc3c]
mov eax, dword [edx + 0x18c]
mov edx, dword [ecx]
push dword [eax + ebx]
call dword [edx + 0x10]
mov edx, dword [0x1029fb9c]
cmp eax, 0xdddddddd
je 0x1003cf73
mov ecx, dword [edx + 0x188]
mov ecx, dword [ecx + ebx]
and ecx, 0xfffffffe
cmp ecx, 4
cmove ebx, eax
jmp 0x1003cf73
mov eax, dword [edx + 0x1c]
cmp dword [eax + ebx], 0
jle 0x1003cf35
mov dword [esi + 0xc], ebx
mov eax, dword [edx + 0x20]
mov ecx, dword [esi + 8]
mov ecx, dword [eax + ecx]
mov edx, dword [esi + 0xc]
cmp ecx, dword [eax + edx]
je 0x1003ce20
mov eax, dword [esi + 0x10]
cmp dword [eax + edi + 0x3c60], 0
je 0x1003ce20
mov dword [esi + 0xc], esp
mov eax, dword [esi + 0x10]
lea ecx, [eax + edi]
add ecx, 0x3c50
push eax
sub esp, 0xc
mov dword [esi + 8], esp
mov eax, dword [ecx + 0xc]
mov edx, eax
shr edx, 1
mov ebx, dword [ecx + 8]
dec ebx
and ebx, edx
mov ecx, dword [ecx + 4]
and eax, 1
mov ecx, dword [ecx + ebx*4]
mov edx, dword [esi + 8]
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x1003cfe5
lock inc dword [edx + 4]
mov ebx, dword [esi + 0x10]
add ebx, edi
mov edx, dword [ecx + eax*8]
mov edi, dword [esi + 8]
mov dword [edi + 4], edx
mov eax, dword [ecx + eax*8 + 4]
mov dword [edi + 8], eax
mov eax, edi
add eax, 4
mov dword [esi + 0x10], eax
mov byte [edi + 0xc], 1
mov dword [edi], ebx
mov byte [esi + 0x30e0], 0
mov dword [esi + 0x30cc], 0
mov dword [esi + 0x30c8], 0
mov dword [esi + 0x30d0], 0
push 0x3071
push 0
lea eax, [esi + 0x30e4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x30d4], ebx
lea ecx, [esi + 0x30d8]
push dword [esi + 0x10]
call fcn.1002a690
cmp byte [edi + 0xc], 0
je 0x1003d07d
mov edi, dword [edi + 8]
test edi, edi
je 0x1003d07d
lock dec dword [edi + 4]
jne 0x1003d07d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock dec dword [edi + 8]
jne 0x1003d07d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esp, dword [esi + 0xc]
mov eax, dword [esi + 0x30ec]
cmp eax, dword [esi + 0x30f0]
je 0x1003d094
mov dword [esi + 0x30f0], eax
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax]
mov edx, dword [eax + 0x34]
mov edi, dword [ecx]
mov ecx, dword [0x1029fbac]
bswap ecx
mov ebx, dword [0x1029fbb0]
add ebx, ecx
mov ecx, dword [0x1029fbb4]
ror ebx, cl
vmovss xmm1, dword [ebx + 0x20]
vmulss xmm0, xmm1, dword [edx + edi + 4]
vmulss xmm3, xmm1, dword [edx + edi + 8]
vmovss xmm4, dword [edx + edi]
vmulss xmm0, xmm0, dword [ebp + 0xc]
vmovss xmm5, dword [eax + 0x4010]
vmovss xmm6, dword [eax + 0x4018]
vaddss xmm2, xmm0, dword [eax + 0x4014]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
vxorps xmm0, xmm0, xmm0
vmovaps ymmword [esi + 0x80], ymm0
vmovaps ymmword [esi + 0x60], ymm0
lea eax, [esi + 0xa0]
lea ecx, [esi + 0x30a0]
vmovups ymmword [eax + 0x10], ymm0
vmovups ymmword [eax], ymm0
vmovups ymmword [eax + 0x30], ymm0
vmovups ymmword [eax + 0x40], ymm0
vmovups ymmword [eax + 0x60], ymm0
vmovups ymmword [eax + 0x70], ymm0
vmovups ymmword [eax + 0x90], ymm0
vmovups ymmword [eax + 0xa0], ymm0
vmovups ymmword [eax + 0xc0], ymm0
vmovups ymmword [eax + 0xd0], ymm0
vmovups ymmword [eax + 0xf0], ymm0
vmovups ymmword [eax + 0x100], ymm0
vmovups ymmword [eax + 0x120], ymm0
vmovups ymmword [eax + 0x130], ymm0
vmovups ymmword [eax + 0x160], ymm0
vmovups ymmword [eax + 0x150], ymm0
vmovups ymmword [eax + 0x190], ymm0
vmovups ymmword [eax + 0x180], ymm0
vmovups ymmword [eax + 0x1c0], ymm0
vmovups ymmword [eax + 0x1b0], ymm0
vmovups ymmword [eax + 0x1e0], ymm0
vmovups ymmword [eax + 0x1f0], ymm0
vmovups ymmword [eax + 0x210], ymm0
vmovups ymmword [eax + 0x220], ymm0
vmovups ymmword [eax + 0x240], ymm0
vmovups ymmword [eax + 0x250], ymm0
vmovups ymmword [eax + 0x270], ymm0
vmovups ymmword [eax + 0x280], ymm0
vmovups ymmword [eax + 0x2a0], ymm0
vmovups ymmword [eax + 0x2b0], ymm0
vmovups ymmword [eax + 0x2d0], ymm0
vmovups ymmword [eax + 0x2e0], ymm0
add eax, 0x300
cmp eax, ecx
jne 0x1003d11d
vxorps xmm0, xmm0, xmm0
vmovups xmmword [ecx], xmm0
mov byte [ecx + 0x10], 0
mov eax, dword [esi + 0x30d4]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x1003d245
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax + 0x184]
cmp byte [ecx + edx], 0
je 0x1003d36d
mov edi, esp
vmulss xmm0, xmm4, xmm1
vmovss xmm1, dword [ebp + 0xc]
vmulss xmm0, xmm0, xmm1
vaddss xmm0, xmm5, xmm0
vmulss xmm1, xmm3, xmm1
vaddss xmm1, xmm1, xmm6
mov ecx, dword [0x1029fc18]
push eax
sub esp, 0x18
mov eax, esp
vmovss dword [eax + 0xc], xmm0
vmovss dword [eax + 0x10], xmm2
vmovss dword [eax + 0x14], xmm1
cmp byte [esi + 0x30e0], 0
je 0x1003d650
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov edx, dword [esi + 0x30dc]
test edx, edx
mov dword [esi + 8], edi
je 0x1003d2b9
lock inc dword [edx + 4]
mov edx, dword [esi + 0x30dc]
mov dword [esi + 0x6168], 0
jmp 0x1003d2bb
xor edx, edx
mov edi, dword [esi + 0x30d8]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
lea edx, [esi + 0x30c8]
mov dword [eax], edx
lea edx, [esi + 0x30]
mov dword [eax + 0x18], edx
mov dword [esi + 0x6168], 0
vzeroupper
call fcn.100263a0
mov esp, dword [esi + 8]
mov eax, dword [esi + 0x30d4]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x1003d30c
mov eax, dword [0x1029fb9c]
mov ecx, dword [eax + 0x184]
cmp byte [ecx + edx], 0
je 0x1003d4f8
mov ecx, dword [0x1029fc18]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea eax, [esi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x14], eax
push 0
lea eax, [esi + 0x30]
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
call fcn.10026e90
test al, al
jne 0x1003d618
lea ecx, [esi + 0x30]
call fcn.10017290
lea ecx, [esi + 0x30c8]
call fcn.1001d910
jmp 0x1003ce20
mov eax, dword [eax + 0x1c]
cmp dword [eax + edx], 0
jle 0x1003d245
vmovss dword [esi + 0x20], xmm6
vmovss dword [esi + 0x24], xmm5
vmovss dword [esi + 0x28], xmm4
vmovss dword [esi + 0xc], xmm3
vmovss dword [esi + 0x10], xmm1
vmovss dword [esi + 8], xmm2
lea ecx, [edx + 8]
mov dword [esi + 0x3c], edx
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x24]
mov dword [esi + 0x6168], 0
vzeroupper
call eax
test al, al
vmovss xmm2, dword [esi + 8]
vmovss xmm1, dword [esi + 0x10]
vmovss xmm3, dword [esi + 0xc]
vmovss xmm4, dword [esi + 0x28]
vmovss xmm5, dword [esi + 0x24]
vmovss xmm6, dword [esi + 0x20]
mov ebx, dword [esi + 0x3c]
jne 0x1003d245
mov edi, dword [0x1029fb9c]
mov eax, dword [edi + 0xdc]
mov eax, dword [eax + ebx + 8]
mov dword [esi + 0x30a4], eax
mov eax, dword [edi + 0xdc]
mov eax, dword [eax + ebx + 0xc]
mov dword [esi + 0x30a8], eax
mov byte [esi + 0x30b0], 0
mov ecx, dword [ebx + 0x290c]
mov dword [esi + 0x30a0], ecx
mov eax, dword [ebx + 0x2900]
test eax, eax
je 0x1003d45b
shl ecx, 4
lea ecx, [ecx + ecx*2]
push ecx
push eax
lea eax, [esi + 0xa0]
push eax
call sub.VCRUNTIME140.dll_memcpy
vmovss xmm6, dword [esi + 0x20]
vmovss xmm5, dword [esi + 0x24]
vmovss xmm4, dword [esi + 0x28]
vmovss xmm3, dword [esi + 0xc]
vmovss xmm1, dword [esi + 0x10]
vmovss xmm2, dword [esi + 8]
add esp, 0xc
mov byte [esi + 0x30b0], 1
mov eax, dword [edi + 0x18]
mov eax, dword [ebx + eax + 4]
mov dword [esi + 0x30ac], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + ebx + 8]
lea edx, [esi + 0x6c]
mov dword [edx + 0x24], ecx
vmovsd xmm0, qword [eax + ebx]
vmovsd qword [edx + 0x1c], xmm0
mov eax, dword [ebx + 0x3b0]
mov dword [edx + 0x18], eax
vmovsd xmm0, qword [ebx + 0x3a8]
vmovsd qword [edx + 0x10], xmm0
mov eax, dword [edi + 0x60]
vmovsd xmm0, qword [eax + ebx]
vmovsd qword [esi + 0x60], xmm0
mov eax, dword [eax + ebx + 8]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x64]
vmovsd xmm0, qword [eax + ebx]
vmovsd qword [edx], xmm0
mov eax, dword [eax + ebx + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + ebx + 8]
lea edx, [esi + 0x94]
mov dword [edx + 8], ecx
vmovsd xmm0, qword [eax + ebx]
vmovsd qword [edx], xmm0
mov eax, dword [edi + 0x208]
mov eax, dword [eax + ebx]
test eax, eax
je 0x1003d245
vmovss xmm0, dword [eax + 0x80]
vmovss dword [esi + 0x78], xmm0
jmp 0x1003d245
mov eax, dword [eax + 0x1c]
cmp dword [eax + edx], 0
jle 0x1003d30c
lea ecx, [edx + 8]
mov eax, dword [edx + 8]
mov dword [esi + 8], edx
call dword [eax + 0x24]
mov edi, dword [esi + 8]
test al, al
jne 0x1003d30c
mov ecx, dword [esi + 0x30a4]
mov eax, dword [0x1029fb9c]
mov edx, dword [eax + 0xdc]
mov dword [edx + edi + 8], ecx
mov ecx, dword [esi + 0x30a8]
mov edx, dword [eax + 0xdc]
mov dword [edx + edi + 0xc], ecx
cmp byte [esi + 0x30b0], 0
je 0x1003d571
mov eax, dword [esi + 0x30a0]
shl eax, 4
lea eax, [eax + eax*2]
push eax
lea eax, [esi + 0xa0]
push eax
push dword [edi + 0x2900]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [0x1029fb9c]
mov ecx, dword [esi + 0x30ac]
mov eax, dword [eax + 0x18]
mov dword [edi + eax + 4], ecx
mov eax, dword [0x1029fb9c]
mov eax, dword [eax + 0x2c]
lea edx, [esi + 0x6c]
mov ecx, dword [edx + 0x24]
mov dword [eax + edi + 8], ecx
vmovsd xmm0, qword [edx + 0x1c]
vmovsd qword [eax + edi], xmm0
mov eax, dword [edx + 0x18]
mov dword [edi + 0x3b0], eax
vmovsd xmm0, qword [edx + 0x10]
vmovsd qword [edi + 0x3a8], xmm0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov ecx, dword [esi + 8]
test eax, eax
je 0x1003d5d7
mov edx, dword [0x1029fb9c]
mov ecx, eax
lea eax, [esi + 0x6c]
push eax
lea eax, [esi + 0x60]
push eax
call dword [edx + 0x300]
mov ecx, dword [esi + 8]
vmovss xmm0, dword [esi + 0x78]
mov dword [esi + 0x4c], 0
vmovss dword [esi + 0x50], xmm0
mov dword [esi + 0x54], 0
mov eax, dword [0x1029fb9c]
lea edx, [esi + 0x4c]
push edx
call dword [eax + 0x2ec]
mov ecx, dword [esi + 8]
mov eax, dword [0x1029fb9c]
lea edx, [esi + 0x94]
push edx
call dword [eax + 0x2f0]
jmp 0x1003d30c
mov eax, dword [esi + 0x2c]
mov byte [eax + 0x49], 1
lea ecx, [esi + 0x30]
call fcn.10017290
lea ecx, [esi + 0x30c8]
call fcn.1001d910
mov eax, dword [esi + 0x2c]
cmp byte [eax + 0x49], 0
setne al
jmp 0x1003cd4e
mov dword [esi + 0x6168], 0xffffffff
call fcn.1002a140
mov dword [esi + 0x6168], 0
vzeroupper
call fcn.1002a5d0
nop word cs:[eax + eax]
push ebp
sub esp, 0x1c
lea esi, [ebp - 0x616c]
mov ebp, dword [esi + 0x6158]
lea ecx, [esi + 0x30]
call fcn.10017290
lea ecx, [esi + 0x30c8]
call fcn.1001d910
add esp, 0x1c
pop ebp
ret