Function at 0x40e260
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 0x429fc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3e8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
call fcn.0040c240
push eax
lea ecx, [ebp - 0x1c]
call fcn.00420085
mov eax, dword [ebx + 0x60]
mov esi, 0xe
xor edi, edi
cmp eax, esi
mov dword [ebp - 4], edi
ja case.default.0x40e2ac
jmp dword [eax*4 + 0x40f094]
push 0x8c
mov ecx, ebx
call fcn.0040e220
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 0x40e2e7
mov dword [ebx + 0x60], 1
jmp 0x40f073
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40f073
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x8d
mov ecx, ebx
call fcn.0040e220
mov ecx, dword [0x435dd0]
mov dword [ebp - 0x18], ecx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x1a8]
lea edx, [ebp - 0x1a8]
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 0x4357b8
call fcn.0040c340
lea ecx, [ebp - 0x1a8]
lea edx, [ebp - 0x18]
push ecx
push eax
push edx
call fcn.0041f620
mov al, byte [ebp - 0x1a8]
add esp, 0x10
test al, al
je 0x40e383
mov eax, dword [ebp - 0x18]
push 0
push 0x31
push eax
call fcn.00426fa4
cmp eax, 2
jne 0x40e383
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc8]
jmp 0x40e38a
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.00420017
jmp 0x40f073
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.004077b0
mov ecx, edi
call fcn.00406b40
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 0x40f073
push 0x8e
mov ecx, ebx
call fcn.0040e220
lea eax, [ebp - 0x1c]
push str.setup.cfg
lea ecx, [ebp - 0x7c]
push eax
push ecx
call fcn.0042021f
mov eax, dword [eax]
lea edx, [ebp - 0x3f4]
push eax
push 0x104
push edx
push 0x437490
push str.BACKUPPATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x7c]
call fcn.00420017
lea eax, [ebp - 0x3f4]
lea ecx, [ebp - 0x20]
push eax
call fcn.00420085
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
push ecx
call fcn.0040fd20
add esp, 4
test al, al
jne 0x40e715
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], edi
je 0x40e715
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push eax
call esi
test eax, eax
jne 0x40e483
mov edx, dword [ebp - 0x20]
push edx
call fcn.0040fc20
add esp, 4
lea eax, [ebp - 0x94]
push eax
call fcn.0041f99c
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
push str.Naiky__Y__m__d__H_M_S_
push edx
lea ecx, [ebp - 0x2c]
call fcn.0041f9af
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
mov byte [ebp - 4], 3
call fcn.004201b9
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call fcn.0040fc20
mov ecx, dword [ebp - 0x14]
add esp, 4
push ecx
call esi
test eax, eax
je 0x40e6fd
lea edx, [ebp - 0x1c]
push 0x4357a0
lea eax, [ebp - 0x68]
push edx
push eax
call fcn.0042021f
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 - 0x1a8]
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.00420017
lea edi, [ebp - 0x1a8]
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 - 0x1a7], al
jne 0x40e53b
mov dword [ebp - 0x4c], esi
jmp 0x40e541
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1a8]
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 [0x435dd0]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
push ecx
mov ecx, ebx
call fcn.0040fe90
test al, al
je 0x40e6df
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x40e699
lea eax, [ebp - 0x18]
push 0x4357a0
lea ecx, [ebp - 0x58]
push eax
push ecx
call fcn.0042021f
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 - 0x1a8]
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 - 0x58]
call fcn.00420017
lea edi, [ebp - 0x1a8]
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 - 0x1a7], al
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x44], ecx
call fcn.0042021f
mov eax, dword [eax]
lea ecx, [ebp - 0x2f0]
push eax
push 0x104
push ecx
push 0x437490
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x6c]
call fcn.00420017
lea edx, [ebp - 0x2f0]
lea ecx, [ebp - 0x14]
push edx
call fcn.00420366
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40e678
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x435244
lea ecx, [ebp - 0x14]
call fcn.00420366
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 0x40e6df
mov ecx, dword [0x435dd0]
mov dword [ebp - 0x28], ecx
push 0x435b9c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00420154
cmp dword [0x437f44], esi
je 0x40e6c8
push str.Generate_files_directory_is_not_exist
lea ecx, [ebp - 0x28]
call fcn.00420154
mov edx, dword [ebp - 0x28]
push esi
push esi
push edx
call fcn.00426fa4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00420017
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.00420017
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00420017
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00420017
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x60], 4
mov byte [ebp - 4], 0
call fcn.00420017
jmp 0x40f073
push 0x90
mov ecx, ebx
call fcn.0040e220
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x435dd0]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov byte [ebp - 4], 7
call fcn.0040fe90
test al, al
je 0x40e77f
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push ecx
call esi
test eax, eax
je 0x40e785
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040bfe0
add esp, 4
jmp 0x40e785
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push 0x104
lea eax, [ebp - 0x1a8]
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 0x40e7b2
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040bfe0
add esp, 4
lea eax, [ebp - 0x1a8]
push eax
call esi
test eax, eax
je 0x40e7ce
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.0040bfe0
add esp, 4
call fcn.0040f120
push eax
lea ecx, [ebp - 0x14]
call fcn.00420085
lea edx, [ebp - 0x14]
push str.Nc_studio.lnk
lea eax, [ebp - 0x60]
push edx
push eax
mov byte [ebp - 4], 8
call fcn.0042021f
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
lea ecx, [ebp - 0x60]
call fcn.00420017
lea ecx, [ebp - 0x14]
push str.Ncstudio.lnk
lea edx, [ebp - 0x74]
push ecx
push edx
call fcn.0042021f
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x74]
call fcn.00420017
call fcn.0040f220
push eax
lea ecx, [ebp - 0x14]
call fcn.00420154
lea eax, [ebp - 0x14]
push str.Nc_studio.lnk
lea ecx, [ebp - 0x50]
push eax
push ecx
call fcn.0042021f
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x50]
call fcn.00420017
lea edx, [ebp - 0x14]
push str.Ncstudio.lnk
lea eax, [ebp - 0x78]
push edx
push eax
call fcn.0042021f
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x78]
call fcn.00420017
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.00420017
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00420017
jmp 0x40f073
push 0x91
mov ecx, ebx
call fcn.0040e220
lea edx, [ebp - 0x2f0]
push 0x104
push edx
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2f0]
push 0x40
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.004209cc
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.00420e23
mov esi, eax
push esi
mov dword [ebp - 0x24], esi
call fcn.0041fd58
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x14], edi
push esi
push edi
call fcn.00420c46
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.00420a6c
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 - 0xa4]
mov dword [ebp - 4], 0
push ecx
push edx
push eax
call fcn.0040f410
add esp, 0xc
mov ecx, 4
lea edi, [ebp - 0xa4]
lea esi, [ebp - 0x40]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x40e9e1
mov eax, dword [0x435dd0]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x28]
push ecx
push edx
mov byte [ebp - 4], 0xc
call fcn.0040e170
push 0x4357c0
call fcn.0040c340
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.00420085
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.004203ba
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
mov ecx, ebx
call fcn.0040f0d0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041fd81
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00420017
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00420017
jmp 0x40f073
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.0041ffa2
lea eax, [ebp - 0x1a8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x1a8]
lea edx, [ebp - 0x1a8]
push ecx
push 0
push 0x435b2c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x1a8]
push 0x1001
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xe
call fcn.004209cc
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.00420c80
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xe
call fcn.00420a6c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.0041fd81
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x1ec]
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
mov dword [ebp - 0x1ec], 0x44
mov dword [ebp - 0x1c0], 1
mov word [ebp - 0x1bc], 5
call dword [sym.imp.USER32.dll_KillTimer]
lea edx, [ebx + 0x64]
lea eax, [ebp - 0x1ec]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1a8]
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 0x40eb06
push str.ERR_203:_Create_a_process_failed_
jmp 0x40f06c
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.00420154
mov dword [ebx + 0x60], 6
jmp 0x40f073
mov eax, dword [ebx + 0x64]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40f073
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.0041ffa2
mov dword [ebx + 0x60], 7
jmp 0x40f073
push 0x92
mov ecx, ebx
call fcn.0040e220
lea eax, [ebp - 0x1c]
push str.setup.cfg
lea ecx, [ebp - 0x70]
push eax
push ecx
call fcn.0042021f
mov eax, dword [eax]
lea edx, [ebp - 0x2f0]
push eax
push 0x104
push edx
push 0x437490
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x70]
call fcn.00420017
mov eax, dword [0x435dd0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x5c]
mov byte [ebp - 4], 0x11
cmp eax, edi
je 0x40ec34
call fcn.0040f110
push eax
lea ecx, [ebp - 0x14]
call fcn.00420154
jmp 0x40ec40
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00420104
lea edx, [ebp - 0x2f0]
lea ecx, [ebp - 0x14]
push edx
call fcn.00420366
push str.langlang.ini
lea ecx, [ebp - 0x14]
call fcn.00420366
cmp dword [0x437f44], edi
jne 0x40ec6f
mov eax, dword [ebp - 0x14]
push eax
push 0x435acc
jmp 0x40ec78
mov ecx, dword [ebp - 0x14]
push ecx
push 0x435ac8
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.00420017
jmp 0x40f073
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov cl, byte [0x437490]
xor eax, eax
mov byte [ebp - 0x1a8], cl
mov ecx, 0x40
lea edi, [ebp - 0x1a7]
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 - 0x80]
push edx
push eax
call fcn.0042021f
mov eax, dword [eax]
lea ecx, [ebp - 0x1a8]
push eax
push 0x104
push ecx
push 0x437490
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x80]
call fcn.00420017
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x24]
push eax
push ecx
call fcn.0042021f
lea edx, [ebp - 0x24]
mov ecx, ebx
push edx
mov byte [ebp - 4], 0x12
call fcn.0040f8a0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00420017
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 0x40f073
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x93
mov ecx, ebx
call fcn.0040e220
mov dl, byte [0x437490]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1a7]
mov byte [ebp - 0x1a8], 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 - 0x64]
push eax
push ecx
call fcn.0042021f
mov eax, dword [eax]
lea edx, [ebp - 0x1a8]
push eax
push 0x104
push edx
push 0x437490
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x64]
call fcn.00420017
lea eax, [ebp - 0x1a8]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
push ecx
push edx
call fcn.0042021f
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x13
push eax
call fcn.0040f450
add esp, 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00420017
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 0x40f073
push 0x94
mov ecx, ebx
call fcn.0040e220
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 - 0x54]
push eax
push ecx
call fcn.0042021f
mov eax, dword [eax]
lea edx, [ebp - 0x2f0]
push eax
push 0x104
push edx
push 0x437490
push str.BACKUPPATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x54]
call fcn.00420017
lea eax, [ebp - 0x2f0]
lea ecx, [ebp - 0x20]
push eax
call fcn.00420085
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push ecx
call fcn.0040fd20
mov eax, dword [ebp - 0x20]
add esp, 4
cmp dword [eax - 8], edi
je 0x40ef2e
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40eeb7
mov edx, dword [ebp - 0x20]
push edx
call fcn.0040fc20
add esp, 4
lea eax, [ebp - 0x3f4]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [ebp - 0x3f4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1a8]
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 - 0x1a8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
call fcn.0042021f
mov eax, dword [eax]
push 0
lea edx, [ebp - 0x3f4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x5c]
call fcn.00420017
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.00420017
jmp 0x40f073
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebx + 0x80]
call fcn.00407270
push 0x96
mov ecx, ebx
mov dword [ebx + 0x60], 0xd
call fcn.0040e220
push edi
jmp 0x40e3d7
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x435aa0
lea ecx, [ebp - 0x20]
call fcn.00420085
mov eax, dword [0x437f44]
mov byte [ebp - 4], 0x15
cmp eax, edi
je 0x40efbc
push str.Would_you_put_generate_files_and_executive_files_separately_
lea ecx, [ebp - 0x20]
call fcn.00420154
mov ecx, dword [ebp - 0x20]
push edi
push 4
push ecx
call fcn.00426fa4
cmp eax, 6
jne 0x40efd4
mov ecx, ebx
call fcn.004101b0
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x60], esi
mov byte [ebp - 4], 0
call fcn.00420017
push edi
jmp 0x40e3d7
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 0x40f073
push edi
push edi
push str.ewfmgr:_bad_command_or_filename_n
call fcn.00426fa4
jmp 0x40f073
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x97
mov ecx, ebx
call fcn.0040e220
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4357d0
call fcn.0040c340
add esp, 4
push edi
push 0x34
push eax
call fcn.00426fa4
cmp eax, 6
jne 0x40f05b
push 8
call fcn.0040f390
add esp, 4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc8]
jmp 0x40f073
push str.Invalid_state_
mov ecx, ebx
call fcn.0040f0d0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00420017
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret