Function at 0x100f4e79
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x102119b4]
add edx, 0xfffff84d
mov dword [0x102119b4], edx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x150
mov edi, edx
add edi, esi
add edi, 0xc4
mov esi, eax
add esi, 1
imul eax, eax, 0x150
add edx, eax
add edx, 4
mov eax, dword [edi]
movzx edx, word [edx]
xor edx, eax
add edx, ecx
cmp esi, 0x1b2
mov eax, edx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], esi
jne 0x100f4eb0
lea eax, [0x101ec061]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov esi, dword [0x102119b8]
add esi, 0x996
mov dword [0x102119b4], esi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], ecx
call fcn.100f55ff
mov eax, dword [0x102119b8]
add eax, 0xffffde88
mov dword [0x102119b8], eax
mov dword [0x102119b4], 0xc09
call fcn.100f5904
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.100f52a9
mov ecx, eax
mov dword [0x102119d4], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, ecx, 0x150
mov edi, edx
add edi, esi
add edi, 4
mov esi, ecx
add esi, 1
imul ebx, ecx, 0x150
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, ebx
mov ebx, dword [ebp - 0x148]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x154]
add ebx, eax
imul ecx, ecx, 0x150
add edx, ecx
add edx, 0xc4
mov ecx, dword [edx]
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
movzx edi, word [edi]
xor edi, ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x160], esi
call fcn.100f53fd
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x154]
add eax, ecx
mov edx, dword [ebp - 0x160]
cmp edx, 0x1b2
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], eax
jne 0x100f4fbe
lea eax, [0x101ec06f]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov dword [0x102119b8], 0x1ed
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.100f5498
mov eax, dword [0x102119b4]
add eax, 0xfffff7bb
mov dword [0x102119b4], eax
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.100f61c9
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x8f5e9
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x137200
mov ecx, dword [ebp - 0x148]
add ecx, 0x7c148
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f70
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret