Function at 0x481e10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x5fcb5e
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x11c]
xor edi, edi
push str.Dbghelp
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
jne 0x481e87
mov eax, dword [0x741af8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x110]
push eax
push esi
call fcn.00475440
mov dword [esp + 0x104], edi
mov dword [esp + 0x2c], 1
jmp 0x4823f4
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x3c], eax
cmp eax, edi
jne 0x481eca
mov ecx, dword [0x741af8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x110]
push eax
push esi
call fcn.00475440
mov dword [esp + 0x104], edi
mov dword [esp + 0x2c], 1
jmp 0x4823f4
mov eax, dword [esp + 0x110]
push edi
or edi, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004728e0
mov ebx, 1
mov dword [esp + 0x104], ebx
lea edx, [esp + 0x24]
push edx
lea edx, [edi + 5]
mov ecx, esi
call fcn.00472ce0
mov byte [esp + 0x104], 2
push eax
mov edx, str..exe
call fcn.004731b0
test eax, eax
sete byte [esp + 0x23]
mov byte [esp + 0x104], bl
lea ecx, [esp + 0x24]
call fcn.004740c0
cmp byte [esp + 0x23], 0
je 0x481f61
mov eax, esi
call fcn.00473120
mov edx, eax
lea eax, [esp + 0x24]
sub edx, 4
push eax
mov ecx, esi
call fcn.00472d60
mov byte [esp + 0x104], 3
mov edi, esi
call fcn.00472a50
mov byte [esp + 0x104], bl
lea ecx, [esp + 0x24]
call fcn.004740c0
mov ecx, dword [esp + 0x114]
push ecx
push 0
push 0x100450
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, eax
lea eax, [esp + 0x30]
call fcn.0049a2a0
mov byte [esp + 0x104], 4
call fcn.004221b0
mov dword [esp + 0x38], eax
test eax, eax
jne 0x48204e
mov edx, dword [0x741af8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00475440
mov byte [esp + 0x104], 5
mov ecx, dword [0x741af8]
push ecx
push 0xe1040073
lea edx, [esp + 0xb4]
push edx
call fcn.00475440
mov byte [esp + 0x104], 6
lea eax, [esp + 0x18]
call fcn.004221b0
push eax
lea ecx, [esp + 0xb0]
call fcn.004758c0
lea ecx, [esp + 0x7c]
call fcn.00475a00
push eax
lea ecx, [esp + 0xb0]
call fcn.004758c0
mov esi, dword [esp + 0x10c]
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.00475540
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x104], 5
lea ecx, [esp + 0xac]
call fcn.00475600
mov byte [esp + 0x104], 4
lea ecx, [esp + 0x7c]
call fcn.00475600
jmp 0x4823d3
lea ecx, [esp + 0x1c]
call fcn.00472830
mov byte [esp + 0x104], 7
mov eax, 0x104
lea ecx, [esp + 0x1c]
call fcn.004729d0
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or eax, 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00473130
lea eax, [esp + 0x1c]
call fcn.00473120
mov edi, eax
sub edi, ebx
lea eax, [esp + 0x1c]
call fcn.00473690
cmp word [eax], 0x5c
je 0x4820af
push 0x5c
lea edi, [esp + 0x20]
call fcn.00472b50
push 0
or edi, 0xffffffff
mov eax, str..dmp
lea esi, [esp + 0x28]
call fcn.004728e0
mov byte [esp + 0x104], 8
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.004737a0
mov byte [esp + 0x110], 9
mov ecx, esi
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.004737a0
add esp, 0x18
mov byte [esp + 0x104], 0xb
lea ecx, [esp + 0x34]
call fcn.004740c0
mov byte [esp + 0x104], 0xc
mov ecx, esi
call fcn.004740c0
lea eax, [esp + 0xdc]
push eax
call fcn.0047bb60
mov byte [esp + 0x104], 0xd
lea ecx, [esp + 0x4c]
call fcn.004754c0
mov byte [esp + 0x104], 0xe
push 2
push 0xc0000000
lea eax, [esp + 0x30]
call fcn.004221b0
push eax
lea ecx, [esp + 0xe8]
call fcn.0047bd40
test al, al
jne 0x482213
mov ecx, dword [0x741af8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0xb4]
push edx
call fcn.00475440
mov byte [esp + 0x104], 0xf
mov eax, dword [0x741af8]
push eax
push 0xe1040072
lea ecx, [esp + 0x84]
push ecx
call fcn.00475440
mov byte [esp + 0x104], 0x10
lea edx, [esp + 0x7c]
push edx
lea edi, [esp + 0x50]
call fcn.00475790
mov byte [esp + 0x104], 0xf
lea ecx, [esp + 0x7c]
call fcn.00475600
lea eax, [esp + 0x18]
call fcn.004221b0
push eax
mov ecx, edi
call fcn.004758c0
lea eax, [esp + 0x28]
call fcn.004221b0
push eax
mov ecx, edi
call fcn.004758c0
lea ecx, [esp + 0xac]
call fcn.00475a00
push eax
mov ecx, edi
call fcn.004758c0
mov byte [esp + 0x104], 0xe
lea ecx, [esp + 0xac]
call fcn.00475600
jmp 0x482375
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x44], ebp
push 0
push 0
neg ebp
sbb ebp, ebp
lea ecx, [esp + 0x48]
and ebp, ecx
mov ecx, dword [esp + 0x40]
push ebp
push 2
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x124]
push edx
push eax
push ecx
mov dword [esp + 0x64], ebx
call dword [esp + 0x58]
test eax, eax
jne 0x482307
mov edx, dword [0x741af8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.00475440
mov byte [esp + 0x104], 0x11
mov ecx, dword [0x741af8]
push ecx
push 0xe1040072
lea edx, [esp + 0x84]
push edx
call fcn.00475440
mov byte [esp + 0x104], 0x12
lea eax, [esp + 0x7c]
push eax
lea edi, [esp + 0x50]
call fcn.00475790
mov byte [esp + 0x104], 0x11
lea ecx, [esp + 0x7c]
call fcn.00475600
lea eax, [esp + 0x18]
call fcn.004221b0
push eax
mov ecx, edi
call fcn.004758c0
lea eax, [esp + 0x28]
call fcn.004221b0
push eax
mov ecx, edi
call fcn.004758c0
lea ecx, [esp + 0xac]
call fcn.00475a00
push eax
mov ecx, edi
call fcn.004758c0
mov byte [esp + 0x104], 0xe
lea ecx, [esp + 0xac]
call fcn.00475600
jmp 0x482369
mov ecx, dword [0x741af8]
push ecx
push 0x61040071
lea edx, [esp + 0x84]
push edx
call fcn.00475440
mov byte [esp + 0x104], 0x13
lea eax, [esp + 0x7c]
push eax
lea edi, [esp + 0x50]
call fcn.00475790
mov byte [esp + 0x104], 0xe
lea ecx, [esp + 0x7c]
call fcn.00475600
lea eax, [esp + 0x18]
call fcn.004221b0
push eax
mov ecx, edi
call fcn.004758c0
lea eax, [esp + 0x28]
call fcn.004221b0
push eax
mov ecx, edi
call fcn.004758c0
lea esi, [esp + 0xdc]
call fcn.0047c030
mov esi, dword [esp + 0x10c]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.00475540
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x104], 0xd
lea ecx, [esp + 0x4c]
call fcn.00475600
mov byte [esp + 0x104], 0xc
lea ecx, [esp + 0xdc]
call fcn.0047bbf0
mov byte [esp + 0x104], 7
lea ecx, [esp + 0x28]
call fcn.004740c0
mov byte [esp + 0x104], 4
lea ecx, [esp + 0x1c]
call fcn.004740c0
mov byte [esp + 0x104], bl
lea eax, [esp + 0x30]
call fcn.0049a250
mov byte [esp + 0x104], 0
lea ecx, [esp + 0x18]
call fcn.004740c0
mov eax, esi
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret