Function at 0x10002380
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov eax, dword [esp + 0x14]
xor edx, 0x3b06
push ebx
push ebp
push esi
push edi
lea edi, [ecx - 0x978]
mov dword [esp + 0x14], edx
lea ebp, [ecx - 0xd66]
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x1c]
lea esi, [eax - 0x2a46]
xor ecx, 0x2a46
mov dword [esp + 0x2c], esi
mov ebx, eax
mov dword [esp + 0x1c], ecx
xor ebx, 0x2a46
mov dword [esp + 0x10], ebx
lea eax, [ecx + 0x1c11]
cmp ebx, eax
je 0x10002644
lea eax, [ecx + 0x2a46]
cmp esi, eax
jg 0x10002644
mov eax, ebx
xor eax, 0x22a5
cmp esi, eax
jge 0x10002644
cmp edi, ebp
je 0x10002594
mov esi, dword [esp + 0x28]
add ebp, 0x3ee
xor edi, edi
nop
mov edx, dword [esi + 0xb0]
mov eax, dword [esi + 0x10c]
xor eax, edx
mov ebx, dword [esi + 0x50]
xor eax, 0x104df6
sub dword [esi + 0x7c], eax
mov eax, dword [esi + 0x88]
mov ecx, dword [edi + eax]
add edi, 4
mov eax, dword [esi + 0x94]
add eax, dword [esi + 0xe8]
xor eax, 0x17da48
imul ebx, ecx
imul eax, dword [esi]
mov dword [esi], eax
lea eax, [edx - 0x104df6]
add dword [esi + 0x94], eax
mov edx, ebx
mov eax, dword [esi + 0x80]
sub eax, 0xc4539
shr edx, 8
or dword [esi + 0x94], eax
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x8c]
mov byte [ecx + eax], dl
inc dword [esi + 0x54]
mov eax, dword [esi + 0xfc]
mov ecx, eax
xor ecx, 2
imul ecx, eax
mov dword [esi + 0xfc], ecx
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x8c]
mov byte [ecx + eax], bl
inc dword [esi + 0x54]
mov eax, dword [esi + 0x10c]
sub dword [esi + 0xe8], eax
mov ecx, dword [esi + 0xcc]
add ecx, eax
add ecx, dword [esi + 0xac]
mov dword [esi + 0x10c], ecx
mov eax, dword [esi + 0x104]
sub dword [esi + 0x80], eax
cmp edi, 0xb8a70
jl 0x10002410
mov eax, dword [esi + 0xa0]
mov edi, dword [esp + 0x24]
cmp eax, dword [esi + 0xbc]
jb 0x100024f7
mov eax, dword [esi + 0x40]
add eax, 0x46fdd946
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
xor eax, 0x2a46
push eax
mov eax, dword [esp + 0x20]
add eax, 0x2ac3
push eax
lea eax, [edi - 0x3ee]
push eax
mov eax, ecx
xor eax, 0x2034
push eax
lea eax, [ecx + 0x291e]
push eax
push esi
call fcn.10001f80
add esp, 0x18
cmp dword [esi + 0xcc], 0x164df
je 0x10002543
xor dword [esi + 0x50], 0xccb70
jmp 0x10002551
mov eax, dword [esi + 0x64]
sub eax, 0x1abc7
xor dword [esi + 0xa0], eax
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x868]
push eax
lea eax, [ecx + 0x4fe]
push eax
lea eax, [edi - 0x1e5]
xor edi, 0x191
push eax
push edi
push esi
call fcn.1000b9d0
add esp, 0x14
mov dword [esi + 0x88], 0x1010f000
xor ebp, 0x6fa
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
lea eax, [edx - 0x27f3]
cmp ebp, eax
jge 0x10002644
mov esi, dword [esp + 0x28]
mov eax, edx
or eax, 0x1c11
xor eax, 0x2a46
push eax
mov eax, edx
sub edx, dword [esi + 0x74]
xor eax, 0x1dda
add eax, dword [esi + 0x110]
push eax
lea eax, [ecx - 0x2463]
push eax
mov eax, dword [esi + 0xf4]
add eax, dword [esi + 0x7c]
or eax, 0x1f65
push eax
push edx
call dword [sym.imp.KERNEL32.dll_UnlockFile]
mov ecx, dword [esi + 0xa4]
mov eax, ecx
xor ecx, dword [esp + 0x1c]
and eax, 0x1c11
imul ecx, dword [esi + 0x68]
imul eax, eax, 0x1c11
push eax
mov eax, dword [esi + 0x9c]
or eax, edi
or eax, ebp
push eax
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x48]
imul eax, eax, 0x2463
push eax
imul eax, dword [esp + 0x38], 0x1c11
push esi
push ecx
push eax
call fcn.1000c430
mov eax, dword [esi + 0xc0]
add esp, 0x18
and eax, 0x176a
xor edi, ebx
add eax, 0x1dda
sub edi, ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
pop edi
xor ebp, 0x6fa
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret