Function at 0x100f3240
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc8
call fcn.101b79b0
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xcc]
push esi
mov esi, dword [eax + 0x60]
push edi
mov edi, dword [esi + 0xc8]
mov dword [esp + 0x18], eax
lea eax, [edi + 0x10]
cmp dword [esp + 0xd8], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
je 0x100f329c
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.101b40e2
add esp, 0xc8
ret
lea ecx, [esp + 0x2c]
neg ecx
and ecx, 0xf
cmp edi, 0x40
push ebx
lea ecx, [esp + ecx + 0x30]
push ebp
lea ebp, [ecx + 0x30]
mov dword [esp + 0x1c], ecx
lea ebx, [ecx + 0x40]
mov dword [esp + 0x2c], ebp
ja 0x100f33f0
lea eax, [esi + 0x20]
push eax
push esi
push 0x80
push 0x1021c6b0
push ecx
mov dword [eax], 0
mov dword [esp + 0x3c], 0x80
call fcn.10131570
mov ecx, dword [esp + 0x30]
lea eax, [esi + 0xd0]
push ecx
push eax
call fcn.10131cd0
mov edx, dword [esi + 0x94]
xor eax, eax
mov dword [esi + 0x70], eax
mov dword [ebp], edx
mov ecx, dword [esi + 0x98]
mov dword [ebp + 4], ecx
mov edx, dword [esi + 0x9c]
mov dword [ebp + 8], edx
mov ecx, dword [esi + 0xa0]
mov edx, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
add esp, 0x1c
mov dword [esi + 0xa8], 0xd
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], eax
cmp dword [edx + 8], eax
je 0x100f3379
xor ebp, ebp
test edi, edi
jbe 0x100f33c6
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub ebp, ebx
mov eax, ebx
sub ecx, ebx
mov dword [esp + 0x18], edi
nop
movzx edx, byte [eax + ebp]
xor byte [eax], dl
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, 1
sub edi, 1
jne 0x100f3360
mov ebp, dword [esp + 0x18]
jmp 0x100f33c6
cmp edi, eax
jbe 0x100f33c4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, eax
sub eax, ebx
mov ebp, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
jmp 0x100f33a4
mov eax, dword [esp + 0x24]
mov dl, byte [ebp]
lea edi, [eax + ebp]
mov al, byte [edi + ecx]
xor dl, al
mov byte [ebp], al
add ebp, 1
sub dword [esp + 0x30], 1
mov byte [edi], dl
jne 0x100f33a0
mov ebp, dword [esp + 0x18]
jmp 0x100f33c6
mov ebp, eax
add dword [esp + 0x14], ebp
add dword [esp + 0x10], ebp
mov edi, ebp
neg edi
and edi, 0xf
push edi
lea eax, [ebx + ebp]
push 0
push eax
call fcn.101b5c80
add edi, ebp
add esp, 0xc
add ebx, edi
lea eax, [edi + 0x10]
jmp 0x100f34e6
lea ebp, [esi + 0x20]
push ebp
push esi
push 0x40
push 0x1021c6b0
push ecx
mov dword [ebp], 0
mov dword [esp + 0x3c], 0x40
call fcn.10131570
mov edx, dword [esp + 0x30]
lea eax, [esi + 0xd0]
push edx
push eax
call fcn.10131cd0
push 0x10
lea eax, [esi + 0x94]
push eax
lea eax, [esi + 0xd0]
push eax
mov dword [ebp], 1
mov dword [esi + 0x70], 0
call fcn.10131d70
mov ecx, dword [esp + 0x48]
xor eax, eax
add esp, 0x28
mov dword [esi + 0xa8], 0xd
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], eax
cmp dword [ecx + 8], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], eax
je 0x100f3499
mov edx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push edx
push ebp
call fcn.10131570
push edi
lea eax, [esi + 0xd0]
push ebp
push eax
call fcn.10131d70
jmp 0x100f34bd
mov eax, dword [esp + 0x14]
push edi
push eax
lea eax, [esi + 0xd0]
push eax
call fcn.10131d70
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ebp
push esi
push edi
push ecx
push edx
call fcn.10131570
add dword [esp + 0x34], edi
add dword [esp + 0x30], edi
add esp, 0x20
neg edi
and edi, 0xf
push edi
lea eax, [esi + 0xd0]
push 0x1021c6b0
push eax
call fcn.10131d70
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esi + 0xa8]
mov ebp, dword [esp + 0x2c]
mov dword [ebx], ecx
mov edx, dword [esi + 0xac]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 0xb0]
add eax, 0x10
push eax
mov dword [ebx + 8], ecx
mov edx, dword [esi + 0xb4]
push ebp
lea edi, [esi + 0xd0]
push edi
mov dword [ebx + 0xc], edx
call fcn.10131d70
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.100f9f20
mov ebx, dword [esp + 0x34]
add esp, 0x14
cmp dword [ebx + 8], 0
lea eax, [esi + 0x84]
jne 0x100f3542
mov eax, ebp
push eax
push edi
call fcn.10131e20
add esp, 8
mov dword [esi + 0xc8], 0xffffffff
cmp dword [ebx + 8], 0
je 0x100f35a3
mov edx, dword [esi + 0x84]
mov eax, dword [esp + 0x10]
mov dword [eax], edx
mov ecx, dword [esi + 0x88]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x8c]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x90]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xd4]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.101b40e2
add esp, 0xc8
ret
mov edx, dword [esp + 0x14]
push 0x10
push edx
push ebp
call fcn.10100b10
add esp, 0xc
test eax, eax
je 0x100f3583
mov ecx, dword [esp + 0xe0]
lea eax, [ecx - 0x10]
push eax
mov eax, dword [esp + 0x14]
sub eax, ecx
add eax, 0x10
push 0
push eax
call fcn.101b5c80
add esp, 0xc
or eax, 0xffffffff
jmp 0x100f358a