Function at 0x44334e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x49e227
call fcn.0047d43c
sub esp, 0x204
and dword [ebp - 0x6c], 0
push ebx
push esi
push edi
push 0
mov dword [ebp - 0x3c], ecx
push dword [ebp + 0xc]
mov esi, 0x4a3670
mov edi, 0x4a3668
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x9c], edi
call fcn.00401d87
mov ecx, dword [ebp - 0x3c]
push 1
pop ebx
lea eax, [ebp - 0xe4]
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
call fcn.00444c07
cmp dword [ebp - 0xd8], 0
mov byte [ebp - 4], 2
je 0x443aff
lea eax, [ebp - 0x3e]
push 0
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x74], edi
call fcn.00401907
lea eax, [ebp - 0x3d]
push 0
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c], 0x4a426c
mov dword [ebp - 0xec], 0x4a4264
call fcn.00419399
lea eax, [ebp - 0xd]
push ebx
mov edi, str._CommonFilesFolder_
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00401884
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 5
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00419ac8
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401093
cmp byte [ebp + 0xf], 0
push ebx
je 0x4434de
lea eax, [ebp + 0x13]
mov esi, 0x4c6e10
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.004011a9
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0044554d
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 7
call fcn.00411dfb
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00401093
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00401093
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.00443b52
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 8
test eax, eax
jne 0x4434c1
mov eax, 0x4a36e0
test eax, eax
jne 0x4434c1
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040b18b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00402438
jmp 0x443ab4
lea eax, [ebp - 0xd]
mov edi, str._CommonFiles64Folder_
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.00401884
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 9
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00419ac8
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401093
cmp byte [ebp + 0xf], 0
je 0x4435c4
mov ecx, dword [ebp + 0x10]
call fcn.00443cbc
lea eax, [ebp + 0x13]
push ebx
mov esi, 0x4c6e10
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.004011a9
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.0044554d
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xb
call fcn.00411dfb
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.00401093
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401093
lea eax, [ebp - 0x38]
push SysReAllocStringLen
push eax
call fcn.00443b52
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x4435ac
mov eax, 0x4a36e0
test eax, eax
jne 0x4435ac
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040b18b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x4434d4
lea eax, [ebp - 0xd]
push ebx
mov edi, str._ProgramFilesFolder_
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.00401884
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0xd
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00419ac8
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401093
cmp byte [ebp + 0xf], 0
push ebx
je 0x4436a0
lea eax, [ebp + 0x13]
mov esi, 0x4c6e10
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.004011a9
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.0044554d
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xf
call fcn.00411dfb
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.00401093
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401093
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00443b52
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x10
test eax, eax
jne 0x443688
mov eax, 0x4a36e0
test eax, eax
jne 0x443688
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040b18b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x4434d4
lea eax, [ebp - 0xd]
mov edi, str._ProgramFiles64Folder_
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.00401884
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x11
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00419ac8
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401093
cmp byte [ebp + 0xf], 0
je 0x443786
mov ecx, dword [ebp + 0x10]
call fcn.00443cbc
lea eax, [ebp + 0x13]
push ebx
mov esi, 0x4c6e10
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.004011a9
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.0044554d
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x13
call fcn.00411dfb
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.00401093
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401093
lea eax, [ebp - 0x38]
push SysReAllocStringLen
push eax
call fcn.00443b52
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x14
test eax, eax
jne 0x44376e
mov eax, 0x4a36e0
test eax, eax
jne 0x44376e
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040b18b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x4434d4
lea eax, [ebp - 0xd]
push ebx
mov esi, str._WindowsFolder_
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00401884
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x15
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00419ac8
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401093
cmp byte [ebp + 0xf], 0
je 0x44386b
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x4c6e10
lea ecx, [ebp - 0x68]
call fcn.004011a9
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.0044554d
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x17
call fcn.00411dfb
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00401093
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401093
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.00401884
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x18
call fcn.00401d3d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x443aaf
lea eax, [ebp - 0xd]
push ebx
mov esi, str._SystemFolder_
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00401884
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x19
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00419ac8
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401093
cmp byte [ebp + 0xf], 0
je 0x443950
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x4c6e10
lea ecx, [ebp - 0x68]
call fcn.004011a9
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.0044554d
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00411dfb
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.00401093
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401093
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.00401884
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00401d3d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x443aaf
lea eax, [ebp - 0xd]
push ebx
mov esi, str._System64Folder_
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00401884
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov byte [ebp - 4], 0x1d
and ecx, eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00419ac8
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401093
cmp byte [ebp + 0xf], 0
je 0x443a3a
mov ecx, dword [ebp + 0x10]
call fcn.00443cbc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x4c6e10
lea ecx, [ebp - 0x68]
call fcn.004011a9
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
call fcn.0044554d
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00411dfb
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
call fcn.00401093
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401093
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.00401884
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x20
call fcn.00401d3d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x443aaf
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
call fcn.00444c86
test al, al
je 0x443ab4
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x4c6e10
lea ecx, [ebp - 0x38]
call fcn.004011a9
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x21
call fcn.00411dfb
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00401093
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00444d6b
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x22
call fcn.00401d3d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00401093
cmp dword [ebp - 0x88], 0
je 0x443ae1
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x94]
push eax
call fcn.00418fbc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xbc]
push eax
call fcn.00401d3d
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.00402438
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00401093
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xbc]
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4a3670
mov dword [esi + 0x20], 0x4a3668
call fcn.00401d87
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], bl
call fcn.00401093
and byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00401093
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc