Function at 0x4a3b90
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1000c
call fcn.004ebaf0
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x10008], eax
push ebp
mov ebp, dword [esp + 0x10014]
lea eax, [esp + 0xc]
push eax
push 0x8000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4a3bca
lea ebp, [esp + 0xc]
jmp 0x4a3bd2
test ebp, ebp
je 0x4a3de3
mov eax, dword [0x62271c]
mov ecx, dword fs:[0x2c]
push esi
lea esi, [eax*4]
mov eax, dword [esi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x4a3bfe
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
cmp word [ebp], 0
push ebx
mov ebx, dword [esi + ecx]
mov dword [esp + 0xc], ebx
mov esi, dword [ebx + 0x6a0]
je 0x4a3da5
test esi, esi
je 0x4a3c22
mov ecx, esi
call fcn.0041c470
push 0x14
call fcn.004ebb43
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x4a3d9b
push edi
mov dword [esi], 0
xor edi, edi
mov dword [esi + 4], 0
mov eax, ebp
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 1
cmp word [ebp], di
je 0x4a3c71
lea eax, [eax + 2]
inc edi
cmp word [eax], 0
jne 0x4a3c67
mov ecx, dword [esi + 4]
mov eax, dword [esi]
cmp ecx, eax
jne 0x4a3cc1
test ecx, ecx
jne 0x4a3c93
lea eax, [edi*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ecx, eax
jmp 0x4a3cac
cmp edi, dword [esi + 0xc]
jle 0x4a3cb9
lea eax, [edi*2 + 2]
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
mov ecx, eax
mov dword [esi], ecx
mov dword [esi + 4], eax
test ecx, ecx
je 0x4a3d3f
xor eax, eax
mov word [ecx + edi*2], ax
jmp 0x4a3d3c
sub eax, ecx
sar eax, 1
add eax, edi
cmp eax, dword [esi + 0xc]
jle 0x4a3d3f
lea eax, [edi*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4a3d3f
mov eax, dword [esi + 8]
mov edx, ebx
mov ecx, dword [esi]
test eax, eax
jns 0x4a3d13
movzx eax, word [ecx]
add ecx, 2
mov word [ebx], ax
test ax, ax
je 0x4a3d2b
nop dword [eax]
movzx eax, word [ecx]
lea edx, [edx + 2]
mov word [edx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4a3d00
jmp 0x4a3d2b
jle 0x4a3d25
add eax, eax
push eax
push ecx
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 8]
add esp, 0xc
xor ecx, ecx
mov word [ebx + eax*2], cx
push dword [esi + 4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], edi
mov ebx, dword [esi]
test edi, edi
jns 0x4a3d75
movzx eax, word [ebp]
lea ecx, [ebp + 2]
mov word [ebx], ax
test ax, ax
je 0x4a3d8b
sub ebx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx + ecx], ax
test ax, ax
jne 0x4a3d56
mov ebx, dword [esp + 0x10]
mov dword [esi + 8], edi
pop edi
mov dword [ebx + 0x6a0], esi
jmp 0x4a3dda
jle 0x4a3d85
lea eax, [edi + edi]
push eax
push ebp
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [ebx + edi*2], ax
mov ebx, dword [esp + 0x10]
mov dword [esi + 8], edi
pop edi
mov dword [ebx + 0x6a0], esi
jmp 0x4a3dda
xor esi, esi
mov dword [ebx + 0x6a0], esi
jmp 0x4a3dda
test esi, esi
je 0x4a3de1
mov eax, dword [esi + 0x10]
add eax, 0xffffffff
mov dword [esi + 0x10], eax
jne 0x4a3dd0
mov eax, dword [esi + 4]
test eax, eax
je 0x4a3dc5
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 0x14
push esi
call fcn.004ebb73
add esp, 8
mov dword [ebx + 0x6a0], 0
mov byte [ebx + 0x6a4], 0
pop ebx
pop esi
mov ecx, dword [esp + 0x1000c]
pop ebp
xor ecx, esp
call fcn.004ebadf
add esp, 0x1000c
ret