joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005a7b0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14005a95e
push rbp
push rdi
push r14
sub rsp, 0x30
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
mov rdi, qword [rbp + 0x1f8]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14005a7f9
mov byte [rsi], 0xff
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005a807
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005a815
mov byte [rax], Ordinal_33
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x58], ax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbx]
movzx r8d, ax
mov word [rsp + 0x50], ax
cmp rcx, rbx
jae 0x14005a84f
mov byte [rcx], r15b
inc qword [rbx]
mov rdx, qword [rbx]
mov r15, qword [rsp + 0x20]
cmp rdx, rbx
jae 0x14005a866
movzx ecx, byte [rsp + 0x59]
mov byte [rdx], cl
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005a874
mov byte [rax], r8b
inc qword [rbx]
mov rcx, qword [rbx]
cmp rcx, rbx
jae 0x14005a886
movzx eax, byte [rsp + 0x51]
mov byte [rcx], al
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005a894
mov byte [rax], 0xff
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005a8a2
mov byte [rax], 0xf0
inc qword [rbx]
mov rax, qword [rbx]
lea r8, [rdi + 0x1cba]
mov r9, rax
mov qword [rdi + 0x1ec0], rax
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140059ee0
mov rcx, qword [r14 + 0x238]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
test eax, eax
jns 0x14005a90a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140038e70
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14005a630
mov rcx, qword [r14 + 0x238]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005a956
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140038e70
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
Function at 0x14005bec0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14017c0f0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0x750]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14005bf5c
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call fcn.14009b9a0
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xe8], rsi
cmp r8d, 4
jge 0x14005bfb7
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140038e70
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14006e6a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rax, qword [rbx + 0x168]
movzx ecx, byte [rax]
movzx edx, byte [rax + 1]
shl ecx, 8
or edx, ecx
mov dword [rbx + 0xc], edx
sub edx, 3
je 0x14005c049
sub edx, 1
je 0x14005c0c3
sub edx, 1
je 0x14005c01d
cmp edx, 1
je 0x14005c000
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14015ba60]
call fcn.140038e70
jmp 0x14005c0c3
add r8d, 0xfffffffe
lea rdx, [rax + 2]
mov rcx, rbx
call fcn.14005bba0
test eax, eax
je 0x14005c0c3
jmp 0x14005bf89
movzx ecx, byte [rax + 2]
lea rdx, [0x140137c50]
movzx eax, byte [rax + 3]
mov r8, qword [rbx + 0x168]
shl ecx, 8
add r8, 4
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rdi
call fcn.140038f70
jmp 0x14005c0c3
cmp r8d, 4
jle 0x14005c0c3
movzx ecx, byte [rax + 2]
movzx eax, byte [rax + 3]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14005c0c3
lea eax, [r8 - 4]
mov edx, 1
mov r8, qword [rbx + 0x168]
mov rcx, r14
add r8, 4
movsxd r9, eax
call fcn.140038cd0
mov esi, eax
test eax, eax
je 0x14005c0a2
mov edx, 5
mov rcx, rbx
call fcn.14005cae0
mov eax, esi
jmp 0x14005bf89
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400454e0
mov rcx, r14
call fcn.1400458d0
test eax, eax
je 0x14005bf87
mov edx, 5
mov rcx, rbx
call fcn.14005cae0
mov eax, Ordinal_46
jmp 0x14005bf89
Function at 0x14006a600
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, r8
mov rsi, rdx
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14006a620
test rbx, rbx
je 0x14006a63a
lea rcx, [rbx + rbx]
call qword [section..data]
jmp 0x14006a647
lea rcx, [0x14015b600]
call qword [case.0x14002c166.0]
mov rdi, rax
test rax, rax
jne 0x14006a657
lea eax, [rdi + 0x1b]
jmp 0x14006a722
xor ecx, ecx
test rbx, rbx
je 0x14006a674
nop
movzx eax, byte [rcx + rsi]
mov byte [rdi + rcx*2], al
mov byte [rdi + rcx*2 + 1], 0
inc rcx
cmp rcx, rbx
jb 0x14006a660
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14006a70f
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14006a702
mov rcx, qword [rsp + 0x30]
lea r8d, [rbx + rbx]
xor r9d, r9d
mov dword [rsp + 0x68], reloc.WS2_32.dll_recv
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov r8, rbp
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, rdi
mov dword [rbp + 0x10], eax
mov byte [rbp + 0x14], al
call qword [fcn.14009d4ac]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14006d120
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [section..data]
mov rdi, rax
test rax, rax
jne 0x14006d162
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14006d1a5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14006d202
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14006d1c0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14006d243
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14014416a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14014416b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14006d210
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400d0e38
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400d0b88
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d0b88
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d0b88
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d0b88
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d0b88
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d0b88
cmp dword [rcx + 0xf8], esi
je 0x1400d0b88
mov ecx, r14d
call fcn.1400d0d4c
mov ecx, 2
call fcn.1400d6218
nop
cmp byte [0x140180100], 0
jne 0x1400d0c52
mov r15d, 1
mov eax, r15d
xchg dword [0x1401800f0], eax
test ebx, ebx
jne 0x1400d0bfb
mov rdi, qword [0x14017c0f0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1401800f8]
cmp rcx, rax
je 0x1400d0bf2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140018aa0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140180450]
jmp 0x1400d0c07
cmp ebx, r15d
jne 0x1400d0c0d
lea rcx, [0x140180468]
call fcn.1400d25d0
nop
test ebx, ebx
jne 0x1400d0c24
lea rdx, [0x140137a90]
lea rcx, [0x140137a70]
call fcn.1400d2b5c
lea rdx, [0x140137aa0]
lea rcx, [0x140137a98]
call fcn.1400d2b5c
movzx eax, byte [0x140180100]
test esi, esi
cmove eax, r15d
mov byte [0x140180100], al
jmp 0x1400d0c52
mov ecx, 2
call fcn.1400d626c
test esi, esi
jne 0x1400d0c69
mov ecx, r14d
call fcn.1400d0c84
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400d0b18
Function at 0x1400e6160
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400e5d8c
call fcn.1400a8024
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.1400a5674
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400e5d74
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400e5d74
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1400e5dbe
lock or dword [rax + 0x14], 0x10
jmp 0x1400e5d74
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400e5ddb
mov rcx, qword [rbp + 0x10]
call fcn.1400ee158
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400e0514
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400d5150
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1400e5e32
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1400e5d74
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400e5e9e
mov rcx, qword [rbp + 0x10]
call fcn.1400e0514
cmp eax, 0xffffffff
je 0x1400e5e85
mov rcx, qword [rbp + 0x10]
call fcn.1400e0514
cmp eax, 0xfffffffe
je 0x1400e5e85
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400e0514
movsxd rdi, eax
lea rsi, [0x140180fe0]
mov rcx, rbx
sar rdi, 6
call fcn.1400e0514
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1400e5e8c
lea rax, [0x14017c760]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400e5e9e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1400e5ed4
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400e5ed0
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400e5ed0
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1400e5d77
jmp 0x1400e5d44
Function at 0x1400e6168
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400e5f3e
call fcn.1400a8024
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.1400a5674
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400e5f20
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400e5f20
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1400e5f70
lock or dword [rax + 0x14], 0x10
jmp 0x1400e5f20
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400e5f8d
mov rcx, qword [rbp + 0x20]
call fcn.1400ee158
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1400e5fa2
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1400e5fa8
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400e0514
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400d5150
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1400e5ffb
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1400e5f20
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400e6067
mov rcx, qword [rbp + 0x20]
call fcn.1400e0514
cmp eax, 0xffffffff
je 0x1400e604e
mov rcx, qword [rbp + 0x20]
call fcn.1400e0514
cmp eax, 0xfffffffe
je 0x1400e604e
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400e0514
movsxd rdi, eax
lea r15, [0x140180fe0]
mov rcx, rbx
sar rdi, 6
call fcn.1400e0514
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1400e6055
lea rax, [0x14017c760]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400e6067
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1400e609d
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400e6099
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400e6099
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1400e60bb
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1400e60c6
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1400e5f25
jmp 0x1400e5eec
Function at 0x1400eae4c
Capabilities:
Create thread
Print debug messages

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 r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.1400e2afc
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x1400eae9f
test rbx, rbx
je 0x1400eae90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x1400eae9f
mov edi, 4
jmp 0x1400eaf48
call fcn.1400e28a4
test al, al
jne 0x1400eaebc
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x1400eaf48
test bpl, bpl
je 0x1400eaf1f
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x1400eacf0]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400eaf48
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x1400eaf19
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400eaf48
mov edi, dword [rsp + 0x44]
jmp 0x1400eaf11
call fcn.1400e2a28
test al, al
jne 0x1400eaf30
bts esi, 0x15
xor ecx, ecx
jmp 0x1400eaf38
call fcn.1400e2960
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.1400e26dc
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x1400f5d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rsi, rdx
mov ecx, 3
xor bpl, bpl
call fcn.140023cc0
call fcn.1400237c0
mov r8, qword [rsi]
mov edx, 0x2712
mov rcx, rax
mov rdi, rax
call fcn.1400266e0
lea r8, [0x140123a80]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.1400266e0
mov r8, rbx
mov edx, 0x2711
mov rcx, rdi
call fcn.1400266e0
lea r8, [rsp + 0x20]
mov dword [rsp + 0x2e], 0x302e31
mov edx, 0x2722
mov dword [rsp + 0x24], 0x2d6c7275
mov rcx, rdi
mov dword [rsp + 0x20], 0x6362696c
mov dword [rsp + 0x28], 0x6e656761
mov word [rsp + 0x2c], 0x2f74
call fcn.1400266e0
mov rcx, rdi
call fcn.1400239f0
test eax, eax
movzx ebx, bpl
mov ecx, 1
cmove ebx, ecx
mov rcx, rdi
call fcn.140023560
mov rdx, qword [rsi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f5e27
mov r9, qword [rdx]
lea r8, vtable.ATL::CAtlStringMgr.0
mov rcx, qword [r9]
mov rax, qword [rcx + 8]
cmp rcx, r8
jne 0x1400f5e3f
mov rcx, qword [r9 + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x58]
movzx eax, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, r9
call rax
jmp 0x1400f5e27

Function at 0x1400f61f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov rdi, r8
mov rsi, rdx
mov dword [rsp + 0x50], 0
jb 0x1400f6214
mov rdx, qword [rdx]
lea rax, [rsp + 0x68]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400f6274
cmp qword [rdi + 0x18], 0x10
mov dword [rsp + 0x58], 4
jb 0x1400f624c
mov rdx, qword [rdi]
jmp 0x1400f624f
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rsp + 0x50]
mov rcx, rsi
call fcn.14001b510
mov rcx, rdi
call fcn.14001b510
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400f76b0
Capabilities:
Get common file path
Get disk information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x690
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov r15, rcx
xor edi, edi
mov dword [rbp + 8], edi
call fcn.140020290
mov rcx, rax
test rax, rax
jne 0x1400f76ef
mov ecx, 0x80004005
call fcn.14001fe40
int3
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
lea r12, vtable.ATL::CAtlStringMgr.0
cmp rax, r12
jne 0x1400f770c
lock inc dword [rcx + 0x20]
lea rax, [rcx + 0x10]
jmp 0x1400f770e
call rdx
lea rbx, [rax + 0x18]
mov qword [rbp], rbx
lea rdx, [0x14015b600]
or rsi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x1400f774c
movzx r14d, dx
mov ecx, r14d
call fcn.14001fc80
test rax, rax
je 0x1400f7769
mov r8d, r14d
mov rdx, rax
lea rcx, [rbp]
call fcn.14001f520
jmp 0x1400f7765
mov rax, rsi
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x1400f7750
mov r8d, eax
lea rcx, [rbp]
call fcn.14001f7c0
mov rbx, qword [rbp]
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x440]
call fcn.14009c0b0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x230]
call fcn.14009c0b0
mov dword [rbp + 0x698], edi
mov dword [rbp + 0x6a8], edi
mov dword [rbp + 0x6a0], edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x20]
call fcn.14009c0b0
xor r9d, r9d
lea r8d, [r9 + 0x25]
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov word [rbp + 0x26], di
mov dword [rsp + 0x38], 0x105
lea rax, [rbp + 0x230]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x6a0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6a8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x698]
mov r8d, 0x105
lea rdx, [rbp + 0x440]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400f7834
mov r8d, dword [rbp + 0x698]
lea rdx, [0x14015fa48]
lea rcx, [rbp]
call fcn.140021430
mov rbx, qword [rbp]
test rbx, rbx
je 0x1400f78ac
mov rcx, rsi
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400f7840
inc ecx
cmp ecx, 0x3fffffff
jg 0x1400f78ac
movsxd rax, ecx
add rax, rax
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x1400f786c
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14006ea10
sub rsp, rdx
lea r14, [rsp + 0x40]
test r14, r14
je 0x1400f78ac
mov word [r14], di
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r14
mov r9d, esi
mov r8, rbx
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
cmove r14, rdi
mov rdi, r14
mov rdx, rdi
mov rcx, r15
call fcn.140021d10
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400f78ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
cmp rax, r12
jne 0x1400f78ea
mov rcx, qword [rcx + 8]
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400f78ed
call r8
mov rax, r15
lea rsp, [rbp + 0x650]
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret