joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc01ab0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xc01abd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xc01acd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xc01ab5
lea eax, [rcx + 1]
jmp 0xc01adb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xc01aee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xc01ad4
sub eax, 3
jb 0xc01b0e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xc01b5d
sar eax, 1
movsxd rbp, eax
jb 0xc01b44
jmp 0xc01b1c
add ebx, ebx
jne 0xc01b1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc01b44
inc ecx
add ebx, ebx
jne 0xc01b2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc01b44
call r11
adc ecx, ecx
add ebx, ebx
jne 0xc01b3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xc01b2c
add ecx, 2
jmp 0xc01b49
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00c01a72
jmp 0xc01abd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x404600
mov dl, 0x9c
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xc01bad
cmp rsi, rcx
jae 0xc01bb5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xc01b94
cmp al, 0x8f
ja 0xc01b94
cmp byte [rsi - 2], 0xf
je 0xc01b9a
sub al, 0xe8
cmp al, 1
ja 0xc01b7e
cmp rsi, rcx
jae 0xc01bb5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xc01b84
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xc01bb5
lodsb al, byte [rsi]
jmp 0xc01b94
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7f7000]
mov eax, dword [rdi]
or eax, eax
je 0xc01c12
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x801000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xc01bc2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xc01c0c
mov qword [rbx], rax
add rbx, 8
jmp 0xc01be2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xc01c56
cmp al, 0xef
ja 0xc01c3e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xc01c1e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xc01c2d
mov eax, dword [rdi]
add rdi, 4
jmp 0xc01c2d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.00c01cd5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.00c01cd5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xc01cc5
sub rsp, 0xffffffffffffff80
jmp 0x4014f0
Function at 0x14002a090
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14001d560
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400b4e68], rbx
jne 0x14002a196
lea rcx, [0x14009a990]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14002a26b
lea rdx, [0x14009a980]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002a26b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14009a970]
mov rcx, rsi
mov qword [0x1400b4e68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14009a958]
mov rcx, rsi
mov qword [0x1400b4e70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14009a938]
mov rcx, rsi
mov qword [0x1400b4e78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400b4e88], rax
test rax, rax
je 0x14002a18d
lea rdx, [0x14009a920]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400b4e80], rax
jmp 0x14002a19d
mov rax, qword [0x1400b4e80]
jmp 0x14002a1a4
mov rax, qword [0x1400b4e80]
mov r11, qword [0x1400b4e88]
cmp rax, rdi
je 0x14002a20c
cmp r11, rdi
je 0x14002a20c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400b4e88]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14002a20c
test rax, rax
je 0x14002a20c
call rsi
test rax, rax
je 0x14002a206
lea rcx, [rsp + 0x88]
mov r9d, recvfrom
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002a206
test byte [rsp + 0x38], 1
jne 0x14002a20c
bts ebp, 0x15
jmp 0x14002a24a
mov rcx, qword [0x1400b4e70]
cmp rcx, rdi
je 0x14002a24a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002a24a
call rax
mov rbx, rax
test rax, rax
je 0x14002a24a
mov rcx, qword [0x1400b4e78]
cmp rcx, rdi
je 0x14002a24a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002a24a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400b4e68]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002a26b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002a26d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14003ec70
Capabilities:
Create directory
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xa90
mov dil, r9b
mov rbx, r8
mov rcx, rdx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x880]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor esi, esi
cmp eax, esi
jne 0x14003ecb0
xor eax, eax
jmp 0x14003ee11
lea r8, [rsp + 0x880]
lea rdx, [0x1400a16d8]
lea rcx, [rsp + 0x50]
call fcn.1400178dc
lea rcx, [rsp + 0x50]
call fcn.140016a44
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x14003ecfc
lea rcx, [rsp + 0x50]
call fcn.140016a44
cmp word [rsp + rax*2 + 0x4c], 0x3a
je 0x14003ecfc
lea rcx, [rsp + 0x50]
call fcn.140016a44
mov word [rsp + rax*2 + 0x4e], si
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, esi
jne 0x14003ed10
cmp dil, sil
je 0x14003eca9
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003ed50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14003eca9
xor edx, edx
lea rcx, [rsp + 0x260]
lea r8d, [rdx + 0x14]
call fcn.140017520
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x260], 0xa0000003
call fcn.140016a44
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x270]
add ax, ax
mov r8d, 0x104
mov word [rsp + 0x26a], ax
add ax, 2
mov word [rsp + 0x26c], ax
call fcn.14001760c
movzx r11d, word [rsp + 0x26a]
add r11w, 0xc
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
movzx r9d, r11w
lea r8, [rsp + 0x260]
mov edx, 0x900a4
mov rcx, rdi
add r9d, 8
mov dword [rsp + 0x28], esi
mov word [rsp + 0x264], r11w
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rdi
cmp eax, esi
jne 0x14003ee06
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003ed42
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea r11, [rsp + 0xa90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14003ef50
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x230
mov rbx, rdx
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [0x14009e838]
lea rcx, [rsp + 0x20]
mov r9, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
add rsp, 0x230
pop rbx
ret

Function at 0x14003f110
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x48c]
mov rbx, rcx
mov r8d, 0x10000
test eax, eax
je 0x14003f12e
cmp eax, r8d
jne 0x14003f14a
mov r9, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x480]
mov edx, 1
call fcn.140019a28
and dword [rbx + 0x48c], 0
movsxd rdx, dword [rbx + 0x48c]
mov rax, qword [rbx + 0x480]
mov al, byte [rdx + rax]
lea ecx, [rdx + 1]
mov dword [rbx + 0x48c], ecx
add rsp, 0x20
pop rbx
ret
Function at 0x1400407d0
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov esi, edx
mov edi, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, SafeArrayCreateEx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor ebx, ebx
cmp eax, ebx
jne 0x14004080e
xor eax, eax
jmp 0x1400408ac
lea r8, [rsp + 0x34]
lea rdx, [0x14009e3a0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x30]
mov ebp, 1
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x3c], 2
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x140040807
cmp edi, 0x20
je 0x1400408a1
cmp edi, 0x40
je 0x1400408a3
test dil, 0xb
jne 0x140040878
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x1400408ac
test dil, 0x14
mov r9d, ebx
mov dword [rsp + 0x28], esi
cmovne r9d, ebp
test dil, 2
cmovne ebx, ebp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
jmp 0x1400408ac
mov ebx, ebp
xor edx, edx
mov ecx, ebx
call sub.KERNEL32.dll_SetSystemPowerState
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400408d0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2c0
mov rdi, rdx
movsxd rbx, ecx
lea rdx, [rsp + 0x120]
mov ecx, 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x1400409a9
lea rcx, [rsp + 0x20]
mov edx, 0x100
call sub.WSOCK32.dll_gethostname
lea rcx, [rsp + 0x20]
call sub.WSOCK32.dll_gethostbyname
test rax, rax
je 0x1400409a9
mov r9, qword [rax + 0x18]
xor ecx, ecx
cmp qword [r9], rcx
je 0x140040939
mov rax, r9
add rax, 8
inc ecx
cmp qword [rax], 0
jne 0x14004092d
cmp ebx, ecx
jle 0x14004094e
lea rdx, str.0.0.0.0
mov rcx, rdi
call fcn.140016e4c
jmp 0x1400409a2
mov rdx, qword [r9 + rbx*8 - 8]
lea rcx, [rsp + 0x2e0]
mov r8d, 4
call fcn.140016710
mov ecx, dword [rsp + 0x2e0]
call sub.WSOCK32.dll_inet_ntoa
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140017e10
lea rcx, [rsp + 0x20]
or edx, 0xffffffff
call fcn.14003fb00
mov rcx, rdi
mov rdx, rax
mov rbx, rax
call fcn.140016e4c
mov rcx, rbx
call fcn.140016a60
call sub.WSOCK32.dll_WSACleanup
jmp 0x1400409b8
lea rdx, [0x14009b6c0]
mov rcx, rdi
call fcn.140016e4c
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2c0
pop rdi
ret
Function at 0x140059cd0
Capabilities:
Copy file
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x480
mov rbx, rdx
lea rdx, [rsp + 0x270]
mov dil, r8b
call fcn.1400151d0
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400151d0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
cmp eax, ebx
jne 0x140059d52
cmp dil, bl
je 0x140059d4b
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call fcn.140017790
cmp eax, ebx
je 0x140059d44
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x140059dfe
xor al, al
jmp 0x140059dfe
lea rcx, [rsp + 0x270]
call fcn.140040ec0
cmp al, bl
je 0x140059d4b
lea rcx, [rsp + 0x60]
call fcn.140040ec0
cmp al, bl
je 0x140059e0f
cmp dil, bl
je 0x140059d4b
lea rdx, [0x14009e2c0]
lea rcx, [rsp + 0x270]
call fcn.140016e20
lea rcx, [rsp + 0x270]
call fcn.140016a44
lea rcx, [rsp + 0x60]
mov word [rsp + rax*2 + 0x272], bx
call fcn.140016a44
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
lea rax, [rsp + 0x270]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x38], rax
mov eax, 0x614
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 2
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, ebx
sete al
mov rbx, qword [rsp + 0x490]
add rsp, 0x480
pop rdi
ret
lea rcx, [rsp + 0x60]
call fcn.140040a20
cmp al, bl
je 0x140059d4b
lea rcx, [rsp + 0x60]
call fcn.140040ec0
cmp al, bl
jmp 0x140059d78
Function at 0x140059e40
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
mov eax, 0x1100
call fcn.140030cb0
sub rsp, rax
mov rbx, rdx
lea rdx, [rsp + 0x460]
xor edi, edi
mov r12b, r9b
mov r13b, r8b
mov sil, dil
call fcn.1400151d0
lea rdx, [rsp + 0x670]
mov rcx, rbx
call fcn.1400151d0
lea rdx, [rsp + 0x670]
lea rcx, [rsp + 0x460]
call fcn.140040e10
lea rcx, [rsp + 0x460]
mov r14b, al
call fcn.140040ec0
cmp al, dil
je 0x140059ecf
lea rdx, [0x14009e2c0]
lea rcx, [rsp + 0x460]
call fcn.140016e20
lea rcx, [rsp + 0x670]
call fcn.140040ec0
cmp al, dil
je 0x140059ef5
lea rdx, [0x14009e2c0]
lea rcx, [rsp + 0x670]
call fcn.140016e20
lea rax, [rsp + 0xef0]
lea r9, [rsp + 0xad0]
lea r8, [rsp + 0xce0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x460]
mov qword [rsp + 0x20], rax
call fcn.14001823c
lea rdx, [rsp + 0x880]
lea rcx, [rsp + 0x460]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov bpl, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005a098
cmp bpl, 1
jne 0x14005a098
test byte [rsp + 0x880], 0x10
jne 0x14005a06a
lea rax, [rsp + 0x250]
lea r9, [rsp + 0x670]
lea r8, [rsp + 0xef0]
lea rdx, [rsp + 0xad0]
lea rcx, [rsp + 0x8ac]
mov qword [rsp + 0x20], rax
call fcn.140040c40
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016e4c
lea rdx, [rsp + 0xce0]
lea rcx, [rsp + 0x40]
call fcn.140016e20
lea rdx, [rsp + 0x8ac]
lea rcx, [rsp + 0x40]
call fcn.140016e20
lea rcx, [rsp + 0x250]
call fcn.140040f30
cmp al, dil
je 0x14005a007
cmp r13b, dil
je 0x14005a08b
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x14005a027
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
cmp r12b, 1
jne 0x14005a05a
cmp r14b, dil
jne 0x14005a040
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14005a063
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
je 0x14005a09b
jmp 0x14005a067
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
je 0x14005a08b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14005a063
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
je 0x14005a08b
mov sil, 1
lea rdx, [rsp + 0x880]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
jne 0x140059f4a
mov bpl, dil
jmp 0x140059f4a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x14005a0a7
mov dil, sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x14005a0d0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xac0
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov bpl, bl
call fcn.1400151d0
lea rcx, [rsp + 0x30]
call fcn.140040ec0
cmp al, bl
je 0x14005a115
lea rdx, [0x14009e2c0]
lea rcx, [rsp + 0x30]
call fcn.140016e20
lea rax, [rsp + 0x8b0]
lea r9, [rsp + 0x6a0]
lea r8, [rsp + 0x490]
lea rdx, [rsp + 0xad8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.14001823c
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dil, 1
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14005a1d6
cmp dil, 1
jne 0x14005a1d6
test byte [rsp + 0x240], 0x10
jne 0x14005a1bc
lea rdx, [rsp + 0xad8]
lea rcx, [rsp + 0x30]
mov bpl, dil
call fcn.140016e4c
lea rdx, [rsp + 0x490]
lea rcx, [rsp + 0x30]
call fcn.140016e20
lea rdx, [rsp + 0x26c]
lea rcx, [rsp + 0x30]
call fcn.140016e20
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x14005a1d9
lea rdx, [rsp + 0x240]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
jne 0x14005a163
mov dil, bl
jmp 0x14005a163
mov bl, bpl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0xac0]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400681a0
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x2e0
mov rbx, rcx
xor r12d, r12d
lea rcx, [rsp + 0x58]
mov rsi, r9
mov rbp, r8
mov rdi, rdx
mov qword [rsp + 0x30], r12
mov qword [rax + 0x20], r12
call fcn.14000fd50
lea rcx, [rsp + 0x38]
call fcn.14000fd50
lea rcx, [rsp + 0x78]
call fcn.14000fd50
lea rdx, str.SOFTWAREClasses_
lea rcx, [rsp + 0x58]
call fcn.1400107e0
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.140011830
lea rdx, [0x1400a1ee8]
lea rcx, [rsp + 0x58]
call fcn.140011830
lea rdx, [0x14009b6c0]
lea rcx, [rsp + 0x38]
call fcn.1400107e0
cmp rdi, r12
je 0x14006825c
cmp word [rdi], 0x5c
je 0x14006825c
cmp word [rdi + 2], 0x5c
je 0x14006825c
lea rdx, [0x1400a1ef8]
lea rcx, [rsp + 0x38]
call fcn.1400107e0
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.140011830
cmp rsi, r12
je 0x1400682cf
xor edx, edx
lea rcx, [rsp + 0x98]
lea r8d, [rdx + 0x30]
call fcn.140017520
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x9c], r12d
call fcn.140012600
lea rdx, str.IPC_
lea rcx, [rsp + 0x78]
call fcn.140011830
mov r11, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x320]
lea rcx, [rsp + 0x98]
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0xb0], r11
call sub.MPR.dll_WNetAddConnection2W
mov edi, eax
cmp eax, r12d
jne 0x1400683bc
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rdx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov edi, eax
cmp eax, r12d
jne 0x1400683bc
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x318]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, r12d
jne 0x1400683b1
mov rcx, qword [rsp + 0x318]
lea rax, [rsp + 0x308]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x308], 0x1fe
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp eax, r12d
jne 0x1400683a3
mov eax, dword [rsp + 0x308]
lea rcx, [rsp + 0xd0]
shr eax, 1
mov dword [rsp + 0x308], eax
mov word [rsp + rax*2 + 0xd0], r12w
call fcn.140015220
mov rdx, rbp
mov rcx, rax
mov rbx, rax
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov rcx, rbx
mov edi, eax
call fcn.140017be8
mov rcx, qword [rsp + 0x318]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x78]
call fcn.140002610
lea rcx, [rsp + 0x38]
call fcn.140002610
lea rcx, [rsp + 0x58]
call fcn.140002610
lea r11, [rsp + 0x2e0]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140068400
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x290
mov rsi, rcx
lea rcx, [rsp + 0x40]
movaps xmmword [rax - 0x28], xmm6
mov rbp, rdx
call fcn.14000fd50
lea rdx, [rsp + 0x38]
movsd xmm6, qword [0x1400a3c88]
mov rcx, rsi
call qword [sym.imp.ole32.dll_StringFromIID]
xor r12d, r12d
cmp eax, r12d
mov edi, eax
jl 0x140068623
mov rcx, qword [rsp + 0x38]
call fcn.140015220
lea rdx, str.interface_
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.1400107e0
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140011830
lea rdx, str.TypeLib
lea rcx, [rsp + 0x40]
call fcn.140011830
mov rcx, rbx
call fcn.140017be8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdx, qword [rsp + 0x40]
lea r11, [rsp + 0x2c8]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, r12d
jne 0x140068623
mov rcx, qword [rsp + 0x2c8]
lea rax, [rsp + 0x2c0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x2c0], 0x1fe
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp eax, r12d
jne 0x140068615
mov eax, dword [rsp + 0x2c0]
lea rcx, [rsp + 0x70]
shr eax, 1
mov dword [rsp + 0x2c0], eax
mov word [rsp + rax*2 + 0x70], r12w
call fcn.140015220
lea rdx, [rsp + 0x60]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov rcx, rbx
mov edi, eax
call fcn.140017be8
cmp edi, r12d
jl 0x140068615
mov rcx, qword [rsp + 0x2c8]
lea rax, [rsp + 0x2c0]
lea rdx, [0x1400a1eb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x2c0], 0x1fe
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x1400685bd
mov eax, dword [rsp + 0x2c0]
lea rcx, [rsp + 0x70]
shr eax, 1
mov dword [rsp + 0x2c0], eax
mov word [rsp + rax*2 + 0x70], r12w
call fcn.1400184a4
movapd xmm6, xmm0
movsd xmm1, qword [0x1400a3c88]
movapd xmm0, xmm6
call fcn.14001be00
lea rax, [rsp + 0x30]
cvttsd2si rdx, xmm6
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
cvttsd2si r8, xmm0
call qword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
cmp eax, r12d
mov edi, eax
jl 0x140068615
mov rcx, qword [rsp + 0x30]
mov r8, rbp
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x30]
mov edi, eax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rsp + 0x2c8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x40]
call fcn.140002610
lea r11, [rsp + 0x290]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret