Function at 0x70d08ad2
Capabilities:
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78c
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 8], ebx
push 0xd
setne al
pop ecx
mov esi, 0x70d5c538
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
inc eax
push 7
inc eax
pop ecx
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
push 0xf003f
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x68]
push eax
mov esi, 0x70d5c51c
lea edi, [ebp - 0x30]
push 0x80000001
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x374], bx
mov word [ebp - 0x78c], bx
mov byte [ebp - 0x16c], bl
mov byte [ebp - 0x478], bl
mov dword [ebp + 8], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.70d08940
test eax, eax
jne 0x70d75216
cmp dword [ebp + 8], ebx
mov edi, 0x80
mov esi, 0xc0000000
je 0x70d75250
push 0x208
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.70d08c93
test eax, eax
jne 0x70d75250
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x78c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x70d5c57c
lea eax, [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [0x70e7a018], ebx
lea eax, [ebp - 0x374]
je 0x70d7521e
push ebx
push edi
push dword [ebp - 8]
push ebx
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x70d75250
mov dword [ebp - 0xc], 1
cmp dword [ebp + 8], ebx
je 0x70d08bfa
cmp dword [ebp - 4], 0xffffffff
je 0x70d08bf1
cmp dword [ebp - 0xc], ebx
je 0x70d7544a
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0xffffffff
je 0x70d55d6d
cmp dword [ebp - 8], 3
jne 0x70d55d5a
cmp dword [ebp + 0x10], ebx
jne 0x70d55d5a
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x70d55d6d
cmp dword [0x70e7a018], ebx
push ebx
push edi
push ebx
push 4
push ebx
push dword [ebp - 4]
je 0x70d55d62
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
cmp esi, ebx
je 0x70d55d6d
push edi
push ebx
push ebx
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
je 0x70d55d6d
mov ecx, dword [ebp - 4]
mov dword [0x70e7a17c], edi
mov dword [0x70e7a170], ecx
mov dword [0x70e7a174], esi
mov dword [0x70e7a16c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov edi, dword [ebp + 0xc]
jmp 0x70d08c23
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
jmp 0x70d08c47
call fcn.70d08977
jmp 0x70d08c89
mov dword [ebp + 8], ebx
jmp 0x70d08b4f
push eax
lea ecx, [ebp - 0x584]
call fcn.70d28ece
cmp dword [ebp - 0x584], 0x55464131
jne 0x70d75250
push ebx
push edi
push dword [ebp - 8]
push ebx
push 3
push esi
push dword [ebp - 0x580]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x70d08bca
cmp dword [0x70e7a018], ebx
mov eax, dword [0x70e7a178]
je 0x70d75355
cmp eax, ebx
jne 0x70d75279
push 0x70d8a628
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [0x70e7a178], eax
je 0x70d752f5
push 0x70d8a614
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x70d752f5
lea ecx, [ebp - 0x374]
push ecx
push ebx
push ebx
push 0x801c
push ebx
call eax
cmp eax, 0x80070057
jne 0x70d752b6
lea eax, [ebp - 0x374]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [ebp - 0x14]
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x78c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x70d5c57c
lea eax, [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push edi
push dword [ebp - 8]
lea eax, [ebp - 0x374]
push ebx
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x70d08bdd
push 0x104
lea eax, [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x78c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x70d5c57c
lea eax, [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push edi
push dword [ebp - 8]
lea eax, [ebp - 0x374]
push ebx
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
jmp 0x70d08bdd
cmp eax, ebx
jne 0x70d7536d
push 0x70d8a604
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x70e7a178], eax
je 0x70d753cd
push 0x70d8a5f0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x70d753cd
lea ecx, [ebp - 0x16c]
push ecx
push ebx
push ebx
push 0x801a
push ebx
call eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x70d8a5d8
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push edi
push dword [ebp - 8]
lea eax, [ebp - 0x16c]
push ebx
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x70d7542d
push 0x104
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x70d8a5d8
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push edi
push dword [ebp - 8]
lea eax, [ebp - 0x16c]
push ebx
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x70d08bdd
push 0x104
lea eax, [ebp - 0x78c]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.70d9b4fb
jmp 0x70d08bdd
lea eax, [ebp - 0x78c]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.70ddf956
jmp 0x70d08bf1