Function at 0x1007db40
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c24be
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, 0x6c
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x284], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x48], 0x61004d
mov dword [ebp - 0x44], 0x720063
mov dword [ebp - 0x40], 0x6d006f
mov dword [ebp - 0x3c], 0x640065
mov dword [ebp - 0x38], 0x46005c
mov dword [ebp - 0x34], 0x61006c
mov dword [ebp - 0x30], 0x680073
mov dword [ebp - 0x2c], 0x56005c
mov dword [ebp - 0x28], 0x720065
mov dword [ebp - 0x24], 0x690073
mov dword [ebp - 0x20], 0x6e006f
mov dword [ebp - 0x1c], 0x64002e
mov dword [ebp - 0x18], 0x6c006c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.10003b60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x29c]
call fcn.10003b60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10085b60
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29c]
call fcn.10003b10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b4]
call fcn.10003b10
lea eax, [ebp - 0x27c]
push eax
call fcn.10086a40
add esp, 4
mov byte [esi], al
test al, al
jne 0x1007dc8d
xor bl, bl
jmp 0x1007de56
push 4
call fcn.101b076d
add esp, 4
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x27c]
push 0x80
push 3
push 1
push 0x80000000
push eax
lea ecx, [ebp - 0x280]
call fcn.10091680
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x280]
test al, al
jne 0x1007dcf2
xor bl, bl
jmp 0x1007de25
xor bl, bl
test esi, esi
je 0x1007de1f
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1007de0b
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x258], eax
cmp eax, 0xffffffff
jne 0x1007dd30
call edi
test eax, eax
jne 0x1007de05
mov ecx, dword [ebp - 0x264]
xor eax, eax
add eax, dword [ebp - 0x258]
adc ecx, 0
jne 0x1007dd4c
cmp eax, 8
jb 0x1007de05
sub eax, 8
sbb ecx, 0
cmp dword [esi], 0xffffffff
je 0x1007de05
mov dword [ebp - 0x258], ecx
lea ecx, [ebp - 0x258]
push 0
push ecx
push eax
mov dword [ebp - 0x25c], eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
jne 0x1007dd8a
call edi
test eax, eax
jne 0x1007de05
mov dword [ebp - 0x260], 0
cmp dword [esi], 0xffffffff
je 0x1007de05
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x254]
push 0
push eax
push 4
lea eax, [ebp - 0x260]
mov dword [ebp - 0x254], 0
push eax
push dword [esi]
call edi
test eax, eax
je 0x1007de05
cmp dword [ebp - 0x260], 0xff2144
jne 0x1007de05
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x254], 0
test eax, eax
je 0x1007de05
cmp dword [esi], 0xffffffff
je 0x1007de05
push 0
lea ecx, [ebp - 0x254]
push ecx
push 4
push eax
push dword [esi]
call edi
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1007de1f
push eax
call ecx
test eax, eax
je 0x1007de1f
mov dword [esi], 0xffffffff
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
test esi, esi
je 0x1007de56
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1007de41
test eax, eax
je 0x1007de41
push eax
call ecx
mov dword [esi], 0
push 4
push esi
call fcn.101b079d
add esp, 8
mov dword [ebp - 0x280], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.10003b10
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret 8