Function at 0x100f1da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181797
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x101dadb0]
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 esi, ecx
mov eax, dword [esi + 0x1c]
mov dword [0x1027c2fc], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100f26ac
cmp dword [ebp + 0xc], 1
jne 0x100f26ac
mov edi, dword [esi + 0xc]
cmp eax, edi
je 0x100f2603
cmp eax, dword [esi + 0x10]
je 0x100f2603
cmp eax, dword [esi + 0x18]
jne 0x100f1e46
mov eax, dword [esi + 8]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f1e19
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
mov eax, dword [esi + 4]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f1e2c
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x100f26a8
push 0
call dword [0x101ba7a0]
mov al, 1
jmp 0x100f26ae
cmp eax, dword [esi + 0x14]
jne 0x100f26a8
mov ecx, dword [esi + 4]
mov edi, 0x416960
call edi
push eax
lea ecx, [ebp - 0x7c]
call fcn.10046ed0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 8]
call edi
push eax
lea ecx, [ebp - 0x60]
call fcn.10046ed0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
cmp ecx, 0x19
jbe 0x100f1f53
movaps xmm0, xmmword [0x101c2ee0]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
push 0
movaps xmm0, xmmword [0x101c2e80]
movups xmmword [ebp - 0x34], xmm0
push 1
movaps xmm0, xmmword [0x101c2a50]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x3d
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x30
jb 0x100f1eb4
sub esp, 0x1c
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x43]
mov dword [ebp - 0x84], esp
mov ecx, esp
push eax
call fcn.10046d00
mov byte [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x101c1590]
movups xmmword [ebp - 0x24], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x100f1ef0
sub esp, 0x1c
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10046d00
mov ecx, dword [0x1027c0b4]
mov byte [ebp - 4], 1
mov ecx, dword [ecx + 0x474]
call fcn.10105ad0
mov eax, dword [esi + 8]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f1f37
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
mov eax, dword [esi + 4]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f21d1
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
jmp 0x100f21d1
mov eax, dword [ebp - 0x4c]
cmp eax, 0x28
jbe 0x100f2029
movaps xmm0, xmmword [0x101c1910]
xor ecx, ecx
movups xmmword [ebp - 0x44], xmm0
push 0
movaps xmm0, xmmword [0x101c15f0]
movups xmmword [ebp - 0x34], xmm0
push 1
movaps xmm0, xmmword [0x101c1e00]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x46
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x30
jb 0x100f1f90
sub esp, 0x1c
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x43]
mov dword [ebp - 0x84], esp
mov ecx, esp
push eax
call fcn.10046d00
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x101c15c0]
movups xmmword [ebp - 0x24], xmm0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x100f1fc6
sub esp, 0x1c
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10046d00
mov ecx, dword [0x1027c0b4]
mov byte [ebp - 4], 1
mov ecx, dword [ecx + 0x474]
call fcn.10105ad0
mov eax, dword [esi + 8]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f200d
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
mov eax, dword [esi + 4]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f21d1
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
jmp 0x100f21d1
cmp ecx, 3
jae 0x100f2103
movaps xmm0, xmmword [str.o__a_nO]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
push 0
movaps xmm0, xmmword [0x101c2700]
push 1
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x1d0e070c
mov dword [ebp - 0x1c], 0xa1b0c0e
mov dword [ebp - 0x18], 0x411c1d
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x2a
jb 0x100f2063
sub esp, 0x1c
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x3f]
mov dword [ebp - 0x84], esp
mov ecx, esp
push eax
call fcn.10046d00
mov byte [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [str._r..1_]
movups xmmword [ebp - 0x24], xmm0
nop dword [eax]
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x100f20a0
sub esp, 0x1c
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10046d00
mov ecx, dword [0x1027c0b4]
mov byte [ebp - 4], 1
mov ecx, dword [ecx + 0x474]
call fcn.10105ad0
mov eax, dword [esi + 8]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f20e7
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
mov eax, dword [esi + 4]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f21d1
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
jmp 0x100f21d1
cmp eax, 0xa
jae 0x100f226f
movaps xmm0, xmmword [0x101c1cc0]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
push 0
movaps xmm0, xmmword [0x101c27c0]
push 1
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x50c0744
mov dword [ebp - 0x1c], 0x10070516
mov dword [ebp - 0x18], 0x4a171601
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x2b
jb 0x100f2141
sub esp, 0x1c
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x3f]
mov dword [ebp - 0x84], esp
mov ecx, esp
push eax
call fcn.10046d00
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x101c1690]
movups xmmword [ebp - 0x24], xmm0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x100f2177
sub esp, 0x1c
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10046d00
mov ecx, dword [0x1027c0b4]
mov byte [ebp - 4], 1
mov ecx, dword [ecx + 0x474]
call fcn.10105ad0
mov eax, dword [esi + 8]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f21be
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
mov eax, dword [esi + 4]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x100f21d1
mov ecx, dword [ebp - 0x80]
call dword [0x101ba710]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x100f21e0
push 0
call dword [0x101ba7a0]
lea ecx, [ebp - 0x60]
call fcn.10043e40
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x100f21fd
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
call fcn.10048530
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.10043e40
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x100f2241
inc eax
push eax
push dword [ebp - 0x78]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x7c]
push 8
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
call fcn.10048530
add esp, 8
mov al, 1
jmp 0x100f26ae
push ecx
lea ecx, [ebp - 0xa8]
call fcn.1006aa20
mov dword [ebp - 0xa8], vtable.Packet.0
mov byte [ebp - 0x88], 0xe9
mov byte [ebp - 4], 6
mov bl, 0xbb
mov ecx, dword [ebp - 0x90]
mov eax, ecx
mov edx, dword [ebp - 0x94]
sub eax, edx
cmp eax, 0x989680
jb 0x100f22cc
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013c7e0
mov ecx, dword [ebp - 0x90]
add esp, 0xc
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x9c]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x100f22ed
push edx
lea ecx, [ebp - 0x98]
call fcn.100522e0
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x98]
call fcn.10052270
mov byte [eax], bl
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x90]
inc ecx
cmp byte [esi], 0
mov eax, edx
mov edi, dword [ebp - 0x94]
sete bl
mov dword [ebp - 0x9c], ecx
sub eax, edi
cmp eax, 0x989680
jb 0x100f234e
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013c7e0
mov edx, dword [ebp - 0x90]
add esp, 0xc
mov edi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x9c]
sub edx, edi
lea eax, [ecx + 1]
cmp edx, eax
jae 0x100f2369
push eax
lea ecx, [ebp - 0x98]
call fcn.100522e0
mov ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x98]
call fcn.10052270
lea ecx, [ebp - 0xa8]
mov byte [eax], bl
lea eax, [ebp - 0x78]
inc dword [ebp - 0x9c]
cmp dword [ebp - 0x64], 0x10
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.10056650
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0xa8]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.10056650
cmp byte [0x1027bfa7], 0
je 0x100f242a
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
inc eax
movzx ebx, ax
push ebx
call fcn.101204d0
mov cl, byte [ebp - 0x88]
mov edi, eax
add esp, 4
mov byte [edi], cl
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
je 0x100f2400
push eax
push 0
lea ecx, [ebp - 0x98]
call fcn.1004ead0
push eax
lea eax, [edi + 1]
push eax
call fcn.10122110
add esp, 0xc
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], ebx
mov ecx, dword [0x101ba6c8]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x80]
push dword [ebp - 0x84]
call dword [0x101ba664]
push edi
call fcn.1011f890
add esp, 4
movaps xmm0, xmmword [0x101c1920]
xor ecx, ecx
push 0
push 1
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x2054714
mov dword [ebp - 0x1c], 0x14470902
mov dword [ebp - 0x18], 0x49130902
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1b
jb 0x100f2454
sub esp, 0x1c
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x2f]
mov dword [ebp - 0x84], esp
mov ecx, esp
push eax
call fcn.10046d00
mov byte [ebp - 4], 7
mov cl, 0x14
mov dword [ebp - 0x1c], 0x64614714
xor eax, eax
mov dword [ebp - 0x18], 0x60667b64
mov byte [ebp - 0x14], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 7
jae 0x100f24a2
mov cl, byte [ebp - 0x1c]
jmp 0x100f2493
sub esp, 0x1c
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10046d00
mov ecx, dword [0x1027c0b4]
mov byte [ebp - 4], 6
mov ecx, dword [ecx + 0x474]
call fcn.10105ad0
mov eax, dword [esi + 8]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x100f24e2
mov ecx, dword [ebp - 0x84]
call dword [0x101ba710]
mov eax, dword [esi + 4]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x100f24fb
mov ecx, dword [ebp - 0x84]
call dword [0x101ba710]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x100f250a
push 0
call dword [0x101ba7a0]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xa8], vtable.ByteBuffer.0
call fcn.10043e40
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x100f2559
mov eax, dword [ebp - 0x8c]
sub eax, ecx
push eax
push ecx
call fcn.10048530
add esp, 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x98]
push 8
push eax
mov dword [ebp - 0x98], 0
call fcn.10048530
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.10043e40
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x100f2591
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x60]
push 8
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
call fcn.10048530
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.10043e40
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x100f25d5
inc eax
push eax
push dword [ebp - 0x78]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x7c]
push 8
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
call fcn.10048530
add esp, 8
mov al, 1
jmp 0x100f26ae
mov cl, byte [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test cl, cl
sete al
mov byte [esi], al
test cl, cl
jne 0x100f2661
test edi, edi
je 0x100f2638
push 4
push edi
call ebx
test eax, eax
jne 0x100f2638
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 3
call fcn.100d7450
mov esi, dword [esi + 0x10]
test esi, esi
je 0x100f26a8
push 4
push esi
call ebx
test eax, eax
jne 0x100f26a8
mov dword [0x1027bfe8], 2
mov dword [0x1027c054], esi
call fcn.100d7450
mov al, 1
jmp 0x100f26ae
test edi, edi
je 0x100f2683
push 4
push edi
call ebx
test eax, eax
jne 0x100f2683
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 2
call fcn.100d7450
mov esi, dword [esi + 0x10]
test esi, esi
je 0x100f26a8
push 4
push esi
call ebx
test eax, eax
jne 0x100f26a8
mov dword [0x1027bfe8], 3
mov dword [0x1027c054], esi
call fcn.100d7450
mov al, 1
jmp 0x100f26ae
xor al, al
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.1011f880
mov esp, ebp
pop ebp
ret 8