Function at 0x100c59e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019a59f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x431], 0
je 0x100c5e4c
cmp byte [edi + 0x432], 0
je 0x100c5e4c
cmp byte [0x10297e77], 0
je 0x100c5e4c
cmp dword [0x10297f4c], 0
jne 0x100c5a5e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10297f4c], eax
mov eax, dword [0x10297ec8]
test eax, eax
jne 0x100c5a71
mov eax, dword [0xf3e860]
mov dword [0x10297ec8], eax
mov al, byte [eax + 0x758]
movzx ecx, al
mov byte [ebp - 0x5d], al
mov dword [ebp - 0x64], ecx
cmp dword [edi + 0x1bc], ecx
je 0x100c5dba
cmp al, 1
je 0x100c5a9c
test al, al
je 0x100c5a9c
cmp al, 0xff
jne 0x100c5dba
push 0
push 0x101d47e8
mov ecx, 0x102c9b74
call fcn.10047890
mov eax, dword [edi + 0x1f0]
mov esi, dword [edi + 0x1ec]
mov dword [ebp - 0x8c], eax
cmp esi, eax
je 0x100c5ba6
push esi
lea ecx, [ebp - 0x38]
call fcn.10046cb0
mov dword [ebp - 4], 0
mov dl, 3
mov dword [ebp - 0x1c], 0x237f2303
xor ecx, ecx
mov byte [ebp - 0x18], 0
xor byte [ebp + ecx - 0x1b], dl
inc ecx
cmp ecx, 3
jae 0x100c5af5
mov dl, byte [ebp - 0x1c]
jmp 0x100c5ae6
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x18], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100c5b00
sub eax, edx
mov ecx, 0x7fffffff
mov edx, dword [ebp - 0x24]
sub ecx, edx
cmp ecx, eax
jb 0x100c5e6a
cmp dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x34]
push edx
cmova ecx, dword [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0x1b]
push eax
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x5c]
call fcn.10048bc0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
mov ecx, 0x102c9b74
push dword [ebp - 0x48]
cmova eax, dword [ebp - 0x58]
push eax
call fcn.100479f0
lea ecx, [ebp - 0x5c]
call fcn.100477d0
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.1013c8d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100477d0
mov eax, dword [ebp - 0x38]
push 8
push eax
mov dword [ebp - 0x38], 0
call fcn.1013c8d0
add esi, 0x1c
add esp, 8
cmp esi, dword [ebp - 0x8c]
jne 0x100c5ac7
mov eax, dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x88]
mov dword [edi + 0x1bc], eax
call fcn.1006cd20
mov dword [ebp - 0x88], vtable.Packet.0
mov byte [ebp - 0x68], 0xe9
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
mov eax, ecx
mov edx, dword [ebp - 0x74]
sub eax, edx
mov byte [ebp - 0x5e], 0xa2
cmp eax, 0x989680
jb 0x100c5c02
push 0x97
push 0x101d5be8
push str.size_____10000000
call fcn.101598d0
mov ecx, dword [ebp - 0x70]
add esp, 0xc
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x7c]
sub ecx, edx
lea esi, [eax + 1]
cmp ecx, esi
jae 0x100c5c1a
push esi
lea ecx, [ebp - 0x78]
call fcn.10052c60
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x78]
call fcn.10052c00
mov cl, byte [ebp - 0x5e]
mov byte [eax], cl
mov edx, dword [ebp - 0x70]
mov eax, edx
mov ecx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x74]
inc ecx
sub eax, esi
mov dword [ebp - 0x7c], ecx
cmp eax, 0x989680
jb 0x100c5c60
push 0x97
push 0x101d5be8
push str.size_____10000000
call fcn.101598d0
mov edx, dword [ebp - 0x70]
add esp, 0xc
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x7c]
lea eax, [ecx + 1]
sub edx, esi
cmp edx, eax
jae 0x100c5c75
push eax
lea ecx, [ebp - 0x78]
call fcn.10052c60
mov ecx, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
call fcn.10052c00
mov cl, byte [ebp - 0x5d]
mov byte [eax], cl
mov eax, 0x102c9b78
inc dword [ebp - 0x7c]
lea ecx, [ebp - 0x88]
cmp dword [0x102c9b8c], 0xf
cmova eax, dword [0x102c9b78]
push eax
call fcn.10056aa0
cmp dword [edi + 0x210], 0xf
lea eax, [edi + 0x1fc]
jbe 0x100c5cb6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x88]
call fcn.10056aa0
lea ecx, [ebp - 0x88]
call fcn.100c62b0
mov al, byte [ebp - 0x5d]
test al, al
je 0x100c5d8c
cmp al, 1
je 0x100c5d8c
cmp al, 2
je 0x100c5d8c
cmp al, 0xb
je 0x100c5d8c
cmp al, 0xc
je 0x100c5d8c
cmp al, 0xfa
je 0x100c5d8c
cmp al, 0xff
je 0x100c5d8c
movaps xmm0, xmmword [0x101ded80]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x20], 0x56861
movaps xmm0, xmmword [0x101decc0]
movups xmmword [ebp - 0x30], xmm0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x22
jb 0x100c5d30
sub esp, 0x1c
mov byte [ebp - 0x1d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c5d70
sub ecx, esi
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
mov ecx, edi
call fcn.100c60e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x88], vtable.ByteBuffer.0
call fcn.10052cf0
mov eax, dword [ebp - 0x78]
push 8
push eax
mov dword [ebp - 0x78], 0
call fcn.1013c8d0
add esp, 8
mov esi, dword [edi + 0x324]
test esi, esi
jne 0x100c5deb
push 0x48
call fcn.1013ca30
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.100f6300
mov esi, eax
mov dword [edi + 0x324], esi
test esi, esi
je 0x100c5e4c
mov ecx, dword [0x102981a0]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test ecx, ecx
jne 0x100c5e18
push 0
push 4
push 0x102981a0
push 0xf3e860
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov ecx, dword [0x102981a0]
push 0
push 2
lea eax, [esi + 0x20]
push eax
lea eax, [ecx + 0x748]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push 0
push 1
lea eax, [esi + 0x23]
push eax
mov eax, dword [0x102981a0]
add eax, 0x74c
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1013c8c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10043b90
int3