joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011c2e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14024a080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov rcx, rdx
call fcn.1400eaf30
dec eax
cmp eax, 9
ja case.default.0x14011c326
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x11c4c8]
add rcx, rdx
jmp rcx
mov r9d, 0x32c
lea r8, str.E:protobuf_3.5.1_srcgoogle_protobuf_map_field.h
mov edx, 3
lea rcx, [rsp + 0x38]
call fcn.1400cf320
nop
lea rdx, str.Unsupported
mov rcx, rax
call fcn.1400cf7d0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400cf4a0
nop
lea rcx, [rsp + 0x38]
call fcn.1400cf410
mov r9d, 0x33b
lea r8, str.E:protobuf_3.5.1_srcgoogle_protobuf_map_field.h
mov edx, 3
lea rcx, [rsp + 0x38]
call fcn.1400cf320
nop
lea rdx, str.Cant_get_here.
mov rcx, rax
call fcn.1400cf7d0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400cf4a0
nop
lea rcx, [rsp + 0x38]
call fcn.1400cf410
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400c7300
add rsp, 0x80
pop rbx
ret
mov rcx, rbx
call int.1400e6090
mov r9, rax
cmp qword [rax + 0x18], 0x10
jb 0x14011c3dd
mov r9, qword [rax]
movabs rcx, 0xcbf29ce484222325
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp byte [r9 + rdx], 0
jne 0x14011c3f0
xor r8d, r8d
test rdx, rdx
je 0x14011c424
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + r9]
xor rcx, rax
imul rcx, r10
inc r8
cmp r8, rdx
jb 0x14011c410
btr ecx, 0x1f
mov edx, 0x1f31d
call fcn.140176d40
mov qword [rsp + 0x28], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rsp + 0x28], 0xb14
sub ecx, eax
jns 0x14011c453
add ecx, 0x7fffffff
movsxd rax, ecx
jmp 0x14011c3b2
mov rcx, rbx
call fcn.1400e5d00
xor eax, 0xdeadbeef
btr eax, 0x1f
mov ecx, eax
jmp 0x14011c428
mov rcx, rbx
call fcn.1400e5aa0
xor eax, 0xdeadbeef
btr eax, 0x1f
mov ecx, eax
jmp 0x14011c428
mov rcx, rbx
call fcn.1400e6550
xor eax, 0xdeadbeef
btr eax, 0x1f
mov ecx, eax
jmp 0x14011c428
mov rcx, rbx
call fcn.1400e62f0
xor eax, 0xdeadbeef
btr eax, 0x1f
mov ecx, eax
jmp 0x14011c428
mov rcx, rbx
call fcn.1400e5840
movzx ecx, al
xor ecx, 0xdeadbeef
jmp 0x14011c424
Function at 0x14013c0a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov r10d, dword [rcx + 0x10]
movzx r11d, dl
mov rbx, rcx
test r10b, 2
je 0x14013c0f0
movsxd rax, dword [rcx + 0x20]
lea r9, [r8 + 1]
mov byte [r8], 8
mov r8, rax
cmp rax, 0x80
jb 0x14013c0e9
nop
movzx eax, r8b
shr r8, 7
or al, 0x80
mov byte [r9], al
inc r9
cmp r8, 0x80
jae 0x14013c0d0
mov byte [r9], r8b
lea r8, [r9 + 1]
test r10b, 4
je 0x14013c12d
movsxd rax, dword [rcx + 0x24]
lea rdx, [r8 + 1]
mov byte [r8], reloc.WS2_32.dll_recv
mov rcx, rax
cmp rax, 0x80
jb 0x14013c127
nop dword [rax]
movzx eax, cl
shr rcx, 7
or al, 0x80
mov byte [rdx], al
inc rdx
cmp rcx, 0x80
jae 0x14013c110
mov byte [rdx], cl
lea r8, [rdx + 1]
test r10b, 1
je 0x14013c14b
mov rdx, qword [rbx + 0x18]
mov r9, r8
movzx r8d, r11b
mov ecx, 3
call fcn.140001db0
mov r8, rax
test byte [rbx + 8], 1
je 0x14013c166
mov rcx, qword [rbx + 8]
mov rdx, r8
and rcx, 0xfffffffffffffffe
add rsp, 0x20
pop rbx
jmp fcn.1400ea080
mov rax, r8
add rsp, 0x20
pop rbx
ret
Function at 0x14013c8b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, dword [rcx + 0x10]
movzx esi, dl
mov rdi, rcx
test bl, 1
je 0x14013c8e1
mov rcx, qword [rcx + 0x18]
lea rdx, [r8 + 1]
mov byte [r8], 0xa
call fcn.1400ceec0
mov r8, rax
test bl, 2
je 0x14013c8fa
mov rcx, qword [rdi + 0x20]
lea rdx, [r8 + 1]
mov byte [r8], reloc.WS2_32.dll_select
call fcn.1400ceec0
mov r8, rax
test bl, 0x40
je 0x14013c93e
movsxd rax, dword [rdi + 0x48]
mov byte [r8], 0x18
mov rcx, rax
inc r8
cmp rax, 0x80
jb 0x14013c938
nop word [rax + rax]
movzx eax, cl
shr rcx, 7
or al, 0x80
mov byte [r8], al
inc r8
cmp rcx, 0x80
jae 0x14013c920
mov byte [r8], cl
inc r8
bt ebx, 8
jae 0x14013c97e
movsxd rax, dword [rdi + 0x50]
mov byte [r8], 0x20
mov rcx, rax
inc r8
cmp rax, 0x80
jb 0x14013c978
nop word [rax + rax]
movzx eax, cl
shr rcx, 7
or al, 0x80
mov byte [r8], al
inc r8
cmp rcx, 0x80
jae 0x14013c960
mov byte [r8], cl
inc r8
bt ebx, 9
jae 0x14013c9be
movsxd rax, dword [rdi + 0x54]
mov byte [r8], 0x28
mov rcx, rax
inc r8
cmp rax, 0x80
jb 0x14013c9b8
nop word [rax + rax]
movzx eax, cl
shr rcx, 7
or al, 0x80
mov byte [r8], al
inc r8
cmp rcx, 0x80
jae 0x14013c9a0
mov byte [r8], cl
inc r8
test bl, 4
je 0x14013c9d7
mov rcx, qword [rdi + 0x28]
lea rdx, [r8 + 1]
mov byte [r8], 0x32
call fcn.1400ceec0
mov r8, rax
test bl, 8
je 0x14013c9f0
mov rcx, qword [rdi + 0x30]
lea rdx, [r8 + 1]
mov byte [r8], 0x3a
call fcn.1400ceec0
mov r8, rax
test bl, 0x20
je 0x14013ca0d
mov rdx, qword [rdi + 0x40]
mov r9, r8
movzx r8d, sil
mov ecx, 8
call fcn.140001db0
mov r8, rax
test bl, bl
jns 0x14013ca4e
movsxd rax, dword [rdi + 0x4c]
mov byte [r8], 0x48
mov rcx, rax
inc r8
cmp rax, 0x80
jb 0x14013ca48
nop word [rax + rax]
movzx eax, cl
shr rcx, 7
or al, 0x80
mov byte [r8], al
inc r8
cmp rcx, 0x80
jae 0x14013ca30
mov byte [r8], cl
inc r8
test bl, 0x10
je 0x14013ca67
mov rcx, qword [rdi + 0x38]
lea rdx, [r8 + 1]
mov byte [r8], 0x52
call fcn.1400ceec0
mov r8, rax
test byte [rdi + 8], 1
je 0x14013ca8c
mov rcx, qword [rdi + 8]
mov rdx, r8
and rcx, 0xfffffffffffffffe
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400ea080
mov rbx, qword [rsp + 0x30]
mov rax, r8
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14013d4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x18], 0
mov rbx, rcx
jle 0x14013d576
mov byte [r8], 0xa
inc r8
mov edx, dword [rcx + 0x28]
cmp edx, 0x80
jb 0x14013d526
nop dword [rax]
movzx eax, dl
shr edx, 7
or al, 0x80
mov byte [r8], al
inc r8
cmp edx, 0x80
jae 0x14013d510
mov byte [r8], dl
inc r8
mov r9, qword [rcx + 0x20]
xor edx, edx
movsxd r10, dword [rcx + 0x18]
nop word [rax + rax]
movsxd rax, dword [r9 + rdx*4 + 8]
cmp rax, 0x80
jb 0x14013d568
nop dword [rax]
movzx ecx, al
shr rax, 7
or cl, 0x80
mov byte [r8], cl
inc r8
cmp rax, 0x80
jae 0x14013d550
mov byte [r8], al
inc rdx
inc r8
cmp rdx, r10
jl 0x14013d540
mov edi, dword [rbx + 0x10]
test dil, 1
je 0x14013d593
mov rcx, qword [rbx + 0x30]
lea rdx, [r8 + 1]
mov byte [r8], reloc.WS2_32.dll_select
call fcn.1400ceec0
mov r8, rax
test dil, 2
je 0x14013d5ce
movsxd rcx, dword [rbx + 0x38]
mov byte [r8], 0x18
mov rdx, rcx
inc r8
cmp rcx, 0x80
jb 0x14013d5c8
movzx eax, dl
shr rdx, 7
or al, 0x80
mov byte [r8], al
inc r8
cmp rdx, 0x80
jae 0x14013d5b0
mov byte [r8], dl
inc r8
test dil, 4
je 0x14013d60e
movsxd rax, dword [rbx + 0x3c]
mov byte [r8], 0x20
mov rcx, rax
inc r8
cmp rax, 0x80
jb 0x14013d608
nop word [rax + rax]
movzx eax, cl
shr rcx, 7
or al, 0x80
mov byte [r8], al
inc r8
cmp rcx, 0x80
jae 0x14013d5f0
mov byte [r8], cl
inc r8
test byte [rbx + 8], 1
je 0x14013d62e
mov rcx, qword [rbx + 8]
mov rdx, r8
and rcx, 0xfffffffffffffffe
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400ea080
mov rbx, qword [rsp + 0x38]
mov rax, r8
add rsp, 0x20
pop rdi
ret
Function at 0x1401487e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov r12, r9
movzx r15d, r8b
mov r14, rdx
mov r10, rcx
mov r13, qword [rcx]
mov rsi, r13
mov rbx, qword [r13 + 8]
mov dil, 1
cmp byte [rbx + 0x19], 0
jne 0x14014886e
mov rsi, rbx
test r15b, r15b
je 0x140148843
lea rcx, [rbx + 0x20]
mov rdx, r12
call fcn.1400eaea0
mov edi, eax
shr edi, 0x1f
xor dil, 1
jmp 0x140148855
lea rdx, [rbx + 0x20]
mov rcx, r12
call fcn.1400eaea0
shr eax, 0x1f
movzx edi, al
test dil, dil
je 0x14014885f
mov rbx, qword [rbx]
jmp 0x140148863
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x19], 0
je 0x140148824
mov r10, qword [rsp + 0x70]
mov rbx, rsi
mov rcx, rsi
test dil, dil
je 0x140148930
cmp rsi, qword [r13]
jne 0x1401488ba
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r12
mov r9, rsi
mov r8b, 1
lea rdx, [rsp + 0x70]
mov rcx, r10
call fcn.1401480e0
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x140148985
cmp byte [rsi + 0x19], 0
je 0x1401488c6
mov rbx, qword [rsi + 0x10]
jmp 0x14014892d
mov rax, qword [rsi]
cmp byte [rax + 0x19], 0
je 0x14014890f
mov rax, qword [rsi + 8]
cmp byte [rax + 0x19], 0
jne 0x140148901
mov rdx, rsi
nop dword [rax]
mov r8, rax
mov r9, rax
mov rcx, rdx
cmp rdx, qword [rax]
jne 0x140148901
mov rbx, rax
mov rax, qword [rax + 8]
mov rdx, rbx
mov rcx, rbx
cmp byte [rax + 0x19], 0
je 0x1401488e0
cmp byte [rbx + 0x19], 0
jne 0x140148930
mov rbx, rax
mov rcx, rax
jmp 0x140148930
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14014892d
nop dword [rax]
mov rbx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x140148920
mov rcx, rbx
add rcx, 0x20
mov rdx, r12
call fcn.1400eaea0
shr eax, 0x1f
test al, al
je 0x14014897a
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], r12
mov r9, rsi
movzx r8d, dil
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.1401480e0
mov rax, qword [rax]
mov qword [r14], rax
mov byte [r14 + 8], 1
mov rax, r14
jmp 0x140148985
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14017c35c
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14017c082
call fcn.140168f34
mov dword [rax], socket
call fcn.14015c03c
jmp 0x14017c1cd
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14017c1cd
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14017c1cd
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14017c0b1
lock or dword [rcx + 0x14], 0x10
jmp 0x14017c1cd
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14017c0c5
call fcn.14017c780
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14017c0d5
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x14017c0d8
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14017ab04
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140178100
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14017c1bb
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14017c169
mov rcx, rbx
call fcn.14017ab04
cmp eax, 0xffffffff
je 0x14017c154
mov rcx, rbx
call fcn.14017ab04
cmp eax, 0xfffffffe
je 0x14017c154
mov rcx, rbx
call fcn.14017ab04
movsxd rdi, eax
lea r14, [0x140256560]
mov rcx, rbx
sar rdi, 6
call fcn.14017ab04
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14017c15b
lea rdx, [0x14024a710]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14017c169
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14017c18d
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14017c18d
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14017c18d
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14017c1ab
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14017c1b6
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14017c1d2
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14017c04c
Function at 0x14018b620
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14018b633
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14018bc40
lea rdx, [0x140247e60]
lea rcx, [rsp + 0x20]
call fcn.140158fa0
int3

Function at 0x140197398
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140256e58]
xor edx, edx
jmp fcn.14018b620

Function at 0x140197d2c
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140256e58]
jmp fcn.14018b620

Function at 0x1401a3970
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1401a3a2c]
mov r9, qword [r9 + 8]
jmp fcn.14019386c

Function at 0x1401a3a04
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1401a3a3c]
mov r9, qword [r9 + 8]
jmp fcn.14019386c
Function at 0x100411cf0
Capabilities:
Encode data using xor

Disassembly:
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor al, byte [rdx + 0x32]
xor dh, dl
xor sil, byte [r10]
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rcx], esi
xor dword [rdx], esi
xor sil, byte [rdx]
xor sil, byte [r10]
loop 0x100411dc3
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
invalid
xor dh, byte [0xf2734fd9]
xor sil, byte [r10]
push rdx
xor dh, byte [rdx]
xor bh, byte [rdx - 0x286f5631]
xor esi, dword [rdx]
xor ch, byte [rdx + 0x32]
test byte [rdi + 0x323233d7], dl
add al, 0x33
xor esi, dword [rdx]
xor dh, byte [rdx]
cmp esi, dword es:[rdx]
xor dh, byte [rdx]
xor ah, byte [rsi]
cmp esi, dword [rdx]
xor dl, byte [rdx + 0x3a]
xor dh, byte [rdx]
jle 0x100411d55
jl 0x100411da1
or byte [rbx], dh
int 0x99
test al, 0x62
mov ds, ecx
invalid
Function at 0x14001511c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001519a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015191
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015191
mov rax, qword [rbp - 8]
jmp 0x1400151af
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015164
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000c008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000c008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x140001df0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x48], rcx
xor r15d, r15d
mov dword [rbp - 0x50], r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x40], 0x6e72656b
mov dword [rbp - 0x3c], 0x32336c65
mov dword [rbp - 0x38], 0x6c6c642e
mov byte [rbp - 0x34], al
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x18], 0x726168
mov byte [rbp - 0x10], r15b
movdqa xmm0, xmmword [0x1400390e0]
movdqu xmmword [rbp - 0x28], xmm0
lea rdx, [rbp - 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003fe80], rax
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140001e8d
mov r8, qword [rbx]
lea rsi, [rbx + 0x10]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, dword [rsi]
xor edx, edx
mov ecx, 0xfde9
call rax
movsxd r14, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov r8, r14
mov rcx, rdi
call fcn.140009410
mov dword [rbp - 0x50], 1
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140001ed7
mov rcx, qword [rdi]
cmp qword [rbx + 0x18], 0xf
jbe 0x140001ee1
mov rbx, qword [rbx]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsi]
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [0x14003fe80]
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140012550
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001f30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor r12d, r12d
mov dword [rbp - 0x19], r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
mov dword [rbp + 7], eax
mov dword [rbp - 9], 0x6e72656b
mov dword [rbp - 5], 0x32336c65
mov dword [rbp - 1], 0x6c6c642e
mov byte [rbp + 3], al
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x1f], 0x657479
mov byte [rbp + 0x27], r12b
movdqa xmm0, xmmword [0x1400390d0]
movdqu xmmword [rbp + 0xf], xmm0
lea rdx, [rbp + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003fe78], rax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r12b
mov dword [rbp - 0x19], 1
mov r8, r14
cmp qword [r14 + 0x18], 7
jbe 0x140001ff1
mov r8, qword [r14]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, dword [r14 + 0x10]
xor edx, edx
mov ecx, 0xfde9
call rax
movsxd r15, eax
test eax, eax
jle 0x1400020ca
mov rcx, r15
mov rdx, qword [rdi + 0x10]
cmp r15, rdx
ja 0x140002041
mov qword [rdi + 0x10], rcx
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000203a
mov rdx, qword [rdi]
mov byte [rdx + r15], 0
jmp 0x14000208b
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rdi + 0x18]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x14000207d
mov qword [rdi + 0x10], rcx
mov rax, rdi
cmp r8, 0xf
jbe 0x140002066
mov rax, qword [rdi]
lea rbx, [rax + rdx]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.14002a9f0
mov byte [rbx + rsi], 0
jmp 0x14000208b
mov r9, rsi
mov rdx, rsi
mov rcx, rdi
call fcn.140009760
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140002098
mov rax, qword [rdi]
mov r8, r14
cmp qword [r14 + 0x18], 7
jbe 0x1400020a5
mov r8, qword [r14]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov r9d, dword [r14 + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [0x14003fe78]
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140012550
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret