joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10145510
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea edx, [ebp - 8]
push edx
mov ax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x10145dc0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.1011e8d0
add esp, 0xc
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x10145e2c
or eax, 0xffffffff
jmp 0x10145f1f
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.1011e460
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
call fcn.10144f70
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x10145e86
push 0x101c3770
lea edx, [ebp - 0x218]
push edx
call fcn.1011e470
add esp, 8
lea eax, [ebp - 0x218]
push eax
call fcn.10144f70
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x10145e99
mov eax, 0xfffffffe
jmp 0x10145f1f
lea ecx, [ebp - 0x110]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [ebp + 0xc], 0
je 0x10145ecd
mov edx, dword [ebp + 0xc]
push edx
call fcn.10145590
add esp, 4
test eax, eax
je 0x10145ecd
mov eax, dword [ebp + 0xc]
push eax
call fcn.10135cad
add esp, 4
push 0
push 1
xor ecx, ecx
cmp dword [ebp + 0x10], 0
sete cl
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call fcn.10145cc0
add esp, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0x110]
push eax
call fcn.1011e3a0
add esp, 4
test eax, eax
jbe 0x10145f0d
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x21c]
push edx
call fcn.10142b70
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x10145f30
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.1011e8d0
add esp, 0xc
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10145f9a
cmp dword [ebp + 0xc], 0
jne 0x10145fa2
or eax, 0xffffffff
jmp 0x10146091
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.1011e460
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
call fcn.10144f70
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x10145ffc
push 0x101c3760
lea edx, [ebp - 0x218]
push edx
call fcn.1011e470
add esp, 8
lea eax, [ebp - 0x218]
push eax
call fcn.10144f70
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x1014600f
mov eax, 0xfffffffe
jmp 0x10146091
lea ecx, [ebp - 0x110]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp dword [ebp + 0x10], 0
je 0x10146043
mov edx, dword [ebp + 0x10]
push edx
call fcn.10145590
add esp, 4
test eax, eax
je 0x10146043
mov eax, dword [ebp + 0x10]
push eax
call fcn.10135cad
add esp, 4
push 0
push 1
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call fcn.10145c50
add esp, 0x14
mov dword [ebp - 4], eax
lea eax, [ebp - 0x110]
push eax
call fcn.1011e3a0
add esp, 4
test eax, eax
jbe 0x1014607f
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x21c]
push edx
call fcn.10142b70
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x1014aeb0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x128], 0
push 0x103
push 0
lea eax, [ebp - 0x127]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x12c], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1014aefd
cmp dword [ebp + 0x10], 0
jne 0x1014af04
xor eax, eax
jmp 0x1014afc2
push 1
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0x138], 0xc
mov dword [ebp - 0x130], 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp + 8]
push ecx
push str.GlobalProcLock__s_Mutex
lea edx, [ebp - 0x128]
push edx
call fcn.1011a63e
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x1014af7e
xor eax, eax
jmp 0x1014afc2
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1014afa1
cmp dword [ebp - 4], 0x80
jne 0x1014afb3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x12c]
mov dword [ecx], edx
mov eax, 1
jmp 0x1014afc2
mov eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret

Function at 0x1014b070
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
push 0x128
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x138], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1014b15e
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x130]
jne 0x1014b146
lea ecx, [ebp - 0x114]
push ecx
call fcn.1011e3a0
add esp, 4
add eax, 1
cmp eax, dword [ebp + 0x10]
jbe 0x1014b103
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp - 0x13c], edx
jmp 0x1014b11b
lea eax, [ebp - 0x114]
push eax
call fcn.1011e3a0
add esp, 4
add eax, 1
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1011c900
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1014b16a
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 8], eax
jmp 0x1014b0c9
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x1014b180
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
push 0x128
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x138], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1014b21d
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011a86d
add esp, 8
test eax, eax
jne 0x1014b208
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x130]
jmp 0x1014b22a
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 8], eax
jmp 0x1014b1d9
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret

Function at 0x1014b370
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
push 1
push 0x101c7938
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1014b240
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1014b3c3
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x101c794c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1014b240
add esp, 0xc
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x1014b3e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x114], 0x104
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x1014b436
xor eax, eax
jmp 0x1014b47b
mov eax, str.SYSTEM
lea ecx, [ebp - 0x110]
call fcn.10001000
test eax, eax
je 0x1014b472
mov eax, str.NETWORK_SERVICE
lea ecx, [ebp - 0x110]
call fcn.10001000
test eax, eax
je 0x1014b472
mov eax, str.LOCAL_SERVICE
lea ecx, [ebp - 0x110]
call fcn.10001000
test eax, eax
jne 0x1014b479
mov eax, 1
jmp 0x1014b47b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x1014b9c0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x1014ba3e
push 0
push 0x80
push 4
push 0
push 7
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1014ba0c
xor eax, eax
jmp 0x1014bae4
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0xffffffff
jne 0x1014ba3e
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0xffffffff
jne 0x1014ba3e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1014bae4
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [ebp + 0xc]
and eax, 0x40000000
neg eax
sbb eax, eax
and eax, 2
add eax, 2
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1014ba7e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1014bae4
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
and edx, 0x40000000
neg edx
sbb edx, edx
and edx, 2
or edx, 4
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1014bac7
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1014bae4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1014bcf0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 7
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x1014bd68
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
jmp 0x1014bd6b
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x1014c2e0
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x1014c300
xor eax, eax
jmp 0x1014c424
mov eax, dword [ebp + 8]
push eax
call fcn.1011e3a0
add esp, 4
test eax, eax
ja 0x1014c317
xor eax, eax
jmp 0x1014c424
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1014c41f
mov byte [ebp - 0x23c], 0
push 0x31
push 0
lea ecx, [ebp - 0x23b]
push ecx
call fcn.1011e8d0
add esp, 0xc
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea edx, [ebp - 0x207]
push edx
call fcn.1011e8d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0xfff
push eax
push 0x101c7fb0
lea eax, [ebp - 0x23c]
push eax
call fcn.1011a63e
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x200
lea edx, [ebp - 0x208]
push edx
call fcn.1014e1e0
add esp, 0xc
push 0x101c7fb4
push 0x200
lea eax, [ebp - 0x208]
push eax
call fcn.1014e0f0
add esp, 0xc
lea ecx, [ebp - 0x23c]
push ecx
push 0x200
lea edx, [ebp - 0x208]
push edx
call fcn.1014e0f0
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x1014c3fd
xor eax, eax
jmp 0x1014c424
push 6
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 4
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x1014c424
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret

Function at 0x1014c440
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.1011e8d0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.1011e3a0
add esp, 4
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
call fcn.1014e1e0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x1014c4b3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x114]
jge 0x1014c51a
mov eax, dword [ebp - 4]
movsx ecx, byte [ebp + eax - 0x110]
cmp ecx, 0x5c
je 0x1014c4de
mov edx, dword [ebp - 4]
movsx eax, byte [ebp + edx - 0x110]
cmp eax, 0x2f
jne 0x1014c518
mov ecx, dword [ebp - 4]
mov dl, byte [ebp + ecx - 0x110]
mov byte [ebp - 0x115], dl
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x110], 0
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 4]
mov al, byte [ebp - 0x115]
mov byte [ebp + edx - 0x110], al
jmp 0x1014c4aa
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x1014c5e0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x314], 0
mov byte [ebp - 0x310], 0
push 0x103
push 0
lea eax, [ebp - 0x30f]
push eax
call fcn.1011e8d0
add esp, 0xc
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x207]
push ecx
call fcn.1011e8d0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x1014c657
mov edx, dword [ebp + 8]
push edx
call fcn.1011e3a0
add esp, 4
test eax, eax
jne 0x1014c65e
xor eax, eax
jmp 0x1014c7eb
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x310]
push ecx
call fcn.1014e1e0
add esp, 0xc
push 0x101c7fc4
push 0x104
lea edx, [ebp - 0x310]
push edx
call fcn.1014e0f0
add esp, 0xc
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x310]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0xffffffff
jne 0x1014c6be
xor eax, eax
jmp 0x1014c7eb
lea edx, [ebp - 0x458]
push edx
mov eax, dword [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1014c7a4
lea ecx, [ebp - 0x42c]
push ecx
push 0x101c7fc8
call fcn.1011e950
add esp, 8
test eax, eax
je 0x1014c79f
lea edx, [ebp - 0x42c]
push edx
push 0x101c7fcc
call fcn.1011e950
add esp, 8
test eax, eax
je 0x1014c79f
push 0x200
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.1011e8d0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x200
lea edx, [ebp - 0x208]
push edx
call fcn.1014e1e0
add esp, 0xc
push 0x101c7fd0
push 0x200
lea eax, [ebp - 0x208]
push eax
call fcn.1014e0f0
add esp, 0xc
lea ecx, [ebp - 0x42c]
push ecx
push 0x200
lea edx, [ebp - 0x208]
push edx
call fcn.1014e0f0
add esp, 0xc
mov eax, dword [ebp - 0x458]
and eax, 0x10
je 0x1014c790
lea ecx, [ebp - 0x208]
push ecx
call fcn.1014c5e0
add esp, 4
jmp 0x1014c79f
lea edx, [ebp - 0x208]
push edx
call fcn.1014c2e0
add esp, 4
jmp 0x1014c6be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1014c7d9
push 4
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
cmp dword [ebp - 0x314], 0x12
je 0x1014c7e6
xor eax, eax
jmp 0x1014c7eb
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x1014c800
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1014c836
cmp dword [ebp + 0xc], 0
je 0x1014c836
mov eax, dword [ebp + 8]
push eax
call fcn.1014bd70
add esp, 4
test eax, eax
jne 0x1014c83d
xor eax, eax
jmp 0x1014c98e
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1014c440
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 2
jne 0x1014c86e
mov ecx, dword [ebp - 4]
and ecx, 1
jne 0x1014c86e
mov edx, dword [ebp - 4]
and edx, 4
je 0x1014c87d
push 0x80
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1014c989
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.1011e8d0
add esp, 0xc
mov byte [ebp - 0x144], 0
push 0x31
push 0
lea ecx, [ebp - 0x143]
push ecx
call fcn.1011e8d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0xfff
push eax
push 0x101c7f6c
lea edx, [ebp - 0x144]
push edx
call fcn.1011a63e
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call fcn.1014e1e0
add esp, 0xc
push 0x101c7f70
push 0x104
lea edx, [ebp - 0x110]
push edx
call fcn.1014e0f0
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call fcn.1014e0f0
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x1014c951
xor eax, eax
jmp 0x1014c98e
push 4
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 6
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1014c989
xor eax, eax
jmp 0x1014c98e
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret
Function at 0x1014c9a0
Capabilities:
Copy file
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1014c9d6
cmp dword [ebp + 0xc], 0
je 0x1014c9d6
mov eax, dword [ebp + 8]
push eax
call fcn.1014bd70
add esp, 4
test eax, eax
jne 0x1014c9dd
xor eax, eax
jmp 0x1014cb2e
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1014c440
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 2
jne 0x1014ca0e
mov ecx, dword [ebp - 4]
and ecx, 1
jne 0x1014ca0e
mov edx, dword [ebp - 4]
and edx, 4
je 0x1014ca1d
push 0x80
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x1014cb29
mov byte [ebp - 0x144], 0
push 0x31
push 0
lea eax, [ebp - 0x143]
push eax
call fcn.1011e8d0
add esp, 0xc
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.1011e8d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0xfff
push eax
push 0x101c7f58
lea edx, [ebp - 0x144]
push edx
call fcn.1011a63e
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call fcn.1014e1e0
add esp, 0xc
push 0x101c7f5c
push 0x104
lea edx, [ebp - 0x110]
push edx
call fcn.1014e0f0
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call fcn.1014e0f0
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x1014caf1
xor eax, eax
jmp 0x1014cb2e
push 4
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 6
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x1014cb29
xor eax, eax
jmp 0x1014cb2e
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret