Function at 0x423be1
Capabilities:
Get common file path

Disassembly:
mov eax, 0x462f3f
call fcn.0043b5c0
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, 0x4675b0
mov edi, 0x4675a8
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x9c], edi
call fcn.0040b335
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.00425495
cmp dword [ebp - 0xd8], 0
mov byte [ebp - 4], 2
je 0x424392
lea eax, [ebp - 0x3e]
push 0
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x74], edi
call fcn.0040b2c0
lea eax, [ebp - 0x3d]
push 0
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c], 0x4680a4
mov dword [ebp - 0xec], 0x46809c
call fcn.0040b198
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.0040a6ae
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.0040cec9
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406320
cmp byte [ebp + 0xf], 0
push ebx
je 0x423d71
lea eax, [ebp + 0x13]
mov esi, 0x47d8e0
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040b3c8
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00425c88
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 7
call fcn.0040b464
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00406320
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00406320
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.004243e5
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 8
test eax, eax
jne 0x423d54
mov eax, 0x46756c
test eax, eax
jne 0x423d54
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040be97
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.0040127e
jmp 0x424347
lea eax, [ebp - 0xd]
mov edi, str._CommonFiles64Folder_
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a6ae
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.0040cec9
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406320
cmp byte [ebp + 0xf], 0
je 0x423e57
mov ecx, dword [ebp + 0x10]
call fcn.0042454a
lea eax, [ebp + 0x13]
push ebx
mov esi, 0x47d8e0
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b3c8
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.00425c88
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040b464
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.00406320
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406320
lea eax, [ebp - 0x38]
push SysReAllocStringLen
push eax
call fcn.004243e5
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x423e3f
mov eax, 0x46756c
test eax, eax
jne 0x423e3f
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040be97
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x423d67
lea eax, [ebp - 0xd]
push ebx
mov edi, str._ProgramFilesFolder_
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a6ae
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.0040cec9
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406320
cmp byte [ebp + 0xf], 0
push ebx
je 0x423f33
lea eax, [ebp + 0x13]
mov esi, 0x47d8e0
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b3c8
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.00425c88
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040b464
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.00406320
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406320
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.004243e5
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x10
test eax, eax
jne 0x423f1b
mov eax, 0x46756c
test eax, eax
jne 0x423f1b
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040be97
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x423d67
lea eax, [ebp - 0xd]
mov edi, str._ProgramFiles64Folder_
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a6ae
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.0040cec9
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406320
cmp byte [ebp + 0xf], 0
je 0x424019
mov ecx, dword [ebp + 0x10]
call fcn.0042454a
lea eax, [ebp + 0x13]
push ebx
mov esi, 0x47d8e0
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b3c8
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.00425c88
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x13
call fcn.0040b464
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.00406320
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406320
lea eax, [ebp - 0x38]
push SysReAllocStringLen
push eax
call fcn.004243e5
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x14
test eax, eax
jne 0x424001
mov eax, 0x46756c
test eax, eax
jne 0x424001
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040be97
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x423d67
lea eax, [ebp - 0xd]
push ebx
mov esi, str._WindowsFolder_
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a6ae
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.0040cec9
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406320
cmp byte [ebp + 0xf], 0
je 0x4240fe
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d8e0
lea ecx, [ebp - 0x68]
call fcn.0040b3c8
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00425c88
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040b464
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.00406320
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406320
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a6ae
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x18
call fcn.0040684c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x424342
lea eax, [ebp - 0xd]
push ebx
mov esi, str._SystemFolder_
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a6ae
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.0040cec9
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406320
cmp byte [ebp + 0xf], 0
je 0x4241e3
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d8e0
lea ecx, [ebp - 0x68]
call fcn.0040b3c8
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.00425c88
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0040b464
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.00406320
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406320
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a6ae
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x1c
call fcn.0040684c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x424342
lea eax, [ebp - 0xd]
push ebx
mov esi, str._System64Folder_
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a6ae
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.0040cec9
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00406320
cmp byte [ebp + 0xf], 0
je 0x4242cd
mov ecx, dword [ebp + 0x10]
call fcn.0042454a
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d8e0
lea ecx, [ebp - 0x68]
call fcn.0040b3c8
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
call fcn.00425c88
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0040b464
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
call fcn.00406320
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00406320
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a6ae
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x20
call fcn.0040684c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x424342
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
call fcn.00425514
test al, al
je 0x424347
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d8e0
lea ecx, [ebp - 0x38]
call fcn.0040b3c8
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x21
call fcn.0040b464
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00406320
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004255f9
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x22
call fcn.0040684c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00406320
cmp dword [ebp - 0x88], 0
je 0x424374
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040a828
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xbc]
push eax
call fcn.0040684c
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.0040127e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00406320
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xbc]
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4675b0
mov dword [esi + 0x20], 0x4675a8
call fcn.0040b335
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], bl
call fcn.00406320
and byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00406320
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc