Function at 0x42390b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x462d67
call fcn.0043b410
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.0040b343
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.004251bf
cmp dword [ebp - 0xd8], 0
mov byte [ebp - 4], 2
je 0x4240bc
lea eax, [ebp - 0x3e]
push 0
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x74], edi
call fcn.0040b2ce
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.0040b1a6
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.0040a6bc
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.0040ce9a
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040632e
cmp byte [ebp + 0xf], 0
push ebx
je 0x423a9b
lea eax, [ebp + 0x13]
mov esi, 0x47d770
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040b3d6
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.004259b2
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 7
call fcn.0040b472
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0040632e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040632e
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.0042410f
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 8
test eax, eax
jne 0x423a7e
mov eax, 0x46756c
test eax, eax
jne 0x423a7e
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040be68
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00401279
jmp 0x424071
lea eax, [ebp - 0xd]
mov edi, str._CommonFiles64Folder_
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a6bc
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.0040ce9a
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040632e
cmp byte [ebp + 0xf], 0
je 0x423b81
mov ecx, dword [ebp + 0x10]
call fcn.00424274
lea eax, [ebp + 0x13]
push ebx
mov esi, 0x47d770
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b3d6
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.004259b2
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040b472
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.0040632e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040632e
lea eax, [ebp - 0x38]
push SysReAllocStringLen
push eax
call fcn.0042410f
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x423b69
mov eax, 0x46756c
test eax, eax
jne 0x423b69
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040be68
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x423a91
lea eax, [ebp - 0xd]
push ebx
mov edi, str._ProgramFilesFolder_
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a6bc
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.0040ce9a
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040632e
cmp byte [ebp + 0xf], 0
push ebx
je 0x423c5d
lea eax, [ebp + 0x13]
mov esi, 0x47d770
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b3d6
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.004259b2
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040b472
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.0040632e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040632e
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0042410f
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x10
test eax, eax
jne 0x423c45
mov eax, 0x46756c
test eax, eax
jne 0x423c45
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040be68
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x423a91
lea eax, [ebp - 0xd]
mov edi, str._ProgramFiles64Folder_
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a6bc
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.0040ce9a
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040632e
cmp byte [ebp + 0xf], 0
je 0x423d43
mov ecx, dword [ebp + 0x10]
call fcn.00424274
lea eax, [ebp + 0x13]
push ebx
mov esi, 0x47d770
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.0040b3d6
lea eax, [ebp + 0xf]
push ebx
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.004259b2
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x13
call fcn.0040b472
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.0040632e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040632e
lea eax, [ebp - 0x38]
push SysReAllocStringLen
push eax
call fcn.0042410f
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x14
test eax, eax
jne 0x423d2b
mov eax, 0x46756c
test eax, eax
jne 0x423d2b
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.0040be68
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x423a91
lea eax, [ebp - 0xd]
push ebx
mov esi, str._WindowsFolder_
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a6bc
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.0040ce9a
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040632e
cmp byte [ebp + 0xf], 0
je 0x423e28
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d770
lea ecx, [ebp - 0x68]
call fcn.0040b3d6
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.004259b2
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040b472
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.0040632e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040632e
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a6bc
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x18
call fcn.0040685a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x42406c
lea eax, [ebp - 0xd]
push ebx
mov esi, str._SystemFolder_
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a6bc
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.0040ce9a
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040632e
cmp byte [ebp + 0xf], 0
je 0x423f0d
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d770
lea ecx, [ebp - 0x68]
call fcn.0040b3d6
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.004259b2
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0040b472
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
call fcn.0040632e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040632e
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a6bc
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x1c
call fcn.0040685a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x42406c
lea eax, [ebp - 0xd]
push ebx
mov esi, str._System64Folder_
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040a6bc
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.0040ce9a
neg eax
sbb al, al
lea ecx, [ebp - 0x38]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.0040632e
cmp byte [ebp + 0xf], 0
je 0x423ff7
mov ecx, dword [ebp + 0x10]
call fcn.00424274
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d770
lea ecx, [ebp - 0x68]
call fcn.0040b3d6
lea eax, [ebp + 0xf]
push ebx
push eax
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
call fcn.004259b2
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0040b472
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x1e
call fcn.0040632e
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040632e
lea eax, [ebp + 0x13]
push ebx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a6bc
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 0x20
call fcn.0040685a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
jmp 0x42406c
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
call fcn.0042523e
test al, al
je 0x424071
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x47d770
lea ecx, [ebp - 0x38]
call fcn.0040b3d6
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x21
call fcn.0040b472
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040632e
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00425323
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x22
call fcn.0040685a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.0040632e
cmp dword [ebp - 0x88], 0
je 0x42409e
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x94]
push eax
call fcn.0040a836
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xbc]
push eax
call fcn.0040685a
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.00401279
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0040632e
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.0040b343
mov dword [ebp - 0x6c], ebx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], bl
call fcn.0040632e
and byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.0040632e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc