Function at 0x403d38
Capabilities:
Get common file path

Disassembly:
mov eax, 0x42fc44
call fcn.0042fb48
mov eax, 0x1850
call fcn.00410b00
push ebx
push esi
xor esi, esi
cmp dword [0x4e5fe8], 0x5b1
push edi
jne 0x403e0b
push esi
lea eax, [ebp - 0x45c]
push eax
push esi
push 0x403004
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ole32.dll_CoRegisterPSClsid]
call dword [sym.imp.WINHTTP.dll_WinHttpCheckPlatform]
push esi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
push esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x105c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_ShellAboutW]
lea eax, [ebp - 0x5c]
call fcn.004040ba
mov dword [ebp - 4], esi
call fcn.00404c5d
push 0x403048
lea ecx, [ebp - 0x1c]
call fcn.004037a0
lea ecx, [ebp - 0x1c]
call fcn.004037bc
lea ecx, [ebp - 0x1c]
call fcn.00403802
lea ecx, [ebp - 0x1c]
call fcn.0040381b
push esi
push esi
call fcn.004052cb
push esi
call fcn.0040529c
add esp, 0xc
push esi
call fcn.00405285
pop ecx
push esi
call fcn.00405713
mov dword [esp], esi
call fcn.00403977
fstp st(0)
push esi
call fcn.00405285
pop ecx
call fcn.004054be
add dword [0x4e5fe8], 0x1134b
push dword [0x4e5fe8]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4e4f38], eax
call fcn.00403c83
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x403e54
inc edi
cmp edi, 0x4f6a4
jl 0x403e34
mov eax, dword [0x4e5fe8]
xor ecx, ecx
cmp eax, esi
jbe 0x403e7a
mov edx, dword [0x4e5fec]
mov dl, byte [edx + ecx + 0x1134b]
mov edi, dword [0x4e4f38]
mov byte [edi + ecx], dl
inc ecx
cmp ecx, eax
jb 0x403e5f
xor edi, edi
lea ecx, [eax + edi]
cmp ecx, 0xe
jne 0x403ec9
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
lea eax, [ebp - 0x45c]
push eax
push esi
push 0x403058
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x403070
push 0x4030d8
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
lea eax, [ebp - 0x105c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
mov eax, dword [0x4e5fe8]
inc edi
cmp edi, 0x39621
jl 0x403e7c
call fcn.00403b6d
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x403ee5
call fcn.00403c69
inc edi
cmp edi, 0x6753f
jl 0x403ed9
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x7b
pop ebx
cmp dword [0x4e5fe8], 0x86
jne 0x403f40
push 0x4030b4
push 0x403164
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push esi
lea eax, [ebp - 0x85c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
lea eax, [ebp - 0x185c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [0x4e5fe8], 0xf
jne 0x403f61
push esi
push esi
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
push 0x4031a0
push 0x4031e8
call edi
dec ebx
jne 0x403ef7
push 0x403194
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret