Function at 0x10079d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0b06
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x6c], edx
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
jbe 0x1007a50d
test eax, eax
je 0x1007a50d
xor cl, cl
lea eax, [edx + 0x110]
mov esi, 6
cmp dword [eax - 4], 0
je 0x10079da2
cmp dword [eax], 0
jne 0x10079da4
inc cl
add eax, 0x18
sub esi, 1
jne 0x10079d97
test cl, cl
jne 0x10079f02
movaps xmm0, xmmword [0x100ee1a0]
xor ecx, ecx
movups xmmword [ebp - 0x4c], xmm0
mov al, byte [ebp + ecx - 0x4b]
xor al, byte [ebp - 0x4c]
mov byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0xe
jb 0x10079dc1
xorps xmm0, xmm0
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0x4b]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079df8
sub ecx, edx
lea eax, [ebp - 0x4b]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.10003370
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100eefc0]
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xe8], 0
movaps xmm0, xmmword [0x100ee730]
movups xmmword [ebp - 0xf8], xmm0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x107]
xor al, byte [ebp - 0x108]
mov byte [ebp + ecx - 0x107], al
inc ecx
cmp ecx, 0x1f
jb 0x10079e40
xorps xmm0, xmm0
mov byte [ebp - 0xe8], 0
lea ecx, [ebp - 0x107]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079e90
sub ecx, edx
lea eax, [ebp - 0x107]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10003370
push 0
push 0
lea edx, [ebp - 0x68]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.1002b190
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.10002f50
mov eax, dword [ebp - 0x88]
push 8
push eax
mov dword [ebp - 0x88], 0
call fcn.10089370
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x68], 0
jmp 0x1007a502
mov eax, dword [ebp + 0x14]
xor cl, cl
cmp eax, 1
jne 0x1007a097
movzx eax, cl
lea eax, [eax + eax*2]
cmp dword [edx + eax*8 + 0x118], 2
jne 0x1007a0ac
movaps xmm0, xmmword [str.eKtli6Nk_Hoti]
xor ecx, ecx
movups xmmword [ebp - 0x4c], xmm0
mov al, byte [ebp + ecx - 0x4b]
xor al, byte [ebp - 0x4c]
mov byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0xe
jb 0x10079f31
xorps xmm0, xmm0
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0x4b]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079f70
sub ecx, edx
lea eax, [ebp - 0x4b]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10003370
mov dword [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x100ef350]
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0x94], 0x7a752f
movaps xmm0, xmmword [0x100ef340]
movups xmmword [ebp - 0xd4], xmm0
movaps xmm0, xmmword [0x100ee910]
movups xmmword [ebp - 0xc4], xmm0
movaps xmm0, xmmword [0x100ee9b0]
movups xmmword [ebp - 0xb4], xmm0
movaps xmm0, xmmword [0x100ee810]
movups xmmword [ebp - 0xa4], xmm0
mov al, byte [ebp + ecx - 0xe3]
xor al, byte [ebp - 0xe4]
mov byte [ebp + ecx - 0xe3], al
inc ecx
cmp ecx, 0x52
jb 0x10079fe2
xorps xmm0, xmm0
mov byte [ebp - 0x91], 0
lea ecx, [ebp - 0xe3]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a028
sub ecx, edx
lea eax, [ebp - 0xe3]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.10003370
mov byte [ebp - 4], 3
push 0
push 0
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x68]
call fcn.1002b190
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.10089370
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.10002f50
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x88], 0
jmp 0x1007a502
cmp eax, 2
jne 0x1007a0af
movzx eax, cl
lea eax, [eax + eax*2]
cmp dword [edx + eax*8 + 0x118], 1
je 0x1007a0f8
mov eax, dword [ebp + 0x14]
inc cl
cmp cl, 6
jb 0x10079f07
xor cl, cl
nop dword [eax]
movzx eax, cl
mov dword [ebp - 0x8c], eax
lea eax, [eax + eax*2]
cmp dword [edx + eax*8 + 0x10c], 0
lea edi, [edx + eax*8]
mov dword [ebp - 0x90], edi
ja 0x1007a0ec
cmp dword [edi + 0x110], 0
jbe 0x1007a228
inc cl
cmp cl, 6
jb 0x1007a0c0
jmp 0x1007a50d
movaps xmm0, xmmword [str._uJR_W_bpU]
xor ecx, ecx
movups xmmword [ebp - 0x4c], xmm0
mov al, byte [ebp + ecx - 0x4b]
xor al, byte [ebp - 0x4c]
mov byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0xe
jb 0x1007a105
xorps xmm0, xmm0
mov byte [ebp - 0x3d], 0
lea ecx, [ebp - 0x4b]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x70], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a142
sub ecx, edx
lea eax, [ebp - 0x4b]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.10003370
mov dword [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x100ef160]
movups xmmword [ebp - 0xe4], xmm0
mov word [ebp - 0x94], 0x6f60
movaps xmm0, xmmword [0x100eea10]
movups xmmword [ebp - 0xd4], xmm0
mov byte [ebp - 0x92], 0
movaps xmm0, xmmword [0x100ef170]
movups xmmword [ebp - 0xc4], xmm0
movaps xmm0, xmmword [0x100ee9c0]
movups xmmword [ebp - 0xb4], xmm0
movaps xmm0, xmmword [0x100ee9d0]
movups xmmword [ebp - 0xa4], xmm0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xe3]
xor al, byte [ebp - 0xe4]
mov byte [ebp + ecx - 0xe3], al
inc ecx
cmp ecx, 0x51
jb 0x1007a1c0
xorps xmm0, xmm0
mov byte [ebp - 0x92], 0
lea ecx, [ebp - 0xe3]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a206
sub ecx, edx
lea eax, [ebp - 0xe3]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.10003370
mov byte [ebp - 4], 5
jmp 0x1007a045
mov esi, dword [0x100ec5b0]
mov eax, 0x10624dd3
mul dword [ebp - 0x38]
mov ecx, 0xd78ae8
mov eax, edx
shr eax, 6
mov dword [ebp - 0x30], eax
imul eax, eax, 0x3e8
push eax
call fcn.1001e520
mov ecx, eax
call esi
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x1007a50d
mov dword [ebp - 4], 6
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100892d0
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 4], 7
mov eax, 0x12e0be83
mov cl, byte [esi + 4]
mov esi, dword [ebp - 0x38]
mul esi
mov dword [ebp - 0x18], 0
sub esi, edx
mov byte [ebp - 0x28], 0
shr esi, 1
add esi, edx
mov byte [ebp - 0x31], cl
shr esi, 0x1d
cmp esi, 4
jae 0x1007a36d
cmp cl, 0x2d
jae 0x1007a36d
push 4
push 0xd78af0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007a36d
sub esi, dword [ebp - 0x30]
movzx ecx, byte [ebp - 0x31]
mov edx, dword [0x100ec5b4]
imul eax, esi, 0x3e8
mov ecx, dword [ecx*4 + 0xd78af0]
add eax, dword [ebp - 0x38]
push eax
call edx
mov dword [ebp - 0x30], eax
mov esi, eax
test eax, eax
je 0x1007a36f
cmp dword [eax + 0x48], 0
je 0x1007a36f
push dword [ebp - 0x38]
xor edx, edx
lea ecx, [ebp - 0x68]
push eax
call fcn.1000fab0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x1007a34e
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x2c]
call fcn.10008460
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.10089370
mov esi, dword [ebp - 0x30]
jmp 0x1007a3b6
xor esi, esi
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x68]
push 0
call fcn.1000fab0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
add esp, 8
cmp ecx, eax
je 0x1007a39c
call fcn.10002f50
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.10008460
lea ecx, [ebp - 0x68]
call fcn.10002f50
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.10089370
mov eax, dword [ebp - 0x8c]
add esp, 8
mov ecx, dword [ebp - 0x6c]
lea eax, [eax + eax*2]
lea eax, [eax + 0x21]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x1007a4cc
add ecx, 4
lea edx, [ebp - 0x2c]
call fcn.100183a0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [eax + 0x50], ecx
mov eax, dword [edx]
mov dword [eax + 0x54], esi
mov eax, dword [edx]
mov dword [eax + 0x58], 1
test esi, esi
je 0x1007a40f
mov eax, dword [ebp - 0x3c]
movsx ecx, word [esi + 0x56]
movsx eax, word [eax + 0x66]
add ecx, eax
jmp 0x1007a413
movsx ecx, word [ecx + 0x66]
mov eax, dword [edx]
mov dword [eax + 0x5c], ecx
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x1007a4cc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007a4aa
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007a446
sub ecx, edx
mov dword [ebp - 0x3c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10089390
push esi
mov edi, eax
push 0
push edi
call fcn.1008c3c0
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x3c]
cmova edx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x3c]
add esp, 0x1c
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec638]
push edi
call fcn.10089370
mov edi, dword [ebp - 0x90]
add esp, 4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov esi, dword [eax]
test esi, esi
je 0x1007a4cc
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1007a4cc
push 1
mov ecx, esi
call dword [0x100ec604]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x10c], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x110], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x114], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x118], eax
call fcn.10002f50
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push 8
push eax
call fcn.10089370
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret 0x10