Function at 0x43c88f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x47a4d7
call fcn.004461a8
sub esp, 0x308
push ebx
push esi
xor esi, esi
push edi
push esi
mov dword [ebp - 0x14], ecx
push dword [ebp + 0xc]
mov ebx, 0x47e5a0
mov edi, 0x47e598
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0x9c], edi
call fcn.0040e384
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 1
push eax
call fcn.0043da93
cmp dword [ebp - 0xd8], esi
mov byte [ebp - 4], 2
je 0x43cd81
lea eax, [ebp - 0x16]
push esi
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x74], edi
call fcn.004017e6
lea eax, [ebp - 0x15]
push esi
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c], 0x47f054
mov dword [ebp - 0xec], 0x47f04c
call fcn.0043e4d6
mov eax, str._CommonFilesFolder_
mov byte [ebp - 4], 4
mov ecx, eax
mov dword [ebp - 0x40], ebx
test ecx, ecx
mov dword [ebp - 0x20], edi
mov esi, 0x49cc4c
jne 0x43c955
mov eax, esi
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00408d43
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
neg eax
sbb eax, eax
mov byte [ebp - 4], 5
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.00415768
neg eax
sbb al, al
lea ecx, [ebp - 0x40]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401bc7
cmp byte [ebp + 0xf], 0
je 0x43ca34
lea eax, [ebp + 0xf]
push 1
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.00408d43
lea eax, [ebp - 0xd]
push 1
push eax
push str._CommonFilesFolder_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00408d43
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.0040e417
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00401bc7
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401bc7
lea eax, [ebp - 0x68]
push 1
push eax
call fcn.0043cdc9
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 8
test eax, eax
jne 0x43ca15
mov eax, 0x47e608
test eax, eax
je 0x43ca17
mov esi, eax
push esi
lea ecx, [ebp - 0x94]
call fcn.00401969
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.00401f6c
jmp 0x43cd36
mov eax, str._ProgramFilesFolder_
mov dword [ebp - 0x40], ebx
mov ecx, eax
mov dword [ebp - 0x20], edi
test ecx, ecx
jne 0x43ca47
mov eax, esi
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00408d43
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
neg eax
sbb eax, eax
mov byte [ebp - 4], 9
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.00415768
neg eax
sbb al, al
lea ecx, [ebp - 0x40]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401bc7
cmp byte [ebp + 0xf], 0
je 0x43cb21
lea eax, [ebp + 0xf]
push 1
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00408d43
lea eax, [ebp - 0xd]
push 1
push eax
push str._ProgramFilesFolder_
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.00408d43
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040e417
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.00401bc7
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00401bc7
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0043cdc9
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x43cb09
mov eax, 0x47e608
test eax, eax
jne 0x43cb09
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.00401969
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
jmp 0x43ca2a
mov eax, str._WindowsFolder_
mov dword [ebp - 0x40], ebx
mov ecx, eax
mov dword [ebp - 0x20], edi
test ecx, ecx
jne 0x43cb34
mov eax, esi
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00408d43
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0xd
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.00415768
neg eax
sbb al, al
lea ecx, [ebp - 0x40]
inc al
mov byte [ebp - 4], 4
mov byte [ebp + 0xf], al
call fcn.00401bc7
cmp byte [ebp + 0xf], 0
je 0x43cc06
lea eax, [ebp - 0x314]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp + 0xf]
push 1
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00408d43
lea eax, [ebp - 0xd]
push 1
push eax
push str._WindowsFolder_
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
call fcn.00408d43
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040e417
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xe
call fcn.00401bc7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00401bc7
lea eax, [ebp - 0x314]
test eax, eax
je 0x43cbf5
lea esi, [ebp - 0x314]
push esi
lea ecx, [ebp - 0x94]
call fcn.00401969
jmp 0x43cd36
mov dword [ebp - 0x20], edi
mov edi, str._SystemFolder_
mov eax, edi
mov dword [ebp - 0x40], ebx
test eax, eax
jne 0x43cc19
mov eax, esi
lea ecx, [ebp + 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00408d43
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x3c]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0x10
and eax, ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.00415768
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.00401bc7
test bl, bl
je 0x43ccbf
lea eax, [ebp - 0x314]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0xf]
push 1
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00408d43
lea eax, [ebp - 0xd]
push 1
push eax
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x11
call fcn.00408d43
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x12
call fcn.0040e417
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x11
call fcn.00401bc7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
jmp 0x43cbe0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xe4]
push eax
call fcn.0043db12
test al, al
je 0x43cd36
lea eax, [ebp + 0xf]
push 1
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.00408d43
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x13
call fcn.0040e417
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401bc7
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0043dbf7
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x14
call fcn.004095a6
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00401bc7
cmp dword [ebp - 0x88], 0
je 0x43cd63
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x94]
push eax
call fcn.004147fe
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xbc]
push eax
call fcn.004095a6
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.00401f6c
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00401bc7
mov ecx, dword [ebp + 8]
push 1
pop esi
lea eax, [ebp - 0xbc]
push esi
push eax
call fcn.0040dd14
mov dword [ebp - 0x6c], esi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.00401bc7
and byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.00401bc7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8