Function at 0x1002d380
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9710
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x101180c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov edi, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x70], edx
test edi, edi
je 0x1002dcc9
test edx, edx
je 0x1002dcc9
cmp dword [edi], 0
je 0x1002dcc9
movss xmm3, dword [0x10137e40]
mov ecx, dword [0x101c3244]
mov eax, dword [0x10137e40]
addss xmm3, dword [0x1010bed0]
movq xmm0, qword [0x10137e38]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [0x101c3410]
movss dword [0x10137e40], xmm3
add eax, 0xffffffd9
movss xmm2, dword [ecx + 0x20]
xor eax, 0x59107256
add eax, dword [0x10137e2c]
mulss xmm2, dword [0x1010bef0]
movq qword [ebp - 0x30], xmm0
movaps xmm0, xmm2
movaps xmm1, xmm2
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 4]
mulss xmm2, dword [eax + 8]
addss xmm0, dword [0x10137e38]
addss xmm1, dword [0x10137e3c]
addss xmm3, xmm2
movss dword [0x10137e38], xmm0
movss dword [0x10137e3c], xmm1
movss dword [0x10137e40], xmm3
mov dword [edi + 0x24], 0
mov eax, dword [edx + 0x1bcc]
mov esi, dword [0x101c34e0]
add esi, 0xffffffa5
xor esi, 0x5910728a
add esi, dword [edx]
lea eax, [eax + eax*2]
shl eax, 4
push eax
lea eax, [edx + 0x3cc]
push eax
push dword [esi]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x70]
add esp, 0xc
mov eax, dword [edx + 0x1bcc]
mov dword [esi + 0xc], eax
lea esi, [edx + 0x20]
mov ecx, dword [0x101c3408]
mov eax, dword [esi]
add ecx, 0xffffffdb
xor ecx, 0x59107254
add ecx, dword [edx]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov ecx, dword [0x101c3414]
mov eax, dword [edx + 0x38]
add ecx, 0xffffffd8
xor ecx, 0x59107257
add ecx, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
mov ecx, dword [0x101c3418]
mov eax, dword [edx + 0x44]
add ecx, 0xffffffd7
xor ecx, 0x59107258
add ecx, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [0x101c32fc]
lea eax, [ecx + 0x6c]
mov ecx, dword [ecx]
push eax
call edx
mov ecx, dword [ebp - 0x70]
mov eax, dword [0x101c3300]
push esi
mov ecx, dword [ecx]
call eax
mov eax, dword [ebp - 0x68]
mov ecx, 4
cmp dword [edi + 0x1c], eax
jg 0x1002d785
xor eax, eax
mov dword [ebp - 0x6c], eax
nop dword [eax]
movss xmm3, dword [0x1010bdb0]
xor esi, esi
test eax, eax
cmove esi, ecx
push esi
push dword [edi]
call fcn.1002d1d0
test al, al
je 0x1002d755
mov ecx, dword [edi]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1002d755
mov ecx, dword [0x101c321c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1002d755
mov ecx, dword [0x101c3460]
mov edx, dword [edi]
add ecx, 0xffffffc5
mov eax, dword [eax + 0xb0]
xor ecx, 0x5910726a
mov ecx, dword [ecx + edx]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*4]
add edx, dword [ebp - 0x64]
je 0x1002d755
mov eax, dword [edx + 8]
mov ecx, esi
shl ecx, 4
add ecx, esi
lea eax, [eax + ecx*4]
add eax, edx
je 0x1002d755
movss xmm4, dword [eax + 0x18]
subss xmm4, dword [eax + 0x30]
movss xmm5, dword [eax + 0x1c]
movss xmm6, dword [eax + 0x14]
mov ecx, dword [ebp - 0x70]
movaps xmm0, xmm6
movss dword [ebp - 0x20], xmm6
movaps xmm2, xmm6
movss dword [ebp - 0x1c], xmm4
movaps xmm3, xmm4
movss dword [ebp - 0x18], xmm5
mov eax, dword [eax]
push 1
push dword [0x1013bbe4]
lea eax, [eax + eax*2]
add eax, eax
push dword [0x1013bbe0]
mulss xmm0, dword [ecx + eax*8 + 0x3cc]
movss xmm1, dword [ecx + eax*8 + 0x3d4]
mulss xmm3, dword [ecx + eax*8 + 0x3d0]
mulss xmm2, dword [ecx + eax*8 + 0x3dc]
mulss xmm6, dword [ecx + eax*8 + 0x3ec]
addss xmm3, xmm0
mulss xmm1, xmm5
movaps xmm0, xmm4
mulss xmm0, dword [ecx + eax*8 + 0x3e0]
addss xmm1, dword [ecx + eax*8 + 0x3d8]
mulss xmm4, dword [ecx + eax*8 + 0x3f0]
addss xmm2, xmm0
movss xmm0, dword [ecx + eax*8 + 0x3f4]
mulss xmm0, xmm5
addss xmm3, xmm1
movss xmm1, dword [ecx + eax*8 + 0x3e4]
mulss xmm1, xmm5
addss xmm6, xmm4
addss xmm0, dword [ecx + eax*8 + 0x3f8]
addss xmm1, dword [ecx + eax*8 + 0x3e8]
mov eax, dword [edi]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x10137e2c]
addss xmm6, xmm0
movss dword [ebp - 0x20], xmm3
addss xmm2, xmm1
mov dword [ebp - 0x4c], 0x3f800000
mov byte [ebp - 0x44], 1
mov dword [ebp - 0x60], eax
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x58], xmm3
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 0x50], xmm6
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xffffffff
mov byte [ebp - 0x34], 0
call fcn.100f7d20
cmp eax, dword [0x1013bbe4]
je 0x1002d746
mov ecx, dword [0x101c3224]
lea edx, [ebp - 0x20]
push ecx
mov dword [esp], 0x3dcccccd
push 0
mov eax, dword [ecx]
push 0
push 0
push 0xff
mov eax, dword [eax + 0x14]
push edx
push 0x10137e38
call eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x60]
call fcn.100de3b0
test al, al
jne 0x1002d76b
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, 2
jge 0x1002d782
mov ecx, 4
jmp 0x1002d560
mov eax, dword [ebp - 0x68]
add eax, 0x20
cmp dword [ebp - 0x38], 3
mov dword [edi + 0x1c], eax
jne 0x1002d782
cvttss2si eax, dword [ebp - 0x3c]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x30]
movss dword [0x10137e38], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [0x10137e3c], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [0x10137e40], xmm0
cmp dword [edi + 0x20], eax
jg 0x1002db90
mov esi, dword [edi]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [esi + 0x39e1], 0
je 0x1002d92f
mov eax, dword [0x101c3384]
mov eax, dword [esi + eax]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1002d92f
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x1002d92f
cmp byte [eax + 0x109], 0
xorps xmm5, xmm5
jne 0x1002d85b
mov eax, dword [0x101c3478]
add eax, 0xffffffbf
xor eax, 0x59107270
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x1002d85b
mov eax, dword [0x101c34ec]
add eax, 0xffffffa2
xor eax, 0x5910728d
mov eax, dword [eax + ecx]
mov ecx, dword [0x101c31e8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x1002d92f
xorps xmm5, xmm5
mov eax, dword [ebp - 0x64]
mov ecx, dword [0x101c34e0]
add ecx, 0xffffffa5
xor ecx, 0x5910728a
mov eax, dword [eax + 0x60]
mov eax, dword [ecx + eax]
test eax, eax
je 0x1002d92f
movss xmm4, dword [eax + 0x1ac]
movss xmm3, dword [ebp - 0x18]
cvtps2pd xmm4, xmm4
cvtps2pd xmm0, xmm3
addsd xmm4, qword [str.333333]
comisd xmm0, xmm4
movsd qword [ebp - 0x30], xmm4
jbe 0x1002d934
subsd xmm0, xmm4
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x1010beb0]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x1010be00]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm5
jb 0x1002d8f4
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm3, dword [ebp - 0x18]
add esp, 8
movsd xmm4, qword [ebp - 0x30]
fstp dword [ebp - 0x64]
movss xmm5, dword [ebp - 0x64]
movaps xmm1, xmm5
mulss xmm1, xmm5
cvtps2pd xmm2, xmm3
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x1010be94]
subsd xmm4, xmm2
mulss xmm1, xmm5
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm4
addsd xmm0, xmm2
cvtpd2ps xmm3, xmm0
movss dword [ebp - 0x18], xmm3
jmp 0x1002d934
movss xmm3, dword [ebp - 0x18]
mov eax, dword [0x101c3244]
movss xmm2, dword [eax + 0x20]
mulss xmm2, dword [0x1010bef0]
mov eax, dword [ebp - 0x70]
movaps xmm0, xmm2
movaps xmm1, xmm2
mulss xmm0, dword [eax + 0x2c]
mulss xmm1, dword [eax + 0x30]
mulss xmm2, dword [eax + 0x34]
xor eax, eax
mov dword [ebp - 0x6c], eax
addss xmm0, dword [ebp - 0x20]
addss xmm1, dword [ebp - 0x1c]
addss xmm2, xmm3
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm2
movss xmm3, dword [0x1010bdb0]
xor esi, esi
test eax, eax
mov eax, 4
cmove esi, eax
push esi
push dword [0x10137e2c]
call fcn.1002d1d0
test al, al
je 0x1002db75
mov ecx, dword [0x10137e2c]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1002db75
mov ecx, dword [0x101c321c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov edx, eax
mov dword [ebp - 0x64], edx
test edx, edx
je 0x1002db75
mov ecx, dword [0x101c3460]
mov eax, dword [0x10137e2c]
add ecx, 0xffffffc5
xor ecx, 0x5910726a
mov ecx, dword [ecx + eax]
mov eax, dword [edx + 0xb0]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*4]
add edx, dword [ebp - 0x64]
je 0x1002db75
mov eax, dword [edx + 8]
mov ecx, esi
shl ecx, 4
add ecx, esi
lea esi, [eax + ecx*4]
add esi, edx
je 0x1002db75
movss xmm4, dword [esi + 0x18]
subss xmm4, dword [esi + 0x30]
movss xmm5, dword [esi + 0x1c]
movss xmm6, dword [esi + 0x14]
mov eax, dword [0x101c34e0]
movaps xmm3, xmm6
mov edx, dword [0x10137e2c]
add eax, 0xffffffa5
movss dword [ebp - 0x30], xmm6
xor eax, 0x5910728a
movss dword [ebp - 0x2c], xmm4
movaps xmm2, xmm6
movss dword [ebp - 0x28], xmm5
push 1
mov ecx, dword [eax + edx]
mov eax, dword [esi]
push dword [0x1013bbe4]
push dword [0x1013bbe0]
lea eax, [eax + eax*2]
add eax, eax
movss xmm1, dword [ecx + eax*8 + 8]
movss xmm0, dword [ecx + eax*8 + 4]
mulss xmm3, dword [ecx + eax*8]
mulss xmm2, dword [ecx + eax*8 + 0x10]
mulss xmm6, dword [ecx + eax*8 + 0x20]
mulss xmm1, xmm5
mulss xmm0, xmm4
addss xmm1, dword [ecx + eax*8 + 0xc]
addss xmm3, xmm0
movss xmm0, dword [ecx + eax*8 + 0x14]
mulss xmm0, xmm4
addss xmm3, xmm1
movss xmm1, dword [ecx + eax*8 + 0x18]
mulss xmm1, xmm5
addss xmm2, xmm0
movss xmm0, dword [ecx + eax*8 + 0x24]
mulss xmm0, xmm4
addss xmm1, dword [ecx + eax*8 + 0x1c]
addss xmm6, xmm0
addss xmm2, xmm1
movss xmm1, dword [ecx + eax*8 + 0x28]
mulss xmm1, xmm5
addss xmm1, dword [ecx + eax*8 + 0x2c]
mov eax, dword [edi]
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x2c], xmm2
mov dword [ebp - 0x4c], 0x3f800000
addss xmm6, xmm1
mov byte [ebp - 0x44], 1
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], eax
movss dword [ebp - 0x58], xmm3
movss dword [ebp - 0x54], xmm2
movss dword [ebp - 0x28], xmm6
movss dword [ebp - 0x50], xmm6
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xffffffff
mov byte [ebp - 0x34], 0
call fcn.100f7d20
cmp eax, dword [0x1013bbe4]
je 0x1002db66
mov ecx, dword [0x101c3224]
lea edx, [ebp - 0x30]
push ecx
mov dword [esp], 0x3dcccccd
push 0
mov eax, dword [ecx]
push 0
push 0
push 0xff
mov eax, dword [eax + 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
call eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x60]
call fcn.100de3b0
test al, al
jne 0x1002db87
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, 2
jl 0x1002d980
jmp 0x1002db90
mov eax, dword [ebp - 0x68]
add eax, 0x20
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x68]
cmp eax, ecx
jg 0x1002dba3
cmp dword [edi + 0x1c], ecx
jg 0x1002dba3
xor cl, cl
jmp 0x1002dba5
mov cl, 1
mov byte [edi + 0x28], cl
test cl, cl
je 0x1002dcc9
sub eax, dword [ebp - 0x68]
movaps xmm0, xmmword [0x1010c6b0]
xorps xmm0, xmmword [0x1010d0b0]
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x1c]
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, 0x10
mov dword [ebp - 0x84], 0x3500603
mov dword [ebp - 0x80], 0x358035e
mov dword [ebp - 0x7c], 0x5e035006
mov byte [ebp - 0x78], 0x23
movups xmmword [ebp - 0x94], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x94], 0x23
inc eax
cmp eax, 0x1d
jb 0x1002dc00
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0xac]
call fcn.10033900
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 4], 0
mov ecx, dword [edx + 0x64a1c]
cmp ecx, dword [edx + 0x64a20]
je 0x1002dc80
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [edx + 0x64a1c], 0x18
jmp 0x1002dc8d
push eax
push ecx
lea ecx, [esi + 0x64a18]
call fcn.10034c20
mov ecx, dword [ebp - 0x98]
cmp ecx, 0xf
jbe 0x1002dcc9
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002dcbf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002dcbf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f842c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f7fb0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8