Function at 0x10007150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001354b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10019018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x20], 0x10
jb 0x10007194
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x60], edx
jmp 0x1000719a
lea eax, [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], ecx
cmp eax, ecx
ja 0x100071e9
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 0x10
jb 0x100071c0
mov edx, dword [ebp + 0xc]
push edx
call fcn.1000a102
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a0c9
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x58]
lea edx, [ecx + 0x102f0]
mov dword [ebp - 0x5c], 0x102f0
cmp edx, eax
jbe 0x100071ff
sub eax, ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [0x1007067c]
test eax, eax
jne 0x10007250
mov eax, dword [0x1006f834]
movzx esi, word [eax + 1]
mov bl, byte [eax]
lea ecx, [esi + 1]
push ecx
call fcn.1000a10d
add esp, 4
mov edi, eax
xor ecx, ecx
mov byte [esi + edi], 0
test esi, esi
je 0x10007244
jmp 0x10007230
mov edx, dword [0x1006f834]
mov al, byte [ecx + edx + 3]
xor al, bl
mov byte [ecx + edi], al
inc ecx
cmp ecx, esi
jb 0x10007230
push edi
push 0x1007067c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [0x1007067c]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [0x10070680]
mov ebx, eax
mov dword [ebp - 0x4c], ebx
test ecx, ecx
jne 0x100072c2
mov eax, dword [0x1006f838]
movzx esi, word [eax + 1]
mov dl, byte [eax]
lea eax, [esi + 1]
push eax
mov byte [ebp - 0x2d], dl
call fcn.1000a10d
add esp, 4
mov edi, eax
xor ecx, ecx
mov byte [esi + edi], 0
test esi, esi
je 0x100072b6
jmp 0x100072a0
mov edx, dword [0x1006f838]
mov al, byte [ecx + edx + 3]
xor al, byte [ebp - 0x2d]
inc ecx
mov byte [ecx + edi - 1], al
cmp ecx, esi
jb 0x100072a0
push edi
push 0x10070680
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [0x10070680]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov ecx, dword [0x10070684]
mov dword [ebp - 0x3c], eax
test ecx, ecx
jne 0x10007332
mov eax, dword [0x1006f83c]
movzx esi, word [eax + 1]
mov dl, byte [eax]
lea eax, [esi + 1]
push eax
mov byte [ebp - 0x2d], dl
call fcn.1000a10d
add esp, 4
mov edi, eax
xor ecx, ecx
mov byte [esi + edi], 0
test esi, esi
je 0x10007326
jmp 0x10007310
mov edx, dword [0x1006f83c]
mov al, byte [ecx + edx + 3]
xor al, byte [ebp - 0x2d]
inc ecx
mov byte [ecx + edi - 1], al
cmp ecx, esi
jb 0x10007310
push edi
push 0x10070684
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [0x10070684]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov ecx, dword [0x10070688]
mov dword [ebp - 0x38], eax
test ecx, ecx
jne 0x10007393
mov eax, dword [0x1006f840]
movzx esi, word [eax + 1]
mov bl, byte [eax]
lea edx, [esi + 1]
push edx
call fcn.1000a10d
add esp, 4
mov edi, eax
xor ecx, ecx
mov byte [esi + edi], 0
test esi, esi
je 0x10007384
mov eax, dword [0x1006f840]
mov dl, byte [ecx + eax + 3]
xor dl, bl
mov byte [ecx + edi], dl
inc ecx
cmp ecx, esi
jb 0x10007371
push edi
push 0x10070688
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [0x10070688]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov ecx, dword [0x1007068c]
mov dword [ebp - 0x34], eax
test ecx, ecx
jne 0x100073f4
mov eax, dword [0x1006f844]
movzx esi, word [eax + 1]
mov bl, byte [eax]
lea edx, [esi + 1]
push edx
call fcn.1000a10d
add esp, 4
mov edi, eax
xor ecx, ecx
mov byte [esi + edi], 0
test esi, esi
je 0x100073e5
mov eax, dword [0x1006f844]
mov dl, byte [ecx + eax + 3]
xor dl, bl
mov byte [ecx + edi], dl
inc ecx
cmp ecx, esi
jb 0x100073d2
push edi
push 0x1007068c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [0x1007068c]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov ecx, dword [0x10070690]
mov dword [ebp - 0x40], eax
test ecx, ecx
jne 0x10007455
mov eax, dword [0x1006f848]
movzx esi, word [eax + 1]
mov bl, byte [eax]
lea edx, [esi + 1]
push edx
call fcn.1000a10d
add esp, 4
mov edi, eax
xor ecx, ecx
mov byte [esi + edi], 0
test esi, esi
je 0x10007446
mov eax, dword [0x1006f848]
mov dl, byte [ecx + eax + 3]
xor dl, bl
mov byte [ecx + edi], dl
inc ecx
cmp ecx, esi
jb 0x10007433
push edi
push 0x10070690
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [0x10070690]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov ecx, dword [0x10070694]
mov edi, eax
mov dword [ebp - 0x50], edi
test ecx, ecx
jne 0x100074b7
mov eax, dword [0x1006f84c]
movzx esi, word [eax + 1]
mov bl, byte [eax]
lea edx, [esi + 1]
push edx
call fcn.1000a10d
add esp, 4
xor ecx, ecx
mov byte [esi + eax], 0
test esi, esi
je 0x100074a8
mov edx, dword [0x1006f84c]
mov dl, byte [ecx + edx + 3]
xor dl, bl
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jb 0x10007494
push eax
push 0x10070694
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [0x10070694]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov ecx, dword [ebp - 0x3c]
mov ebx, eax
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 4], 6
mov eax, dword [0x10070698]
test eax, eax
jne 0x10007545
mov eax, dword [0x1006f850]
movzx esi, word [eax + 1]
mov cl, byte [eax]
lea edx, [esi + 1]
push edx
mov byte [ebp - 0x2d], cl
call fcn.1000a10d
add esp, 4
xor ecx, ecx
mov byte [esi + eax], 0
test esi, esi
je 0x10007536
lea ebx, [ebx]
mov edx, dword [0x1006f850]
mov dl, byte [ecx + edx + 3]
xor dl, byte [ebp - 0x2d]
inc ecx
mov byte [ecx + eax - 1], dl
cmp ecx, esi
jb 0x10007520
push eax
push 0x10070698
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov edx, dword [0x10070698]
mov eax, dword [eax + 0x1c]
push edx
call eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x44]
mov esi, dword [ecx]
mov ecx, dword [edx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [ebp - 0x38]
push eax
mov eax, dword [esi + 0x24]
call eax
mov ecx, dword [ebp - 0x34]
mov esi, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi + 0x1c]
push eax
call edx
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x48]
mov edx, dword [eax + 0x24]
push esi
call edx
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
add eax, esi
cmp eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
sbb eax, eax
inc eax
push eax
mov ecx, ebx
call edx
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edi]
add esi, dword [ebp - 0x60]
mov eax, dword [eax + 0x14]
push ecx
push esi
mov ecx, edi
call eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x10]
mov esi, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
call edx
push 1
mov ecx, esi
test eax, eax
je 0x10007779
mov eax, dword [esi]
mov edx, dword [eax]
call edx
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x54]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10001f70
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x54]
push eax
call fcn.1000ab66
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
mov esi, 0x10
add esp, 4
mov dword [eax + 0x1c], 1
cmp dword [ebp - 0x18], esi
jae 0x1000763a
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.100080f0
mov edi, eax
mov dword [ebp - 0x48], edi
test edi, edi
je 0x100077f7
mov ecx, dword [0x1007069c]
test ecx, ecx
jne 0x100076a5
mov eax, dword [0x1006f854]
movzx esi, word [eax + 1]
mov dl, byte [eax]
lea eax, [esi + 1]
push eax
mov byte [ebp - 0x2d], dl
call fcn.1000a10d
add esp, 4
mov edi, eax
xor ecx, ecx
mov byte [esi + edi], 0
test esi, esi
je 0x10007696
mov edi, edi
mov edx, dword [0x1006f854]
mov al, byte [ecx + edx + 3]
xor al, byte [ebp - 0x2d]
inc ecx
mov byte [ecx + edi - 1], al
cmp ecx, esi
jb 0x10007680
push edi
push 0x1007069c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edi, dword [ebp - 0x48]
mov eax, dword [0x1007069c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov esi, eax
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x1000789a
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
cmp eax, 1
jne 0x1000789a
mov edi, dword [ebp - 0x68]
mov byte [ebp - 4], 7
mov edx, dword [esi]
push eax
mov eax, dword [edx]
mov ecx, esi
mov dword [ebp - 0x48], edi
call eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0x10
jb 0x10007700
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1000a102
add esp, 4
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 3
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp edi, dword [ebp - 0x58]
jb 0x100071e3
jmp 0x100071a7
mov edx, dword [esi]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 5
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov byte [ebp - 4], 4
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 3
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 0x10
jb 0x100077f0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000a102
add esp, 4
xor eax, eax
jmp 0x100071c5
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0x1000780c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1000a102
add esp, 4
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 4
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], esi
jb 0x100077f0
mov eax, dword [ebp + 0xc]
push eax
call fcn.1000a102
add esp, 4
xor eax, eax
jmp 0x100071c5
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov byte [ebp - 4], 7
test esi, esi
je 0x100078b6
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, 0x10
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0x100078d0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1000a102
add esp, 4
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 4], 4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 3
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 1
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], esi
jb 0x100077f0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000a102
add esp, 4
xor eax, eax
jmp 0x100071c5