Function at 0x10032530
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10051268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0x90]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x88], 0
mov eax, dword [edi + 4]
mov ax, word [eax]
mov dword [esp + 8], eax
call fcn.10032310
lea ecx, [esp + 8]
mov byte [esp + 0x88], 1
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x10058bec
call fcn.10032930
mov eax, dword [edi + 4]
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 2
mov dx, word [eax + 2]
mov dword [esp + 0xc], edx
call fcn.10032310
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x8c], 3
mov dword [esp + 0x24], 0x10058be0
call fcn.100329a0
mov cx, word [esi + 4]
mov byte [esp + 0x88], 4
mov dword [esp + 8], ecx
lea ecx, [esp + 0x6c]
call fcn.10032310
lea edx, [esp + 8]
lea ecx, [esp + 0x68]
push edx
mov byte [esp + 0x8c], 5
mov dword [esp + 0x6c], 0x10058bc8
call fcn.10032a50
mov ax, word [esi]
lea ecx, [esp + 0x54]
shl ax, 5
mov byte [esp + 0x88], 6
mov dword [esp + 0xc], eax
call fcn.10032310
lea ecx, [esp + 0xc]
mov byte [esp + 0x88], 7
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x10058bd4
call fcn.10032a10
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x68]
mov byte [esp + 0x88], 8
call dword [edx + 4]
mov edx, dword [esp + 0x68]
mov esi, eax
lea ecx, [esp + 8]
lea eax, [esi - 1]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc], eax
call dword [edx + 8]
test si, si
jbe 0x10032899
push ebx
push ebp
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 4]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0xa0]
mov di, ax
lea ecx, [esp + 0x58]
shl edi, 4
call dword [edx + 4]
mov esi, eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 4]
mov edx, dword [esp + 0x40]
mov bx, ax
lea ecx, [esp + 0x40]
add ebx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0xa0]
mov dx, word [ebp + 0xc]
shr ax, 5
mov si, word [ecx + 0xe]
add dx, di
add si, ax
mov eax, dword [esp + 0x28]
xor esi, edx
lea ecx, [esp + 0x28]
xor esi, ebx
call dword [eax + 4]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x18]
sub eax, esi
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
call dword [eax + 4]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0xa0]
mov di, ax
lea ecx, [esp + 0x58]
shl edi, 4
call dword [edx + 4]
mov esi, eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
call dword [eax + 4]
mov edx, dword [esp + 0x28]
mov bx, ax
lea ecx, [esp + 0x28]
add ebx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0xa0]
mov dx, word [ebp + 8]
shr ax, 5
mov si, word [ecx + 0xa]
add dx, di
add si, ax
mov eax, dword [esp + 0x40]
xor esi, edx
lea ecx, [esp + 0x40]
xor esi, ebx
call dword [eax + 4]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
sub eax, esi
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x20], eax
call dword [edx + 8]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 4]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0xa0]
mov di, ax
lea ecx, [esp + 0x58]
shl edi, 4
call dword [edx + 4]
mov esi, eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x40]
call dword [eax + 4]
mov edx, dword [esp + 0x40]
mov bx, ax
lea ecx, [esp + 0x40]
add ebx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0xa0]
mov dx, word [ebp + 4]
shr ax, 5
mov si, word [ecx + 6]
add dx, di
add si, ax
mov eax, dword [esp + 0x28]
xor esi, edx
lea ecx, [esp + 0x28]
xor esi, ebx
call dword [eax + 4]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x20]
sub eax, esi
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
call dword [eax + 4]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0xa0]
mov si, ax
lea ecx, [esp + 0x58]
shl esi, 4
call dword [edx + 4]
mov ebp, eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
call dword [eax + 4]
mov edx, dword [esp + 0x28]
mov di, ax
lea ecx, [esp + 0x28]
add edi, ebp
call dword [edx + 4]
mov ecx, dword [esp + 0xa0]
add si, word [ebx]
shr ax, 5
mov dx, word [ecx + 2]
lea ecx, [esp + 0x40]
add dx, ax
xor edx, esi
xor edx, edi
push edx
call fcn.100329d0
mov eax, dword [esp + 0x24]
mov cx, word [eax]
push ecx
lea ecx, [esp + 0x5c]
call fcn.100329d0
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x70]
call dword [edx + 4]
mov edx, dword [esp + 0x70]
mov esi, eax
lea ecx, [esp + 0x10]
lea eax, [esi - 1]
push ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x14], eax
call dword [edx + 8]
test si, si
ja 0x10032675
mov edi, dword [esp + 0x98]
pop ebp
pop ebx
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call dword [eax + 4]
mov ecx, dword [edi + 4]
mov word [ecx], ax
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
call dword [edx + 4]
mov ecx, dword [edi + 4]
mov word [ecx + 2], ax
lea ecx, [esp + 0x58]
call fcn.1002ecc0
lea ecx, [esp + 0x70]
call fcn.1002ecc0
lea ecx, [esp + 0x28]
call fcn.1002ecc0
lea ecx, [esp + 0x40]
call fcn.1002ecc0
lea ecx, [esp + 0x94]
call fcn.1002ecc0
mov ecx, dword [esp + 0x80]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret 0x14