Function at 0x10032d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10314a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x1043900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
cmp dword [ecx + 0x14], 0x10
lea edi, [ecx + 0x10]
mov eax, dword [0x1060b618]
mov edi, dword [edi]
mov dword [ebp - 0x28], eax
jb 0x10032d49
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x2c], eax
add edi, eax
jmp 0x10032d4b
add edi, ecx
mov dword [ebp - 0x44], 0
mov esi, 0
mov dword [ebp - 0x40], 0
mov eax, esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x1c], eax
sub edi, ecx
je 0x10032da0
cmp edi, 0x7fffffff
ja 0x10032fc1
push edi
call fcn.10014b30
mov ebx, eax
push edi
push dword [ebp - 0x2c]
mov dword [ebp - 0x44], ebx
lea esi, [ebx + edi]
push ebx
mov dword [ebp - 0x3c], esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x40], esi
mov eax, ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x28]
mov edi, 0
mov dword [ebp - 4], 0
mov ebx, dword [ecx + 4]
sub ebx, dword [ecx]
sub esi, eax
mov dword [ebp - 0x30], esi
je 0x10032ddb
nop dword [eax + eax]
xor edx, edx
mov eax, edi
div ebx
mov eax, dword [ebp - 0x1c]
add edx, dword [ecx]
mov cl, byte [edx]
xor cl, byte [eax + edi]
mov byte [eax + edi], cl
inc edi
mov ecx, dword [ebp - 0x28]
cmp edi, esi
jb 0x10032dc0
mov eax, 8
xorps xmm0, xmm0
cmp ebx, eax
movlpd qword [ebp - 0x24], xmm0
mov edi, dword [ebp - 0x24]
cmovb eax, ebx
xor ebx, ebx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10032e22
mov eax, dword [ecx]
xor ecx, ecx
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
movzx eax, byte [ebx + eax]
inc ebx
shl eax, cl
add ecx, 8
cdq
or edi, eax
or esi, edx
mov eax, dword [ebp - 0x28]
cmp ebx, dword [ebp - 0x2c]
jb 0x10032e03
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x30]
jmp 0x10032e28
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
lea ebx, [esi*8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.1006ba60
mov dword [ebp - 0x2c], 0
test ebx, ebx
je 0x10032f18
mov esi, dword [ebp - 0x28]
mov edx, edi
shld esi, edx, 0xd
push 0
xor esi, dword [ebp - 0x28]
shl edx, 0xd
mov ecx, esi
xor edx, edi
mov eax, edx
shrd eax, ecx, 7
push ebx
xor edx, eax
shr ecx, 7
xor esi, ecx
mov edi, edx
mov eax, esi
shld eax, edi, 0x11
xor eax, esi
shl edi, 0x11
xor edi, edx
mov dword [ebp - 0x28], eax
push eax
push edi
call fcn.10311ef0
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
mov dword [esi + ecx*4], eax
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, ebx
jb 0x10032e60
mov dl, 1
mov cl, bl
rol dl, cl
mov ecx, dword [esi + ebx*4 - 4]
dec ebx
ror dl, 1
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x11], dl
cmp ebx, ecx
je 0x10032f11
mov edi, dword [ebp - 0x44]
mov eax, ecx
shr eax, 3
and ecx, 7
mov esi, ebx
mov dword [ebp - 0x28], ecx
shr esi, 3
mov dh, dl
add esi, edi
add edi, eax
mov ah, 1
shl ah, cl
mov ecx, ebx
mov al, ah
not ah
and dh, byte [esi]
and al, byte [edi]
mov al, dh
seta dl
xor al, byte [esi]
and ecx, 7
shl dl, cl
mov ecx, dword [ebp - 0x28]
or dl, al
test dh, dh
mov byte [esi], dl
mov dl, byte [ebp - 0x11]
mov esi, dword [ebp - 0x24]
setne al
and ah, byte [edi]
shl al, cl
or al, ah
mov byte [edi], al
test ebx, ebx
jne 0x10032eb3
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x44]
mov edx, 0
lea edi, [ebx + esi]
sub esi, 8
je 0x10032f41
nop dword [eax + eax]
mov eax, edx
and eax, 7
mov al, byte [eax + edi - 8]
xor byte [ebx + edx], al
inc edx
cmp edx, esi
jb 0x10032f30
push esi
lea ecx, [ebp - 0x44]
call fcn.1006bb40
movq xmm0, qword [ebp - 0x44]
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], esi
call fcn.10019b70
mov ebx, dword [ebp + 8]
push ecx
mov dword [ebp - 4], 2
mov ecx, ebx
push dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
push edi
call fcn.1006c550
test edi, edi
je 0x10032fab
sub esi, edi
mov eax, edi
cmp esi, 0x1000
jb 0x10032fa1
mov edi, dword [eax - 4]
add esi, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10032fa1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push edi
call fcn.102bb95a
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10014b20
int3