Function at 0x4613e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3c73
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x689140]
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.00465700
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi + 0x40], 0x100
xor eax, eax
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.00464510
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 0x46173f
cmp eax, 0x105
ja 0x46173f
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]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461566
sub eax, edx
lea ecx, [ebp - 0x28c]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00428c10
push 1
push 0x62934c
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 6
call fcn.00422380
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.00422380
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.00428f60
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xa
call fcn.00428f60
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 0x461695
push 0x62db60
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xa0], eax
cmp dword [esi + 0xa0], 0
jne 0x461716
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [str.dump]
lea edx, [ebp - 0x248]
mov dword [ebp - 0x248], eax
mov eax, dword [0x628468]
mov dword [ebp - 0x250], 0x42424242
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x294], ecx
lea ecx, [ebp - 0x2a4]
push 0x36
mov dword [ebp - 0x254], 0x33383941
mov eax, dword [ebp - 0x254]
push str.MiniDumpWriteDump_initialization_failed__error_code_
movq qword [ebp - 0x2a4], xmm0
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x290], 0x36
call fcn.0043cca0
add esp, 8
lea ecx, [ebp - 0x234]
call fcn.00428f60
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.0059860b
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.004024a0
push 0x6852a8
lea eax, [ebp - 0x258]
push eax
call fcn.00599dcb
int3