Function at 0x42d9a0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x424
push 0xffffffffffffffff
push 0x485f16
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4b7b70]
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
xor eax, eax
mov ebx, ecx
push 0x3fe
push eax
lea ecx, [ebp + 0x22]
push ecx
mov dword [ebp - 0x30], ebx
mov word [ebp + 0x20], ax
call fcn.00460000
mov edx, dword [0x4bc8f8]
mov eax, dword [edx - 0xc]
add esp, 0xc
test eax, eax
jne 0x42da2a
push 1
push 0x1a
lea eax, [ebp + 0x20]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ESafeNet_Out_NewVersionCOCfg.XML
lea ecx, [ebp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
or edi, 0xffffffff
jmp 0x42da7d
push str.COCfg.XML
lea edx, [ebp - 0x18]
push 0x4bc8f8
push edx
call fcn.00411b10
mov esi, dword [ebp - 0x18]
lea edx, [ebp + 0x20]
add esp, 0xc
mov eax, esi
sub edx, esi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x42da50
lea eax, [esi - 0x10]
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42da7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x20]
push ecx
call fcn.0042cb20
add esp, 4
test al, al
je 0x42dd6f
lea ecx, [ebp - 0x20]
call fcn.00429400
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.00428fd0
test eax, eax
je 0x42dd64
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
lea ecx, [ebp - 0x20]
call fcn.004297f0
lea ecx, [ebp - 0x3c]
call fcn.004293a0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00428fb0
test eax, eax
je 0x42dd58
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x49365c
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00429a10
lea ecx, [ebp - 0x54]
call fcn.004293a0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00428fb0
test eax, eax
je 0x42dd4c
lea ecx, [ebp - 0x48]
call fcn.004291e0
lea ecx, [ebp - 0x10]
call fcn.004111f0
mov eax, dword [ebx + 4]
sub eax, 0
mov byte [ebp - 4], 4
je 0x42db47
sub eax, 1
je 0x42db40
sub eax, 1
jne 0x42db54
push str.Chinesetraditional
jmp 0x42db4c
push str.English
jmp 0x42db4c
push str.ChineseSimp
lea ecx, [ebp - 0x10]
call fcn.00411e00
lea ecx, [ebp - 0x48]
call fcn.00428fb0
test eax, eax
je 0x42dd38
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push str.item
push edx
lea ecx, [ebp - 0x48]
call fcn.00429b00
lea ecx, [ebp - 0x2c]
call fcn.004294d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00428fc0
test eax, eax
je 0x42dd2c
lea ecx, [ebp - 0x2c]
call fcn.00429260
cmp eax, 1
jl 0x42dd2c
lea ecx, [ebp - 0x2c]
call fcn.00429260
mov ebx, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.004111f0
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], esi
test ebx, ebx
jle 0x42dcd0
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x68], esp
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.004292b0
lea ecx, [ebp - 0x64]
call fcn.004293a0
push str.value
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.004298d0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00411940
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00411220
mov edi, dword [ebp - 0x24]
test edi, edi
jne 0x42dc1e
xor eax, eax
jmp 0x42dc4a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42dc31
xor eax, eax
jmp 0x42dc4a
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00460c90
mov eax, esp
push 3
push ebx
push edi
push eax
call fcn.0040f420
mov ebx, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00403100
push eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp]
mov byte [ebp - 4], 9
call fcn.0042cdf0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xb
call fcn.00403140
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x88]
call fcn.0042ce20
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x94]
push edx
add ecx, 0xc
mov byte [ebp - 4], 0xc
call fcn.0042d7d0
lea ecx, [ebp - 0x88]
call fcn.0042cdc0
lea ecx, [ebp]
call fcn.0042cdc0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.004291f0
inc esi
cmp esi, ebx
mov dword [ebp - 0x18], esi
jl 0x42dbcb
or edi, 0xffffffff
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
mov dword [eax + 8], 1
call fcn.00411220
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00429240
lea ecx, [ebp - 0x10]
call fcn.00411220
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004291f0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004291f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004291f0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.00429220
mov eax, 1
jmp 0x42dd71
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00429240
lea ecx, [ebp - 0x10]
call fcn.00411220
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004291f0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004291f0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004291f0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.00429220
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.00460c80
add ebp, 0x424
mov esp, ebp
pop ebp
ret