Function at 0x10010e7a
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x100368d3
call fcn.10035531
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x10047174], eax
call edi
sub eax, dword [esi + 0x30]
mov ecx, eax
sbb edx, dword [esi + 0x34]
call fcn.10035bf0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x1003ed00]
comiss xmm0, dword [0x1003ecac]
jb 0x10011242
call edi
mov dword [esi + 0x30], eax
xor ebx, ebx
mov al, byte [esi + 0x20]
mov dword [esi + 0x34], edx
test al, al
je 0x10011072
mov eax, dword [esi + 0x24]
test eax, eax
jle 0x10010edd
dec eax
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x24]
test edi, edi
js 0x10011066
mov eax, edi
mov dword [ebp - 0x14], 0xf
cdq
mov ecx, 0xe10
idiv ecx
push 0x3c
mov eax, edx
mov dword [ebp - 0x18], ebx
cdq
pop ecx
idiv ecx
push 0x3c
mov ecx, eax
mov byte [ebp - 0x28], bl
mov eax, edi
cdq
pop edi
idiv edi
push 0xa
pop eax
mov dword [ebp - 4], ebx
push edx
push ecx
cmp ecx, eax
jae 0x10010f76
cmp edx, eax
mov edx, ebx
jae 0x10010f4e
mov cl, 0x1a
mov dword [ebp - 0x34], 0x7e3f2a1a
mov dword [ebp - 0x30], 0x7e3f2a20
mov byte [ebp - 0x2c], bl
xor cl, byte [ebp + edx - 0x33]
mov byte [ebp + edx - 0x33], cl
inc edx
cmp edx, 7
jae 0x10010f49
mov cl, byte [ebp - 0x34]
jmp 0x10010f36
mov byte [ebp - 0x2c], bl
jmp 0x10010fbf
mov cl, 0x43
mov dword [ebp - 0x34], 0x27667343
mov dword [ebp - 0x30], 0x276679
xor cl, byte [ebp + edx - 0x33]
mov byte [ebp + edx - 0x33], cl
inc edx
cmp edx, 6
jae 0x10010f71
mov cl, byte [ebp - 0x34]
jmp 0x10010f5e
mov byte [ebp - 0x2d], bl
jmp 0x10010fbf
mov ecx, ebx
cmp edx, eax
jae 0x10010f9b
mov dl, 0x13
mov dword [ebp - 0x34], 0x29773613
mov dword [ebp - 0x30], 0x773623
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 6
jae 0x10010f71
mov dl, byte [ebp - 0x34]
jmp 0x10010f8c
mov dl, 0x46
mov dword [ebp - 0x34], 0x7c226346
mov word [ebp - 0x30], 0x2263
mov byte [ebp - 0x2e], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 5
jae 0x10010fbc
mov dl, byte [ebp - 0x34]
jmp 0x10010fad
mov byte [ebp - 0x2e], bl
sub esp, 0x18
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10002845
lea eax, [ebp - 0x50]
push eax
call fcn.10004ac0
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.100056a7
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.100026f1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [0x1003fb80]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x826700e
mov byte [ebp - 0x3c], bl
mov al, byte [ebp + ecx - 0x4f]
xor al, byte [ebp - 0x50]
mov byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x13
jb 0x10011010
sub esp, 0x18
mov byte [ebp - 0x3c], bl
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.10002845
lea eax, [ebp - 0x68]
push eax
call fcn.10004ac0
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [esi + 8]
call fcn.10009ed2
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.100026f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.100026f1
cmp dword [esi + 0x24], 0
jg 0x10011072
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov al, byte [esi + 0x21]
test al, al
je 0x10011242
movzx eax, word [esi + 0x28]
test ax, ax
jle 0x1001108b
dec eax
mov word [esi + 0x28], ax
movzx edi, word [esi + 0x28]
mov eax, edi
test ax, ax
js 0x10011233
cwde
mov ecx, 0xe10
cdq
idiv ecx
push 0x3c
mov eax, edx
mov dword [ebp - 0x14], 0xf
cdq
pop ecx
idiv ecx
push 0x3c
movzx ecx, ax
mov eax, edi
cwde
cdq
pop edi
idiv edi
mov dword [ebp - 0x18], ebx
movzx eax, dx
mov byte [ebp - 0x28], bl
push 0xa
pop edx
mov dword [ebp - 4], 2
push eax
push ecx
cmp cx, dx
jae 0x10011137
cmp ax, dx
jae 0x10011109
mov dl, 0x4d
mov dword [ebp - 0x34], 0x29687d4d
mov dword [ebp - 0x30], 0x29687d77
mov ecx, ebx
mov byte [ebp - 0x2c], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 7
jae 0x10011101
mov dl, byte [ebp - 0x34]
jmp 0x100110f2
mov byte [ebp - 0x2c], bl
jmp 0x10011191
push 0xa
pop ecx
mov byte [ebp - 0x30], cl
mov dl, 0x30
mov dword [ebp - 0x34], 0x54150030
mov ecx, ebx
mov word [ebp - 0x2f], 0x5415
mov byte [ebp - 0x2d], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 6
jae 0x10011132
mov dl, byte [ebp - 0x34]
jmp 0x10011123
mov byte [ebp - 0x2d], bl
jmp 0x10011191
cmp ax, dx
jae 0x1001116b
push 0xa
pop ecx
mov byte [ebp - 0x32], cl
mov dl, 0x6e
mov byte [ebp - 0x2e], cl
mov ecx, ebx
mov word [ebp - 0x34], 0x4b6e
mov word [ebp - 0x31], 0x5e54
mov byte [ebp - 0x2f], 0x4b
mov byte [ebp - 0x2d], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 6
jae 0x10011132
mov dl, byte [ebp - 0x34]
jmp 0x1001115c
mov dl, 1
mov dword [ebp - 0x34], 0x3b652401
mov word [ebp - 0x30], 0x6524
mov ecx, ebx
mov byte [ebp - 0x2e], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 5
jae 0x1001118e
mov dl, byte [ebp - 0x34]
jmp 0x1001117f
mov byte [ebp - 0x2e], bl
sub esp, 0x18
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10002845
lea eax, [ebp - 0x68]
push eax
call fcn.10004ac0
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.100056a7
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.100026f1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [0x1003f390]
mov edx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x6d3b453e
mov word [ebp - 0x3c], 0x43
mov cl, byte [ebp - 0x50]
xor byte [ebp + edx - 0x4f], cl
inc edx
cmp edx, 0x14
jb 0x100111e5
sub esp, 0x18
mov byte [ebp - 0x3b], bl
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.10002845
lea eax, [ebp - 0x68]
push eax
call fcn.10004ac0
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.10009ed2
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.100026f1
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.100026f1
cmp word [esi + 0x28], bx
jg 0x10011242
xor eax, eax
mov byte [esi + 0x21], bl
mov word [esi + 0x28], ax
call fcn.100354db
ret