Function at 0x4365c0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ad927
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x330], ecx
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
lea edx, [ebp - 0x238]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x21c]
call fcn.005c9eb0
cmp dword [ebp - 0x238], 2
jne 0x436656
lea ecx, [ebp - 0x27c]
call fcn.005cb7c0
jmp 0x4366aa
push 0
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4366aa
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436676
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.004271d0
push 0x1b
push str.AdobeAdobe_Creative_Cloud
lea ecx, [ebp - 0x27c]
call fcn.004272f0
cmp dword [ebp - 0x268], 8
lea eax, [ebp - 0x27c]
push dword [ebp - 0x26c]
cmovae eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x2ac]
push eax
call fcn.004271d0
push 0xc
xor eax, eax
mov dword [ebp - 0x224], 0
push str.C3Config.xml
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.00427170
push 0xc
xor eax, eax
mov dword [ebp - 0x224], 0
push str.C3Config.sig
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.004271d0
push ecx
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.005cc180
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.00427170
cmp dword [ebp - 0x268], 8
lea eax, [ebp - 0x27c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x27c]
push eax
call esi
test eax, eax
je 0x436f18
cmp dword [ebp - 0x298], 8
lea eax, [ebp - 0x2ac]
cmovae eax, dword [ebp - 0x2ac]
push eax
call esi
test eax, eax
je 0x436f18
xor eax, eax
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 7
mov word [ebp - 0x324], ax
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2f8], 0xf
mov byte [ebp - 0x30c], al
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2bc], 0xf
mov byte [ebp - 0x2d0], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x324]
cmp dword [ebp - 0x268], 8
push dword [ebp - 0x26c]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x27c]
cmovae eax, dword [ebp - 0x27c]
push eax
call fcn.004271d0
xorps xmm0, xmm0
mov dword [ebp - 0x2e8], 0x7e5b50
movq qword [ebp - 0x25c], xmm0
mov dword [ebp - 0x2e4], 0x180
mov dword [ebp - 0x2e0], 0x7e5b48
mov dword [ebp - 0x2dc], 1
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x258], 0
mov byte [ebp - 0x254], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x2b0], 0
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x25c]
call fcn.005e1060
mov edi, dword [sym.imp.ole32.dll_CoUninitialize]
test al, al
jne 0x4368e7
push str.Could_not_initialize_C3Config_sig_file_as_XML_data
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x18
xor bl, bl
jmp 0x436e3a
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x250]
push 0x13
xor eax, eax
mov dword [ebp - 0x240], 0
push str._Signature_FileSize
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.004271d0
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x25c]
call fcn.005e1ca0
test al, al
je 0x43699b
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
push dword [ebp - 0x25c]
cmovae ecx, dword [ebp - 0x234]
lea edx, [ebp - 0x294]
call fcn.005ceb70
add esp, 4
lea ecx, [ebp - 0x234]
call fcn.00427170
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 9
call fcn.00427170
cmp dword [ebp - 0x280], 0x10
lea ecx, [ebp - 0x2b4]
push 0
lea eax, [ebp - 0x294]
mov dword [ebp - 0x2b4], 0
cmovae eax, dword [ebp - 0x294]
push ecx
push eax
call fcn.00672073
add esp, 0xc
mov dword [ebp - 0x2f0], eax
xor eax, eax
mov dword [ebp - 0x2ec], edx
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
push 0x13
push str._Signature_CheckSum
mov word [ebp - 0x250], ax
call fcn.004271d0
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x25c]
call fcn.005e1ca0
test al, al
je 0x436a86
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
push dword [ebp - 0x25c]
cmovae ecx, dword [ebp - 0x234]
lea edx, [ebp - 0x2d0]
call fcn.005ceb70
add esp, 4
lea ecx, [ebp - 0x234]
call fcn.00427170
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 9
call fcn.00427170
lea ecx, [ebp - 0x328]
call fcn.005de410
test eax, eax
je 0x436ada
push eax
push str.Signature_validation_failed_for_C3Config_file__OCE_Return_status_:__lu
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x1c
xor bl, bl
jmp 0x436de1
xorps xmm0, xmm0
mov dword [ebp - 0x23c], 0
movq qword [ebp - 0x244], xmm0
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x23c], 0
mov dword [ebp - 0x244], 0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x244]
call fcn.005e1060
test al, al
jne 0x436b4e
push str.Could_not_initialize_C3Config_xml
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x18
xor bl, bl
jmp 0x436db6
push 0x3d
xor eax, eax
mov dword [ebp - 0x21c], 0
push str._C3Config_config_namespace__namewam.bootstrapper__property
lea ecx, [ebp - 0x348]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 7
mov word [ebp - 0x348], ax
call fcn.004271d0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x244]
call fcn.005e24d0
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 0x15
call fcn.00427170
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x436d83
mov ebx, dword [ebp - 0x21c]
test ebx, ebx
je 0x436d83
xor edi, edi
test ebx, ebx
jle 0x436d79
nop word [eax + eax]
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x21c], 0
push esi
mov dword [eax], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x244]
call fcn.005e2810
push ecx
mov byte [ebp - 4], 0x18
mov ecx, esp
mov eax, dword [ebp - 0x21c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x264], xmm0
mov dword [ecx], eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x436c42
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x244]
call fcn.005e2ba0
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x1a
push eax
mov eax, dword [ebp - 0x21c]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x436c97
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea ecx, [ebp - 0x244]
call fcn.005e57c0
push 4
xor eax, eax
mov dword [ebp - 0x350], 0
push 0x721d90
lea ecx, [ebp - 0x360]
mov dword [ebp - 0x34c], 7
mov word [ebp - 0x360], ax
call fcn.004271d0
lea eax, [ebp - 0x360]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x264]
call fcn.00438090
mov ecx, dword [ebp - 0x330]
push eax
lea ecx, [ecx + 0x144]
call fcn.00448180
mov ecx, eax
lea eax, [ebp - 0x234]
cmp ecx, eax
je 0x436d1f
cmp dword [ebp - 0x220], 8
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x360]
call fcn.00427170
lea ecx, [ebp - 0x234]
call fcn.00427170
mov eax, dword [ebp - 0x264]
push dword [eax + 4]
lea eax, [ebp - 0x264]
push eax
mov ecx, eax
call fcn.004393c0
push 0x40
push dword [ebp - 0x264]
call fcn.0065106e
mov byte [ebp - 4], 0x15
add esp, 8
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x436d70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, ebx
jl 0x436bf0
mov edi, dword [sym.imp.ole32.dll_CoUninitialize]
mov bl, 1
jmp 0x436da8
push str.No_wam_property_node_found_in_C3Config_xml
push 0x71a27c
push 0x71a27c
push str.ApplicationContext
push str.WAMB
push 0x28
call fcn.00432560
add esp, 0x18
xor bl, bl
mov byte [ebp - 4], 0x10
test esi, esi
je 0x436db6
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 0x1c
mov esi, dword [ebp - 0x240]
test esi, esi
je 0x436dcc
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor esi, esi
cmp byte [ebp - 0x23c], 0
je 0x436dd7
call edi
test esi, esi
je 0x436de1
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x280]
cmp edx, 0x10
jb 0x436e1f
mov ecx, dword [ebp - 0x294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x436e15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436f4e
push edx
push ecx
call fcn.0065106e
add esp, 8
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], 0
mov byte [ebp - 4], 0x1d
mov esi, dword [ebp - 0x258]
test esi, esi
je 0x436e50
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor esi, esi
cmp byte [ebp - 0x254], 0
je 0x436e5b
call edi
test esi, esi
je 0x436e65
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov edx, dword [ebp - 0x2bc]
cmp edx, 0x10
jb 0x436e9f
mov ecx, dword [ebp - 0x2d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x436e95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436f4e
push edx
push ecx
call fcn.0065106e
add esp, 8
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
mov byte [ebp - 0x2d0], 0
cmp edx, 0x10
jb 0x436ef0
mov ecx, dword [ebp - 0x30c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x436ee6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436f4e
push edx
push ecx
call fcn.0065106e
add esp, 8
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0xf
mov byte [ebp - 0x30c], 0
call fcn.00427170
jmp 0x436f1a
xor bl, bl
lea ecx, [ebp - 0x2ac]
call fcn.00427170
lea ecx, [ebp - 0x27c]
call fcn.00427170
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
call fcn.0066bea5
int3