Function at 0x41af80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469c4e
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4896a0]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4896a0]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
push 0x103
xor esi, esi
lea eax, [esp + 0xd1]
mov ebx, ecx
push esi
push eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0xd8], 0
call fcn.00449a70
add esp, 0xc
push 1
push 0x1a
lea ecx, [esp + 0xd4]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.esafenet_outCOCfg.XML
lea edx, [esp + 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0xcc]
push eax
call fcn.0041b970
add esp, 4
test al, al
jne 0x41b30e
lea ecx, [esp + 0x18]
call fcn.004154e0
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1ec], esi
call fcn.004150d0
test eax, eax
je 0x41b2fa
push 1
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
lea ecx, [esp + 0x24]
call fcn.00415920
lea ecx, [esp + 0x34]
call fcn.00415480
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e8], 1
call fcn.004150b0
test eax, eax
je 0x41b2e9
push 1
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 0x4741d4
push eax
lea ecx, [esp + 0x3c]
call fcn.00415b80
lea ecx, [esp + 0x40]
call fcn.00415480
lea ecx, [esp + 0x38]
mov byte [esp + 0x1e8], 2
call fcn.004150b0
test eax, eax
je 0x41b2d8
cmp dword [ebx + 4], 1
mov eax, str.English
je 0x41b0cc
mov eax, str.ChineseSimp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00415b80
lea ecx, [esp + 0x4c]
call fcn.00415480
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e8], 3
call fcn.004150b0
test eax, eax
je 0x41b2c7
push ecx
mov edx, esp
mov dword [esp + 0x18], esp
push str.item
push edx
lea ecx, [esp + 0x50]
call fcn.00415c70
lea ecx, [esp + 0x24]
call fcn.004155b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e8], 4
call fcn.004150c0
test eax, eax
je 0x41b2b6
lea ecx, [esp + 0x20]
call fcn.00415340
cmp eax, 1
jl 0x41b2b6
lea ecx, [esp + 0x20]
call fcn.00415340
mov edi, eax
cmp edi, esi
mov dword [esp + 0x28], esi
jle 0x41b250
add ebx, 0xc
push 1
push ecx
mov eax, esp
mov dword [esp + 0x5c], esp
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.00415390
lea ecx, [esp + 0x60]
call fcn.00415480
push str.value
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x1f0], 5
call fcn.00415a00
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x1ec], 6
call fcn.00405c80
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1f0], 7
call fcn.0041a3e0
lea ecx, [esp + 0x90]
call fcn.00405960
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e8], 0xa
call fcn.00402fe0
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x68]
call fcn.0041a410
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x88]
push edx
mov ecx, ebx
mov byte [esp + 0x1f0], 0xb
call fcn.0041adb0
lea ecx, [esp + 0x64]
call fcn.0041a3a0
lea ecx, [esp + 0xac]
call fcn.0041a3a0
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e8], 4
call fcn.004152d0
inc esi
cmp esi, edi
mov dword [esp + 0x28], esi
jl 0x41b166
mov ebx, dword [esp + 0x50]
lea ecx, [esp + 0x20]
mov dword [ebx + 8], 1
mov byte [esp + 0x1e8], 3
call fcn.00415320
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e8], 2
call fcn.004152d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1e8], 1
call fcn.004152d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e8], 0
call fcn.004152d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1e8], 0xffffffff
call fcn.00415300
mov eax, 1
jmp 0x41b310
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e8], 3
call fcn.00415320
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e8], 2
call fcn.004152d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1e8], 1
call fcn.004152d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e8], 0
call fcn.004152d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1e8], 0xffffffff
call fcn.00415300
xor eax, eax
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.00449ba6
mov esp, ebp
pop ebp
ret