Function at 0x1002dfd0
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 0x101024c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x101210c0]
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 - 0x68], edx
test edi, edi
je 0x1002e9a9
test edx, edx
je 0x1002e9a9
cmp dword [edi], 0
je 0x1002e9a9
movss xmm3, dword [0x10140e40]
mov ecx, dword [0x101cc864]
mov eax, dword [0x10140e40]
addss xmm3, dword [0x10114f98]
movq xmm0, qword [0x10140e38]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [0x101cca30]
movss dword [0x10140e40], xmm3
add eax, 0xffffffd9
movss xmm2, dword [ecx + 0x20]
xor eax, 0x59107256
add eax, dword [0x10140e2c]
mulss xmm2, dword [0x10114fbc]
movq qword [ebp - 0x2c], xmm0
movaps xmm0, xmm2
movaps xmm1, xmm2
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 4]
mulss xmm2, dword [eax + 8]
addss xmm0, dword [0x10140e38]
addss xmm1, dword [0x10140e3c]
addss xmm3, xmm2
movss dword [0x10140e38], xmm0
movss dword [0x10140e3c], xmm1
movss dword [0x10140e40], xmm3
mov dword [edi + 0x24], 0
mov eax, dword [edx + 0x1bcc]
mov esi, dword [0x101ccb00]
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 - 0x68]
add esp, 0xc
mov eax, dword [edx + 0x1bcc]
mov dword [esi + 0xc], eax
lea esi, [edx + 0x20]
mov ecx, dword [0x101cca28]
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 [0x101cca34]
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 [0x101cca38]
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 - 0x68]
mov edx, dword [0x101cc91c]
lea eax, [ecx + 0x6c]
mov ecx, dword [ecx]
push eax
call edx
mov ecx, dword [ebp - 0x68]
mov eax, dword [0x101cc920]
push esi
mov ecx, dword [ecx]
call eax
mov eax, dword [ebp - 0x64]
mov ecx, 4
xorps xmm2, xmm2
cmp dword [edi + 0x1c], eax
jg 0x1002e41e
xor eax, eax
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
xor esi, esi
test eax, eax
cmove esi, ecx
push esi
push ecx
call fcn.1002dd80
test al, al
je 0x1002e3e6
mov ecx, dword [edi]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1002e3e6
mov ecx, dword [0x101cc83c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1002e3e6
mov ecx, dword [0x101cca80]
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 - 0x60]
je 0x1002e3e6
mov eax, dword [edx + 8]
mov ecx, esi
shl ecx, 4
add ecx, esi
lea eax, [eax + ecx*4]
add eax, edx
je 0x1002e3e6
movss xmm2, dword [eax + 0x18]
subss xmm2, dword [eax + 0x30]
movss xmm4, dword [eax + 0x1c]
movss xmm6, dword [eax + 0x14]
mov ecx, dword [ebp - 0x68]
movaps xmm0, xmm6
movss dword [ebp - 0x20], xmm6
movaps xmm3, xmm6
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm4
mov eax, dword [eax]
mov esi, dword [edi]
lea eax, [eax + eax*2]
add eax, eax
mulss xmm0, dword [ecx + eax*8 + 0x3cc]
movss xmm1, dword [ecx + eax*8 + 0x3d4]
movss xmm5, dword [ecx + eax*8 + 0x3d0]
mulss xmm3, dword [ecx + eax*8 + 0x3dc]
mulss xmm6, dword [ecx + eax*8 + 0x3ec]
mulss xmm1, xmm4
mulss xmm5, xmm2
addss xmm1, dword [ecx + eax*8 + 0x3d8]
addss xmm5, xmm0
movss xmm0, dword [ecx + eax*8 + 0x3e0]
mulss xmm0, xmm2
addss xmm5, xmm1
movss xmm1, dword [ecx + eax*8 + 0x3e4]
mulss xmm1, xmm4
addss xmm3, xmm0
movss xmm0, dword [ecx + eax*8 + 0x3f0]
mulss xmm0, xmm2
addss xmm1, dword [ecx + eax*8 + 0x3e8]
addss xmm6, xmm0
addss xmm3, xmm1
movss xmm1, dword [ecx + eax*8 + 0x3f4]
mulss xmm1, xmm4
addss xmm1, dword [ecx + eax*8 + 0x3f8]
mov eax, dword [0x101cca74]
mov ecx, 0x10165a78
add eax, 0xffffffc8
movss dword [ebp - 0x20], xmm5
xor eax, 0x59107267
movss dword [ebp - 0x1c], xmm3
mov dword [ebp - 0x54], 0
addss xmm6, xmm1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
movss dword [ebp - 0x18], xmm6
movd xmm1, dword [eax + esi]
cvtdq2ps xmm1, xmm1
call fcn.1002deb0
mov ecx, 0x10165a78
movss dword [ebp - 0x48], xmm0
call fcn.1002df40
mov eax, dword [0x10140e2c]
push 1
push dword [0x10144b64]
movss dword [ebp - 0x44], xmm0
push dword [0x10144b60]
mov byte [ebp - 0x40], 1
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], eax
movss dword [ebp - 0x54], xmm5
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0x4c], xmm6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xffffffff
mov byte [ebp - 0x30], 0
call fcn.10100b00
cmp eax, dword [0x10144b64]
je 0x1002e3d7
mov ecx, dword [0x101cc844]
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 0x10140e38
call eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
call fcn.100e5640
test al, al
jne 0x1002e3fc
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, 2
jge 0x1002e418
mov ecx, 4
jmp 0x1002e1b0
mov eax, dword [ebp - 0x64]
xorps xmm2, xmm2
add eax, 0x20
cmp dword [ebp - 0x34], 3
mov dword [edi + 0x1c], eax
jne 0x1002e41b
cvttss2si eax, dword [ebp - 0x38]
mov dword [edi + 0x24], eax
jmp 0x1002e41b
xorps xmm2, xmm2
mov eax, dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x2c]
movss dword [0x10140e38], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [0x10140e3c], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [0x10140e40], xmm0
cmp dword [edi + 0x20], eax
jg 0x1002e87b
mov edx, dword [edi]
mov ecx, dword [0x101cca28]
mov eax, dword [0x101ccae8]
add ecx, 0xffffffdb
add eax, 0xffffffab
xor ecx, 0x59107254
xor eax, 0x59107284
movss xmm0, dword [ecx + edx + 4]
movss xmm1, dword [eax + edx]
movss xmm3, dword [ecx + edx + 8]
addss xmm0, dword [eax + edx + 4]
addss xmm3, dword [eax + edx + 8]
addss xmm1, dword [ecx + edx]
mov eax, dword [0x101cc9a4]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x20], xmm1
mov eax, dword [edx + eax]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1002e5de
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x1002e5de
cmp byte [eax + 0x109], 0
jne 0x1002e50e
mov eax, dword [0x101cca98]
add eax, 0xffffffbf
xor eax, 0x59107270
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1002e50e
mov eax, dword [0x101ccb0c]
add eax, 0xffffffa2
xor eax, 0x5910728d
mov eax, dword [eax + ecx]
mov ecx, dword [0x101cc808]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
movss xmm3, dword [ebp - 0x18]
test eax, eax
jne 0x1002e5de
mov eax, dword [ebp - 0x60]
mov ecx, dword [0x101ccb00]
add ecx, 0xffffffa5
xor ecx, 0x5910728a
mov eax, dword [eax + 0x60]
mov eax, dword [ecx + eax]
test eax, eax
je 0x1002e5de
movss xmm4, dword [eax + 0x1ac]
cvtps2pd xmm4, xmm4
cvtps2pd xmm0, xmm3
addsd xmm4, qword [str.333333]
comisd xmm0, xmm4
movsd qword [ebp - 0x70], xmm4
jbe 0x1002e5de
subsd xmm0, xmm4
xorps xmm5, xmm5
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x10114f78]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x10114ec8]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm5
jb 0x1002e5a5
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 - 0x70]
fstp dword [ebp - 0x60]
movss xmm5, dword [ebp - 0x60]
movaps xmm1, xmm5
mulss xmm1, xmm5
cvtps2pd xmm2, xmm3
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x10114f5c]
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
mov eax, dword [0x101cc864]
mov ecx, dword [ebp - 0x68]
movss xmm2, dword [eax + 0x20]
xor eax, eax
mulss xmm2, dword [0x10114fbc]
mov dword [ebp - 0x6c], eax
movaps xmm0, xmm2
movaps xmm1, xmm2
mulss xmm0, dword [ecx + 0x2c]
mulss xmm1, dword [ecx + 0x30]
mulss xmm2, dword [ecx + 0x34]
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
nop word [eax + eax]
xor esi, esi
test eax, eax
mov eax, 4
push ecx
cmove esi, eax
push esi
push ecx
call fcn.1002dd80
test al, al
je 0x1002e85e
mov ecx, dword [0x10140e2c]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1002e85e
mov ecx, dword [0x101cc83c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1002e85e
mov ecx, dword [0x101cca80]
mov edx, dword [0x10140e2c]
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 - 0x60]
je 0x1002e85e
mov eax, dword [edx + 8]
mov ecx, esi
shl ecx, 4
add ecx, esi
lea esi, [eax + ecx*4]
add esi, edx
je 0x1002e85e
movss xmm3, dword [esi + 0x18]
subss xmm3, dword [esi + 0x30]
movss xmm4, dword [esi + 0x1c]
movss xmm6, dword [esi + 0x14]
mov eax, dword [0x101ccb00]
movaps xmm0, xmm6
mov ecx, dword [0x10140e2c]
add eax, 0xffffffa5
movss dword [ebp - 0x2c], xmm6
xor eax, 0x5910728a
movss dword [ebp - 0x28], xmm3
movaps xmm2, xmm6
movss dword [ebp - 0x24], xmm4
mov ecx, dword [eax + ecx]
mov eax, dword [esi]
mov esi, dword [edi]
lea eax, [eax + eax*2]
add eax, eax
mulss xmm0, dword [ecx + eax*8]
movss xmm1, dword [ecx + eax*8 + 8]
movss xmm5, dword [ecx + eax*8 + 4]
mulss xmm2, dword [ecx + eax*8 + 0x10]
mulss xmm6, dword [ecx + eax*8 + 0x20]
mulss xmm1, xmm4
mulss xmm5, xmm3
addss xmm1, dword [ecx + eax*8 + 0xc]
addss xmm5, xmm0
movss xmm0, dword [ecx + eax*8 + 0x14]
mulss xmm0, xmm3
addss xmm5, xmm1
movss xmm1, dword [ecx + eax*8 + 0x18]
mulss xmm1, xmm4
addss xmm2, xmm0
movss xmm0, dword [ecx + eax*8 + 0x24]
mulss xmm0, xmm3
addss xmm1, dword [ecx + eax*8 + 0x1c]
addss xmm6, xmm0
addss xmm2, xmm1
movss xmm1, dword [ecx + eax*8 + 0x28]
mulss xmm1, xmm4
addss xmm1, dword [ecx + eax*8 + 0x2c]
mov eax, dword [0x101cca74]
mov ecx, 0x10165a78
add eax, 0xffffffc8
movss dword [ebp - 0x2c], xmm5
xor eax, 0x59107267
movss dword [ebp - 0x28], xmm2
mov dword [ebp - 0x54], 0
addss xmm6, xmm1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
movss dword [ebp - 0x24], xmm6
movd xmm1, dword [eax + esi]
cvtdq2ps xmm1, xmm1
call fcn.1002deb0
mov ecx, 0x10165a78
movss dword [ebp - 0x48], xmm0
call fcn.1002df40
mov eax, dword [0x10140e2c]
push 1
push dword [0x10144b64]
movss dword [ebp - 0x44], xmm0
push dword [0x10144b60]
mov byte [ebp - 0x40], 1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], esi
movss dword [ebp - 0x54], xmm5
movss dword [ebp - 0x50], xmm2
movss dword [ebp - 0x4c], xmm6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xffffffff
mov byte [ebp - 0x30], 0
call fcn.10100b00
cmp eax, dword [0x10144b64]
je 0x1002e84f
mov ecx, dword [0x101cc844]
lea edx, [ebp - 0x2c]
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 - 0x3c]
lea ecx, [ebp - 0x5c]
call fcn.100e5640
test al, al
jne 0x1002e872
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, 2
jge 0x1002e87b
mov ecx, dword [ebp - 0x68]
jmp 0x1002e630
mov eax, dword [ebp - 0x64]
add eax, 0x20
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x64]
cmp eax, ecx
jg 0x1002e88e
cmp dword [edi + 0x1c], ecx
jg 0x1002e88e
xor cl, cl
jmp 0x1002e890
mov cl, 1
mov byte [edi + 0x28], cl
test cl, cl
je 0x1002e9a9
sub eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x74]
movaps xmm0, xmmword [0x101157e0]
xorps xmm0, xmmword [0x10116210]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x1c]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], 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
xor byte [ebp + eax - 0x94], 0x23
inc eax
cmp eax, 0x1d
jb 0x1002e8e3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x60]
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0xac]
call fcn.10034ff0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x6481c]
cmp ecx, dword [esi + 0x64820]
je 0x1002e960
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 [esi + 0x6481c], 0x18
jmp 0x1002e96d
push eax
push ecx
lea ecx, [esi + 0x64818]
call fcn.100368a0
mov ecx, dword [ebp - 0x98]
cmp ecx, 0xf
jbe 0x1002e9a9
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e99f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e99f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1010120b
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.10100d90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8