Function at 0x40e1d0
Capabilities:
Check mutex on windows
Copy file
Create directory
Create process on windows
Delete file
Get common file path
Persist via lnk shortcut
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ae06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3e4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
call fcn.0040c1c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00420eb4
mov eax, dword [ebx + 0x60]
mov esi, 0xe
xor edi, edi
cmp eax, esi
mov dword [ebp - 4], edi
ja case.default.0x40e21c
jmp dword [eax*4 + 0x40f000]
push 0x8c
mov ecx, ebx
call fcn.0040e190
push str.zzk_NCSTUDIO_7000F87C04A0_D4EA_11d4_88B8_0050FC09F3B0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40e257
mov dword [ebx + 0x60], 1
jmp 0x40efde
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40efde
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x8d
mov ecx, ebx
call fcn.0040e190
mov ecx, dword [0x436dd0]
mov dword [ebp - 0x18], ecx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x1a4]
lea edx, [ebp - 0x1a4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
push 0x104
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push 0x4367b8
call fcn.0040c2c0
add esp, 4
lea ecx, [ebp - 0x1a4]
lea edx, [ebp - 0x18]
push ecx
push eax
push edx
call fcn.0042044f
mov al, byte [ebp - 0x1a4]
add esp, 0xc
test al, al
je 0x40e2f6
mov eax, dword [ebp - 0x18]
push 0
push 0x31
push eax
call fcn.00427dee
cmp eax, 2
jne 0x40e2f6
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc8]
jmp 0x40e2fd
mov dword [ebx + 0x60], 2
mov eax, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00420e46
jmp 0x40efde
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea edi, [ebx + 0x80]
mov ecx, edi
call fcn.004077c0
mov ecx, edi
call fcn.00406b50
mov dword [ebx + 0x60], 3
push 0
mov edx, dword [ebx + 0x1c]
push 0x1f4
push 0x70
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40efde
push 0x8e
mov ecx, ebx
call fcn.0040e190
lea eax, [ebp - 0x1c]
push str.setup.cfg
lea ecx, [ebp - 0x78]
push eax
push ecx
call fcn.0042104e
mov eax, dword [eax]
lea edx, [ebp - 0x3f0]
push eax
push 0x104
push edx
push 0x43a4b0
push str.BACKUPPATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x78]
call fcn.00420e46
lea eax, [ebp - 0x3f0]
lea ecx, [ebp - 0x20]
push eax
call fcn.00420eb4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
push ecx
call fcn.0040fc90
add esp, 4
test al, al
jne 0x40e680
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], edi
je 0x40e680
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push eax
call esi
test eax, eax
jne 0x40e3f6
mov edx, dword [ebp - 0x20]
push edx
call fcn.0040fb90
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.004207cb
lea ecx, [ebp - 0x24]
push str.Naiky__Y__m__d__H_M_S_
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004207de
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
mov byte [ebp - 4], 3
call fcn.00420fe8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
push edx
call fcn.0040fb90
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
call esi
test eax, eax
je 0x40e668
lea ecx, [ebp - 0x1c]
push 0x4367a0
lea edx, [ebp - 0x6c]
push ecx
push edx
call fcn.0042104e
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x1a4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x6c]
call fcn.00420e46
lea edi, [ebp - 0x1a4]
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebx, esi
mov byte [ebp + ecx - 0x1a3], al
jne 0x40e4a6
mov dword [ebp - 0x4c], esi
jmp 0x40e4ac
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1a4]
push 0x70
push ecx
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3c], 0x214
mov dword [ebp - 0x3a], esi
mov dword [ebp - 0x36], esi
mov dword [ebp - 0x32], str.Copy_files
call dword [sym.imp.USER32.dll_KillTimer]
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov eax, dword [0x436dd0]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
push ecx
mov ecx, ebx
call fcn.0040fe00
test al, al
je 0x40e64a
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x40e604
lea eax, [ebp - 0x18]
push 0x4367a0
lea ecx, [ebp - 0x68]
push eax
push ecx
call fcn.0042104e
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x1a4]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x68]
call fcn.00420e46
lea edi, [ebp - 0x1a4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str.setup.cfg
push edx
mov byte [ebp + ecx - 0x1a3], al
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x44], ecx
call fcn.0042104e
mov eax, dword [eax]
lea ecx, [ebp - 0x2ec]
push eax
push 0x104
push ecx
push 0x43a4b0
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x5c]
call fcn.00420e46
lea edx, [ebp - 0x2ec]
lea ecx, [ebp - 0x14]
push edx
call fcn.00421195
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40e5e3
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x436244
lea ecx, [ebp - 0x14]
call fcn.00421195
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x40], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
xor esi, esi
jmp 0x40e64a
mov ecx, dword [0x436dd0]
mov dword [ebp - 0x28], ecx
push 0x436b9c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00420f83
cmp dword [0x43af64], esi
je 0x40e633
push str.Generate_files_directory_is_not_exist
lea ecx, [ebp - 0x28]
call fcn.00420f83
mov edx, dword [ebp - 0x28]
push esi
push esi
push edx
call fcn.00427dee
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00420e46
mov eax, dword [ebx + 0x1c]
push esi
push 0x1f4
push 0x70
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00420e46
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00420e46
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00420e46
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x60], 4
mov byte [ebp - 4], 0
call fcn.00420e46
jmp 0x40efde
push 0x90
mov ecx, ebx
call fcn.0040e190
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x436dd0]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov byte [ebp - 4], 7
call fcn.0040fe00
test al, al
je 0x40e6ea
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push ecx
call esi
test eax, eax
je 0x40e6f0
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040bf60
add esp, 4
jmp 0x40e6f0
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push 0x104
lea eax, [ebp - 0x1a4]
push str.D:NcFilesWizards_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp - 0x1c]
push ecx
call esi
test eax, eax
je 0x40e71d
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040bf60
add esp, 4
lea eax, [ebp - 0x1a4]
push eax
call esi
test eax, eax
je 0x40e739
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.0040bf60
add esp, 4
call fcn.0040f090
push eax
lea ecx, [ebp - 0x14]
call fcn.00420eb4
lea edx, [ebp - 0x14]
push str.Nc_studio.lnk
lea eax, [ebp - 0x70]
push edx
push eax
mov byte [ebp - 4], 8
call fcn.0042104e
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
lea ecx, [ebp - 0x70]
call fcn.00420e46
lea ecx, [ebp - 0x14]
push str.Ncstudio.lnk
lea edx, [ebp - 0x64]
push ecx
push edx
call fcn.0042104e
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x64]
call fcn.00420e46
call fcn.0040f190
push eax
lea ecx, [ebp - 0x14]
call fcn.00420f83
lea eax, [ebp - 0x14]
push str.Nc_studio.lnk
lea ecx, [ebp - 0x50]
push eax
push ecx
call fcn.0042104e
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x50]
call fcn.00420e46
lea edx, [ebp - 0x14]
push str.Ncstudio.lnk
lea eax, [ebp - 0x80]
push edx
push eax
call fcn.0042104e
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x80]
call fcn.00420e46
mov ecx, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x60], 5
mov byte [ebp - 4], 7
call fcn.00420e46
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00420e46
jmp 0x40efde
push 0x91
mov ecx, ebx
call fcn.0040e190
lea edx, [ebp - 0x2ec]
push 0x104
push edx
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2ec]
push 0x40
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.004217fb
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.00421c52
mov esi, eax
push esi
mov dword [ebp - 0x24], esi
call fcn.00420b87
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x14], edi
push esi
push edi
call fcn.00421a75
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.0042189b
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
lea esi, [esi + edi - 0x18]
mov ecx, 6
lea edi, [ebp - 0x48]
add edx, 0xffffffe8
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
push ecx
push edx
push eax
call fcn.0040f380
add esp, 0xc
mov ecx, 4
lea edi, [ebp - 0xa0]
lea esi, [ebp - 0x40]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x40e94c
mov eax, dword [0x436dd0]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x28]
push ecx
push edx
mov byte [ebp - 4], 0xc
call fcn.0040e0e0
push 0x4367c0
call fcn.0040c2c0
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.00420eb4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [eax - 8]
mov byte [ebp - 4], 0xd
inc eax
push eax
call fcn.004211e9
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
mov ecx, ebx
call fcn.0040f040
mov edx, dword [ebp - 0x14]
push edx
call fcn.00420bb0
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00420e46
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00420e46
jmp 0x40efde
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x24]
sub eax, ecx
lea esi, [ebx + 0x78]
mov edi, ecx
sub eax, 0x18
mov ecx, esi
mov dword [ebx + 0x5c], 0
mov dword [ebp - 0x2c], eax
call fcn.00420dd1
lea eax, [ebp - 0x1a4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x1a4]
lea edx, [ebp - 0x1a4]
push ecx
push 0
push 0x436b2c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x1a4]
push 0x1001
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xe
call fcn.004217fb
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
add edi, edx
push ecx
push edi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
call fcn.00421aaf
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xe
call fcn.0042189b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.00420bb0
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x1e8]
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
mov dword [ebp - 0x1e8], 0x44
mov dword [ebp - 0x1bc], 1
mov word [ebp - 0x1b8], 5
call dword [sym.imp.USER32.dll_KillTimer]
lea edx, [ebx + 0x64]
lea eax, [ebp - 0x1e8]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1a4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_SetTimer]
test edi, edi
jne 0x40ea71
push str.ERR_203:_Create_a_process_failed_
jmp 0x40efd7
lea eax, [ebp - 0x1a4]
mov ecx, esi
push eax
call fcn.00420f83
mov dword [ebx + 0x60], 6
jmp 0x40efde
mov eax, dword [ebx + 0x64]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40efde
mov ecx, dword [ebx + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebx + 0x68]
push edx
call esi
mov eax, dword [ebx + 0x78]
lea esi, [ebx + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.00420dd1
mov dword [ebx + 0x60], 7
jmp 0x40efde
push 0x92
mov ecx, ebx
call fcn.0040e190
lea eax, [ebp - 0x1c]
push str.setup.cfg
lea ecx, [ebp - 0x7c]
push eax
push ecx
call fcn.0042104e
mov eax, dword [eax]
lea edx, [ebp - 0x2ec]
push eax
push 0x104
push edx
push 0x43a4b0
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x7c]
call fcn.00420e46
mov eax, dword [0x436dd0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x5c]
mov byte [ebp - 4], 0x11
cmp eax, edi
je 0x40eb9f
call fcn.0040f080
push eax
lea ecx, [ebp - 0x14]
call fcn.00420f83
jmp 0x40ebab
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00420f33
lea edx, [ebp - 0x2ec]
lea ecx, [ebp - 0x14]
push edx
call fcn.00421195
push str.langlang.ini
lea ecx, [ebp - 0x14]
call fcn.00421195
cmp dword [0x43af64], edi
jne 0x40ebda
mov eax, dword [ebp - 0x14]
push eax
push 0x436acc
jmp 0x40ebe3
mov ecx, dword [ebp - 0x14]
push ecx
push 0x436ac8
push str.ActiveLang
push str.ActiveLang
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebx + 0x5c]
lea ecx, [ebp - 0x14]
neg edx
sbb edx, edx
mov byte [ebp - 4], 0
add edx, 9
mov dword [ebx + 0x60], edx
call fcn.00420e46
jmp 0x40efde
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov cl, byte [0x43a4b0]
xor eax, eax
mov byte [ebp - 0x1a4], cl
mov ecx, 0x40
lea edi, [ebp - 0x1a3]
lea edx, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.setup.cfg
lea eax, [ebp - 0x74]
push edx
push eax
call fcn.0042104e
mov eax, dword [eax]
lea ecx, [ebp - 0x1a4]
push eax
push 0x104
push ecx
push 0x43a4b0
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x74]
call fcn.00420e46
lea edx, [ebp - 0x1a4]
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x24]
push eax
push ecx
call fcn.0042104e
lea edx, [ebp - 0x24]
mov ecx, ebx
push edx
mov byte [ebp - 4], 0x12
call fcn.0040f810
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00420e46
mov eax, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x60], 9
jmp 0x40efde
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x93
mov ecx, ebx
call fcn.0040e190
mov dl, byte [0x43a4b0]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1a3]
mov byte [ebp - 0x1a4], dl
push str.setup.cfg
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x54]
push eax
push ecx
call fcn.0042104e
mov eax, dword [eax]
lea edx, [ebp - 0x1a4]
push eax
push 0x104
push edx
push 0x43a4b0
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x54]
call fcn.00420e46
lea eax, [ebp - 0x1a4]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
push ecx
push edx
call fcn.0042104e
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x13
push eax
call fcn.0040f3c0
add esp, 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00420e46
mov ecx, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x60], 0xa
jmp 0x40efde
push 0x94
mov ecx, ebx
call fcn.0040e190
mov edx, dword [ebx + 0x1c]
push 0x70
push edx
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebp - 0x1c]
push str.setup.cfg
lea ecx, [ebp - 0x58]
push eax
push ecx
call fcn.0042104e
mov eax, dword [eax]
lea edx, [ebp - 0x2ec]
push eax
push 0x104
push edx
push 0x43a4b0
push str.BACKUPPATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x58]
call fcn.00420e46
lea eax, [ebp - 0x2ec]
lea ecx, [ebp - 0x20]
push eax
call fcn.00420eb4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push ecx
call fcn.0040fc90
mov eax, dword [ebp - 0x20]
add esp, 4
cmp dword [eax - 8], edi
je 0x40ee99
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40ee22
mov edx, dword [ebp - 0x20]
push edx
call fcn.0040fb90
add esp, 4
lea eax, [ebp - 0x3f0]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [ebp - 0x3f0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1a4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1a4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea edx, [ebp - 0x1a4]
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x60]
push eax
push ecx
call fcn.0042104e
mov eax, dword [eax]
push 0
lea edx, [ebp - 0x3f0]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x60]
call fcn.00420e46
mov eax, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x60], 0xb
mov byte [ebp - 4], 0
call fcn.00420e46
jmp 0x40efde
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebx + 0x80]
call fcn.00407280
push 0x96
mov ecx, ebx
mov dword [ebx + 0x60], 0xd
call fcn.0040e190
push edi
jmp 0x40e34a
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x436aa0
lea ecx, [ebp - 0x20]
call fcn.00420eb4
mov eax, dword [0x43af64]
mov byte [ebp - 4], 0x15
cmp eax, edi
je 0x40ef27
push str.Would_you_put_generate_files_and_executive_files_separately_
lea ecx, [ebp - 0x20]
call fcn.00420f83
mov ecx, dword [ebp - 0x20]
push edi
push 4
push ecx
call fcn.00427dee
cmp eax, 6
jne 0x40ef3f
mov ecx, ebx
call fcn.00410120
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x60], esi
mov byte [ebp - 4], 0
call fcn.00420e46
push edi
jmp 0x40e34a
push edi
push edi
push str.C:__commit
push str.ewfmgr
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [ebx + 0x60], esi
jae 0x40efde
push edi
push edi
push str.ewfmgr:_bad_command_or_filename_n
call fcn.00427dee
jmp 0x40efde
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x97
mov ecx, ebx
call fcn.0040e190
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4367d0
call fcn.0040c2c0
add esp, 4
push edi
push 0x34
push eax
call fcn.00427dee
cmp eax, 6
jne 0x40efc6
push 8
call fcn.0040f300
add esp, 4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc8]
jmp 0x40efde
push str.Invalid_state_
mov ecx, ebx
call fcn.0040f040
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00420e46
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret