joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b0e6
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
test esi, esi
push ebx
mov ebx, eax
jne 0x40b0f6
xor eax, eax
jmp 0x40b16b
test ebx, ebx
jne 0x40b0ff
mov byte [esi], 0
jmp 0x40b0f2
jge 0x40b125
push edi
call fcn.0040c567
mov edi, eax
sub edi, dword [ebp + 8]
push ebx
call fcn.004ad589
cmp edi, eax
pop ecx
jge 0x40b11b
mov ebx, edi
jmp 0x40b124
push ebx
call fcn.004ad589
pop ecx
mov ebx, eax
pop edi
mov ax, word [ebp + 8]
mov word [ebp - 8], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 6], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
push esi
call fcn.0040c5e9
push eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x40b15b
cmp eax, ebx
jg 0x40b0fa
mov byte [eax + esi], 0
jmp 0x40b0f2
cmp eax, ebx
jg 0x40b165
mov byte [eax + esi], 0
jmp 0x40b168
mov byte [esi], 0
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x40b1ee
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push 0x124
lea eax, [ebp - 0x12c]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x130], ebx
call fcn.004ab5d0
add esp, 0xc
cmp esi, ebx
je 0x40b269
cmp byte [esi], bl
je 0x40b269
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x138], eax
je 0x40b269
lea ecx, [ebp - 0x130]
push ecx
push eax
mov dword [ebp - 0x130], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40b27a
mov esi, dword [ebp - 0x138]
call fcn.0041cef3
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
leave
ret
or dword [ebp - 0x134], 0xffffffff
jmp 0x40b289
mov esi, dword [ebp - 0x13c]
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.004ab3bf
test eax, eax
pop ecx
pop ecx
jne 0x40b2c5
push dword [ebp - 0x128]
mov dword [ebp - 0x134], ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x40b2c5
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.0041cef3
mov esi, dword [ebp - 0x138]
lea eax, [ebp - 0x130]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40b283
call fcn.0041cef3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x134]
jmp 0x40b26c
Function at 0x40b2f4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x124
lea eax, [ebp - 0x130]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x134], ebx
call fcn.004ab5d0
add esp, 0xc
cmp esi, ebx
je 0x40b3c2
cmp byte [esi], bl
je 0x40b3c2
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
or eax, 0xffffffff
cmp edi, eax
je 0x40b3c4
lea eax, [ebp - 0x134]
push eax
push edi
mov dword [ebp - 0x134], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40b371
mov esi, edi
call fcn.0041cef3
or eax, 0xffffffff
jmp 0x40b3c4
mov dword [ebp - 0x138], ebx
cmp dword [ebp + 8], ebx
push esi
lea eax, [ebp - 0x110]
push eax
je 0x40b391
call fcn.004ab3bf
test eax, eax
pop ecx
pop ecx
je 0x40b39c
jmp 0x40b3a2
call fcn.004777c9
test eax, eax
pop ecx
pop ecx
je 0x40b3a2
inc dword [ebp - 0x138]
lea eax, [ebp - 0x134]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40b377
mov esi, edi
call fcn.0041cef3
mov eax, dword [ebp - 0x138]
jmp 0x40b3c4
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
leave
ret

Function at 0x40b3d3
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp + 0x89]
push ebx
push eax
mov byte [ebp + 0x88], bl
call fcn.004ab5d0
push esi
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.004ab5d0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [esi + 1]
lea eax, [ebp + 0x88]
mov dword [ebp - 0x80], ebx
call fcn.00476b6c
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
add esp, 0x1c
push ebx
lea eax, [ebp - 0x80]
push eax
push ebx
mov edi, 0xf003f
push edi
push ebx
push ebx
push ebx
lea eax, [ebp + 0x88]
push eax
push SysStringLen
call esi
test eax, eax
je 0x40b47a
push ebx
lea eax, [ebp - 0x80]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
lea eax, [ebp + 0x88]
push eax
push closesocket
call esi
test eax, eax
je 0x40b47a
xor eax, eax
jmp 0x40b4d1
push str.PAULA.exe
push ebx
push ebx
call fcn.0045aa3a
pop ecx
pop ecx
push eax
push str._s_s__InitServer
lea eax, [ebp - 0x7c]
push 0x104
push eax
call fcn.004781b1
lea eax, [ebp - 0x7c]
push eax
call fcn.004aa880
add esp, 0x18
inc eax
push eax
lea eax, [ebp - 0x7c]
push eax
push 1
push ebx
push str.PAULA_Server
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x80]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp esi, ebx
sete al
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
add ebp, 0x190
leave
ret
Function at 0x40bab7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1a4]
xor ebx, ebx
push 0x207
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x73]
push ebx
push eax
mov byte [ebp - 0x74], bl
call fcn.004ab5d0
push 0x208
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
call fcn.004ab5d0
mov eax, dword [ebp - 0x78]
add esp, 0x18
call fcn.00476abd
mov edx, edi
call fcn.00476b3a
test eax, eax
je 0x40bb25
xor eax, eax
jmp 0x40bb5f
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x80]
mov dword [ebp - 0x7c], 0x207
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x40bb4d
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40bb21
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
mov ecx, 0x102
call fcn.00476b6c
pop ecx
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop ebx
call fcn.004aaeb5
add ebp, 0x198
leave
ret
Function at 0x40c199
Capabilities:
Manipulate console buffer

Disassembly:
call fcn.0040ef45
test eax, eax
je 0x40c1a6
xor eax, eax
inc eax
ret
jmp fcn.0040c1ab

Function at 0x40dad7
Capabilities:
Set console window title

Disassembly:
mov eax, dword [0x51bf70]
test eax, eax
push ebx
push edi
mov edi, dword [esp + 0xc]
je 0x40db18
xor ebx, ebx
inc ebx
test eax, eax
mov dword [0x51bf74], ebx
je 0x40db00
push 0x19
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x51bf70]
test edi, edi
je 0x40db0a
test eax, eax
jne 0x40dae6
jmp 0x40db1b
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x40dc24
xor ebx, ebx
inc ebx
test edi, edi
je 0x40dc22
push esi
mov esi, 0x51bf78
push edi
mov ecx, 0x104
mov eax, esi
call fcn.00476b6c
pop ecx
mov eax, edi
call fcn.00476abd
mov cl, byte [0x51bf78]
xor edx, edx
xor eax, eax
jmp 0x40db74
test edx, edx
je 0x40db5e
cmp cl, 0x29
jne 0x40db55
xor edx, edx
mov byte [eax + 0x51c080], 0x20
jmp 0x40db6d
cmp cl, 0x28
jne 0x40db67
mov edx, ebx
jmp 0x40db55
mov byte [eax + 0x51c080], cl
mov cl, byte [eax + 0x51bf79]
inc eax
test cl, cl
jne 0x40db4a
push ebp
mov ebp, 0x51c080
push ebp
push esi
mov byte [eax + 0x51c080], cl
call fcn.004abab0
test eax, eax
pop ecx
pop ecx
je 0x40dc01
call fcn.0040d991
test eax, eax
jne 0x40dc01
and dword [esp + 0x14], eax
and dword [0x51bf74], eax
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ebx, 0x51bf74
call fcn.0040aa55
test eax, eax
jne 0x40dbf5
cmp dword [esp + 0x14], eax
mov dword [0x51bf70], 1
je 0x40dbd2
push ebp
call edi
mov eax, 0x2ee
jmp 0x40dbda
push esi
call edi
mov eax, 0x5dc
call fcn.0049c3b1
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
cmp dword [0x51bf74], 0
mov dword [esp + 0x14], eax
je 0x40dbaf
push esi
call edi
and dword [0x51bf70], 0
jmp 0x40dc20
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
and dword [0x51bf70], 0
push 0x3e8
mov dword [0x51bf74], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ebp
pop esi
xor eax, eax
pop edi
pop ebx
ret 4
Function at 0x40dced
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xa8]
mov ebx, 0x100
lea esi, [ebx - 1]
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov byte [ebp - 0x70], 0
call fcn.004ab5d0
and word [ebp - 0x74], 0
xor eax, eax
and dword [ebp - 0x80], eax
lea edi, [ebp - 0x72]
stosw word es:[edi], ax
mov eax, dword [ebp - 0x78]
add esp, 0xc
call fcn.00476b5c
test eax, eax
je 0x40dd5a
xor eax, eax
jmp 0x40ddf3
push dword [ebp - 0x7c]
lea edi, [ebp - 0x70]
push dword [ebp - 0x78]
mov eax, edi
push esi
push eax
jmp 0x40dd97
lea eax, [ebp - 0x70]
cmp edi, eax
je 0x40dd77
push edi
call fcn.004aa2a8
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.004aa454
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x40dd53
push dword [ebp - 0x7c]
lea eax, [ebx - 1]
push dword [ebp - 0x78]
push eax
push edi
call fcn.004ac225
add esp, 0x10
cmp eax, 0xffffffff
je 0x40dd69
mov cx, word [ebp + 0x9c]
mov word [ebp - 0x74], cx
mov cx, word [ebp + 0xa0]
mov word [ebp - 0x72], cx
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp - 0x74]
push eax
push edi
call fcn.0040c5e9
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
test eax, eax
jne 0x40dde2
cmp byte [0x51b9ab], al
jne 0x40dde2
mov byte [0x51b9ab], 1
lea eax, [ebp - 0x70]
cmp edi, eax
je 0x40ddf0
push edi
call fcn.004aa2a8
pop ecx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
add ebp, 0x94
leave
ret
Function at 0x40f0c9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
push edi
jle 0x40f128
cmp dword [ebp + 0x10], esi
jle 0x40f128
push 1
mov ebx, 0x410
push ebx
call fcn.004aa454
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
je 0x40f128
push ebx
push esi
push edi
call fcn.004ab5d0
mov ebx, dword [0x51d0d8]
add esp, 0xc
cmp ebx, esi
jne 0x40f112
call fcn.0046aaee
mov ebx, eax
mov dword [0x51d0d8], ebx
push edi
call fcn.0046aba0
cmp dword [0x51d0d8], esi
pop ecx
jne 0x40f12f
push edi
call fcn.004aa2a8
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [edi + 0x1b8]
push 0x4cbc88
push eax
call fcn.004aa9a0
lea ebx, [edi + 0x250]
push str..ConsoleField.c
push ebx
mov dword [edi + 0x15c], 1
mov dword [edi + 0x174], esi
mov dword [edi + 0x190], esi
mov dword [edi + 0x18c], 2
call fcn.0041ebbf
mov esi, str.A_Console_Field_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0041edba
mov eax, 0xbb8
mov ecx, ebx
call fcn.0041ede3
mov eax, edi
call fcn.00413e40
push 0x4cb21c
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov eax, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040f33e
add esp, 0x24
test eax, eax
jne 0x40f1ba
mov eax, edi
call fcn.0040f1d0
jmp 0x40f128
mov esi, edi
call fcn.0040f7cd
push 0x5f
call fcn.0040f7f8
pop ecx
mov eax, edi
jmp 0x40f12a
Function at 0x4185fe
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edx, ebp
call fcn.00476b3a
test eax, eax
je 0x418619
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [0x51eab8], 0
je 0x418626
xor eax, eax
jmp 0x418614
xor ecx, ecx
mov edx, ebp
mov dword [0x51eab8], 1
call fcn.0041abf9
mov ebx, 0x80000
cmp eax, ebx
ja 0x41864d
xor eax, eax
and dword [0x51eab8], 0
jmp 0x418614
push ebp
call fcn.0041b661
pop ecx
mov edi, eax
test edi, edi
jne 0x41865f
or eax, 0xffffffff
jmp 0x418644
mov esi, dword [edi]
cmp esi, ebx
ja 0x41866e
push edi
call fcn.004aa2a8
pop ecx
jmp 0x41865a
lea ebx, [esi - 0x80000]
cmp byte [ebx + edi + 4], 0xa
je 0x418688
inc ebx
lea eax, [esi - 0x20000]
cmp ebx, eax
jb 0x418674
jmp 0x418689
inc ebx
push 0x4eb
push str..Error.c
mov edx, 0x4c9338
mov ecx, ebp
call fcn.0041c646
mov ebp, eax
test ebp, ebp
pop ecx
pop ecx
je 0x418665
push ebp
sub esi, ebx
push esi
lea eax, [ebx + edi + 4]
push 1
push eax
call fcn.004aa5f2
mov ecx, ebp
call fcn.0041ca73
push edi
call fcn.004aa2a8
xor eax, eax
add esp, 0x14
inc eax
jmp 0x418644
Function at 0x4193ff
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x8d]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x7c], edi
mov byte [ebp + 0x8c], bl
call fcn.004ab5d0
push esi
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.004ab5d0
add esp, 0x18
mov edx, edi
call fcn.00476b3a
test eax, eax
jne 0x41952d
mov edx, dword [ebp - 0x80]
call fcn.00476b3a
test eax, eax
jne 0x41952d
push dword [ebp - 0x80]
lea edi, [esi + 1]
mov ecx, edi
lea eax, [ebp + 0x8c]
call fcn.00476b6c
mov edx, eax
call fcn.00477617
mov esi, edx
call fcn.004776b8
mov eax, esi
push eax
call fcn.004aa880
pop ecx
pop ecx
jmp 0x4194b1
lea ecx, [ebp + eax + 0x8c]
cmp byte [ecx], 0x5c
jne 0x4194b6
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x4194a3
lea esi, [ebp + 0x8c]
call fcn.00476e69
push dword [ebp - 0x7c]
mov ecx, edi
lea eax, [ebp - 0x78]
call fcn.00476b6c
mov edx, eax
call fcn.00477617
mov esi, edx
call fcn.004776b8
mov eax, esi
push eax
call fcn.004aa880
pop ecx
pop ecx
jmp 0x4194f3
lea ecx, [ebp + eax - 0x78]
cmp byte [ecx], 0x5c
jne 0x4194f8
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x4194e8
lea eax, [ebp - 0x78]
call fcn.00476eac
mov edx, eax
lea ecx, [ebp + 0x8c]
call fcn.004770f6
cmp dword [ebp + 0x1a0], ebx
lea eax, [ebp + 0x8c]
je 0x419529
push 0xb
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x41952f
push 0xa
jmp 0x41951d
xor eax, eax
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
add ebp, 0x194
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x110], 0
call fcn.004ab5d0
add esp, 0xc
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00476b6c
pop ecx
mov esi, eax
call fcn.004776b8
push 0
push 0x5c
call fcn.00477763
pop ecx
pop ecx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4195eb
test al, 0x10
je 0x4195eb
mov eax, esi
push 1
push eax
call fcn.00419632
mov eax, esi
push eax
call fcn.0041964e
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov dword [ebp - 0x114], eax
jne 0x4195e3
lea edi, [ebp - 0x110]
call fcn.0041a629
push dword [ebp - 0x114]
jmp 0x419604
xor esi, esi
cmp eax, 0xffffffff
je 0x419602
call fcn.0041a629
test eax, eax
je 0x419602
push edi
call fcn.0041a6da
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004aaeb5
leave
ret
Function at 0x41964e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
mov edx, edi
call fcn.00476b3a
test eax, eax
je 0x419679
xor eax, eax
jmp 0x4196f0
push esi
push edi
call fcn.004aa880
push edi
call fcn.004aa880
add eax, 0xa
push eax
push 1
call fcn.004aa454
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x41969e
xor eax, eax
jmp 0x4196ef
push edi
push esi
call fcn.004aa9a0
push esi
call fcn.004aa880
mov byte [eax + esi + 1], bl
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x10], 0x614
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.004aa2a8
xor eax, eax
cmp edi, ebx
pop ecx
sete al
pop esi
pop edi
pop ebx
leave
ret
Function at 0x419b43
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
call fcn.00476b3a
test eax, eax
jne 0x419c39
mov edx, dword [ebp + 0xc]
call fcn.00476b3a
test eax, eax
jne 0x419c39
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x20
push 3
push ebx
push 7
push 0x80
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x419bda
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x419bc7
mov dword [ebp - 8], 1
jmp 0x419bd5
cmp dword [0x514b38], ebx
je 0x419bd5
mov dword [0x514b38], ebx
call fcn.0041cef3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00419fc7
add esp, 0xc
test eax, eax
je 0x419c39
cmp dword [ebp - 8], ebx
jne 0x419bf9
xor eax, eax
inc eax
jmp 0x419c3b
push ebx
push 0x80000020
push 3
push ebx
push 7
push 0x100
push dword [ebp + 0xc]
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x419bf4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x419c32
inc dword [0x51ed8c]
call fcn.0041cef3
jmp 0x419bf4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419fc7
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ebx
mov dword [ebp - 0x114], ebx
call fcn.00476b3a
test eax, eax
jne 0x41a12f
mov edx, edi
call fcn.00476b3a
test eax, eax
jne 0x41a12f
push ebx
call fcn.004aa880
mov esi, 0x104
cmp eax, esi
pop ecx
jae 0x41a0e4
push edi
call fcn.004aa880
cmp eax, esi
pop ecx
jae 0x41a0e4
push dword [ebp + 0x10]
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
call ebx
test eax, eax
jne 0x41a0df
push edi
call fcn.0041a6da
test eax, eax
pop ecx
je 0x41a0ad
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.004ab5d0
add esp, 0xc
push dword [ebp - 0x114]
mov ecx, esi
lea eax, [ebp - 0x110]
call fcn.00476b6c
pop ecx
mov esi, eax
call fcn.00476e69
mov edx, esi
call fcn.00476b3a
test eax, eax
jne 0x41a12f
mov edx, edi
mov ecx, esi
call fcn.004770f6
push dword [ebp + 0x10]
mov eax, esi
push eax
push dword [ebp - 0x114]
call ebx
jmp 0x41a131
cmp dword [ebp + 0x10], 0
jne 0x41a12f
call fcn.0041a629
test eax, eax
je 0x41a12f
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x41a12f
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
jmp 0x41a0a0
xor eax, eax
inc eax
jmp 0x41a131
mov eax, ebx
call fcn.004794f3
mov esi, eax
mov eax, edi
call fcn.004794f3
test esi, esi
mov edi, eax
je 0x41a124
test edi, edi
je 0x41a11d
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
mov ebx, eax
call fcn.004aa2a8
pop ecx
push edi
call fcn.004aa2a8
pop ecx
mov eax, ebx
jmp 0x41a131
push esi
call fcn.004aa2a8
pop ecx
test edi, edi
je 0x41a12f
push edi
call fcn.004aa2a8
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
leave
ret

Function at 0x41a140
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov edx, edi
call fcn.00476b3a
test eax, eax
je 0x41a154
xor eax, eax
jmp 0x41a190
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call esi
test eax, eax
jne 0x41a18d
call fcn.0041a629
test eax, eax
je 0x41a18d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x41a150
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
jmp 0x41a190
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret
Function at 0x41a1eb
Capabilities:
Read file on windows
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x5065d0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
mov esi, ecx
mov edi, edx
push ebx
push eax
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x114], bl
call fcn.004ab5d0
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
je 0x41a299
cmp byte [esi], bl
je 0x41a299
cmp edi, ebx
je 0x41a299
cmp byte [edi], bl
je 0x41a299
cmp dword [ebp + 8], ebx
je 0x41a266
mov eax, 0x81
mov dword [ebp - 0x118], 0x106
jmp 0x41a273
xor eax, eax
inc eax
mov dword [ebp - 0x118], 6
mov edi, 0x61a8
push edi
push 0x20
push 3
push eax
mov eax, esi
call fcn.00418dab
add esp, 0x10
cmp eax, 0xffffffff
mov dword [ebp - 0x124], eax
jne 0x41a2aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aaeb5
leave
ret
push dword [ebp - 0x11c]
mov ecx, 0x104
lea eax, [ebp - 0x114]
call fcn.00476b6c
pop ecx
mov esi, eax
call fcn.004776b8
mov edx, esi
call fcn.00476b3a
test eax, eax
jne 0x41a304
mov eax, esi
push eax
call fcn.004aa880
pop ecx
mov ecx, esi
dec ecx
cmp byte [eax + ecx], 0x5c
jne 0x41a304
push dword [ebp - 0x130]
mov ecx, 0x104
mov eax, esi
call fcn.00476b6c
pop ecx
push dword [ebp - 0x11c]
call fcn.0047724c
pop ecx
push edi
push 0x80000020
push 2
push dword [ebp - 0x118]
lea eax, [ebp - 0x114]
call fcn.00418dab
add esp, 0x10
cmp eax, 0xffffffff
mov dword [ebp - 0x11c], eax
jne 0x41a341
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x124]
call fcn.0041cef3
jmp 0x41a299
mov esi, 0x100000
push esi
call fcn.004abb87
mov edi, eax
cmp edi, ebx
pop ecx
je 0x41a3d9
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x128], ebx
push ebx
lea eax, [ebp - 0x120]
push eax
push esi
push edi
push dword [ebp - 0x124]
mov dword [ebp - 0x120], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41a38f
inc dword [0x51ed90]
inc dword [ebp - 0x128]
cmp dword [ebp - 0x120], ebx
jbe 0x41a3d0
push ebx
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x120]
mov dword [ebp - 0x12c], ebx
push edi
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41a3c8
inc dword [0x51ed90]
inc dword [ebp - 0x118]
cmp dword [ebp - 0x120], ebx
ja 0x41a363
push edi
call fcn.004aa2a8
pop ecx
jmp 0x41a3e3
mov dword [ebp - 0x118], 1
cmp dword [ebp + 8], ebx
je 0x41a42e
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x124]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x41a42e
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [ebp - 0x11c]
call fcn.0041cef3
mov esi, dword [ebp - 0x124]
call fcn.0041cef3
cmp dword [ebp - 0x128], ebx
jne 0x41a299
cmp dword [ebp - 0x118], ebx
jne 0x41a299
xor eax, eax
inc eax
jmp 0x41a29b