joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140057e94
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
jns 0x1400943f2
shr byte [rsp + 0x48], 0x8e
test word [rsp + 0x38], 0xedad
not dword [rsp + 0x38]
push qword [rsp + 0x58]
popfq
lea rsp, [rsp + 0x60]
ret
or ebx, dword [rsp + rbx - 0xb1497]
movsx rbx, byte [rsp + rbx*8 - 0x58f878]
shr qword [rsp + rbx + 0x68], 0x39
call fcn.1400693da

Function at 0x140058da8
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
movabs r12, 0x1193f601f52bb731
shr r12d, 0xa5
movzx r12d, r12w
add r12, 0xffffffffa61c1390
mov rcx, qword [rsp + r12 + 0x59e38ecf]
call fcn.14002153d
seto byte [rsp + rcx + 0x40]
js 0x14001029b
mov r14, qword [rsp + rcx + 0x20]
jb 0x1400860a2
call fcn.1400bb9d6
and dword [rbp + 0x25a36a1d], ebp
invalid

Function at 0x14005a7a0
Capabilities:
Connect pipe
Read file on windows

Disassembly:
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x1400022fd
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002308
cmp dword [rsp + 0x48], 4
jne 0x140002308
mov ecx, dword [rsp + 0x50]
mov rdx, rbx
call rdi
jmp 0x140002308
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x1400022b9
jle 0x14007cdef
jg 0x14000230b
call fcn.140073748

Function at 0x14005f611
Capabilities:
Connect pipe
Packed with generic packer
Read file on windows
Set registry value

Disassembly:
movabs rsi, 0xb0909b94138b0201
je 0x14008f3a1
lea rax, [rax + r14*8 + 0x24139eb2]
movabs rdi, 0xd401442ee0bd4d18
sub r14b, 0x11
cmp esi, ebp
lea r14, [rsi*4 + 0x283e6d8d]
not edi
xchg qword [rsp + rdi*2 - 0x3e85658e], rax
mov r14, qword [rsp + 0x28]
call fcn.14000f1ba
jne 0x14007ed93
and qword [rsp + 0x10], 0xffffffffcc2bcb90
cmp word [rsp + r10 + 0xdb360f], 0x970f
mov r11d, 0x19a57f89
mov r10, qword [rsp + r11*4 - 0x6695fe1c]
jns 0x1400b06a5
neg ax
push rbp
push rdi
jle 0x1400612fc
je 0x14001c49c
jg 0x1400ae439
pop rbp
int1
int3
xor edx, 0xf1131dbd
push r13
shr edx, 0xc4
je 0x1400215e6
mov rdx, qword [rsp + rdx - 0x101925a]
mov rdx, qword [rdx]
call fcn.1400bec7a
test r13d, 0x2010c39b
mov r13w, 0xf010
cmovle r14w, r13w
setae r13b
setns r14b
xchg qword [rsp + 0x48], rbx
mov r13, qword [rsp + 0x10]
test r14b, r14b
lea r14, [r14 + r14*8 - 0x4af7e9e2]
je 0x14004b011
cmp r14w, 0xf780
sets r14b
cmp r14b, 0x87
mov r14, qword [rsp + 0x30]
jno 0x1400b9ee1
call fcn.14004e2f7
popfq
lea rsp, [rsp + 0x28]
ret
mov rax, qword [rsp + r14*8 + 0x38]
mov rax, qword [rax + r14]
mov rbp, r14
jg 0x140007060
sub qword [rsp + r11*4 - 0x6695fe04], r11
mov r11, qword [rsp + r11*2 - 0x334afee2]
call fcn.1400ae3f2
call fcn.140062293
Function at 0x1400632b8
Capabilities:
Connect pipe
Packed with generic packer
Read file on windows

Disassembly:
or bx, bx
setl bl
lea rbp, [rbp + 0x1f20ff9b]
cmp rbx, 0xffffffffccab9a92
mov qword [rsp + 0x18], rcx
jle 0x1400dbbb9
neg edi
mov rdi, qword [rsp + 0x10]
mov rdi, qword [rdi]
or qword [rsp + 0x20], 0xffffffffe113adb9
jle 0x140099b46
add qword [rsp], 0xffffffffffff36b9
add ebx, ecx
shr ecx, cl
ja 0x140014c82
jne 0x14006c8b2

Function at 0x1400632d7
Capabilities:
Connect pipe
Packed with generic packer
Read file on windows

Disassembly:
or bx, bx
setl bl
lea rbp, [rbp + 0x1f20ff9b]
cmp rbx, 0xffffffffccab9a92
mov qword [rsp + 0x18], rcx
jle 0x1400dbbb9
neg edi
mov rdi, qword [rsp + 0x10]
mov rdi, qword [rdi]
or qword [rsp + 0x20], 0xffffffffe113adb9
jle 0x140099b46
add qword [rsp], 0xffffffffffff36b9
add ebx, ecx
shr ecx, cl
ja 0x140014c82
jne 0x14006c8b2

Function at 0x14006bccc
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
xchg qword [rsp + r10 - 0x312], rax
mov r11, qword [rsp + r15*2 + 0x6ec]
call fcn.1400e1951

Function at 0x14006bce1
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
lea rcx, [rcx - 0x7c46b842]
jbe 0x14007c5f2
sub qword [rsp + rsi - 0x6f59ff7e], rsi
mov qword [rsp + rsi - 0x6f59ff76], rsi
push rcx
sete byte [rsp + rsi - 0x6f59ff76]
xchg qword [rsp + rsi - 0x6f59ff4e], rcx
mov rsi, qword [rsp + rsi - 0x6f59ff5e]
test byte [rsp + 0x18], 0
jns 0x1400a1378

Function at 0x14007d451
Capabilities:
Extract resource via kernel32 functions
Packed with generic packer
Set registry value

Disassembly:
lea rax, [rax + rsi - 0x2ece686a]
lea rsi, [rsi + rsi*2 - 0x687bb6db]
mov qword [rsp + 0x38], rsi
push r15
movabs r15, 0x8c21723df491d3ad
not byte [rsp + 0x40]
xchg qword [rsp + 0x58], rax
mov rsi, qword [rsp + 0x30]

Function at 0x14007dd42
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
mov r10b, byte [rsp + 9]
jl 0x140061d30
xor word [rsp + 0x30], r10w
neg r10w
mov r10d, 0x469e7e36
mov r10, qword [rsp + r10 - 0x469e7e16]
call fcn.1400c40e1
xor al, 0xf4
movabs eax, dword [0xbb489c3b8b6209f4]
pushfq
movabs rbx, 0x51b95690c23ea23a
mov bl, 0xb0
push r12
mov rbx, qword [rsp + 0x18]
mov qword [rsp + 0x18], 0x34f88923
push qword [rsp + 8]
popfq
lea rsp, [rsp + 0x18]
call fcn.1400e69a8
ret
call fcn.14008431c
lea rsi, [r13 + r13*2 - 0x11667953]
jle 0x140081317
invalid
lea rbx, [rbx - 0x869f8cd]
js 0x14005bc18
jg 0x1400729f3
shr edi, 0x6a
sub dil, r15b
xchg qword [rsp + 0x40], rbx
mov rdi, qword [rsp + rdi*8 - 0x2b0]

Function at 0x140080bf8
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
mov r14, qword [rsp + 0x10]
shl edx, 0xb0
not ebp
cmovae bx, word [rsp + 0x42]
jbe 0x1400662de
mov rbx, qword [rsp + 0x38]
jbe 0x140096223
js 0x14006d74b

Function at 0x140085e20
Capabilities:
Authenticate hmac

Disassembly:
mov rdi, qword [rsp + 0x38]
je fcn.140015420
sub dl, 0x30
add dx, dx
or rdx, 0x25a0992b
shl edx, 0x15
jns 0x1400d84b5
Function at 0x140086035
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
mov rcx, qword [rsp + rsi - 0x53cebd8]
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdx
movabs r11, 0x5e125bad518a40be
setae byte [rsp + 0x28]
and rbp, qword [rsp + rdx*4 - 0x1fd04]
lea rbp, [rsi*4 - 0x1ed079ee]
lea rcx, [rcx + rbp - 0x2bf063e1]
push rdx
setbe dl
neg rdx
xor esi, esi
test word [rsp + rdx*8 + 0x3f800], bp
xchg qword [rsp + rbp*8 + 0x4ee64fc0], rcx
Function at 0x14008bc39
Capabilities:
Execute shellcode via indirect call
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
jno 0x1400652a9
xor byte [rsp + 0x38], bl
add bl, bl
shl dword [rsp + 0x38], 0x46
cmp word [rsp + 0x38], 0x6b2f
jbe 0x1400beb6a
and byte [rsp + 0x40], r11b
mov r11, qword [rsp + 0x30]
xor qword [rsp + 0x28], 0x73d8ea9
or dword [rsp + 0x40], 0x42af9bba
test dword [rsp + 0x28], 0xed8c9138
lea rsp, [rsp + 0x38]
ret 8

Function at 0x14008c716
Capabilities:
Resolve function by parsing pe exports
Terminate process
Use process replacement

Disassembly:
and r8d, r8d
xor edi, dword [rsp + r8 - 0x1af12094]
mov dword [rsp + r8 - 0x1af12097], 0x32240f87
mov rdi, qword [rsp + rdi - 0x1cd]
shr dword [rsp + r8*4 - 0x6bc483e4], 0xf
shl r8d, 0x63
or r8, qword [rsp + 0x18]
sub word [rsp + 0x68], 0x6999
neg qword [rsp + 0x18]
mov r8, qword [rsp + 0x58]
add qword [rsp], 0xffffffffbff98b51
cmp qword [rsp + 0x68], 0xffffffffbf9a6183
not byte [rsp + 0x18]
call fcn.14005f9ce

Function at 0x140090df8
Capabilities:
Packed with generic packer
Set registry value

Disassembly:
movsx r13w, r14b
neg r13w
neg r14w
lea rbx, [rbx + 0x4002f58e]
lea r14, [r13 + r13*4 - 0xcf7a370]
jne 0x14005f632
Function at 0x1400943bd
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
push rbx
push r14
pushfq
movabs r14, 0x4f02aba68b12e816
or r14, r14
sub r14b, 0x36
sub r14, 0xfffffffff925cd1f
shr r14d, 4
mov rbx, qword [rsp + r14*4 - 0x247b46d8]
call fcn.14002ef96

Function at 0x140094416
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
jbe 0x140007f2e
cmp edi, r11d
mov r11, qword [rsp + 0x18]
push qword [rsp + 0x60]
popfq
mov rdi, qword [rsp + 0x50]
lea rsp, [rsp + 0x68]
ret

Function at 0x14009e7ef
Capabilities:
Delete registry key
Packed with generic packer
Query or enumerate registry key

Disassembly:
and al, 8
add dword [rax], ebx
stc
mov edi, 0x182444c6
mov dh, pe_nt_image_headers64
insb byte [rdi], dx
and al, 0x18
or eax, 0x11e7c041
cmp r15, 0x1ebf740e
lea rdi, [rdi - 0x38ce51ef]
mov qword [rsp + 0x18], 0x319e6a8d
jns 0x140091b85
push r10
mov qword [rsp + r12 + 0x6d177c38], rcx
mov r10, r12
cmp r12b, 0x96
call fcn.140055c19
cmp eax, 0xbf960186
out 0x34, al
mov cl, byte [rax - 0x7f]
invalid
invalid
and al, 0x28
jge 0x14004db66
invalid
lea rsi, [rsi*4 - 0x6ffc4c4f]
call fcn.14001e078
jns 0x140066083
jne 0x14004dbbe

Function at 0x14009e7fa
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov r15, qword [rsp + 8]
call fcn.1400767f1
pop rbx
push r11
pushfq
movabs r11, 0x6fb845a2b415eebc
mov r11b, 0x1b
call fcn.140095e19
jb 0x1400a6365
call fcn.14008ee0b
shl ebp, 0x21
lea rcx, [rcx + 1]
push rbp
push r15
ja 0x140058602

Function at 0x1400a1357
Capabilities:
Extract resource via kernel32 functions
Set registry value

Disassembly:
shr sil, 0x4e
call fcn.14006cc02

Function at 0x1400a1387
Capabilities:
Acquire debug privileges
Extract resource via kernel32 functions
Set registry value

Disassembly:
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
lea r13, [r13 + r13*8 + 0x4eb60ab9]
mov qword [rsp + 0x30], 0x7ea036bb

Function at 0x1400a3692
Capabilities:
Encode data using xor

Disassembly:
movabs r15, 0xa12d0f1ab5b2a79b
test byte [rsp + r10*8 - 0x30cdc7], r15b
ja 0x1400b1589
and qword [rsp + 0x30], 0xfffffffff4104005
mov r10, qword [rsp + r10*4 - 0x1866c4]
jg 0x14009511c
Function at 0x1400a635a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
jae fcn.1400acdd6
xor bp, 0xa3a2

Function at 0x1400a6375
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
add dword [rsp + 0x48], 0xbdb480a2
shl dword [rsp + 0x48], 0x21
xor dword [rsp + 0x48], 0x30be005
call fcn.1400e146f
invalid
sets byte [rsp + rcx*8 + 0x48]
mov rcx, qword [rsp + rcx*4 + 0x20]
and word [rsp + 0x48], 0xa985
jl 0x140053411

Function at 0x1400af8eb
Capabilities:
Authenticate hmac

Disassembly:
movzx cx, cl
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + rcx*2 - 0x40240048]
test cx, 0x68b2
mov qword [rsp + rcx*2 - 0x40240028], rcx
jl 0x14006249f
sub byte [rsp + rcx - 0x20120004], 0xb3
cmp dword [rsp + rcx - 0x20120004], 0x721ba73e
push r11
bswap ecx

Function at 0x1400b2dba
Capabilities:
Connect pipe
Packed with generic packer
Read file on windows

Disassembly:
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
or rbp, 0x79a77fa7
shr bpl, 0xac
cmp bp, r15w
jae fcn.14007657c
lea rcx, [rcx + 0x24139eb2]
test ebp, 0x5da8b294
mov qword [rsp + 0x30], r15
movsx rbp, r15w
call fcn.1400b9fd3

Function at 0x1400b9ee6
Capabilities:
Packed with generic packer
Set registry value

Disassembly:
jb 0x1400102b4
and sil, byte [rsp + 0xf]
or rsi, rsi
call fcn.140010012

Function at 0x1400b9ef9
Capabilities:
Packed with generic packer
Set registry value

Disassembly:
shl dword [rsp + 0x18], 0x5c
ja 0x140002581
and dword [rsp + 0x18], 0xb6a9de0d
xchg qword [rsp + 0x20], rbp
mov rdi, qword [rsp + 8]

Function at 0x1400baacc
Capabilities:
Encode data using base64

Disassembly:
or byte [rsp + 0x10], 0x3f
or byte [rsp + 0x10], 8
neg word [rsp + 0x10]
push qword [rsp]
popfq
lea rsp, [rsp + 0x20]
ret
call fcn.140086feb
add qword [rsp + rdi*2], 0xffffffffbff1eb23
bswap rdi
lea rbp, [rbp + rdi - 0x617f49e2]
cmp dword [rsp + rdi + 0x20], 0x6f38362a
mov qword [rsp + rdi*8 + 0x28], rdi
setae byte [rsp + rdi + 8]
xchg qword [rsp + rdi*2 + 0x40], rbp
mov rdi, qword [rsp + rdi*2 + 0x38]
jb 0x1400aaa88
jle fcn.14008b6b9
jno 0x140076e55
invalid

Function at 0x1400be1d3
Capabilities:
Create thread

Disassembly:
adc eax, 0x251258
jns 0x14000262f
mov rbp, rcx
call fcn.14009a4f6

Function at 0x1400cb49c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rsi
movabs rsi, 0x7f3e52166f30a2ab
shl bpl, 0xdc
je 0x1400e0a55
mov ebp, ebx
jg 0x1400cb4b6
or al, byte [rax + rax]
add al, 0
or dh, byte [rdx + rax]
add eax, 0xf000134
invalid
or dword [rbx], 0x49
invalid
Function at 0x1400d26a8
Capabilities:
Connect pipe
Read file on windows
Write file on windows
Write pipe

Disassembly:
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x140002e0f
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, 4
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002e1a
mov ecx, dword [rsp + 0x60]
call rdi
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 1
mov byte [rsp + 0x58], 0x4d
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140002e1a
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x140002db1
js fcn.140084131
mov word [rsp + r12 + 0x57c35648], 0x462f
js 0x140002e1d
cmp dword [rsp + 0x48], 0x553838a1
mov rbx, qword [rsp + r12 + 0x57c35660]
call fcn.14005f569
invalid

Function at 0x1400d6d5c
Capabilities:
Encode data using xor

Disassembly:
add qword [rsp + 0x10], 0xffffffffbffe27f9
mov rdx, qword [rsp + r10 + 0x10065]
call fcn.14006d30b

Function at 0x1400db1fb
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
neg word [rsp + 0x10]
cmp cx, word [rsp + 0x12]
jno 0x1400e0a6c

Function at 0x1400ded13
Capabilities:
Connect pipe
Read file on windows

Disassembly:
jns 0x14000ca81
shl word [rsp + 0x10], 0x7c
cmp dword [rsp + 0x10], 0x13acef2e
mov qword [rsp + 0x10], 0x322341b2
mov qword [rsp + 0x18], rdi
jbe 0x1400116f2
and qword [rsp + 0x10], 0x79b6c25
neg byte [rsp + 0x10]
and byte [rsp + 0x10], 0x25
test dword [rsp + 0x10], 0xf4137486
add qword [rsp], 0x60c9a
call fcn.1400bd7b0

Function at 0x140244f7c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
seta bh
mov qword [rsp + 0x10], rdi
xor edi, edi
movzx r10w, r12b
movsxd r9, r14d
jmp 0x140244f98
movzx ebx, r8b
mov r11, rcx
mov r9w, r12w
movzx r8, si
mov r8, rdi
nop
sets r9b
movzx r9d, byte [r11]
movzx r10d, byte [rdx]
jmp 0x140244fbc
inc r11
inc rdx
jmp 0x140244fc8
test bl, bl
je 0x140244ff6
mov ecx, r8d
cmovo rax, r10
mov eax, 0xcb16cc93
cmc
clc
rol eax, cl
cmp r13d, 0xc8306f2d
add al, r8b
xor r9b, al
jmp 0x140244ff2
inc r8
clc
test r9b, r9b
jmp 0x140244ffe
je 0x140245012
cmp r9b, r10b
jmp 0x14024500c
je 0x140244faf
cmp r9b, r10b
jae 0x14024503e
or eax, 0xffffffff
cmovp rdi, r14
movzx edi, r12w
jmp 0x14024502b
mov rbx, qword [rsp + 8]
movsxd rdi, edi
mov rdi, qword [rsp + 0x10]
jmp 0x14024503d
ret
mov rbx, qword [rsp + 8]
seta dil
mov eax, edi
mov rdi, qword [rsp + 0x10]
jmp 0x140245053
ret
Function at 0x6da67d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6da895e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6da67ef8
mov rax, qword [0x6da895e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6da67dbc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6da67e45
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6da67da0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6da67f2d
mov rax, qword [0x6da895e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6da895e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6da67f10
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6da67e3e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6da67ea0
add dword [0x6da895e4], 1
cmp edi, 8
jae 0x6da67e73
test dil, 4
jne 0x6da67ee4
test edi, edi
je 0x6da67e68
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6da67eff
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6da67e68
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6da67e8c
jmp 0x6da67e68
add rsi, qword [0x6da895e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6da67e3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6da67e68
xor esi, esi
jmp 0x6da67dc7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6da67e68
mov rax, qword [0x6da895e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6da68680
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6da898c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6da898a0]
test rbx, rbx
je 0x6da686d4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6da686cb
test rsi, rsi
je 0x6da686cb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6da686b0
lea rcx, [0x6da898c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6da68910
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6da68920
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6da68930
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6da68971
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6da68968
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6da68973
add rax, 0x28
cmp rax, r9
jne 0x6da68954
xor eax, eax
ret

Function at 0x6da68a10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6da861f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6da68a7d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da68a7d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6da68a7d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6da68a74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6da68a7f
add rax, 0x28
cmp rax, r9
jne 0x6da68a60
xor eax, eax
add rsp, 0x28
ret

Function at 0x6da68b80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6da861f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6da68ba0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da68b98
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6da68bfd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6da68bf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6da68c04
add rax, 0x28
cmp rax, r9
jne 0x6da68be0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6da68c20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6da861f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6da68c8e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da68c8e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6da68c8e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6da68c8e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6da68c85
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6da68c95
add rcx, 0x28
cmp rcx, rax
jne 0x6da68c70
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6da68ca8
jmp 0x6da68c8e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6da68cb6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6da68c8e
test r9d, r9d
jg 0x6da68ca0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6da68ff0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lodsd eax, dword [rsi]
mov bl, 4
mov edx, 0x63325ebf
mov eax, 0xfe0a9cfc
sal esp, cl
adc esp, dword [rsi + 0x791a5932]
in eax, 0x9f
or al, 0x3a
div dword [rsi - 0x38]
sub bh, ch
test byte [0x1068f683b], al
adc dword [rbx], ebx
invalid
invalid
movabs eax, dword [0x6648b050f454e42f]
mov bl, 7
mov ah, ah
jp 0x14003f666
test dword [rbx + 0x66], 0xab1d1e85
scasd eax, dword [rdi]
jns 0x14003f6af
mov esi, 0x25488649
or ch, byte [rax - 0x1578ba93]
jns 0x14003f657
invalid
movabs dword [0xcfd3992c794ea747], eax
loope 0x14003f61e
xchg ebx, eax
stc
jo 0x14003f5fb
movsb byte [rdi], byte [rsi]
fsubr dword [rsi - 0x702a567f]
invalid
nop
mov ah, 0x20
stosb byte [rdi], al
iretd
sbb bl, dh
mov esp, 0xc1b49f03
invalid
je 0x14003f627
invalid
sub byte [rdx], bh
xchg dword [rdi + rdx*4], eax
add al, 0x97
add al, 0x97
pop rbp
js 0x14003f676
bnd ret
mov esi, dword [rdx + 0x42d3cc4b]
invalid
lahf
adc dh, byte [rcx]
add eax, 0x1f7ea63e
shl byte [rax], cl
and byte [rbx + 0x2a], bh
ja 0x14003f760
invalid
mov al, byte [rbx + 0x2a]
invalid
and al, 0xd7
fisttp dword [rbx]
sbb ah, al
xchg edi, eax
sub eax, 0x923dbc69
out dx, al
rol byte [rax - 0x200fcd02], 0xbf
add dword [rsi - 0x73c83dce], edx
invalid
cli
or byte [rdx + riz*4 - 0x79], bh
jl 0x14003f6b6
xchg dword [rdi - 0xb850459], ebp
xchg dword [rdi - 0xb850459], ebp
cmpsb byte [rsi], byte [rdi]
invalid
retf 0x74be