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 0x429fe6
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.004200a5
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 + 0x40f0a8]
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 0x40f086
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40f086
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 [0x43501c]
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 0x434960
call fcn.0040c340
lea ecx, [ebp - 0x1a8]
lea edx, [ebp - 0x18]
push ecx
push eax
push edx
call fcn.0041f640
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.00426fc4
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.00420037
jmp 0x40f086
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 0x40f086
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.0042023f
mov eax, dword [eax]
lea edx, [ebp - 0x3f4]
push eax
push 0x104
push edx
push 0x4366e0
push str.BACKUPPATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x7c]
call fcn.00420037
lea eax, [ebp - 0x3f4]
lea ecx, [ebp - 0x20]
push eax
call fcn.004200a5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
push ecx
call fcn.0040fd40
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.0040fc40
add esp, 4
lea eax, [ebp - 0x94]
push eax
call fcn.0041f9bc
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.0041f9cf
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.004201d9
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call fcn.0040fc40
mov ecx, dword [ebp - 0x14]
add esp, 4
push ecx
call esi
test eax, eax
je 0x40e6fd
lea edx, [ebp - 0x1c]
push 0x434948
lea eax, [ebp - 0x68]
push edx
push eax
call fcn.0042023f
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.00420037
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 [0x43501c]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
push ecx
mov ecx, ebx
call fcn.0040feb0
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 0x434948
lea ecx, [ebp - 0x58]
push eax
push ecx
call fcn.0042023f
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.00420037
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.0042023f
mov eax, dword [eax]
lea ecx, [ebp - 0x2f0]
push eax
push 0x104
push ecx
push 0x4366e0
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x6c]
call fcn.00420037
lea edx, [ebp - 0x2f0]
lea ecx, [ebp - 0x14]
push edx
call fcn.00420386
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 0x4343dc
lea ecx, [ebp - 0x14]
call fcn.00420386
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 [0x43501c]
mov dword [ebp - 0x28], ecx
push 0x434de8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00420174
cmp dword [0x437194], esi
je 0x40e6c8
push str.Generate_files_directory_is_not_exist
lea ecx, [ebp - 0x28]
call fcn.00420174
mov edx, dword [ebp - 0x28]
push esi
push esi
push edx
call fcn.00426fc4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00420037
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.00420037
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00420037
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00420037
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x60], 4
mov byte [ebp - 4], 0
call fcn.00420037
jmp 0x40f086
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 [0x43501c]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov byte [ebp - 4], 7
call fcn.0040feb0
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.0040f140
push eax
lea ecx, [ebp - 0x14]
call fcn.004200a5
lea edx, [ebp - 0x14]
push str.Nc_studio.lnk
lea eax, [ebp - 0x60]
push edx
push eax
mov byte [ebp - 4], 8
call fcn.0042023f
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
lea ecx, [ebp - 0x60]
call fcn.00420037
lea ecx, [ebp - 0x14]
push str.Ncstudio.lnk
lea edx, [ebp - 0x74]
push ecx
push edx
call fcn.0042023f
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x74]
call fcn.00420037
call fcn.0040f240
push eax
lea ecx, [ebp - 0x14]
call fcn.00420174
lea eax, [ebp - 0x14]
push str.Nc_studio.lnk
lea ecx, [ebp - 0x50]
push eax
push ecx
call fcn.0042023f
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x50]
call fcn.00420037
lea edx, [ebp - 0x14]
push str.Ncstudio.lnk
lea eax, [ebp - 0x78]
push edx
push eax
call fcn.0042023f
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x78]
call fcn.00420037
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.00420037
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00420037
jmp 0x40f086
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.004209ec
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.00420e43
mov esi, eax
push esi
mov dword [ebp - 0x24], esi
call fcn.0041fd78
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x14], edi
push esi
push edi
call fcn.00420c66
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.00420a8c
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.0040f430
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 [0x43501c]
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 0x434968
call fcn.0040c340
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.004200a5
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.004203da
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
mov ecx, ebx
call fcn.0040f0f0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041fda1
add esp, 4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00420037
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00420037
jmp 0x40f086
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.0041ffc2
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 0x434d78
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.004209ec
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.00420ca0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xe
call fcn.00420a8c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.0041fda1
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 0x40f07f
lea eax, [ebp - 0x1a8]
mov ecx, esi
push eax
call fcn.00420174
mov dword [ebx + 0x60], 6
jmp 0x40f086
mov eax, dword [ebx + 0x64]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40f086
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.0041ffc2
mov dword [ebx + 0x60], 7
jmp 0x40f086
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.0042023f
mov eax, dword [eax]
lea edx, [ebp - 0x2f0]
push eax
push 0x104
push edx
push 0x4366e0
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x70]
call fcn.00420037
mov eax, dword [0x43501c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x5c]
mov byte [ebp - 4], 0x11
cmp eax, edi
je 0x40ec34
call fcn.0040f130
push eax
lea ecx, [ebp - 0x14]
call fcn.00420174
jmp 0x40ec40
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00420124
lea edx, [ebp - 0x2f0]
lea ecx, [ebp - 0x14]
push edx
call fcn.00420386
push str.langlang.ini
lea ecx, [ebp - 0x14]
call fcn.00420386
mov eax, dword [0x437194]
cmp eax, edi
jne 0x40ec70
mov eax, dword [ebp - 0x14]
push eax
push 0x434d18
jmp 0x40ec89
cmp eax, 1
jne 0x40ec80
mov ecx, dword [ebp - 0x14]
push ecx
push 0x434d14
jmp 0x40ec89
mov edx, dword [ebp - 0x14]
push edx
push 0x434d10
push str.ActiveLang
push str.ActiveLang
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebx + 0x5c]
lea ecx, [ebp - 0x14]
neg eax
sbb eax, eax
mov byte [ebp - 4], 0
add eax, 9
mov dword [ebx + 0x60], eax
call fcn.00420037
jmp 0x40f086
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dl, byte [0x4366e0]
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 - 0x80]
push eax
push ecx
call fcn.0042023f
mov eax, dword [eax]
lea edx, [ebp - 0x1a8]
push eax
push 0x104
push edx
push 0x4366e0
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x80]
call fcn.00420037
lea eax, [ebp - 0x1a8]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x24]
push ecx
push edx
call fcn.0042023f
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x12
call fcn.0040f8c0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00420037
mov ecx, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x60], 9
jmp 0x40f086
mov edx, dword [ebx + 0x1c]
push 0x70
push edx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x93
mov ecx, ebx
call fcn.0040e220
mov al, byte [0x4366e0]
mov ecx, 0x40
mov byte [ebp - 0x1a8], al
xor eax, eax
lea edi, [ebp - 0x1a7]
push str.setup.cfg
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x64]
push ecx
push edx
stosb byte es:[edi], al
call fcn.0042023f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1a8]
push 0x104
push eax
push 0x4366e0
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x64]
call fcn.00420037
lea ecx, [ebp - 0x1a8]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x24]
push edx
push eax
call fcn.0042023f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x13
push ecx
call fcn.0040f470
add esp, 4
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00420037
mov edx, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x60], 0xa
jmp 0x40f086
push 0x94
mov ecx, ebx
call fcn.0040e220
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x1c]
push str.setup.cfg
lea edx, [ebp - 0x54]
push ecx
push edx
call fcn.0042023f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2f0]
push 0x104
push eax
push 0x4366e0
push str.BACKUPPATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x54]
call fcn.00420037
lea ecx, [ebp - 0x2f0]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004200a5
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 0x14
push edx
call fcn.0040fd40
mov eax, dword [ebp - 0x20]
add esp, 4
cmp dword [eax - 8], edi
je 0x40ef3e
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40eec7
mov eax, dword [ebp - 0x20]
push eax
call fcn.0040fc40
add esp, 4
lea ecx, [ebp - 0x3f4]
push 0x104
push ecx
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.0042023f
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.00420037
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.00420037
jmp 0x40f086
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 0x434ce8
lea ecx, [ebp - 0x20]
call fcn.004200a5
mov eax, dword [0x437194]
mov byte [ebp - 4], 0x15
cmp eax, edi
je 0x40efcc
push 0x434cac
lea ecx, [ebp - 0x20]
call fcn.00420174
mov ecx, dword [ebp - 0x20]
push edi
push 0x104
push ecx
call fcn.00426fc4
cmp eax, 6
jne 0x40efe7
mov ecx, ebx
call fcn.004101d0
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x60], esi
mov byte [ebp - 4], 0
call fcn.00420037
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 0x40f086
push edi
push edi
push str.ewfmgr:_bad_command_or_filename_n
call fcn.00426fc4
jmp 0x40f086
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 0x434978
call fcn.0040c340
add esp, 4
push edi
push 0x34
push eax
call fcn.00426fc4
cmp eax, 6
jne 0x40f06e
push 8
call fcn.0040f3b0
add esp, 4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc8]
jmp 0x40f086
push str.Invalid_state_
mov ecx, ebx
call fcn.0040f0f0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00420037
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret