joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18a40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014044
xor eax, eax
push ebp
push 0x18ab6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00012bf8
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x18abd
lea eax, [ebp - 4]
call fcn.00013cd0
ret

Function at 0x18c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, edx
lea edi, [ebp - 0x41c]
push ecx
mov ecx, 0x103
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 4], ecx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00014044
xor eax, eax
push ebp
push 0x18d89
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 1
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
xor ebx, ebx
add ebx, dword [ebp - 0x18]
mov eax, 0x500000
call fcn.0001251c
mov esi, eax
lea edx, [ebp - 0x41c]
mov ecx, dword [ebp - 0x18]
mov eax, esi
call fcn.00014f10
jmp 0x18cfb
push 0
push 0x400
mov eax, esi
add eax, ebx
push eax
mov eax, dword [edi + 4]
push eax
call dword [0x2271c]
add ebx, eax
cmp ebx, dword [ebp - 0x14]
jl 0x18ce3
push ebx
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x18c3c]
call fcn.00014850
add esp, 4
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00014f10
mov eax, esi
call fcn.0001253c
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp + 8], 1
jne 0x18d57
mov eax, dword [ebp - 4]
call fcn.00018918
jmp 0x18d65
cmp dword [ebp + 8], 2
jne 0x18d65
mov eax, dword [ebp - 4]
call fcn.00018a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x18d90
lea eax, [ebp - 8]
mov edx, dword [0x18c3c]
call fcn.0001485c
lea eax, [ebp - 4]
call fcn.00013cd0
ret
Function at 0x1a4f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00014054
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x1a509
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x1a510
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
xor edx, edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014044
xor eax, eax
push ebp
push 0x1a67f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x1a694
mov edx, dword [ebp - 4]
call fcn.00013ea0
mov eax, dword [ebp - 0x14c]
call fcn.00014054
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1a63b
cmp byte [ebp - 0x11c], 0x2e
je 0x1a626
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00013e3c
mov eax, dword [ebp - 0x150]
call fcn.0001a4f0
test al, al
je 0x1a626
test byte [ebp - 0x148], 0x10
je 0x1a602
lea eax, [ebp - 8]
push eax
push 0x22964
push 0x1f5
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetFullPathNameA
lea eax, [ebp - 0x154]
mov edx, 0x22964
mov ecx, 0x1f5
call fcn.00013e3c
mov eax, dword [ebp - 0x154]
call fcn.0001a510
jmp 0x1a626
lea eax, [ebp - 8]
push eax
push 0x22964
push 0x1f5
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetFullPathNameA
push 0x22964
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x1a58b
push ebx
call sub.kernel32.dll_FindClose
push 0x1a698
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1a686
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00013cf4
lea eax, [ebp - 4]
call fcn.00013cd0
ret

Function at 0x1a69c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe04
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014044
xor eax, eax
push ebp
push 0x1a6f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1f9]
push eax
push 0x1f4
call sub.kernel32.dll_GetCurrentDirectoryA
mov eax, dword [ebp - 4]
call fcn.0001a510
lea eax, [ebp - 0x1f9]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1a700
lea eax, [ebp - 4]
call fcn.00013cd0
ret
Function at 0x1a704
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014044
xor eax, eax
push ebp
push 0x1a86e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x1a884
mov edx, dword [ebp - 4]
call fcn.00013ea0
mov eax, dword [ebp - 0x14c]
call fcn.00014054
push eax
call sub.kernel32.dll_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1a842
cmp byte [ebp - 0x11c], 0x2e
je 0x1a82d
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00013e3c
mov eax, dword [ebp - 0x150]
call fcn.0001a4f0
test al, al
je 0x1a82d
test byte [ebp - 0x148], 0x10
je 0x1a811
lea eax, [ebp - 8]
push eax
push 0x22964
push 0x1f5
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetFullPathNameA
lea eax, [ebp - 0x158]
mov edx, 0x22964
mov ecx, 0x1f5
call fcn.00013e3c
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
mov edx, esi
call fcn.0001a704
push 0x1a888
call sub.kernel32.dll_SetCurrentDirectoryA
jmp 0x1a82d
lea eax, [ebp - 8]
push eax
push 0x22964
push 0x1f5
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetFullPathNameA
inc dword [esi]
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x1a788
push ebx
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1a875
lea eax, [ebp - 0x158]
mov edx, 4
call fcn.00013cf4
lea eax, [ebp - 4]
call fcn.00013cd0
ret

Function at 0x1a88c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014044
mov eax, dword [ebp - 8]
call fcn.00014044
xor eax, eax
push ebp
push 0x1a96f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00012bf8
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 0
push 0x1a984
push dword [ebp - 4]
push 0x1a998
push dword [ebp - 8]
push 0x1a9a4
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.00013f14
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x22938]
call fcn.00013ea0
mov eax, dword [ebp - 0x64]
call fcn.00014054
push eax
mov eax, dword [0x22938]
call fcn.00014054
push eax
call sub.kernel32.dll_CreateProcessA
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1a976
lea eax, [ebp - 0x64]
call fcn.00013cd0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00013cf4
ret
Function at 0x1a9a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014044
mov eax, dword [ebp - 8]
call fcn.00014044
xor eax, eax
push ebp
push 0x1aa8b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00012bf8
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 0
push 0x1aaa0
push dword [ebp - 8]
push 0x1aab8
push dword [ebp - 4]
push 0x1aac4
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.00013f14
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x22938]
call fcn.00013ea0
mov eax, dword [ebp - 0x64]
call fcn.00014054
push eax
mov eax, dword [0x22938]
call fcn.00014054
push eax
call sub.kernel32.dll_CreateProcessA
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1aa92
lea eax, [ebp - 0x64]
call fcn.00013cd0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00013cf4
ret

Function at 0x1aac8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
xchg edx, eax
call fcn.00014184
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00013e3c
add esp, 0x108
pop ebx
ret
Function at 0x1aafc
Capabilities:
Get common file path
Get file size
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push ebx
xor edx, edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014044
xor eax, eax
push ebp
push 0x1ad54
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1aba3
lea eax, [ebp - 0x10]
push eax
push ebx
call sub.kernel32.dll_GetFileSize_1
cmp eax, 0x6400000
jle 0x1ab9d
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x1ad26
push ebx
call sub.kernel32.dll_CloseHandle_1
call fcn.000127d8
push dword [0x2293c]
mov eax, 0x1a
call fcn.00012c18
mov edx, eax
add edx, 0x41
lea eax, [ebp - 0x20c]
call fcn.00013df0
push dword [ebp - 0x20c]
mov eax, 0x1a
call fcn.00012c18
mov edx, eax
add edx, 0x41
lea eax, [ebp - 0x210]
call fcn.00013df0
push dword [ebp - 0x210]
mov eax, 0x1a
call fcn.00012c18
mov edx, eax
add edx, 0x41
lea eax, [ebp - 0x214]
call fcn.00013df0
push dword [ebp - 0x214]
mov eax, 0x1a
call fcn.00012c18
mov edx, eax
add edx, 0x41
lea eax, [ebp - 0x218]
call fcn.00013df0
push dword [ebp - 0x218]
mov eax, 0x1a
call fcn.00012c18
mov edx, eax
add edx, 0x41
lea eax, [ebp - 0x21c]
call fcn.00013df0
push dword [ebp - 0x21c]
mov eax, 0x1a
call fcn.00012c18
mov edx, eax
add edx, 0x41
lea eax, [ebp - 0x220]
call fcn.00013df0
push dword [ebp - 0x220]
mov eax, 0x1a
call fcn.00012c18
mov edx, eax
add edx, 0x41
lea eax, [ebp - 0x224]
call fcn.00013df0
push dword [ebp - 0x224]
mov eax, 0x1a
call fcn.00012c18
mov edx, eax
add edx, 0x41
lea eax, [ebp - 0x228]
call fcn.00013df0
push dword [ebp - 0x228]
lea eax, [ebp - 0xc]
mov edx, 9
call fcn.00013f14
lea eax, [ebp - 0x205]
push eax
push 0x1f4
call sub.kernel32.dll_GetCurrentDirectoryA
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0001a88c
xor eax, eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x22c]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0001a704
cmp dword [ebp - 8], 0
je 0x1ad12
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0001bb20
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0001a9a8
mov eax, dword [ebp - 0xc]
call fcn.0001a69c
jmp 0x1ad1a
mov eax, dword [ebp - 0xc]
call fcn.0001a69c
lea eax, [ebp - 0x205]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ad5b
lea eax, [ebp - 0x22c]
mov edx, 9
call fcn.00013cf4
lea eax, [ebp - 0xc]
call fcn.00013cd0
lea eax, [ebp - 4]
call fcn.00013cd0
ret
Function at 0x1afd8
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1b1a7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x1b1bc
mov edx, dword [0x2292c]
call fcn.00013ea0
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00012ae4
lea eax, [ebp - 0x1d0]
call fcn.00012880
call fcn.00012610
mov edx, 0x1b1d4
lea eax, [ebp - 0x1d0]
call fcn.000141e8
call fcn.0001321c
call fcn.00012610
push 0x1b1e4
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.00012778
push dword [ebp - 0x22c]
push 0x1b1f4
lea eax, [ebp - 0x228]
mov edx, 3
call fcn.00013f14
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 0x1d0]
call fcn.000141e8
call fcn.0001321c
call fcn.00012610
push 0x1b200
lea edx, [ebp - 0x234]
xor eax, eax
call fcn.00012778
push dword [ebp - 0x234]
push 0x1b1f4
push 0x1b214
lea eax, [ebp - 0x230]
mov edx, 4
call fcn.00013f14
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x1d0]
call fcn.000141e8
call fcn.0001321c
call fcn.00012610
mov edx, 0x1b228
lea eax, [ebp - 0x1d0]
call fcn.000141e8
call fcn.0001321c
call fcn.00012610
lea eax, [ebp - 0x1d0]
call fcn.00012ba0
call fcn.00012610
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.00012bf8
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x1b181
mov eax, dword [ebp - 0x1dc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b1ae
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.00013cf4
lea eax, [ebp - 4]
call fcn.00013cd0
ret

Function at 0x1b46c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00014044
xor eax, eax
push ebp
push 0x1b4e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00012bf8
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b4e9
lea eax, [ebp - 4]
call fcn.00013cd0
ret
Function at 0x1b4f0
Capabilities:
Copy file
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, 0x22908
mov edi, 0x22904
xor eax, eax
push ebp
push 0x1b6c6
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0001b2d0
mov eax, dword [esi]
call fcn.0001b364
mov ebx, eax
test ebx, ebx
jle 0x1b53a
push ebx
push 0
push 0x1f0fff
call dword [0x22958]
push 0
push eax
call sub.kernel32.dll_TerminateProcess
test ebx, ebx
jne 0x1b517
mov eax, dword [esi]
call fcn.00014054
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x1b53e
mov eax, dword [0x2290c]
call fcn.0001b364
mov ebx, eax
test ebx, ebx
jle 0x1b57b
push ebx
push 0
push 0x1f0fff
call dword [0x22958]
push 0
push eax
call sub.kernel32.dll_TerminateProcess
test ebx, ebx
jne 0x1b555
mov eax, dword [0x2290c]
call fcn.00014054
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x1b57f
push 0xffffffffffffffff
mov eax, dword [esi]
call fcn.00014054
push eax
lea edx, [ebp - 4]
xor eax, eax
call fcn.00012778
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [edi]
call fcn.0001b364
mov ebx, eax
test ebx, ebx
jle 0x1b5de
push ebx
push 0
push 0x1f0fff
call dword [0x22958]
push 0
push eax
call sub.kernel32.dll_TerminateProcess
test ebx, ebx
jne 0x1b5bb
mov eax, dword [edi]
call fcn.00014054
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x1b5e2
push 0xffffffffffffffff
mov eax, dword [edi]
call fcn.00014054
push eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.00012778
mov eax, dword [ebp - 8]
call fcn.00014054
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x22924]
call fcn.0001a4f0
test al, al
je 0x1b643
mov eax, dword [0x22924]
call fcn.00014054
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x1b629
cmp dword [0x228e4], 0x3f7
jge 0x1b69f
mov eax, dword [0x22914]
call fcn.0001a4f0
test al, al
je 0x1b677
mov eax, dword [0x22914]
call fcn.00014054
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x1b65d
mov eax, dword [0x22920]
call fcn.0001a4f0
test al, al
je 0x1b69f
mov eax, dword [0x22920]
call fcn.00014054
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x1b685
call fcn.0001afd8
mov eax, dword [esi]
call fcn.0001b46c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b6cd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00013cf4
ret
Function at 0x1b8ac
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x1b94d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x1b964
call fcn.00013d68
mov eax, dword [ebp - 4]
call fcn.00014054
mov esi, eax
push esi
push 0xffffffffffffffff
push 0x100000
call sub.kernel32.dll_OpenMutexA
mov ebx, eax
test ebx, ebx
je 0x1b92d
mov eax, dword [0x2290c]
call fcn.0001ae0c
test al, al
jne 0x1b905
mov dl, 1
mov eax, dword [0x2290c]
call fcn.0001aeb8
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [0x2290c]
call fcn.0001ae0c
cmp al, 1
jne 0x1b927
xor edx, edx
mov eax, dword [0x2290c]
call fcn.0001aeb8
push ebx
call sub.kernel32.dll_CloseHandle_1
push esi
push 0xffffffffffffffff
push 0
call fcn.00014d4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b954
lea eax, [ebp - 4]
call fcn.00013cd0
ret

Function at 0x1b970
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffac
mov ebx, 0x2290c
mov eax, dword [0x22910]
call fcn.0001a4f0
test al, al
jne 0x1ba43
cmp byte [0x22948], 0
jne 0x1b979
mov eax, esp
xor ecx, ecx
mov edx, 0x44
call fcn.00012bf8
mov dword [esp], 0x44
mov dword [esp + 0x2c], 1
mov eax, dword [ebx]
call fcn.0001a4f0
test al, al
jne 0x1b9cd
mov ecx, 3
mov edx, dword [ebx]
mov eax, 0x1ba60
call fcn.00018e94
mov eax, dword [ebx]
call fcn.0001ae0c
cmp al, 1
jne 0x1b9e1
xor edx, edx
mov eax, dword [ebx]
call fcn.0001aeb8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
push 0
mov eax, dword [ebx]
call fcn.00014054
push eax
call sub.kernel32.dll_CreateProcessA
mov eax, dword [ebx]
call fcn.0001ae0c
test al, al
jne 0x1ba1a
mov dl, 1
mov eax, dword [ebx]
call fcn.0001aeb8
push 0xffffffffffffffff
mov eax, dword [esp + 0x48]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebx]
call fcn.0001ae0c
cmp al, 1
jne 0x1b979
xor edx, edx
mov eax, dword [ebx]
call fcn.0001aeb8
jmp 0x1b979
push 0x96
call sub.kernel32.dll_Sleep
jmp 0x1b979
Function at 0x1bf18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00014044
mov eax, dword [ebp - 8]
call fcn.00014044
xor eax, eax
push ebp
push 0x1bfd8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0x1bfe8
push 0
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00014054
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x18]
call fcn.0001251c
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp + 8]
mov edx, ebx
call fcn.00013e00
mov eax, ebx
call fcn.0001253c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1bfdf
lea eax, [ebp - 8]
mov edx, 2
call fcn.00013cf4
ret

Function at 0x1c028
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x1c103
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x22930], 0
je 0x1c055
mov dl, 1
mov eax, dword [0x22930]
call fcn.0001bb20
mov bl, 0x42
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00013df0
lea eax, [ebp - 4]
mov edx, 0x1c118
call fcn.00013e5c
mov eax, dword [ebp - 4]
call fcn.00014054
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x1c0ab
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00013df0
lea eax, [ebp - 8]
mov edx, 0x1c118
call fcn.00013e5c
mov eax, dword [ebp - 8]
call fcn.00014054
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 4
jne 0x1c0de
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00013df0
lea eax, [ebp - 0x10]
mov edx, 0x1c118
call fcn.00013e5c
mov eax, dword [ebp - 0x10]
call fcn.00014054
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00013e00
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0001bb20
inc ebx
cmp bl, 0x5b
jne 0x1c057
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1c10a
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00013cf4
ret

Function at 0x1c1ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
call fcn.000127d8
mov eax, 0x5a
call fcn.00012c18
inc eax
imul edi, eax, 0xea60
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, ebx
sub eax, esi
cmp edi, eax
ja 0x1c233
call fcn.0001c028
mov esi, ebx
mov eax, 0x5a
call fcn.00012c18
inc eax
imul edi, eax, 0xea60
push 0x1f4
call sub.kernel32.dll_Sleep
jmp 0x1c20c