Function at 0x435d20
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x424
push 0xffffffffffffffff
push 0x48b8c6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4bcb20]
xor eax, ebp
mov dword [ebp + 0x420], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x3fe
xor esi, esi
lea ecx, [ebp + 0x22]
xor eax, eax
push esi
push ecx
mov dword [ebp - 0x2c], edi
mov word [ebp + 0x20], ax
call fcn.00465ec0
add esp, 0xc
push 1
push 0x1a
lea edx, [ebp + 0x20]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ESafeNet_Out_NewVersionCOCfg.XML
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp + 0x20]
push ecx
call fcn.00434e90
add esp, 4
test al, al
je 0x436089
lea ecx, [ebp - 0x1c]
call fcn.00431910
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.004314e0
test eax, eax
je 0x43607a
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
lea ecx, [ebp - 0x1c]
call fcn.00431d00
lea ecx, [ebp - 0x3c]
call fcn.004318b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004314c0
test eax, eax
je 0x43606e
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x49940c
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00431f20
lea ecx, [ebp - 0x48]
call fcn.004318b0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004314c0
test eax, eax
je 0x436062
lea ecx, [ebp - 0x54]
call fcn.004316f0
lea ecx, [ebp - 0x10]
call fcn.0041a240
mov eax, dword [edi + 4]
sub eax, esi
mov byte [ebp - 4], 4
je 0x435e5e
sub eax, 1
je 0x435e57
sub eax, 1
jne 0x435e6b
push str.Chinesetraditional
jmp 0x435e63
push str.English
jmp 0x435e63
push str.ChineseSimp
lea ecx, [ebp - 0x10]
call fcn.0041ae30
lea ecx, [ebp - 0x54]
call fcn.004314c0
test eax, eax
je 0x43604e
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push str.item
push edx
lea ecx, [ebp - 0x54]
call fcn.00432010
lea ecx, [ebp - 0x28]
call fcn.004319e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.004314d0
test eax, eax
je 0x436042
lea ecx, [ebp - 0x28]
call fcn.00431770
cmp eax, 1
jl 0x436042
lea ecx, [ebp - 0x28]
call fcn.00431770
mov ebx, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
call fcn.0041a240
cmp ebx, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], esi
jle 0x435fe5
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x68], esp
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.004317c0
lea ecx, [ebp - 0x64]
call fcn.004318b0
push str.value
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00431de0
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.0041a970
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00420920
mov edi, dword [ebp - 0x20]
test edi, edi
jne 0x435f33
xor eax, eax
jmp 0x435f5f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x435f46
xor eax, eax
jmp 0x435f5f
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00466b50
mov eax, esp
push 3
push ebx
push edi
push eax
call fcn.004185d0
mov ebx, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00405d10
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp]
mov byte [ebp - 4], 9
call fcn.00435170
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xb
call fcn.00405d50
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x88]
call fcn.004351a0
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x94]
push edx
add ecx, 0xc
mov byte [ebp - 4], 0xc
call fcn.00435b50
lea ecx, [ebp - 0x88]
call fcn.00435130
lea ecx, [ebp]
call fcn.00435130
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00431700
inc esi
cmp esi, ebx
mov dword [ebp - 0x30], esi
jl 0x435ee0
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
mov dword [edi + 8], 1
call fcn.00420920
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00431750
lea ecx, [ebp - 0x10]
call fcn.00420920
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00431700
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00431700
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00431700
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00431730
mov eax, 1
jmp 0x43608b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00431750
lea ecx, [ebp - 0x10]
call fcn.00420920
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00431700
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00431700
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00431700
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00431730
xor eax, eax
lea esp, [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x420]
xor ecx, ebp
call fcn.00466b40
add ebp, 0x424
mov esp, ebp
pop ebp
ret