Function at 0x41f0a0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x22c]
sub esp, 0x22c
push 0xffffffffffffffff
push 0x471c66
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x49ab20]
xor eax, ebp
mov dword [ebp + 0x228], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x206
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.00451660
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_outCOCfg.XML
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp + 0x20]
push ecx
call fcn.0041e200
add esp, 4
test al, al
je 0x41f409
lea ecx, [ebp - 0x1c]
call fcn.00419660
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.00419230
test eax, eax
je 0x41f3fa
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
lea ecx, [ebp - 0x1c]
call fcn.00419aa0
lea ecx, [ebp - 0x3c]
call fcn.00419600
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00419210
test eax, eax
je 0x41f3ee
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x47e184
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00419cc0
lea ecx, [ebp - 0x48]
call fcn.00419600
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00419210
test eax, eax
je 0x41f3e2
lea ecx, [ebp - 0x54]
call fcn.00419440
lea ecx, [ebp - 0x10]
call fcn.004045d0
mov eax, dword [edi + 4]
sub eax, esi
mov byte [ebp - 4], 4
je 0x41f1de
sub eax, 1
je 0x41f1d7
sub eax, 1
jne 0x41f1eb
push str.Chinesetraditional
jmp 0x41f1e3
push str.English
jmp 0x41f1e3
push str.ChineseSimp
lea ecx, [ebp - 0x10]
call fcn.004051c0
lea ecx, [ebp - 0x54]
call fcn.00419210
test eax, eax
je 0x41f3ce
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push str.item
push edx
lea ecx, [ebp - 0x54]
call fcn.00419db0
lea ecx, [ebp - 0x28]
call fcn.00419730
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00419220
test eax, eax
je 0x41f3c2
lea ecx, [ebp - 0x28]
call fcn.004194c0
cmp eax, 1
jl 0x41f3c2
lea ecx, [ebp - 0x28]
call fcn.004194c0
mov ebx, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
call fcn.004045d0
cmp ebx, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], esi
jle 0x41f365
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x68], esp
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00419510
lea ecx, [ebp - 0x64]
call fcn.00419600
push str.value
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00419b80
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00404d00
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.0040ab90
mov edi, dword [ebp - 0x20]
test edi, edi
jne 0x41f2b3
xor eax, eax
jmp 0x41f2df
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41f2c6
xor eax, eax
jmp 0x41f2df
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004522f0
mov eax, esp
push 3
push ebx
push edi
push eax
call fcn.00402960
mov ebx, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00401bf0
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp]
mov byte [ebp - 4], 9
call fcn.0041e4e0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xb
call fcn.00401c30
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x88]
call fcn.0041e510
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.0041eed0
lea ecx, [ebp - 0x88]
call fcn.0041e4a0
lea ecx, [ebp]
call fcn.0041e4a0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00419450
inc esi
cmp esi, ebx
mov dword [ebp - 0x30], esi
jl 0x41f260
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
mov dword [edi + 8], 1
call fcn.0040ab90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004194a0
lea ecx, [ebp - 0x10]
call fcn.0040ab90
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00419450
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00419450
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00419450
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00419480
mov eax, 1
jmp 0x41f40b
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004194a0
lea ecx, [ebp - 0x10]
call fcn.0040ab90
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00419450
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00419450
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00419450
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00419480
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 + 0x228]
xor ecx, ebp
call fcn.004522e0
add ebp, 0x22c
mov esp, ebp
pop ebp
ret