Function at 0x71a0cd69
Capabilities:
Encode data using xor
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
push 0x1f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x8f]
mov byte [ebp - 0x90], bl
push 0x27
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x12f]
mov byte [ebp - 0x130], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x234]
push eax
push 0x104
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
mov esi, 0x80
pop ecx
lea eax, [ebp - 0x234]
push ebx
push esi
push 3
push ebx
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x71a0ce61
lea ecx, [ebp - 0xc]
push ebx
push ecx
lea ecx, [ebp - 0x90]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x71a0cf83
xor byte [ebp + ebx - 0x90], 0xea
inc ebx
cmp ebx, esi
jb 0x71a0ce1b
mov edi, dword [ebp + 0xc]
push 0x20
pop esi
lea eax, [ebp - 0x90]
push esi
push eax
push edi
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x70]
push esi
push eax
lea eax, [edi + 0x20]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x50]
push esi
push eax
lea eax, [edi + 0x40]
push eax
call sub.MSVCRT.dll_memcpy
push esi
lea eax, [ebp - 0x30]
jmp 0x71a0cf76
lea eax, [ebp - 0x234]
push eax
push 0x104
call edi
lea eax, [ebp - 0x234]
push 0x71a054e4
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x234]
push ebx
push esi
push 3
push ebx
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x71a0ceeb
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x90]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x71a0cf83
xor byte [ebp + ebx - 0x90], 0xea
inc ebx
cmp ebx, esi
jb 0x71a0ced9
jmp 0x71a0ce28
lea eax, [ebp - 4]
push eax
push 0x71a053e0
call fcn.71a0d807
pop ecx
test eax, eax
pop ecx
je 0x71a0cf29
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x130]
push 0xa0
push eax
push ebx
push ebx
push 0x22000b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x110], bl
je 0x71a0cf88
cmp byte [ebp - 0xf0], bl
je 0x71a0cf88
mov edi, dword [ebp + 0xc]
push 0x20
pop esi
lea eax, [ebp - 0x110]
push esi
push eax
push edi
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0xf0]
push esi
push eax
lea eax, [edi + 0x20]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0xd0]
push esi
push eax
lea eax, [edi + 0x40]
push eax
call sub.MSVCRT.dll_memcpy
push esi
lea eax, [ebp - 0xb0]
add edi, 0x60
push eax
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0x30
push 1
pop eax
jmp 0x71a0cf8a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret