Function at 0x1003e8a0
Capabilities:
Encode data using xor

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 0x100ffc75
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c
mov eax, dword [0x1011c0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], 0x1d0f064e
xor eax, eax
mov dword [ebp - 0x58], 0x1060705
mov dword [ebp - 0x54], 0x6e4e0501
xor byte [ebp + eax - 0x5c], 0x6e
inc eax
cmp eax, 0xc
jb 0x1003e8f4
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e920
sub ecx, edx
lea eax, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.10035b40
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x5c], 0x1d0b0c4e
mov dword [ebp - 0x58], 0xf064e1a
mov dword [ebp - 0x54], 0x534e0b05
mov word [ebp - 0x50], 0x4e2a
mov byte [ebp - 0x4e], 0x6e
nop
xor byte [ebp + eax - 0x5c], 0x6e
inc eax
cmp eax, 0xf
jb 0x1003e960
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003e986
sub ecx, edx
lea eax, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10035b40
mov byte [ebp - 4], 1
cmp byte [0x10130f7c], 0
je 0x1003eab5
mov eax, dword [0x101c3a0c]
mov esi, 0x12
movsd xmm1, qword [0x1010f968]
movss xmm0, dword [eax + 0x10]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si ecx, xmm0
mov eax, ecx
cdq
idiv esi
cmp dword [0x101f6020], edx
je 0x1003eaac
mov eax, ecx
mov ecx, 0x1e
cdq
idiv ecx
cmp edx, 0xf
ja case.default.0x1003e9f3
jmp dword [edx*4 + 0x1003eb88]
sub esp, 0x18
mov ecx, esp
push 8
push str.ve
jmp 0x1003ea68
sub esp, 0x18
mov ecx, esp
push 8
push str.vel
jmp 0x1003ea68
sub esp, 0x18
mov ecx, esp
push 8
push str.velo
jmp 0x1003ea68
sub esp, 0x18
mov ecx, esp
push 8
push str.veloc
jmp 0x1003ea68
sub esp, 0x18
mov ecx, esp
push 8
push str.veloci
jmp 0x1003ea68
sub esp, 0x18
mov ecx, esp
push 8
push str.velocit
jmp 0x1003ea68
sub esp, 0x18
mov ecx, esp
push 8
push str.velocity
jmp 0x1003ea68
sub esp, 0x18
mov ecx, esp
push 8
push str.v
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10035b40
call fcn.1003ebd0
movsd xmm1, qword [0x1010f968]
mov eax, dword [0x101c3a0c]
movss xmm0, dword [eax + 0x10]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
cdq
idiv esi
mov dword [0x101f6020], edx
mov byte [0x101f6018], 1
jmp 0x1003eb02
cmp byte [0x101f6018], 0
je 0x1003eb02
sub esp, 0x18
mov byte [ebp - 0x49], 0
mov edx, esp
lea ecx, [ebp - 0x49]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003eae1
sub ecx, esi
lea eax, [ebp - 0x49]
push ecx
push eax
mov ecx, edx
call fcn.10035b40
call fcn.1003ebd0
mov byte [0x101f6018], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1003eb32
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003eb28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003eb58
push ecx
push edx
call fcn.100fe0da
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1003eb68
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003eb5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003eb5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100fe0da
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100fdc5c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret