Function at 0x44ed10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x5aa910], 0
jne 0x44efbc
mov esi, dword [0x5aa8fc]
test esi, esi
je 0x44ed51
test byte [0x5a74a8], 1
jne 0x44ee9f
jmp 0x44efbc
push 0xc
call fcn.00532780
add esp, 4
mov esi, eax
cmp dword [0x5a9748], 0
je 0x44ed6e
mov edi, dword [0x5a9744]
jmp 0x44edb8
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x5600ce
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [0x5a9744], eax
test eax, eax
jne 0x44edae
push str.Psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x5600ce
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [0x5a9744], eax
mov dword [0x5a9748], 1
lea eax, [ebp - 0x218]
push 0x208
push 0xff
push eax
call fcn.00536680
add esp, 0xc
test edi, edi
je 0x44eded
mov ecx, edi
call dword [section..00cfg]
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call edi
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov ecx, esi
lea eax, [ebp - 0x218]
push eax
call fcn.00401ce0
movzx eax, byte [esi + 0xb]
mov edx, eax
mov ecx, esi
test al, al
js 0x44ee21
test edx, edx
jne 0x44ee2a
jmp 0x44ee7e
mov ecx, dword [esi]
mov edx, dword [esi + 4]
test edx, edx
je 0x44ee7e
add edx, edx
nop dword [eax]
test edx, edx
je 0x44ee7e
lea edi, [edx - 2]
cmp word [ecx + edx - 2], 0x5c
mov edx, edi
jne 0x44ee30
cmp edi, 0xfffffffe
je 0x44ee7e
mov ecx, edi
sar ecx, 1
lea edx, [ecx + 1]
test al, al
js 0x44ee69
cmp ecx, eax
jae 0x44f01c
cmp edi, 8
jae 0x44f00b
mov byte [esi + 0xb], dl
mov eax, esi
jmp 0x44ee77
cmp dword [esi + 4], ecx
jbe 0x44f01c
mov eax, dword [esi]
mov dword [esi + 4], edx
mov word [eax + ecx*2 + 2], 0
mov ecx, esi
push 9
push 0x5690b8
call fcn.00429860
mov dword [0x5aa8fc], esi
test byte [0x5a74a8], 1
je 0x44efbc
cmp byte [esi + 0xb], 0
jns 0x44eea7
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x569030]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x5aa910], eax
inc eax
cmp eax, 1
ja 0x44efbc
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.00536680
add esp, 0xc
mov word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x44efba
mov ecx, dword [0x5aa8fc]
push esi
call fcn.004296bc
mov ecx, dword [0x5aa8fc]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x44efd3
test eax, eax
je 0x44efed
mov edx, ecx
cmp word [edx + eax*2 - 2], 0x5c
je 0x44ef64
push 1
push 0x5690b4
call fcn.00429860
mov ecx, dword [0x5aa8fc]
push 9
push 0x5690b8
call fcn.00429860
mov eax, dword [0x5aa8fc]
cmp byte [eax + 0xb], 0
jns 0x44ef7d
mov eax, dword [eax]
movaps xmm0, xmmword [0x569030]
sub esp, 0x1c
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x5aa910], eax
inc eax
cmp eax, 1
ja 0x44efbc
mov dword [0x5aa910], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx + 4]
test eax, eax
je 0x44efed
mov edx, dword [ecx]
cmp word [edx + eax*2 - 2], 0x5c
jne 0x44ef52
jmp 0x44ef64
push str.string::back__:_string_is_empty
push str._empty__
push 0x501
push str.P:chromiumM115xpout_release...._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.00404fa4
push str.__s_should_never_be_greater_than_or_equal_to_the_short_string_capacity
push str.__s_____min_cap
push 0x6c6
jmp 0x44effc
mov ecx, esi
call fcn.00403be2
int3