Function at 0x437d80
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x424
push 0xffffffffffffffff
push 0x490726
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4c2b20]
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.0046a930
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.00436ea0
add esp, 4
test al, al
je 0x4380e9
lea ecx, [ebp - 0x1c]
call fcn.00433920
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.004334f0
test eax, eax
je 0x4380da
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
lea ecx, [ebp - 0x1c]
call fcn.00433d10
lea ecx, [ebp - 0x3c]
call fcn.004338c0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004334d0
test eax, eax
je 0x4380ce
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x49e59c
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00433f30
lea ecx, [ebp - 0x48]
call fcn.004338c0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004334d0
test eax, eax
je 0x4380c2
lea ecx, [ebp - 0x54]
call fcn.00433700
lea ecx, [ebp - 0x10]
call fcn.00420cd0
mov eax, dword [edi + 4]
sub eax, esi
mov byte [ebp - 4], 4
je 0x437ebe
sub eax, 1
je 0x437eb7
sub eax, 1
jne 0x437ecb
push str.Chinesetraditional
jmp 0x437ec3
push str.English
jmp 0x437ec3
push str.ChineseSimp
lea ecx, [ebp - 0x10]
call fcn.0041ae00
lea ecx, [ebp - 0x54]
call fcn.004334d0
test eax, eax
je 0x4380ae
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push str.item
push edx
lea ecx, [ebp - 0x54]
call fcn.00434020
lea ecx, [ebp - 0x28]
call fcn.004339f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.004334e0
test eax, eax
je 0x4380a2
lea ecx, [ebp - 0x28]
call fcn.00433780
cmp eax, 1
jl 0x4380a2
lea ecx, [ebp - 0x28]
call fcn.00433780
mov ebx, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
call fcn.00420cd0
cmp ebx, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], esi
jle 0x438045
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x68], esp
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.004337d0
lea ecx, [ebp - 0x64]
call fcn.004338c0
push str.value
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00433df0
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.0041a940
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00420d00
mov edi, dword [ebp - 0x20]
test edi, edi
jne 0x437f93
xor eax, eax
jmp 0x437fbf
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x437fa6
xor eax, eax
jmp 0x437fbf
lea ebx, [eax + eax]
mov eax, ebx
call fcn.0046b5c0
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.00437180
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xb
call fcn.00405d50
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x88]
call fcn.004371b0
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.00437bb0
lea ecx, [ebp - 0x88]
call fcn.00437140
lea ecx, [ebp]
call fcn.00437140
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00433710
inc esi
cmp esi, ebx
mov dword [ebp - 0x30], esi
jl 0x437f40
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
mov dword [edi + 8], 1
call fcn.00420d00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00433760
lea ecx, [ebp - 0x10]
call fcn.00420d00
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00433710
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00433710
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00433710
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00433740
mov eax, 1
jmp 0x4380eb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00433760
lea ecx, [ebp - 0x10]
call fcn.00420d00
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00433710
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00433710
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00433710
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00433740
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.0046b5b0
add ebp, 0x424
mov esp, ebp
pop ebp
ret