joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7d50
Capabilities:
Clear file content
Write file on windows

Disassembly:
sub esp, 0x668
push ebx
push ebp
push esi
mov esi, dword [esp + 0x678]
push edi
push 2
push 0
lea eax, [esi + 4]
push 0xc0000000
push eax
mov eax, 0x3e8
call fcn.004abf70
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
je 0x4a7ecc
mov ebp, dword [esi + 0x219]
test ebp, ebp
je 0x4a7e9a
lea eax, [ebp + 4]
push eax
push str.__s__r_n
mov esi, 0x228
lea edi, [esp + 0x230]
call fcn.004af0d0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
mov eax, edi
call fcn.004ae050
mov ebx, dword [ebp + 0x20c]
test ebx, ebx
je 0x4a7e40
jmp 0x4a7dd0
lea edx, [ebx + 0x20c]
push edx
lea eax, [ebx + 4]
push eax
push str._s_s_r_n
mov esi, 0x228
lea edi, [esp + 0x234]
call fcn.004af0d0
add esp, 0xc
mov ecx, edi
push ecx
lea esi, [esp + 0x24]
call fcn.004a5640
mov esi, dword [eax]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4a7e07
sub eax, edx
push 0
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x224]
push ecx
call fcn.0069c8fa
add esp, 4
test ebx, ebx
je 0x4a7e40
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4a7dd0
push 0x6d4ac4
lea esi, [esp + 0x24]
call fcn.004a5640
mov ecx, dword [eax]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4a7e55
push 0
lea edx, [esp + 0x1c]
push edx
sub eax, esi
push eax
mov eax, dword [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x224]
push ecx
call fcn.0069c8fa
mov ebp, dword [ebp]
add esp, 4
test ebp, ebp
jne 0x4a7d95
mov esi, dword [esp + 0x67c]
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 4]
mov eax, edi
call fcn.004970a0
mov dword [esi + 0x211], eax
mov eax, edi
call fcn.00401c60
mov dword [esi + 0x215], eax
mov byte [esi + 0x210], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x668
ret 4

Function at 0x4a8510
Capabilities:
Get common file path
Get session user name

Disassembly:
sub esp, 0x61c
push esi
push edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
mov esi, 0x104
push ecx
mov dword [0x736ba8], 0xffffffff
mov word [esp + 0x14], 0
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [esp + 0xc]
push edx
push str._debut_rl__s
lea edi, [esp + 0x21c]
call fcn.004af0d0
add esp, 8
lea eax, [esp + 0x41c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x6bc0cc
mov ecx, edi
push ecx
push 0x7369a0
lea eax, [esp + 0x428]
call fcn.004ad3a0
pop edi
mov eax, 0x7369a0
pop esi
add esp, 0x61c
ret
Function at 0x4a85a0
Capabilities:
Check os version
Delete file
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x130
push esi
push edi
call fcn.004af5a0
test al, al
jne 0x4a85ee
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 0x24], 6
setae al
test al, al
je 0x4a85ee
call fcn.004a8050
mov eax, dword [0x735b78]
test eax, eax
je 0x4a85ee
push 0
push 0x3e8
push 0
push 0x4a87e0
call eax
push 0
call fcn.0069c84d
add esp, 4
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], eax
mov eax, dword [0x736ba8]
cmp eax, 0xffffffff
je 0x4a8619
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 1
push 0
push 0
push 0xc0000000
push 0x7369a0
call esi
cmp eax, 0xffffffff
mov dword [0x736ba8], eax
push 0
je 0x4a8662
lea ecx, [esp + 0x18]
push ecx
push 8
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
add esp, 0x130
ret 4
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push 0x7369a0
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x4a8733
push 0
lea eax, [esp + 0x18]
push eax
push 8
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call edi
push 0x7369a0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x3e8
add eax, dword [esp + 0x1c]
lea edx, [eax - 0x7d0]
cmp ecx, edx
jle 0x4a8733
add eax, 0x7d0
cmp ecx, eax
jge 0x4a8733
push str.Abnormal_Termination_Detected
push str.Did_Debut_hang_or_crash_when_last_run__r_n_r_nClick_It_Crashed_if_Debut_failed._Click_Something_Else_if_it_was_because_of_something_else__a_hard_logoff_for_example__or_if_you_did_not_notice_anything_wrong_or_dont_remember.
mov ecx, str.Something_Else
mov eax, str.It_Crashed
call fcn.004f43c0
test al, al
je 0x4a8733
push 0x258
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004b6970
push str.Abnormal_Termination_Detected
push str.Oops__Debut_had_an_abnormal_termination._Help_us_fix_this_problem_by_clicking_Report_Bug_below_and_entering_a_bug_report_for_our_developers._r_n_r_nWe_appreciate_your_help_
mov ecx, 0x6d13cc
mov eax, str.Report_Bug
call fcn.004f43c0
test al, al
je 0x4a872e
mov eax, dword [esp + 0x13c]
push eax
push str.AbTerm
push 0
call fcn.004a8970
call fcn.004b6970
pop edi
pop esi
add esp, 0x130
ret 4
Function at 0x4a8740
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [0x736ba8]
sub esp, 0x410
cmp eax, 0xffffffff
je 0x4a8761
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x736ba8], 0xffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x7369a0
call esi
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x1a
push 0
mov word [esp + 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str..dmp
push str.Debut_IP_829955
lea ecx, [esp + 0x214]
push ecx
lea eax, [esp + 0x10]
call fcn.004ad3a0
lea edx, [esp + 0x20c]
push edx
call esi
push str..dmp
push str.Debut_HM_829955
lea eax, [esp + 0x214]
push eax
lea eax, [esp + 0x10]
call fcn.004ad3a0
lea ecx, [esp + 0x20c]
push ecx
call esi
pop esi
add esp, 0x410
ret
Function at 0x4a9350
Capabilities:
Delete file

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push str.dbghelp.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
je 0x4a9387
push str.MiniDumpWriteDump
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x4a9393
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14
mov eax, dword [esp + 0x38]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a9380
mov ecx, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 3
jne 0x4a9415
cmp dword [esp + 0x3c], 0xc8
jge 0x4a9415
mov eax, esi
neg eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x34]
push edi
sbb eax, eax
lea ecx, [esp + 0x24]
and eax, ecx
push eax
mov eax, dword [esp + 0x38]
push 0x1e05
push ebx
push edx
push eax
mov dword [esp + 0x30], 0x4a9300
mov dword [esp + 0x34], edi
call ebp
mov edi, eax
cmp edi, 1
je 0x4a944f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 0
push 0
neg esi
sbb esi, esi
lea ecx, [esp + 0x24]
and esi, ecx
push esi
push 0x50
push ebx
push edx
push eax
call ebp
mov edi, eax
cmp edi, 1
je 0x4a944f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.DmpErr
push str.Errors
call fcn.00480f20
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 1
je 0x4a947d
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x18
ret 0x14
Function at 0x4aa580
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x400
cmp dword [esi], 0
push ebp
mov ebp, dword [esp + 0x408]
je 0x4aa792
cmp dword [esi + 4], 0
jne 0x4aa5ab
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4aa792
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymInitialize
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push str.SymCleanup
push eax
call edi
mov ecx, dword [esi + 4]
push str.StackWalk64
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 4]
push str.SymGetOptions
push edx
mov dword [esi + 0x38], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.SymSetOptions
push eax
call edi
mov ecx, dword [esi + 4]
push str.SymFunctionTableAccess64
push ecx
mov dword [esi + 0x34], eax
call edi
mov edx, dword [esi + 4]
push str.SymGetLineFromAddr64
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.SymGetModuleBase64
push eax
call edi
mov ecx, dword [esi + 4]
push str.SymGetModuleInfo64
push ecx
mov dword [esi + 0x1c], eax
call edi
test eax, eax
mov dword [esi + 0x20], eax
jne 0x4aa653
call fcn.004af5a0
test al, al
je 0x4aa653
mov edx, dword [esi + 4]
push str.SymGetModuleInfo
push edx
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.SymGetSymFromAddr64
push eax
call edi
mov ecx, dword [esi + 4]
push str.UnDecorateSymbolName
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi + 4]
push str.SymLoadModule64
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
push str.SymGetSearchPath
push eax
call edi
cmp dword [esi + 0x10], 0
mov dword [esi + 0x40], eax
pop edi
je 0x4aa77a
cmp dword [esi + 0x14], 0
je 0x4aa77a
cmp dword [esi + 0x1c], 0
je 0x4aa77a
cmp dword [esi + 0x20], 0
je 0x4aa77a
cmp dword [esi + 0x24], 0
je 0x4aa77a
cmp dword [esi + 0x28], 0
je 0x4aa77a
cmp dword [esi + 0x2c], 0
je 0x4aa77a
cmp dword [esi + 0x34], 0
je 0x4aa77a
cmp dword [esi + 0x38], 0
je 0x4aa77a
cmp dword [esi + 0x3c], 0
je 0x4aa77a
cmp dword [esi + 0x30], 0
je 0x4aa77a
test ebp, ebp
je 0x4aa733
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4aa703
sub eax, edx
add eax, 1
push eax
call fcn.0069e704
add esp, 4
test eax, eax
mov dword [esi + 0xc], eax
je 0x4aa733
mov ecx, ebp
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4aa725
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x2c]
push 0
push ecx
push edx
call eax
mov ecx, dword [esi + 0x24]
call ecx
mov edx, dword [esi + 0x34]
or eax, 0x210
push eax
call edx
mov eax, dword [esi + 0x40]
test eax, eax
mov byte [esp + 4], 0
je 0x4aa76e
mov edx, dword [esi + 8]
push 0x400
lea ecx, [esp + 8]
push ecx
push edx
call eax
mov al, 1
pop ebp
add esp, 0x400
ret 4
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
xor al, al
pop ebp
add esp, 0x400
ret 4
Function at 0x4ab150
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x228c
call fcn.006ab750
push ebx
push esi
mov esi, dword [0x735b90]
push edi
push esi
mov edi, ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x4ab184
mov byte [eax], bl
mov dword [edi + 0x1c], ebx
cmp byte [edi + 0x10], bl
jne 0x4ab18f
push edi
call fcn.004aac70
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x4ab68b
cmp dword [eax + 4], ebx
je 0x4ab68b
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, dword [ebp + 0xc]
cmp esi, eax
jne 0x4ab45d
push 0x2cc
lea eax, [esp + 0x384]
push ebx
push eax
call fcn.006a1300
add esp, 0xc
lea ecx, [esp + 0x380]
push ecx
mov dword [esp + 0x384], 0x10007
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
push 0x108
lea edx, [esp + 0x34]
push ebx
push edx
call fcn.006a1300
mov eax, dword [esp + 0x444]
mov ecx, dword [esp + 0x440]
mov edx, dword [esp + 0x450]
add esp, 0xc
mov dword [esp + 0x30], eax
mov eax, 3
push 0x420
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x654]
push ebx
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
call fcn.006a1300
add esp, 0xc
xor eax, eax
push 0x248
lea ecx, [esp + 0x13c]
push ebx
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x65c], 0x20
mov dword [esp + 0x674], 0x400
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], 0x18
call fcn.006a1300
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x38]
add esp, 0xc
push ebx
push edx
push ecx
push 0x4ab6e0
lea edx, [esp + 0x390]
push edx
mov edx, dword [edi + 8]
lea ecx, [esp + 0x44]
push ecx
push esi
push edx
push 0x14c
mov dword [esp + 0x15c], 0x248
mov dword [esp + 0x34], ebx
call eax
test eax, eax
je 0x4ab659
lea esp, [esp]
push 0x1828
lea ecx, [esp + 0xa74]
push ebx
push ecx
call fcn.006a1300
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, eax
add esp, 0xc
or edx, ecx
mov dword [esp + 0xa70], eax
mov dword [esp + 0xa74], ecx
je 0x4ab5d6
mov edx, dword [edi + 4]
lea esi, [esp + 0x650]
push esi
lea esi, [esp + 0x167c]
push esi
push ecx
mov ecx, dword [edx + 0x28]
push eax
mov eax, dword [edi + 8]
push eax
call ecx
test eax, eax
je 0x4ab3b1
mov cl, byte [esp + 0x66c]
xor eax, eax
cmp cl, bl
lea esi, [esp + 0x66d]
je 0x4ab36a
lea esp, [esp]
cmp eax, 0x3ff
jae 0x4ab36a
mov byte [esp + eax + 0xa78], cl
mov cl, byte [esi]
add eax, 1
add esi, 1
cmp cl, bl
jne 0x4ab350
mov edx, dword [edi + 4]
push 0x1000
mov byte [esp + eax + 0xa7c], bl
mov edx, dword [edx + 0x3c]
push 0x400
lea eax, [esp + 0xe80]
push eax
lea ecx, [esp + 0x678]
push ecx
call edx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x3c]
push ebx
push 0x400
lea ecx, [esp + 0x1280]
push ecx
lea edx, [esp + 0x678]
push edx
call eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x18]
invalid
Function at 0x4abd60
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x45c
push esi
push edi
mov esi, ecx
xor edi, edi
cmp word [esi], di
mov dword [esp + 8], 0xffffffff
je 0x4abe4c
push 0x6bc0cc
push 0x6bc14c
lea eax, [esp + 0x264]
push eax
mov eax, esi
call fcn.004ad3a0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
je 0x4abe4c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ecx]
cmp word [esp + 0x3c], 0x2e
jne 0x4abde0
mov cx, word [esp + 0x3e]
test cx, cx
je 0x4abe1f
cmp cx, 0x2e
jne 0x4abde0
cmp word [esp + 0x40], 0
je 0x4abe1f
mov ecx, dword [esp + 0x10]
shr ecx, 4
test cl, 1
je 0x4abe1b
push 0x6bc0cc
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x268]
push eax
mov eax, esi
call fcn.004ad3a0
mov dl, 1
lea ecx, [esp + 0x260]
call fcn.004abd60
add edi, eax
mov eax, dword [esp + 0xc]
jmp 0x4abe1f
add edi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
push eax
call ebx
test eax, eax
je 0x4abe40
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
jne 0x4abdc0
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x45c
ret
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 0x45c
ret

Function at 0x4abff0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push edi
mov edi, eax
lea esi, [edi + 0x7f]
push ebx
shr esi, 7
call ebp
test eax, eax
jne 0x4ac031
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x4ac03a
cmp edi, esi
jbe 0x4ac03a
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub edi, esi
push ebx
add esi, esi
call ebp
test eax, eax
je 0x4ac010
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 4

Function at 0x4ac050
Capabilities:
Move file

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebx
push ebp
mov edi, 0xbb8
mov esi, 0x18
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4ac098
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x4ac0a1
cmp edi, esi
jbe 0x4ac0a1
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
sub edi, esi
push ebp
add esi, esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4ac072
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
Function at 0x4ac0b0
Capabilities:
Move file

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 3
push ebx
push ebp
mov edi, 0xbb8
mov esi, 0x18
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4ac0fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x4ac105
cmp edi, esi
jbe 0x4ac105
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 3
push ebx
sub edi, esi
push ebp
add esi, esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4ac0d4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8

Function at 0x4ac110
Capabilities:
Copy file

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
mov edi, eax
push ebx
lea esi, [edi + 0x7f]
push ebp
shr esi, 7
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4ac15a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x4ac163
cmp edi, esi
jbe 0x4ac163
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push ebx
sub edi, esi
push ebp
add esi, esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4ac132
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8

Function at 0x4ac170
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x410
push edi
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x1a
push 0
mov word [esp + 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x6bc0cc
push str.NCH_Software
lea ecx, [esp + 0x214]
push ecx
lea eax, [esp + 0x10]
call fcn.004ad3a0
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea edx, [esp + 0x210]
push edx
call edi
push 0x6bc0cc
push 0x6bc140
push esi
lea eax, [esp + 0x218]
call fcn.004ad3a0
push 0
push esi
call edi
pop edi
add esp, 0x410
ret

Function at 0x4ac1f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x410
push ebx
mov ebx, dword [esp + 0x41c]
push ebp
mov ebp, dword [esp + 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str._d__lu___d
lea edx, [esp + 0x18]
call fcn.00401000
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
lea esp, [esp]
mov eax, dword [0x7b7234]
mov ecx, eax
add eax, 1
mov dword [0x7b7234], eax
push ecx
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x21c]
call fcn.00401000
add esp, 8
push ebx
lea ecx, [esp + 0x218]
push ecx
push esi
mov eax, ebp
call fcn.004ad3a0
push esi
call edi
cmp eax, 0xffffffff
jne 0x4ac230
pop edi
pop ebp
pop ebx
add esp, 0x410
ret 8
Function at 0x4aca30
Capabilities:
Check os version
Get common file path
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x10390
call fcn.006ab750
push ebx
push ebp
push edi
xor ebp, ebp
lea eax, [esp + 0x190]
push eax
push ebp
push ebp
push 0x2e
push ebp
mov edi, ecx
mov word [esp + 0x1a4], bp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov word [esi], bp
call fcn.004af5a0
test al, al
jne 0x4acb2a
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 0x7c], 6
setae al
test al, al
je 0x4acb2a
push 0x400
mov dword [esp + 0x1c], str.All_Files
mov dword [esp + 0x20], 0x6bc14c
mov dword [esp + 0x10], ebp
call fcn.0069c0de
add esp, 4
cmp eax, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
jne 0x4acac2
mov dword [esp + 0x14], ebp
jmp 0x4acacc
mov dword [esp + 0x14], 0xff
mov dword [eax], ebp
push str..264_.3gp_.asf_.asx_.avi_.bik_.dat_.div_.divx_.dv_.flc_.flv_.gif_.m2t_.m2ts_.m4v_.mjpeg_.mkv_.mov_.mp4_.mp4v_.mpeg_.mpg_.mts_.mtv_.ogg_.ogm_.ogv_.swf_.ts_.ts4_.vob_.webm_.wmv_.xvid_.y4m_
push 1
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x19c]
push eax
push str.Select_Video_File
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.00550130
mov bl, al
test bl, bl
je 0x4acb15
cmp dword [esp + 0x10], ebp
jbe 0x4acb15
mov edx, dword [esp + 0xc]
mov ecx, dword [edx]
mov edx, esi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bp
jne 0x4acb04
lea edi, [esp + 0xc]
call fcn.00481260
mov al, bl
pop edi
pop ebp
pop ebx
add esp, 0x10390
ret
push 0x58
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.006a1300
add esp, 0xc
lea eax, [esp + 0x20]
lea ecx, [esp + 0x190]
lea edx, [esp + 0x398]
push eax
mov dword [esp + 0x24], 0x58
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], 0x6cd040
mov dword [esp + 0x3c], 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x7ffe
mov dword [esp + 0x54], str.Select_Video_File
mov dword [esp + 0x58], 0x8180c
mov dword [esp + 0x60], str..264_.3gp_.asf_.asx_.avi_.bik_.dat_.div_.divx_.dv_.flc_.flv_.gif_.m2t_.m2ts_.m4v_.mjpeg_.mkv_.mov_.mp4_.mp4v_.mpeg_.mpg_.mts_.mtv_.ogg_.ogm_.ogv_.swf_.ts_.ts4_.vob_.webm_.wmv_.xvid_.y4m_
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
setne bl
test bl, bl
je 0x4acbdb
lea ecx, [esp + 0x398]
push ecx
call fcn.004ae730
test al, al
je 0x4acbdb
lea eax, [esp + 0x398]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x4acbc0
mov al, bl
pop edi
pop ebp
pop ebx
add esp, 0x10390
ret
pop edi
xor bl, bl
mov word [esi], bp
pop ebp
mov al, bl
pop ebx
add esp, 0x10390
ret

Function at 0x4acf20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x208
push esi
lea esi, [esp + 4]
call fcn.004acf70
mov eax, dword [esp + 0x210]
push 0x6bc0cc
push eax
push edi
mov eax, esi
call fcn.004ad3a0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
pop esi
jne 0x4acf61
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call fcn.004ace20
add esp, 0x208
ret 4