Function at 0x40de70
Capabilities:
Check mutex on windows
Copy file
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 0x428db0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5e0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
call fcn.0040be70
push eax
lea ecx, [ebp - 0x18]
call fcn.0041efb5
mov eax, dword [ebx + 0x60]
xor esi, esi
cmp eax, 0xe
mov dword [ebp - 4], esi
ja case.default.0x40deb8
jmp dword [eax*4 + 0x40ea90]
push 0x8c
mov ecx, ebx
call fcn.0040de30
push str.zzk_NCSTUDIO_7000F87C04A0_D4EA_11d4_88B8_0050FC09F3B0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40def3
mov dword [ebx + 0x60], 1
jmp 0x40ea70
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40ea70
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x8d
mov ecx, ebx
call fcn.0040de30
mov ecx, dword [0x434bac]
mov dword [ebp - 0x20], ecx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x198]
lea edx, [ebp - 0x198]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
push 0x104
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push 0x4346e0
call fcn.0040bf70
lea ecx, [ebp - 0x198]
lea edx, [ebp - 0x20]
push ecx
push eax
push edx
call fcn.0041e550
mov al, byte [ebp - 0x198]
add esp, 0x10
test al, al
je 0x40df8f
mov eax, dword [ebp - 0x20]
push 0
push 0x31
push eax
call fcn.00425e22
cmp eax, 2
jne 0x40df8f
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc8]
jmp 0x40df96
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 - 0x20]
mov byte [ebp - 4], 0
call fcn.0041ef47
jmp 0x40ea70
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea edi, [ebx + 0x7c]
mov ecx, edi
call fcn.00407760
mov ecx, edi
call fcn.00406b60
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 0x40ea70
push 0x8e
mov ecx, ebx
call fcn.0040de30
lea eax, [ebp - 0x18]
push str.setup.cfg
lea ecx, [ebp - 0x30]
push eax
push ecx
call fcn.0041f14f
mov eax, dword [eax]
lea edx, [ebp - 0x2e0]
push eax
push 0x104
push edx
push 0x436270
push str.BACKUPPATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x30]
call fcn.0041ef47
lea eax, [ebp - 0x2e0]
lea ecx, [ebp - 0x14]
push eax
call fcn.0041efb5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
push ecx
call fcn.0040f720
add esp, 4
test al, al
jne 0x40e1b3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], esi
je 0x40e1b3
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push eax
call esi
test eax, eax
jne 0x40e08c
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040f620
add esp, 4
lea eax, [ebp - 0x84]
push eax
call fcn.0041e8cc
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
push str.Naiky__Y__m__d__H_M_S_
push edx
lea ecx, [ebp - 0x24]
call fcn.0041e8df
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
mov byte [ebp - 4], 3
call fcn.0041f0e9
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.0040f620
mov ecx, dword [ebp - 0x20]
add esp, 4
push ecx
call esi
test eax, eax
je 0x40e19b
lea edx, [ebp - 0x18]
push 0x4346c8
lea eax, [ebp - 0x50]
push edx
push eax
call fcn.0041f14f
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 - 0x198]
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 - 0x50]
call fcn.0041ef47
lea edi, [ebp - 0x198]
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 - 0x197], al
jne 0x40e144
mov dword [ebp - 0x70], esi
jmp 0x40e14a
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x198]
push 0x70
push ecx
mov dword [ebp - 0x6c], 2
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
mov word [ebp - 0x60], 0x214
mov dword [ebp - 0x5e], esi
mov dword [ebp - 0x5a], esi
mov dword [ebp - 0x56], str.Copy_files
call dword [sym.imp.USER32.dll_KillTimer]
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov eax, dword [ebx + 0x1c]
push esi
push 0x1f4
push 0x70
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041ef47
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0041ef47
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x60], 4
mov byte [ebp - 4], 0
call fcn.0041ef47
jmp 0x40ea70
push 0x90
mov ecx, ebx
call fcn.0040de30
push 0x104
lea ecx, [ebp - 0x198]
push str.D:NcFilesWizards_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [ebx + 0x1c]
push 0x70
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push eax
call esi
test eax, eax
je 0x40e216
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0040bc10
add esp, 4
lea edx, [ebp - 0x198]
push edx
call esi
test eax, eax
je 0x40e232
lea eax, [ebp - 0x198]
push eax
call fcn.0040bc10
add esp, 4
call fcn.0040eb20
push eax
lea ecx, [ebp - 0x14]
call fcn.0041efb5
lea ecx, [ebp - 0x14]
push str.Nc_studio.lnk
lea edx, [ebp - 0x44]
push ecx
push edx
mov byte [ebp - 4], 5
call fcn.0041f14f
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
lea ecx, [ebp - 0x44]
call fcn.0041ef47
lea eax, [ebp - 0x14]
push str.Ncstudio.lnk
lea ecx, [ebp - 0x38]
push eax
push ecx
call fcn.0041f14f
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x38]
call fcn.0041ef47
call fcn.0040ec20
push eax
lea ecx, [ebp - 0x14]
call fcn.0041f084
lea edx, [ebp - 0x14]
push str.Nc_studio.lnk
lea eax, [ebp - 0x3c]
push edx
push eax
call fcn.0041f14f
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x3c]
call fcn.0041ef47
lea ecx, [ebp - 0x14]
push str.Ncstudio.lnk
lea edx, [ebp - 0x4c]
push ecx
push edx
call fcn.0041f14f
mov eax, dword [eax]
push eax
call edi
lea ecx, [ebp - 0x4c]
call fcn.0041ef47
mov eax, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x60], 5
mov byte [ebp - 4], 0
call fcn.0041ef47
jmp 0x40ea70
push 0x91
mov ecx, ebx
call fcn.0040de30
lea ecx, [ebp - 0x3e4]
push 0x104
push ecx
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x3e4]
push 0x40
push edx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.0041f8fc
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.0041fd53
mov esi, eax
push esi
mov dword [ebp - 0x1c], esi
call fcn.0041ec88
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x14], edi
push esi
push edi
call fcn.0041fb76
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.0041f99c
lea esi, [esi + edi - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, 6
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x94]
add ecx, 0xffffffe8
push eax
push ecx
push edx
mov dword [ebp - 4], 0
call fcn.0040ee10
add esp, 0xc
mov ecx, 4
lea edi, [ebp - 0x94]
lea esi, [ebp - 0x64]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x40e432
mov ecx, dword [0x434bac]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x1c]
push edx
push eax
mov byte [ebp - 4], 9
call fcn.0040dd80
push 0x4346e8
call fcn.0040bf70
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
call fcn.0041efb5
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push edx
mov byte [ebp - 4], 0xa
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x20]
inc eax
push eax
call fcn.0041f2ea
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push eax
mov ecx, ebx
call fcn.0040ead0
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041ecb1
add esp, 4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.0041ef47
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0041ef47
jmp 0x40ea70
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
sub eax, ecx
lea esi, [ebx + 0x78]
mov edi, ecx
sub eax, 0x18
mov ecx, esi
mov dword [ebx + 0x5c], 0
mov dword [ebp - 0x24], eax
call fcn.0041eed2
lea ecx, [ebp - 0x198]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x198]
lea eax, [ebp - 0x198]
push edx
push 0
push 0x4349e8
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x198]
push 0x1001
push ecx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.0041f8fc
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
add edi, eax
push edx
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xc
call fcn.0041fbb0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.0041f99c
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
call fcn.0041ecb1
mov edx, dword [ebx + 0x1c]
add esp, 4
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x1dc]
push 0x70
rep stosd dword es:[edi], eax
push edx
mov dword [ebp - 0x1dc], 0x44
mov dword [ebp - 0x1b0], 1
mov word [ebp - 0x1ac], 5
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebx + 0x64]
lea ecx, [ebp - 0x1dc]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x198]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
mov eax, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test edi, edi
jne 0x40e54e
push str.ERR_203:_Create_a_process_failed_
jmp 0x40ea69
lea ecx, [ebp - 0x198]
push ecx
mov ecx, esi
call fcn.0041f084
mov dword [ebx + 0x60], 6
jmp 0x40ea70
mov ecx, dword [ebx + 0x64]
push 0x64
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40ea70
mov edx, dword [ebx + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebx + 0x68]
push eax
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.0041eed2
mov dword [ebx + 0x60], 7
jmp 0x40ea70
push 0x92
mov ecx, ebx
call fcn.0040de30
lea ecx, [ebp - 0x18]
push str.setup.cfg
lea edx, [ebp - 0x34]
push ecx
push edx
call fcn.0041f14f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x3e4]
push 0x104
push eax
push 0x436270
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x34]
call fcn.0041ef47
mov ecx, dword [0x434bac]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx + 0x5c]
mov byte [ebp - 4], 0xe
cmp eax, esi
je 0x40e67d
call fcn.0040eb10
push eax
lea ecx, [ebp - 0x14]
call fcn.0041f084
jmp 0x40e689
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push edx
call fcn.0041f034
lea eax, [ebp - 0x3e4]
lea ecx, [ebp - 0x14]
push eax
call fcn.0041f296
push str.langlang.ini
lea ecx, [ebp - 0x14]
call fcn.0041f296
cmp dword [0x436d24], esi
jne 0x40e6b8
mov ecx, dword [ebp - 0x14]
push ecx
push 0x434988
jmp 0x40e6c1
mov edx, dword [ebp - 0x14]
push edx
push 0x434984
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.0041ef47
jmp 0x40ea70
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dl, byte [0x436270]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x197]
mov byte [ebp - 0x198], dl
push str.setup.cfg
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x28]
push eax
push ecx
call fcn.0041f14f
mov eax, dword [eax]
lea edx, [ebp - 0x198]
push eax
push 0x104
push edx
push 0x436270
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x28]
call fcn.0041ef47
lea eax, [ebp - 0x198]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
call fcn.0041f14f
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0xf
call fcn.0040f2a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0041ef47
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 0x40ea70
mov edx, dword [ebx + 0x1c]
push 0x70
push edx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x93
mov ecx, ebx
call fcn.0040de30
mov al, byte [0x436270]
mov ecx, 0x40
mov byte [ebp - 0x198], al
xor eax, eax
lea edi, [ebp - 0x197]
push str.setup.cfg
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x40]
push ecx
push edx
stosb byte es:[edi], al
call fcn.0041f14f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x198]
push 0x104
push eax
push 0x436270
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x40]
call fcn.0041ef47
lea ecx, [ebp - 0x198]
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.0041f14f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
push ecx
call fcn.0040ee50
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0041ef47
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 0x40ea70
push 0x94
mov ecx, ebx
call fcn.0040de30
mov eax, dword [ebx + 0x1c]
push 0x70
push eax
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x18]
push str.setup.cfg
lea edx, [ebp - 0x48]
push ecx
push edx
call fcn.0041f14f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x5ec]
push 0x104
push eax
push 0x436270
push str.BACKUPPATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x48]
call fcn.0041ef47
lea ecx, [ebp - 0x5ec]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041efb5
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
push edx
call fcn.0040f720
mov eax, dword [ebp - 0x14]
add esp, 4
cmp dword [eax - 8], esi
je 0x40e976
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x40e8ff
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040f620
add esp, 4
lea ecx, [ebp - 0x2e0]
push 0x104
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [ebp - 0x2e0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x4e8]
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 - 0x4e8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea edx, [ebp - 0x4e8]
lea eax, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x2c]
push eax
push ecx
call fcn.0041f14f
mov eax, dword [eax]
push 0
lea edx, [ebp - 0x2e0]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x2c]
call fcn.0041ef47
mov eax, dword [ebx + 0x1c]
push 0
push 0x1f4
push 0x70
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x14]
mov dword [ebx + 0x60], 0xb
mov byte [ebp - 4], 0
call fcn.0041ef47
jmp 0x40ea70
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebx + 0x7c]
call fcn.00407220
push 0x96
mov ecx, ebx
mov dword [ebx + 0x60], 0xd
call fcn.0040de30
push esi
jmp 0x40dfe0
mov eax, dword [ebx + 0x5c]
neg eax
sbb eax, eax
and al, 0xfe
add eax, 0xe
mov dword [ebx + 0x60], eax
jmp 0x40ea70
push esi
push esi
push str.C:__commit
push str.ewfmgr
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [ebx + 0x60], 0xe
jae 0x40ea70
push esi
push esi
push str.ewfmgr:_bad_command_or_filename_n
call fcn.00425e22
jmp 0x40ea70
mov ecx, dword [ebx + 0x1c]
push 0x70
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x97
mov ecx, ebx
call fcn.0040de30
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4346f8
call fcn.0040bf70
add esp, 4
push esi
push 0x34
push eax
call fcn.00425e22
cmp eax, 6
jne 0x40ea58
push 8
call fcn.0040ed90
add esp, 4
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc8]
jmp 0x40ea70
push str.Invalid_state_
mov ecx, ebx
call fcn.0040ead0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0041ef47
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret