Function at 0x426960
Capabilities:
Get common file path

Disassembly:
mov eax, 0x43f7e4
call fcn.004311b8
sub esp, 0x204
and dword [ebp - 0x44], 0
push ebx
push esi
push edi
push 0
mov dword [ebp - 0x14], ecx
push dword [ebp + 0xc]
mov edi, 0x44049c
mov ebx, 0x440494
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0x9c], ebx
call fcn.0040b9d3
mov ecx, dword [ebp - 0x14]
push 1
pop esi
lea eax, [ebp - 0xe4]
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push eax
call fcn.00427b44
cmp dword [ebp - 0xd8], 0
mov byte [ebp - 4], 2
je 0x426e57
lea eax, [ebp + 0xf]
push 0
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x4c], ebx
call fcn.00401581
lea eax, [ebp - 0x15]
push 0
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10c], 0x440f8c
mov dword [ebp - 0xec], 0x440f84
call fcn.00428154
lea eax, [ebp - 0xe]
push esi
mov edi, str._CommonFilesFolder_
push eax
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004014ff
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.00411720
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.0040191f
test bl, bl
push esi
je 0x426aed
lea eax, [ebp - 0xe]
mov ebx, 0x44dbd4
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.0040ba66
lea eax, [ebp - 0xd]
push esi
push eax
push edi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 6
call fcn.0041aaac
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 7
call fcn.0040bb02
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 6
call fcn.0040191f
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.0040191f
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00426ea2
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 8
test eax, eax
jne 0x426ad1
mov eax, 0x440504
test eax, eax
je 0x426ad3
mov ebx, eax
push ebx
lea ecx, [ebp - 0x6c]
call fcn.004016c7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00401ced
jmp 0x426e0e
lea eax, [ebp - 0xd]
mov edi, str._ProgramFilesFolder_
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004014ff
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.00411720
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.0040191f
test bl, bl
push esi
je 0x426bcb
lea eax, [ebp - 0xd]
mov ebx, 0x44dbd4
push eax
push ebx
lea ecx, [ebp - 0x94]
call fcn.0040ba66
lea eax, [ebp - 0xe]
push esi
push eax
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.0041aaac
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040bb02
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.0040191f
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.0040191f
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00426ea2
pop ecx
pop ecx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x426bb6
mov eax, 0x440504
test eax, eax
jne 0x426bb6
mov eax, ebx
push eax
lea ecx, [ebp - 0x6c]
call fcn.004016c7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
jmp 0x426ae3
lea eax, [ebp - 0xd]
mov edi, str._WindowsFolder_
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004014ff
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.00411720
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.0040191f
test bl, bl
je 0x426cb2
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0xd]
push esi
push eax
push 0x44dbd4
lea ecx, [ebp - 0x94]
call fcn.0040ba66
lea eax, [ebp - 0xe]
push esi
push eax
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.0041aaac
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040bb02
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.0040191f
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.0040191f
lea eax, [ebp - 0xd]
push esi
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x40]
call fcn.004014ff
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x10
call fcn.0040b989
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
jmp 0x426e09
lea eax, [ebp - 0xd]
push esi
mov edi, str._SystemFolder_
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004014ff
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.00411720
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.0040191f
test bl, bl
je 0x426d97
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0xd]
push esi
push eax
push 0x44dbd4
lea ecx, [ebp - 0x94]
call fcn.0040ba66
lea eax, [ebp - 0xe]
push esi
push eax
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.0041aaac
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x13
call fcn.0040bb02
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.0040191f
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.0040191f
lea eax, [ebp - 0xd]
push esi
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x40]
call fcn.004014ff
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x14
call fcn.0040b989
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
jmp 0x426e09
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xe4]
push eax
call fcn.00427bc3
test al, al
je 0x426e0e
lea eax, [ebp - 0xd]
push esi
push eax
push 0x44dbd4
lea ecx, [ebp - 0x40]
call fcn.0040ba66
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040bb02
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.0040191f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00427ca8
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call fcn.0040b989
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040191f
cmp dword [ebp - 0x60], 0
je 0x426e32
lea eax, [ebp - 0xbc]
lea ecx, [ebp - 0x6c]
push eax
call fcn.00410c8a
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0xbc]
push eax
call fcn.0040b989
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 3
call fcn.00401ced
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0040191f
mov ebx, 0x440494
mov edi, 0x44049c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xbc]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], ebx
call fcn.0040b9d3
mov dword [ebp - 0x44], esi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.0040191f
and byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.0040191f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8