Function at 0x41b6dd
Capabilities:
Get common file path

Disassembly:
push 0x2f0
mov eax, 0x46b959
call fcn.00449971
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push esi
push 0x474538
lea ecx, [ebp + 0xc]
call fcn.00406184
test eax, eax
jl 0x41b962
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x228], esp
push 0x474534
call fcn.00401925
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2fc]
call fcn.00407bde
mov byte [ebp - 4], 3
push dword [eax]
lea ecx, [ebp - 0x278]
call fcn.00401925
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 0x10
jb 0x41b766
mov eax, dword [eax + 4]
jmp 0x41b769
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x230], esp
push eax
call fcn.00401925
mov byte [ebp - 4], 5
lea eax, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 7
call fcn.00405d10
add esp, 0x3c
mov byte [ebp - 4], 9
push esi
push ebx
lea ecx, [ebp - 0x278]
call fcn.0040148e
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2f8]
cmp dword [ebp - 0x2fc], eax
je 0x41b7c0
push dword [ebp - 0x2fc]
call fcn.0044b877
pop ecx
lea eax, [ebp - 0x234]
push eax
push ebx
lea ecx, [ebp - 0x24c]
call fcn.00421236
mov ecx, eax
call fcn.0040652b
mov esi, eax
lea eax, [ebp - 0x22c]
push eax
push ebx
lea ecx, [ebp - 0x24c]
call fcn.00421236
mov ecx, eax
call fcn.0040654d
mov edi, eax
lea eax, [ebp - 0x254]
push eax
push ebx
lea ecx, [ebp - 0x24c]
call fcn.00421236
mov ecx, eax
call fcn.0040652b
push 0x44f5bc
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x25c]
push eax
call fcn.004183af
add esp, 0x20
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
push esi
push ebx
lea ecx, [ebp - 0x24c]
call fcn.00421236
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x230], esp
push eax
call fcn.00403a54
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ecx]
mov byte [ebp - 4], 0xa
call dword [eax + 0x24]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x41b954
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406dd3
mov byte [ebp - 4], 0xc
push ebx
lea ecx, [ebp - 0x24c]
call fcn.00421236
push str.PROGRAMFILES
mov ecx, eax
call fcn.004061f3
test eax, eax
jne 0x41b8ee
push esi
push 0x47452c
lea ecx, [ebp - 0x21c]
call fcn.00406184
test eax, eax
jl 0x41b8ee
push 0x470b08
push 0x474520
lea ecx, [ebp - 0x21c]
call fcn.004063af
lea ecx, [ebp - 0x21c]
call fcn.00408636
mov ecx, eax
call fcn.004082d9
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp + 0xc]
call fcn.004065b9
push 2
lea ecx, [ebp - 0x24c]
call fcn.00421236
cmp dword [eax + 0x18], 0x10
jb 0x41b915
mov eax, dword [eax + 4]
jmp 0x41b918
add eax, 4
push eax
lea ecx, [ebp - 0x228]
call fcn.00406609
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040349a
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x228]
call fcn.0040141e
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x21c]
call fcn.0040141e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24c]
call fcn.00405971
mov ecx, dword [ebp - 0x220]
lea eax, [ebp + 0xc]
push eax
call fcn.004016b8
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040141e
mov eax, dword [ebp - 0x220]
call fcn.004499f4
ret 8