Function at 0x100156ee
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x1003f463
call fcn.1003dd61
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x10057a24], eax
call edi
sub eax, dword [esi + 0x30]
mov ecx, eax
sbb edx, dword [esi + 0x34]
call fcn.1003d790
divss xmm0, dword [0x1004c7e8]
comiss xmm0, dword [0x1004c778]
jb 0x10015acd
call edi
xor ebx, ebx
mov dword [esi + 0x30], eax
mov edi, 0xe10
mov dword [esi + 0x34], edx
cmp byte [esi + 0x20], bl
je 0x100158f1
mov ecx, dword [esi + 0x24]
test ecx, ecx
jle 0x10015752
dec ecx
mov dword [esi + 0x24], ecx
test ecx, ecx
js 0x100158e6
mov eax, ecx
cdq
idiv edi
push 0x3c
mov eax, edx
cdq
pop edi
idiv edi
mov ebx, eax
mov eax, ecx
cdq
idiv edi
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
push 0xa
mov dword [ebp - 4], eax
pop eax
push edx
push ebx
cmp ebx, eax
jae 0x100157f3
xor ebx, ebx
cmp edx, eax
jae 0x100157cd
push 0x17
pop eax
mov byte [ebp - 0x32], al
mov cl, 0x32
mov byte [ebp - 0x2e], al
mov eax, ebx
mov word [ebp - 0x34], 0x232
mov word [ebp - 0x31], 0x856
mov byte [ebp - 0x2f], 2
mov word [ebp - 0x2d], 0x56
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 7
jae 0x100157c8
mov cl, byte [ebp - 0x34]
jmp 0x100157b9
mov byte [ebp - 0x2c], bl
jmp 0x1001583e
mov cl, 0x3b
mov dword [ebp - 0x34], 0x5f1e0b3b
mov dword [ebp - 0x30], 0x5f1e01
mov eax, ebx
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 6
jae 0x100157ee
mov cl, byte [ebp - 0x34]
jmp 0x100157df
mov byte [ebp - 0x2d], bl
jmp 0x1001583e
xor ebx, ebx
cmp edx, eax
mov eax, ebx
jae 0x1001581a
mov cl, 0x51
mov dword [ebp - 0x34], 0x6b357451
mov dword [ebp - 0x30], 0x357461
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 6
jae 0x100157ee
mov cl, byte [ebp - 0x34]
jmp 0x1001580b
mov cl, 7
mov dword [ebp - 0x34], 0x3d632207
mov word [ebp - 0x30], 0x6322
mov byte [ebp - 0x2e], bl
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 5
jae 0x1001583b
mov cl, byte [ebp - 0x34]
jmp 0x1001582c
mov byte [ebp - 0x2e], bl
sub esp, 0x18
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x50]
push eax
call fcn.100039e2
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10008b20
lea ecx, [ebp - 0x50]
call fcn.10003b97
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [0x1004d4c0]
mov ecx, ebx
cmova eax, dword [ebp - 0x28]
push eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x2f015729
mov byte [ebp - 0x3c], bl
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x13
jb 0x1001588c
sub esp, 0x18
mov byte [ebp - 0x3c], bl
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x68]
push eax
call fcn.100039e2
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [esi + 8]
call fcn.1000d720
lea ecx, [ebp - 0x68]
call fcn.10003b97
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x100158e1
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10003b6a
mov edi, 0xe10
cmp dword [esi + 0x24], ebx
jg 0x100158f1
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
cmp byte [esi + 0x21], 0
je 0x10015acd
movzx eax, word [esi + 0x28]
mov ecx, eax
test ax, ax
jle 0x1001590e
dec eax
mov word [esi + 0x28], ax
movzx ecx, ax
test cx, cx
js 0x10015abe
movsx ecx, cx
mov eax, ecx
cdq
idiv edi
push 0x3c
mov eax, edx
cdq
pop edi
idiv edi
movzx ebx, ax
mov eax, ecx
cdq
idiv edi
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
movzx edx, dx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
push 0xa
pop edi
mov dword [ebp - 4], 2
cmp bx, di
jae 0x1001598e
cmp dx, di
jae 0x1001598e
push edx
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], 0x13524777
mov cl, 0x77
mov dword [ebp - 0x30], 0x1352474d
mov byte [ebp - 0x2c], bl
mov eax, ebx
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 7
jae 0x10015986
mov cl, byte [ebp - 0x34]
jmp 0x10015977
mov byte [ebp - 0x2c], bl
jmp 0x10015a22
mov eax, edx
mov ecx, ebx
cmp bx, di
jae 0x100159c1
push eax
xor ebx, ebx
mov dword [ebp - 0x34], 0x45041121
push ecx
mov cl, 0x21
mov dword [ebp - 0x30], 0x45041b
mov eax, ebx
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 6
jae 0x100159bc
mov cl, byte [ebp - 0x34]
jmp 0x100159ad
mov byte [ebp - 0x2d], bl
jmp 0x10015a22
push 0xa
pop ebx
push eax
push ecx
cmp dx, bx
jae 0x100159f4
push 0x17
xor ebx, ebx
mov dword [ebp - 0x33], 0x272d7332
pop ecx
mov byte [ebp - 0x34], cl
mov eax, ebx
mov word [ebp - 0x2f], 0x7332
mov byte [ebp - 0x2d], bl
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 6
jae 0x100159bc
mov cl, byte [ebp - 0x34]
jmp 0x100159e5
push 0x2f
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x30], bl
xor ebx, ebx
pop ecx
mov byte [ebp - 0x34], cl
mov eax, ebx
mov word [ebp - 0x32], 0x154b
mov word [ebp - 0x2f], 0x4b
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 5
jae 0x10015a1f
mov cl, byte [ebp - 0x34]
jmp 0x10015a10
mov byte [ebp - 0x2e], bl
sub esp, 0x18
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x68]
push eax
call fcn.100039e2
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10008b20
lea ecx, [ebp - 0x68]
call fcn.10003b97
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [0x1004d5f0]
mov ecx, ebx
cmova eax, dword [ebp - 0x28]
push eax
push 0x3c
pop eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x12443a41
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x3b], bl
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x14
jb 0x10015a76
sub esp, 0x18
mov byte [ebp - 0x3b], bl
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.10003d99
lea eax, [ebp - 0x68]
push eax
call fcn.100039e2
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.1000d720
lea ecx, [ebp - 0x68]
call fcn.10003b97
lea ecx, [ebp - 0x28]
call fcn.10003b97
cmp word [esi + 0x28], bx
jg 0x10015acd
xor eax, eax
mov byte [esi + 0x21], bl
mov word [esi + 0x28], ax
call fcn.1003dd1f
ret