Function at 0x430fc0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x424
push 0xffffffffffffffff
push 0x489c26
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4bdbb0]
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.00463850
mov edx, dword [0x4c2940]
mov eax, dword [edx - 0xc]
add esp, 0xc
test eax, eax
jne 0x43104a
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 0x43109d
push str.COCfg.XML
lea edx, [ebp - 0x18]
push 0x4c2940
push edx
call fcn.00411ae0
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 0x431070
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 0x43109d
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.00430120
add esp, 4
test al, al
je 0x43138f
lea ecx, [ebp - 0x20]
call fcn.0042c2a0
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0042be70
test eax, eax
je 0x431384
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
lea ecx, [ebp - 0x20]
call fcn.0042c690
lea ecx, [ebp - 0x3c]
call fcn.0042c240
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042be50
test eax, eax
je 0x431378
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x49944c
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0042c8b0
lea ecx, [ebp - 0x54]
call fcn.0042c240
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0042be50
test eax, eax
je 0x43136c
lea ecx, [ebp - 0x48]
call fcn.0042c080
lea ecx, [ebp - 0x10]
call fcn.0042d680
mov eax, dword [ebx + 4]
sub eax, 0
mov byte [ebp - 4], 4
je 0x431167
sub eax, 1
je 0x431160
sub eax, 1
jne 0x431174
push str.Chinesetraditional
jmp 0x43116c
push str.English
jmp 0x43116c
push str.ChineseSimp
lea ecx, [ebp - 0x10]
call fcn.00411dd0
lea ecx, [ebp - 0x48]
call fcn.0042be50
test eax, eax
je 0x431358
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push str.item
push edx
lea ecx, [ebp - 0x48]
call fcn.0042c9a0
lea ecx, [ebp - 0x2c]
call fcn.0042c370
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0042be60
test eax, eax
je 0x43134c
lea ecx, [ebp - 0x2c]
call fcn.0042c100
cmp eax, 1
jl 0x43134c
lea ecx, [ebp - 0x2c]
call fcn.0042c100
mov ebx, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
call fcn.0042d680
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], esi
test ebx, ebx
jle 0x4312f0
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x68], esp
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042c150
lea ecx, [ebp - 0x64]
call fcn.0042c240
push str.value
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.0042c770
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00411910
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.004111f0
mov edi, dword [ebp - 0x24]
test edi, edi
jne 0x43123e
xor eax, eax
jmp 0x43126a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x431251
xor eax, eax
jmp 0x43126a
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004644e0
mov eax, esp
push 3
push ebx
push edi
push eax
call fcn.0040f410
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.004303f0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xb
call fcn.00403140
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x88]
call fcn.00430420
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.00430df0
lea ecx, [ebp - 0x88]
call fcn.004303c0
lea ecx, [ebp]
call fcn.004303c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.0042c090
inc esi
cmp esi, ebx
mov dword [ebp - 0x18], esi
jl 0x4311eb
or edi, 0xffffffff
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
mov dword [eax + 8], 1
call fcn.004111f0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0042c0e0
lea ecx, [ebp - 0x10]
call fcn.004111f0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0042c090
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0042c090
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0042c090
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.0042c0c0
mov eax, 1
jmp 0x431391
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0042c0e0
lea ecx, [ebp - 0x10]
call fcn.004111f0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0042c090
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.0042c090
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.0042c090
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.0042c0c0
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.004644d0
add ebp, 0x424
mov esp, ebp
pop ebp
ret