Function at 0x415290
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e7ea
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1864
call fcn.004479f0
mov eax, dword [0x47b660]
xor eax, esp
mov dword [esp + 0x1860], eax
push ebx
push esi
push edi
mov eax, dword [0x47b660]
xor eax, esp
push eax
lea eax, [esp + 0x1878]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x876]
push edx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x64], ax
mov dword [esp + 0x66], eax
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov word [esp + 0x76], ax
mov word [esp + 0x878], cx
call fcn.00446a60
add esp, 0xc
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x76]
push ecx
mov word [esp + 0x78], ax
call fcn.00446a60
add esp, 0xc
push 0x800
lea esi, [ebx + 0x18a0]
push 0
push esi
mov dword [ebx + 0x3aa4], 1
call fcn.00446a60
add esp, 0xc
call fcn.00406f80
push 0x400
push esi
call fcn.0044321c
push str.ZVSCAN
push esi
call fcn.004437e1
add esp, 0x10
test eax, eax
je 0x415378
xor edx, edx
mov word [eax], dx
push 0x4672dc
lea esi, [ebx + 0x8a0]
push 0x400
push esi
call fcn.00442f44
add esp, 0xc
push 0
push 0x23
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Net_Protector
push 0x400
push esi
call fcn.004432a3
add esp, 0xc
push esi
push str._s_nparc.ini
lea edi, [ebx + 0x10a0]
push 0x400
push edi
call fcn.00442ff8
add esp, 0x10
push edi
push 0
push 0x468000
push str.auto
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push edi
push str._a_Local_Drives___d__a_
lea eax, [esp + 0x74]
push 0x400
push eax
mov dword [esp + 0x44], edi
call fcn.00442ff8
add esp, 0x10
lea ecx, [esp + 0x6c]
push ecx
push 0x3eb
mov ecx, ebx
call fcn.0042c489
mov ecx, eax
call fcn.0042c573
push 0x3eb
mov ecx, ebx
lea esi, [ebx + 0x98]
call fcn.0042c489
test esi, esi
je 0x41542d
mov esi, dword [esi + 4]
mov edx, dword [eax + 0x20]
push 1
push esi
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x55bc]
mov ecx, dword [eax + 4]
lea esi, [ebx + 0x55a4]
push ecx
mov ecx, esi
call fcn.00414230
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
test edi, edi
jle 0x4155f2
mov edi, 1
cmp dword [esp + 0x34], edi
jl 0x4155f2
push edi
push 0x467ad8
lea edx, [esp + 0x60]
push 0xa
push edx
call fcn.00442ff8
mov eax, dword [esp + 0x30]
add esp, 0x10
add eax, 0x10a0
push eax
push 0x400
lea eax, [esp + 0x874]
push eax
push 0x4672dc
lea ecx, [esp + 0x68]
push ecx
push str.auto
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x86c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4154d0
sub eax, edx
sar eax, 1
je 0x4155e3
lea edx, [esp + 0x86c]
push 0x400
push edx
call fcn.0044321c
add esp, 8
lea eax, [esp + 0x86c]
push eax
lea ecx, [esp + 0x18]
call fcn.00404160
mov dword [esp + 0x1880], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.00402ac0
add eax, 0x10
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
add eax, 0xfffffff0
mov byte [esp + 0x1880], 1
push eax
mov dword [esp + 0x28], eax
call fcn.00402ac0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x18]
push ecx
push esi
lea ebx, [esp + 0x40]
mov byte [esp + 0x1888], 2
call fcn.0041b560
mov byte [esp + 0x1880], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415593
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 0
mov eax, dword [esp + 0x24]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4155e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, dword [esp + 0x34]
jle 0x415482
mov ebx, dword [esp + 0x20]
lea eax, [ebx + 0x10a0]
push eax
push 0
push 0x468000
push str.PriorityPaths
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push edi
push str._a_Priority_Backup_Path___d__a_
lea ecx, [esp + 0x74]
push 0x400
push ecx
mov dword [esp + 0x44], edi
call fcn.00442ff8
add esp, 0x10
lea edx, [esp + 0x6c]
push edx
push 0x3ec
mov ecx, ebx
call fcn.0042c489
mov ecx, eax
call fcn.0042c573
push 0x3ec
mov ecx, ebx
call fcn.0042c489
lea ecx, [ebx + 0x98]
test ecx, ecx
je 0x41565a
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x55ec]
mov edx, dword [ecx + 4]
lea esi, [ebx + 0x55d4]
push edx
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.00414230
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
test edi, edi
jle 0x4158da
cmp edi, 1
mov dword [esp + 0x14], 1
jl 0x4158da
mov eax, dword [esp + 0x14]
push eax
push 0x467ad8
lea ecx, [esp + 0x60]
push 0xa
push ecx
call fcn.00442ff8
mov eax, dword [esp + 0x30]
add esp, 0x10
add eax, 0x10a0
push eax
push 0x400
lea edx, [esp + 0x874]
push edx
push 0x4672dc
lea eax, [esp + 0x68]
push eax
push str.PriorityPaths
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x86c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415704
sub eax, edx
sar eax, 1
je 0x4158c3
lea ecx, [esp + 0x86c]
push 0x400
push ecx
call fcn.0044321c
add esp, 8
lea edx, [esp + 0x86c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404160
mov dword [esp + 0x1880], 3
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x415775
cmp eax, dword [esi]
jne 0x415775
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4157b0
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x415a0c
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00442e76
add esp, 0x10
mov ecx, dword [esp + 0x14]
lea esi, [ebx + 0x10]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x1880], 4
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4157ee
cmp eax, dword [esi]
jne 0x4157ee
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415829
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x415a0c
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00442e76
add esp, 0x10
mov edx, dword [esp + 0x14]
lea edi, [ebx + 0x10]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edx
lea eax, [esp + 0x44]
mov byte [esp + 0x1880], 5
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ebx, [esp + 0x54]
call fcn.0041b560
lea eax, [edi - 0x10]
mov byte [esp + 0x1880], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415877
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415898
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4158c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
jle 0x4156b5
mov ebx, dword [esp + 0x20]
lea eax, [ebx + 0x10a0]
push eax
push 0
push 0x468000
push str.BackupExt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push str._a_Backup_Extension___d__a_
lea ecx, [esp + 0x74]
push 0x400
push ecx
mov dword [esp + 0x44], eax
call fcn.00442ff8
add esp, 0x10
lea edx, [esp + 0x6c]
push edx
push 0x432
mov ecx, ebx
call fcn.0042c489
mov ecx, eax
call fcn.0042c573
push 0x432
mov ecx, ebx
call fcn.0042c489
lea esi, [ebx + 0x98]
test esi, esi
jne 0x415941
xor ecx, ecx
jmp 0x415944
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x20]
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x429
mov ecx, ebx
call fcn.0042c489
test esi, esi
je 0x415966
mov esi, dword [esi + 4]
mov ecx, dword [eax + 0x20]
push 1
push esi
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0x561c]
mov eax, dword [edx + 4]
lea edi, [ebx + 0x5604]
push eax
mov ecx, edi
mov dword [esp + 0x30], edi
call fcn.00414230
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [edi + 0x18]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x415ee6
push str..DWG
lea ecx, [esp + 0x1c]
call fcn.00404160
mov dword [esp + 0x1880], 6
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4159f8
cmp eax, dword [esi]
jne 0x4159f8
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415a34
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x415a11
call fcn.00402b50
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00442e76
add esp, 0x10
lea esi, [ebx + 0x10]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 1
mov byte [esp + 0x1880], 7
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x415a72
cmp eax, dword [esi]
jne 0x415a72
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415aae
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x415a8b
call fcn.00402b50
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00442e76
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 1
lea edx, [esp + 0x2c]
push edx
push edi
lea ebx, [esp + 0x54]
mov byte [esp + 0x1888], 8
call fcn.0041b560
mov byte [esp + 0x1880], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415afc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 6
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b1d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415b48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str..SKP
lea ecx, [esp + 0x1c]
call fcn.00404160
mov dword [esp + 0x1880], 9
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x415b8c
cmp eax, dword [esi]
jne 0x415b8c
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415bc8
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x415ba5
call fcn.00402b50
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00442e76
add esp, 0x10
lea esi, [ebx + 0x10]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 1
mov byte [esp + 0x1880], 0xa
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x415c06
cmp eax, dword [esi]
jne 0x415c06
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415c42
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x415c1f
call fcn.00402b50
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00442e76
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 1
lea edx, [esp + 0x2c]
push edx
push edi
lea ebx, [esp + 0x54]
mov byte [esp + 0x1888], 0xb
call fcn.0041b560
mov byte [esp + 0x1880], 0xa
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415c90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 9
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cb1
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415cdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str..DXF
lea ecx, [esp + 0x1c]
call fcn.00404160
mov dword [esp + 0x1880], 0xc
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x415d20
cmp eax, dword [esi]
jne 0x415d20
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415d5c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x415d39
call fcn.00402b50
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00442e76
add esp, 0x10
lea esi, [ebx + 0x10]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 1
mov byte [esp + 0x1880], 0xd
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x415d9a
cmp eax, dword [esi]
jne 0x415d9a
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x415dd6
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x415db3
call fcn.00402b50
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00442e76
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 1
lea edx, [esp + 0x2c]
push edx
push edi
lea ebx, [esp + 0x54]
mov byte [esp + 0x1888], 0xe
call fcn.0041b560
mov byte [esp + 0x1880], 0xd
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 0xc
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e45
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415e70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x1076]
push edx
mov word [esp + 0x1078], cx
call fcn.00446a60
add esp, 0xc
push 0x46802c
lea eax, [esp + 0x1070]
push 0x400
push eax
call fcn.00442f44
mov esi, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
add esi, 0x10a0
push esi
push 0x46804c
push 0x468000
push str.BackupExt
call edi
push esi
lea ecx, [esp + 0x1070]
push ecx
push 0x468020
push str.BackupExt
call edi
jmp 0x416393
jle 0x416393
push str..DWG
lea ecx, [esp + 0x1c]
call fcn.00404160
mov dword [esp + 0x1880], 0xf
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.00402ac0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 1
add esi, 0xfffffff0
push esi
mov byte [esp + 0x1884], 0x10
call fcn.00402ac0
add eax, 0x10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
lea edx, [esp + 0x24]
push edx
push edi
lea ebx, [esp + 0x54]
mov byte [esp + 0x1888], 0x11
call fcn.0041b560
mov byte [esp + 0x1880], 0x10
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415f86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 0xf
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415fa7
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str..SKP
lea ecx, [esp + 0x1c]
call fcn.00404160
mov dword [esp + 0x1880], 0x12
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.00402ac0
lea esi, [eax + 0x10]
mov ebx, 1
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
add esi, 0xfffffff0
push esi
mov byte [esp + 0x1884], 0x13
call fcn.00402ac0
add eax, 0x10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x24]
push ecx
push edi
lea ebx, [esp + 0x54]
mov byte [esp + 0x1888], 0x14
call fcn.0041b560
mov byte [esp + 0x1880], 0x13
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416069
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 0x12
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41608a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4160b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str..DXF
lea ecx, [esp + 0x1c]
call fcn.00404160
mov dword [esp + 0x1880], 0x15
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.00402ac0
lea esi, [eax + 0x10]
mov ebx, 1
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
add esi, 0xfffffff0
push esi
mov byte [esp + 0x1884], 0x16
call fcn.00402ac0
add eax, 0x10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x24]
push ecx
push edi
lea ebx, [esp + 0x54]
mov byte [esp + 0x1888], 0x17
call fcn.0041b560
mov byte [esp + 0x1880], 0x16
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41614c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 0x15
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41616d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416198
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0x10a0
push eax
push 0x400
lea ecx, [esp + 0x874]
push ecx
push 0x4672dc
push 0x468020
push str.BackupExt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x86c]
push 0x468028
push edx
call fcn.00443320
mov esi, eax
add esp, 8
test esi, esi
je 0x416393
push esi
call fcn.00443233
add esp, 4
push esi
lea ecx, [esp + 0x1c]
call fcn.00404160
mov dword [esp + 0x1880], 0x18
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41622c
cmp eax, dword [esi]
jne 0x41622c
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x416267
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x415a0c
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00442e76
add esp, 0x10
lea esi, [ebx + 0x10]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 1
mov byte [esp + 0x1880], 0x19
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4162a5
cmp eax, dword [esi]
jne 0x4162a5
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4162e0
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x415a0c
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00442e76
add esp, 0x10
lea edi, [ebx + 0x10]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 1
lea edx, [esp + 0x44]
mov byte [esp + 0x1880], 0x1a
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ebx, [esp + 0x54]
call fcn.0041b560
lea eax, [edi - 0x10]
mov byte [esp + 0x1880], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41632e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 0x18
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41634f
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41637a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x468028
push 0
call fcn.00443320
mov esi, eax
add esp, 8
test esi, esi
jne 0x4161e3
mov edi, dword [esp + 0x20]
lea eax, [edi + 0x10a0]
push eax
push 0
push 0x468000
push str.ExcludePaths
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push ebx
push str._a_Exclude_Backup_Path___d__a_
lea ecx, [esp + 0x74]
push 0x400
push ecx
mov dword [esp + 0x44], ebx
call fcn.00442ff8
add esp, 0x10
lea edx, [esp + 0x6c]
push edx
push 0x435
mov ecx, edi
call fcn.0042c489
mov ecx, eax
call fcn.0042c573
push 0x435
mov ecx, edi
call fcn.0042c489
lea ecx, [edi + 0x98]
test ecx, ecx
je 0x4163ff
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x564c]
mov edx, dword [ecx + 4]
lea esi, [edi + 0x5634]
push edx
mov ecx, esi
call fcn.00414230
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
mov dword [eax + 8], eax
test ebx, ebx
jle 0x416680
cmp ebx, 1
mov dword [esp + 0x14], 1
jl 0x416680
mov eax, dword [esp + 0x14]
push eax
push 0x467ad8
lea ecx, [esp + 0x60]
push 0xa
push ecx
call fcn.00442ff8
mov eax, dword [esp + 0x30]
add esp, 0x10
add eax, 0x10a0
push eax
push 0x400
lea edx, [esp + 0x874]
push edx
push 0x4672dc
lea eax, [esp + 0x68]
push eax
push str.ExcludePaths
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x86c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4164a5
sub eax, edx
sar eax, 1
je 0x416669
lea ecx, [esp + 0x86c]
push 0x400
push ecx
call fcn.0044321c
add esp, 8
lea edx, [esp + 0x86c]
push edx
lea ecx, [esp + 0x28]
call fcn.00404160
mov dword [esp + 0x1880], 0x1b
mov esi, dword [esp + 0x24]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x416516
cmp eax, dword [esi]
jne 0x416516
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x416551
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x415a0c
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00442e76
add esp, 0x10
mov ecx, dword [esp + 0x14]
lea esi, [ebx + 0x10]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x1880], 0x1c
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41658f
cmp eax, dword [esi]
jne 0x41658f
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4165ca
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x415a0c
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00442e76
add esp, 0x10
mov edx, dword [esp + 0x14]
lea edi, [ebx + 0x10]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x5634
push eax
lea ebx, [esp + 0x54]
mov byte [esp + 0x1888], 0x1d
call fcn.0041b560
lea eax, [edi - 0x10]
mov byte [esp + 0x1880], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41661d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1880], 0x1b
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41663e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [esp + 0x1880], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416669
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
jle 0x416456
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi + 0x10a0]
push eax
push 0x400
lea esi, [edi + 0x20a0]
push esi
push 0x46b9b4
push str.TBkpPath
push str.tbinfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x46b9b4
push esi
call fcn.00442a9a
add esp, 8
test eax, eax
jne 0x41674d
lea eax, [edi + 0x8a0]
push eax
push str._sDataBkp.ini
lea ecx, [esp + 0x74]
push 0x400
push ecx
call fcn.00442ff8
add esp, 0x10
lea edx, [esp + 0x6c]
push edx
push 0x400
push esi
push str.D:NP_DATA_BACKUP
push str.BkpPath
push str.BKPSETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41671f
push str.ZCLOUD
push 0x400
push esi
call fcn.004432a3
jmp 0x41672f
push str.C:ZCLOUD
push 0x400
push esi
call fcn.00442f44
add esp, 0xc
cmp dword [edi + 0x55c0], 0
ja 0x416744
cmp dword [edi + 0x55f0], 0
jbe 0x41674d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push str._a_Backup:_s__a_
lea eax, [esp + 0x74]
push 0x400
push eax
call fcn.00442ff8
add esp, 0x10
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [edi + 0x5664]
call fcn.0042c573
lea esi, [edi + 0x98]
test esi, esi
jne 0x416783
xor eax, eax
jmp 0x416786
mov eax, dword [esi + 4]
mov edx, dword [edi + 0x5684]
push 1
push eax
push 0x30
push edx
call ebx
push 0x3fc
mov ecx, edi
call fcn.0042c489
test esi, esi
je 0x4167a7
mov esi, dword [esi + 4]
mov eax, dword [eax + 0x20]
push 1
push esi
push 0x30
push eax
call ebx
push 0x4672dc
lea ecx, [esp + 0x70]
push 0x400
push ecx
call fcn.00442f44
add esp, 0xc
lea eax, [edi + 0x10a0]
push eax
push 0x400
lea edx, [esp + 0x74]
push edx
push 0x46ba3c
push str.BkpONOFF
push str.BKPSETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x6c]
push 0x46ba3c
push eax
call fcn.00442a9a
add esp, 8
push 0
test eax, eax
jne 0x416822
mov ecx, dword [edi + 0x5cc0]
push eax
push 0xf1
push ecx
call ebx
mov dword [edi + 0x3aa8], 0
jmp 0x41683c
mov edx, dword [edi + 0x5cc0]
push 1
push 0xf1
push edx
call ebx
mov dword [edi + 0x3aa8], 1
push 0x4672dc
lea eax, [esp + 0x70]
push 0x400
push eax
call fcn.00442f44
add esp, 0xc
lea esi, [edi + 0x10a0]
push esi
push 0x400
lea ecx, [esp + 0x74]
push ecx
push 0x4675dc
push 0x4675e0
push 0x467568
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x6c]
push 0x4675dc
push edx
call fcn.00442a9a
add esp, 8
push 0
test eax, eax
jne 0x4168a0
push eax
mov eax, dword [edi + 0x5d14]
push 0xf1
push eax
jmp 0x4168ae
mov ecx, dword [edi + 0x5d14]
push 1
push 0xf1
push ecx
call ebx
push esi
push 0x100
add edi, 0x38a0
push edi
push 0x467540
push 0x467548
push str.TBSchedule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [esp + 0x1878]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1860]
xor ecx, esp
call fcn.00442896
mov esp, ebp
pop ebp
ret