Function at 0x803eb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [reloc.PSAPI.DLL_GetMappedFileNameW]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
add ebx, 0xa
and ebx, reloc.OLEAUT32.dll_VariantInit
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
jns 0x803ef7
dec ebx
or ebx, 0xfffffff8
inc ebx
je 0x803f02
mov eax, 8
sub eax, ebx
mov ebx, eax
call fcn.00803a74
and al, 0xf8
or al, bl
push ebx
mov byte [ebp - 0xc], al
inc ebx
call fcn.00803a74
and eax, 0xff
push eax
lea ecx, [ebp - 0xb]
push ecx
call fcn.007f4434
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, esi
add esp, 0xc
neg eax
mov edi, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov edi, edi
cmp ebx, 8
jge 0x803f59
call fcn.00803a74
inc dword [ebp - 0x1c]
mov byte [ebp + ebx - 0xc], al
inc ebx
cmp ebx, 8
jne 0x803fd0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
xor ecx, ecx
lea edx, [ebp + edx - 0x14]
sub esi, eax
cmp dword [ebp - 0x24], 0
lea eax, [ebp + ecx - 0xc]
je 0x803f7b
lea ebx, [edx + esi]
mov bl, byte [ebx + eax]
jmp 0x803f7e
mov bl, byte [esi + eax]
xor byte [eax], bl
inc ecx
cmp ecx, 8
jl 0x803f69
mov ecx, dword [ebp - 0x2c]
push edi
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.00803b34
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov eax, edi
lea edx, [ebp + ecx - 0x14]
mov esi, 8
mov bl, byte [edx + eax]
xor byte [eax], bl
inc eax
dec esi
jne 0x803fa5
mov edx, dword [ebp - 0xc]
add dword [ebp - 0x20], 8
mov dword [ebp - 0x28], ecx
sub ecx, 8
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
xor ebx, ebx
mov esi, edi
mov dword [ebp - 0x10], edx
mov edi, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x1c], 2
jle 0x803f44
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
jle 0x804098
mov eax, edi
neg eax
mov edx, esi
mov dword [ebp - 0x28], eax
neg edx
cmp ebx, 8
jge 0x80400e
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
dec dword [ebp + 0xc]
mov byte [ebp + ebx - 0xc], cl
inc eax
inc ebx
mov dword [ebp - 0x18], eax
cmp ebx, 8
jne 0x80408e
lea eax, [ebp - 0xc]
xor ecx, ecx
lea edx, [ebp + edx - 0x14]
sub esi, eax
jmp 0x804024
cmp dword [ebp - 0x24], 0
lea eax, [ebp + ecx - 0xc]
je 0x804036
lea ebx, [edx + esi]
mov bl, byte [ebx + eax]
jmp 0x804039
mov bl, byte [esi + eax]
xor byte [eax], bl
inc ecx
cmp ecx, 8
jl 0x804024
mov ecx, dword [ebp - 0x2c]
push edi
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.00803b34
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov eax, edi
lea edx, [ebp + ecx - 0x14]
mov esi, 8
lea esp, [esp]
mov bl, byte [edx + eax]
xor byte [eax], bl
inc eax
dec esi
jne 0x804064
mov edx, dword [ebp - 0xc]
add dword [ebp - 0x20], 8
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov edx, ecx
sub ecx, 8
xor ebx, ebx
mov esi, edi
mov edi, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ebx
cmp dword [ebp + 0xc], 0
jg 0x803ff5
mov eax, edi
neg eax
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], eax
neg edx
cmp ebx, 8
jge 0x8040bb
inc dword [ebp - 0x1c]
mov byte [ebp + ebx - 0xc], 0
inc ebx
cmp ebx, 8
jne 0x80412e
lea eax, [ebp - 0xc]
xor ecx, ecx
lea edx, [ebp + edx - 0x14]
sub esi, eax
cmp dword [ebp - 0x24], 0
lea eax, [ebp + ecx - 0xc]
je 0x8040da
lea ebx, [edx + esi]
mov bl, byte [ebx + eax]
jmp 0x8040dd
mov bl, byte [esi + eax]
xor byte [eax], bl
inc ecx
cmp ecx, 8
jl 0x8040c8
mov ecx, dword [ebp - 0x2c]
push edi
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.00803b34
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov eax, edi
lea edx, [ebp + ecx - 0x14]
mov esi, 8
mov bl, byte [edx + eax]
xor byte [eax], bl
inc eax
dec esi
jne 0x804104
mov edx, dword [ebp - 0xc]
add dword [ebp - 0x20], 8
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov edx, ecx
sub ecx, 8
xor ebx, ebx
mov esi, edi
mov edi, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x1c], 7
jle 0x8040aa
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007ec707
mov esp, ebp
pop ebp
ret