Function at 0x465ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x248], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x274], esi
mov dword [esi], eax
push eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.0046c090
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov word [esi + 0x40], 0
xor eax, eax
mov byte [esi + 0x42], 0
mov dword [esi + 0x44], 0x100
mov byte [esi + 0x48], 0
mov dword [esi + 0x4c], 0
movups xmmword [esi + 0x54], xmm0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 7
mov word [esi + 0x54], ax
movups xmmword [esi + 0x6c], xmm0
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], 7
mov word [esi + 0x6c], ax
movups xmmword [esi + 0x84], xmm0
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], 7
mov word [esi + 0x84], ax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
lea eax, [esi + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 4
call fcn.00469210
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x244], xmm0
call dword [sym.imp.RPCRT4.dll_UuidCreate]
mov eax, dword [ebp - 0x244]
mov dword [esi + 0x50], eax
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x466251
cmp eax, 0x105
ja 0x466251
xorps xmm0, xmm0
mov dword [ebp - 0x27c], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x278], 0
movups xmmword [ebp - 0x28c], xmm0
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466060
sub eax, edx
lea ecx, [ebp - 0x28c]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00428be0
push 1
push 0x62a34c
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 6
call fcn.00422330
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x25c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x270], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x260], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x270]
push 0xb
push str.dbghelp.dll
mov byte [ebp - 4], 7
call fcn.00422330
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x220], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x270]
call fcn.00428f30
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xa
call fcn.00428f30
cmp dword [ebp - 0x220], 7
lea eax, [ebp - 0x234]
cmova eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x46618f
push 0x62ec98
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xa0], eax
cmp dword [esi + 0xa0], 0
jne 0x466228
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [str.dump]
lea edx, [ebp - 0x248]
mov dword [ebp - 0x248], eax
mov eax, dword [0x629468]
mov dword [ebp - 0x250], 0x45343432
mov ecx, dword [ebp - 0x250]
movq qword [ebp - 0x2b8], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2a8], ecx
lea ecx, [ebp - 0x2b8]
push 0x36
mov dword [ebp - 0x254], 0x42313636
mov eax, dword [ebp - 0x254]
push str.MiniDumpWriteDump_initialization_failed__error_code_
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a4], 0x36
movups xmmword [ebp - 0x2a0], xmm0
mov dword [ebp - 0x290], 0
call fcn.0043cda0
add esp, 8
lea ecx, [ebp - 0x234]
call fcn.00428f30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
ret 4
push str.Could_not_retrieve_system_directory
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x258]
call fcn.00402410
push 0x6860d0
lea eax, [ebp - 0x258]
push eax
call fcn.0059b61b
int3