Function at 0x1001f510
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 0x100ed8a0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x1010b0b8]
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], edi
mov dword [ebp - 0x64], edx
test edi, edi
je 0x1001fe59
test edx, edx
je 0x1001fe59
cmp dword [edi], 0
je 0x1001fe59
movss xmm3, dword [0x1012ae98]
mov ecx, dword [0x101a8a74]
mov eax, dword [0x1012ae98]
addss xmm3, dword [0x100ff874]
movq xmm0, qword [0x1012ae90]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [0x101a8c18]
movss dword [0x1012ae98], xmm3
add eax, 0xffffffd9
movss xmm2, dword [ecx + 0x20]
xor eax, 0x42c871c4
add eax, dword [0x1012ae84]
mulss xmm2, dword [0x100ff898]
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 [0x1012ae90]
addss xmm1, dword [0x1012ae94]
addss xmm3, xmm2
movss dword [0x1012ae90], xmm0
movss dword [0x1012ae94], xmm1
movss dword [0x1012ae98], xmm3
mov dword [edi + 0x24], 0
mov eax, dword [edx + 0x1bcc]
mov esi, dword [0x101a8ce8]
add esi, 0xffffffa5
xor esi, 0x42c871f8
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 - 0x64]
add esp, 0xc
mov eax, dword [edx + 0x1bcc]
mov dword [esi + 0xc], eax
lea esi, [edx + 0x20]
mov ecx, dword [0x101a8c10]
mov eax, dword [esi]
add ecx, 0xffffffdb
xor ecx, 0x42c871c2
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 [0x101a8c1c]
mov eax, dword [edx + 0x38]
add ecx, 0xffffffd8
xor ecx, 0x42c871c5
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 [0x101a8c20]
mov eax, dword [edx + 0x44]
add ecx, 0xffffffd7
xor ecx, 0x42c871c6
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 - 0x64]
mov edx, dword [0x101a8b2c]
lea eax, [ecx + 0x6c]
mov ecx, dword [ecx]
push eax
call edx
mov ecx, dword [ebp - 0x64]
mov eax, dword [0x101a8b30]
push esi
mov ecx, dword [ecx]
call eax
mov eax, dword [ebp - 0x60]
mov ecx, 4
cmp dword [edi + 0x1c], eax
jg 0x1001f91f
xor eax, eax
mov dword [ebp - 0x6c], eax
movss xmm3, dword [0x100ff770]
xor esi, esi
test eax, eax
mov eax, dword [edi]
cmove esi, ecx
push esi
push eax
call fcn.1001f330
test al, al
je 0x1001f8f2
mov ecx, dword [edi]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1001f8f2
mov ecx, dword [0x101a8a4c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1001f8f2
mov ecx, dword [0x101a8c68]
mov edx, dword [edi]
add ecx, 0xffffffc5
mov eax, dword [eax + 0xb0]
xor ecx, 0x42c871d8
mov ecx, dword [ecx + edx]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*4]
add edx, dword [ebp - 0x5c]
je 0x1001f8f2
mov eax, dword [edx + 8]
mov ecx, esi
shl ecx, 4
add ecx, esi
lea eax, [eax + ecx*4]
add eax, edx
je 0x1001f8f2
movss xmm4, dword [eax + 0x18]
subss xmm4, dword [eax + 0x30]
movss xmm5, dword [eax + 0x1c]
movss xmm6, dword [eax + 0x14]
mov ecx, dword [ebp - 0x64]
movaps xmm3, xmm6
movss dword [ebp - 0x20], xmm6
movaps xmm2, xmm6
movss dword [ebp - 0x1c], xmm4
movss dword [ebp - 0x18], xmm5
mov eax, dword [eax]
lea eax, [eax + eax*2]
add eax, eax
movss xmm1, dword [ecx + eax*8 + 0x3d4]
movss xmm0, dword [ecx + eax*8 + 0x3d0]
mulss xmm3, dword [ecx + eax*8 + 0x3cc]
mulss xmm2, dword [ecx + eax*8 + 0x3dc]
mulss xmm6, dword [ecx + eax*8 + 0x3ec]
mulss xmm1, xmm5
mulss xmm0, xmm4
addss xmm1, dword [ecx + eax*8 + 0x3d8]
addss xmm3, xmm0
movss xmm0, dword [ecx + eax*8 + 0x3e0]
mulss xmm0, xmm4
addss xmm3, xmm1
movss xmm1, dword [ecx + eax*8 + 0x3e4]
mulss xmm1, xmm5
addss xmm2, xmm0
movss xmm0, dword [ecx + eax*8 + 0x3f0]
mulss xmm0, xmm4
addss xmm1, dword [ecx + eax*8 + 0x3e8]
addss xmm6, xmm0
addss xmm2, xmm1
movss xmm1, dword [ecx + eax*8 + 0x3f4]
mulss xmm1, xmm5
addss xmm1, dword [ecx + eax*8 + 0x3f8]
mov eax, dword [edi]
mov ecx, dword [0x101304ec]
mov dword [ebp - 0x54], eax
mov eax, dword [0x1012ae84]
addss xmm6, xmm1
mov dword [ebp - 0x58], eax
mov eax, dword [0x101304e8]
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x1c], xmm2
mov dword [ebp - 0x44], 0x3f800000
movss dword [ebp - 0x18], xmm6
mov byte [ebp - 0x40], 1
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0x4c], xmm2
movss dword [ebp - 0x48], xmm6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xffffffff
mov byte [ebp - 0x30], 0
cmp eax, ecx
je 0x1001f8e3
cmp dword [eax], 1
je 0x1001f8b6
add eax, 4
cmp eax, ecx
jne 0x1001f8a8
jmp 0x1001f8e3
cmp eax, ecx
je 0x1001f8e3
mov ecx, dword [0x101a8a54]
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 0x1012ae90
call eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x58]
call fcn.100d6d80
test al, al
jne 0x1001f908
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, 2
jge 0x1001f91f
mov ecx, 4
jmp 0x1001f6f0
mov eax, dword [ebp - 0x60]
add eax, 0x20
cmp dword [ebp - 0x34], 3
mov dword [edi + 0x1c], eax
jne 0x1001f91f
cvttss2si eax, dword [ebp - 0x38]
mov dword [edi + 0x24], eax
movss xmm0, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x60]
movss dword [0x1012ae90], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [0x1012ae94], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [0x1012ae98], xmm0
mov eax, dword [edi + 0x20]
cmp eax, ecx
jg 0x1001fd4b
mov edi, dword [edi]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [edi + 0x39e1], 0
je 0x1001facb
mov eax, dword [0x101a8bb4]
mov edi, dword [edi + eax]
test edi, edi
je 0x1001facb
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x1001facb
cmp byte [edi + 0x109], 0
xorps xmm5, xmm5
jne 0x1001f9f7
mov eax, dword [0x101a8c80]
add eax, 0xffffffbf
xor eax, 0x42c871de
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x1001f9f7
mov eax, dword [0x101a8cf4]
add eax, 0xffffffa2
xor eax, 0x42c871fb
mov eax, dword [eax + ecx]
mov ecx, dword [0x101a8a18]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x1001facb
xorps xmm5, xmm5
mov ecx, dword [0x101a8ce8]
mov eax, dword [edi + 0x60]
add ecx, 0xffffffa5
xor ecx, 0x42c871f8
mov eax, dword [ecx + eax]
test eax, eax
je 0x1001facb
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 - 0x70], xmm4
jbe 0x1001fad0
cvtps2pd xmm0, xmm3
subsd xmm0, xmm4
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100ff85c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100ff7c8]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm5
jb 0x1001fa90
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 - 0x5c]
movss xmm5, dword [ebp - 0x5c]
movaps xmm1, xmm5
mulss xmm1, xmm5
cvtps2pd xmm2, xmm3
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x100ff844]
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 0x1001fad0
movss xmm3, dword [ebp - 0x18]
mov eax, dword [0x101a8a74]
mov edi, dword [0x1012ae84]
movss xmm2, dword [eax + 0x20]
mulss xmm2, dword [0x100ff898]
mov eax, dword [ebp - 0x64]
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 [0x100ff770]
xor esi, esi
test eax, eax
mov eax, 4
cmove esi, eax
push esi
push edi
call fcn.1001f330
test al, al
je 0x1001fd15
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1001fd0f
mov ecx, dword [0x101a8a4c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1001fd0f
mov ecx, dword [0x101a8c68]
mov edi, dword [0x1012ae84]
add ecx, 0xffffffc5
mov eax, dword [eax + 0xb0]
xor ecx, 0x42c871d8
mov ecx, dword [ecx + edi]
lea ecx, [ecx + ecx*2]
lea edx, [eax + ecx*4]
add edx, dword [ebp - 0x5c]
je 0x1001fd15
mov eax, dword [edx + 8]
mov ecx, esi
shl ecx, 4
add ecx, esi
lea esi, [eax + ecx*4]
add esi, edx
je 0x1001fd15
movss xmm4, dword [esi + 0x18]
subss xmm4, dword [esi + 0x30]
movss xmm5, dword [esi + 0x1c]
movss xmm6, dword [esi + 0x14]
mov eax, dword [0x101a8ce8]
movaps xmm0, xmm6
movss dword [ebp - 0x2c], xmm6
add eax, 0xffffffa5
movss dword [ebp - 0x28], xmm4
xor eax, 0x42c871f8
movss dword [ebp - 0x24], xmm5
movaps xmm2, xmm6
mov ecx, dword [eax + edi]
mov eax, dword [esi]
lea eax, [eax + eax*2]
add eax, eax
mulss xmm0, dword [ecx + eax*8]
movss xmm1, dword [ecx + eax*8 + 8]
movss xmm3, dword [ecx + eax*8 + 4]
mulss xmm2, dword [ecx + eax*8 + 0x10]
mulss xmm6, dword [ecx + eax*8 + 0x20]
mulss xmm1, xmm5
mulss xmm3, 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 ecx, dword [0x101304ec]
mov dword [ebp - 0x54], edi
mov edi, dword [ebp - 0x68]
movss dword [ebp - 0x2c], xmm3
addss xmm6, xmm1
movss dword [ebp - 0x28], xmm2
mov dword [ebp - 0x44], 0x3f800000
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
mov eax, dword [0x101304e8]
movss dword [ebp - 0x24], xmm6
mov byte [ebp - 0x40], 1
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0x4c], xmm2
movss dword [ebp - 0x48], xmm6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xffffffff
mov byte [ebp - 0x30], 0
cmp eax, ecx
je 0x1001fd00
cmp dword [eax], 1
je 0x1001fcd4
add eax, 4
cmp eax, ecx
jne 0x1001fcc6
jmp 0x1001fd00
cmp eax, ecx
je 0x1001fd00
mov ecx, dword [0x101a8a54]
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 - 0x58]
call fcn.100d6d80
test al, al
jne 0x1001fd40
mov edi, dword [0x1012ae84]
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, 2
jl 0x1001fb22
mov edi, dword [ebp - 0x68]
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x60]
cmp eax, ecx
jg 0x1001fd4b
cmp dword [edi + 0x1c], ecx
jg 0x1001fd4b
mov byte [edi + 0x28], 0
jmp 0x1001fe59
mov eax, dword [ebp - 0x60]
add eax, 0x20
mov dword [edi + 0x20], eax
jmp 0x1001fd2b
movaps xmm0, xmmword [0x100ffa80]
sub eax, ecx
pxor xmm0, xmmword [0x100ffc90]
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x1c]
sub eax, ecx
mov byte [edi + 0x28], 1
mov dword [ebp - 0x68], eax
mov eax, 0x10
mov dword [ebp - 0x7c], 0x2c297a2c
mov word [ebp - 0x78], 0x97a
movups xmmword [ebp - 0x8c], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x8c], 9
inc eax
cmp eax, 0x16
jb 0x1001fd90
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0xa4]
call fcn.100261e0
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 4], 0
mov ecx, dword [edx + 0x64a1c]
cmp ecx, dword [edx + 0x64a20]
je 0x1001fe10
mov dword [ecx], 0
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 + 0x64a1c], 0x18
jmp 0x1001fe1d
push eax
push ecx
lea ecx, [esi + 0x64a18]
call fcn.100270c0
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x1001fe59
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001fe4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001fe4f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100eb980
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.100eb505
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8