Function at 0x6f37d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffda0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
mov ebx, eax
je 0x6f3bd7
mov eax, 0xdf6
call fcn.006f8fad
push eax
call fcn.007153cd
pop ecx
push 0x443291
call fcn.007153cd
pop ecx
xor edx, edx
or word [ebx + 0x3ee4], 0x40
mov eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
push edx
add eax, 7
xor edx, edx
push eax
mov eax, ebx
call fcn.006ede35
xor ecx, ecx
mov edx, 0x73
mov eax, ebx
call fcn.006f1ae9
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.006ede35
mov eax, ebx
call fcn.006edeed
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.006f3be1
mov dword [ebp - 4], eax
lea esi, reloc.PSAPI.DLL_GetMappedFileNameW
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov edx, 0x14
call fcn.006f1611
mov word [esi + 8], 0x8000
xor ecx, ecx
mov eax, ebx
mov dword [esi + 0x24], ecx
xor ecx, ecx
or word [ebx + 0x4c28], 0x4000
push 0
push 0x443297
push 0
xor edx, edx
call fcn.006f3425
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.006ede35
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x20], ecx
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov edx, dword [ebp - 4]
shl edx, 9
call fcn.006ee2dd
push dword [ebp - 0x102c]
push 0
push dword [ebp - 0x1030]
call fcn.00725129
mov dword [ebp - 0x24], 0xfffffff
add esp, 0xc
jmp 0x6f3a82
call fcn.006f63d5
cmp dword [ebp - 8], 0
jne 0x6f3926
cmp dword [ebp - 0xc], reloc.PSAPI.DLL_GetMappedFileNameW
jae 0x6f3958
jmp 0x6f3928
jge 0x6f3958
mov eax, dword [ebp - 0xc]
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
mov edi, eax
mov eax, 0x200
sub eax, edi
add edx, edi
push eax
push 0
push edx
call fcn.00725129
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
add esp, 0xc
jmp 0x6f3968
sub dword [ebp - 0xc], reloc.PSAPI.DLL_GetMappedFileNameW
sbb dword [ebp - 8], 0
mov edi, 0x200
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, edi
mov eax, ebx
call fcn.006edcc9
mov edx, dword [ebp - 0x20]
shl edx, 9
add edx, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
xor eax, eax
mov cl, byte [ebp + eax - 0x1230]
xor byte [edx + eax], cl
inc eax
cmp eax, 0x200
jl 0x6f3985
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, 0x200
or eax, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.006f6801
mov byte [ebp + esi - 0x1024], al
inc esi
shr eax, 8
mov byte [ebp + esi - 0x1024], al
inc esi
cmp esi, 0x1000
jne 0x6f3a16
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov edx, ebx
call fcn.006ed611
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.006ede35
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, esi
mov eax, ebx
call fcn.006edb0d
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, esi
mov eax, dword [ebp - 0x24]
call fcn.006f6801
mov dword [ebp - 0x24], eax
xor esi, esi
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov edx, 2
call fcn.006ed635
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
and eax, 0xff
xor edx, edx
cmp edx, 0
jne 0x6f3a6a
cmp eax, 0
jne 0x6f3a6a
mov ecx, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
cmp byte [ecx + 0x20b4], 0
jne 0x6f3a6a
push 0
push 0x200
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00727dc9
push edx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0072394d
push eax
push 0x44329a
call fcn.007153cd
add esp, 8
add dword [ebp - 0x1c], 1
adc dword [ebp - 0x18], 0
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 4]
jb 0x6f3a82
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 8], 0
jne 0x6f3a94
cmp dword [ebp - 0xc], 0
ja 0x6f3910
jmp 0x6f3a9a
jg 0x6f3910
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.006ede35
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, esi
mov eax, ebx
call fcn.006edb0d
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, esi
mov eax, dword [ebp - 0x24]
call fcn.006f6801
mov dword [ebp - 0x24], eax
mov eax, ebx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
shl ecx, 9
call fcn.006edb0d
mov ecx, dword [ebp - 4]
shl ecx, 9
mov edx, dword [ebp - reloc.PSAPI.DLL_GetMappedFileNameW]
mov eax, dword [ebp - 0x24]
call fcn.006f6801
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
not eax
mov dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], eax
mov eax, ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
xor edx, edx
call fcn.006ede35
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
xor edx, edx
call fcn.007016dd
mov edx, 0x4432a4
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov ecx, 8
call fcn.00701889
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov edx, dword [ebp - 4]
call fcn.00701811
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.00701861
lea edx, reloc.PSAPI.DLL_GetMappedFileNameW
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
call fcn.00701959
push 0
push 0x443297
push 0
push 0
push 2
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00727dc9
mov ecx, eax
mov edx, dword [ebp - 4]
shl edx, 9
add ecx, edx
xor edx, edx
mov eax, ebx
call fcn.006f3425
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.006ede35
mov ecx, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
cmp byte [ecx + 0x20b4], 0
jne 0x6f3bb7
push 0x4432ad
call fcn.007153cd
pop ecx
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov edx, 2
call fcn.00701711
lea eax, reloc.PSAPI.DLL_GetMappedFileNameW
mov edx, 2
call fcn.006eb849
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret