joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400023b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x1060
call fcn.1400359a0
sub rsp, rax
mov rax, qword [0x14007a080]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov esi, r8d
mov ebx, edx
mov rdi, rcx
call fcn.14003cf14
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.14003ce20
mov ebp, 0x1000
test eax, eax
jne 0x14000244c
test word [rsp + 0x26], bp
je 0x14000244c
cmp esi, 1
jne 0x1400024b1
test ebx, ebx
js 0x1400024b1
jle 0x140002498
nop word [rax + rax]
mov r8d, ebx
lea rcx, [rsp + 0x50]
cmp r8, rbp
mov r9, rdi
mov edx, 1
cmova r8, rbp
call fcn.14003bcb0
cmp rax, 1
jb 0x1400024b1
sub ebx, eax
test ebx, ebx
jg 0x140002420
xor eax, eax
jmp 0x1400024b6
mov r8d, esi
mov edx, ebx
mov rcx, rdi
call fcn.14003bfec
test eax, eax
je 0x140002498
cmp esi, 1
jne 0x14000249c
test ebx, ebx
js 0x14000249c
jle 0x140002498
nop dword [rax + rax]
mov r8d, ebx
lea rcx, [rsp + 0x50]
cmp r8, rbp
mov r9, rdi
mov edx, 1
cmova r8, rbp
call fcn.14003bcb0
cmp rax, 1
jb 0x1400024b1
sub ebx, eax
test ebx, ebx
jg 0x140002470
xor eax, eax
jmp 0x1400024b6
cmp dword [0x14007b4c0], 0xa
jge 0x1400024b1
lea rcx, str.fskip_problem:_Mostly_the_return_status_of_functions_is_not_evaluated__so_it_is_more_secure_to_pollute__stderr_._n
call fcn.140001e20
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140035970
mov rbx, qword [rsp + 0x1098]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400024e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1060
call fcn.1400359a0
sub rsp, rax
mov rax, qword [0x14007a080]
xor rax, rsp
mov qword [rsp + 0x1050], rax
xor eax, eax
mov esi, edx
mov rdi, rcx
cmp edx, 0x7fffffff
jbe 0x1400025cf
mov ebp, 0x1000
nop
test eax, eax
jne 0x1400025e7
mov rcx, rdi
add esi, 0x80000001
mov ebx, 0x7fffffff
call fcn.14003cf14
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.14003ce20
test eax, eax
jne 0x14000257e
test word [rsp + 0x26], bp
je 0x14000257e
mov r8d, ebx
lea rcx, [rsp + 0x50]
cmp r8, rbp
mov r9, rdi
mov edx, 1
cmova r8, rbp
call fcn.14003bcb0
cmp rax, 1
jb 0x1400025be
sub ebx, eax
test ebx, ebx
jg 0x140002552
xor eax, eax
jmp 0x1400025c3
mov edx, ebx
mov r8d, 1
mov rcx, rdi
call fcn.14003bfec
test eax, eax
je 0x1400025c3
mov r8d, ebx
lea rcx, [rsp + 0x50]
cmp r8, rbp
mov r9, rdi
mov edx, 1
cmova r8, rbp
call fcn.14003bcb0
cmp rax, 1
jb 0x1400025be
sub ebx, eax
test ebx, ebx
jg 0x140002592
xor eax, eax
jmp 0x1400025c3
mov eax, 0xffffffff
cmp esi, 0x7fffffff
ja 0x140002520
test esi, esi
je 0x1400025e7
test eax, eax
jne 0x1400025e7
mov r8d, 1
mov edx, esi
mov rcx, rdi
call fcn.1400023b0
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140035970
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004a30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1230
call fcn.1400359a0
sub rsp, rax
mov rax, qword [0x14007a080]
xor rax, rsp
mov qword [rsp + 0x1220], rax
cmp dword [0x14007d0e8], 0
mov r10, rdx
movsxd rbx, r8d
mov rdi, rcx
mov r11, rbx
je 0x140004aff
cmp dword [0x14007b4ac], 0
je 0x140004aff
test r8d, r8d
jle 0x140004b9b
xor eax, eax
cmp r9d, 1
jne 0x140004ab6
mov r8d, eax
add ebx, ebx
movzx edx, word [r10 + r8*2]
lea rax, [rax + 2]
movzx ecx, dx
inc r8
sar cx, 8
mov byte [rsp + rax + 0x1e], cl
mov byte [rsp + rax + 0x1f], dl
cmp r8, r11
jl 0x140004a91
jmp 0x140004b82
mov r9, rax
lea ebx, [rbx*4]
movzx edx, word [r10 + r9*2]
lea rax, [rax + 4]
movzx r8d, word [r10 + r9*2 + 0x900]
movzx ecx, dx
sar cx, 8
inc r9
mov byte [rsp + rax + 0x1c], cl
movzx ecx, r8w
mov byte [rsp + rax + 0x1d], dl
sar cx, 8
mov byte [rsp + rax + 0x1e], cl
mov byte [rsp + rax + 0x1f], r8b
cmp r9, r11
jl 0x140004ac0
jmp 0x140004b82
test r8d, r8d
jle 0x140004b9b
xor eax, eax
cmp r9d, 1
jne 0x140004b3f
mov edx, eax
add ebx, ebx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [r10 + rdx*2]
inc rdx
mov byte [rsp + rax + 0x20], cl
lea rax, [rax + 2]
sar cx, 8
mov byte [rsp + rax + 0x1f], cl
cmp rdx, r11
jl 0x140004b20
jmp 0x140004b82
mov r8, rax
lea ebx, [rbx*4]
nop dword [rax]
movzx ecx, word [r10 + r8*2]
movzx edx, word [r10 + r8*2 + 0x900]
inc r8
mov byte [rsp + rax + 0x20], cl
lea rax, [rax + 4]
sar cx, 8
mov byte [rsp + rax + 0x1d], cl
mov byte [rsp + rax + 0x1e], dl
sar dx, 8
mov byte [rsp + rax + 0x1f], dl
cmp r8, r11
jl 0x140004b50
test ebx, ebx
jle 0x140004b9b
movsxd r8, ebx
lea rcx, [rsp + 0x20]
mov r9, rdi
mov edx, 1
call fcn.14003c718
cmp dword [0x14007b4bc], 1
jne 0x140004bac
mov rcx, rdi
call fcn.14003b7f0
mov rcx, qword [rsp + 0x1220]
xor rcx, rsp
call fcn.140035970
mov rbx, qword [rsp + 0x1248]
add rsp, 0x1230
pop rdi
ret
Function at 0x140006180
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x24030
call fcn.1400359a0
sub rsp, rax
mov rax, qword [0x14007a080]
xor rax, rsp
mov qword [rsp + 0x24020], rax
mov rsi, r8
mov rdi, rdx
mov r8d, 0x24000
lea rdx, [rsp + 0x20]
call fcn.140012a80
mov rbx, rax
test rax, rax
je 0x140006266
cmp dword [0x14007b4c0], 0
jg 0x1400061da
lea rcx, str.Writing_LAME_Tag...
call fcn.140001d20
cmp rbx, 0x24000
jbe 0x1400061fe
mov r8, rbx
lea rcx, str.Error_writing_LAME_tag_frame:_buffer_too_small:_buffer_size_d__frame_size_d_n
mov edx, 0x24000
call fcn.140001e20
mov eax, 0xffffffff
jmp 0x140006266
xor r8d, r8d
mov edx, esi
mov rcx, rdi
call fcn.14003bfec
test eax, eax
je 0x140006222
lea rcx, str.fatal_error:_cant_update_LAME_tag_frame__n
call fcn.140001e20
mov eax, 0xffffffff
jmp 0x140006266
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8, rbx
mov edx, 1
call fcn.14003c718
cmp rax, rbx
je 0x14000624f
lea rcx, str.Error_writing_LAME_tag__n
call fcn.140001e20
mov eax, 0xffffffff
jmp 0x140006266
cmp dword [0x14007b4c0], 0
jg 0x140006264
lea rcx, str.done_n
call fcn.140001d20
mov eax, ebx
mov rcx, qword [rsp + 0x24020]
xor rcx, rsp
call fcn.140035970
add rsp, 0x24030
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000b140
Capabilities:
Read file on windows

Disassembly:
push rsi
push r12
sub rsp, 0x38
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x14000b15d
xor eax, eax
add rsp, 0x38
pop r12
pop rsi
ret
mov qword [rsp + 0x50], rbx
lea rdx, [0x14005a974]
mov qword [rsp + 0x60], rbp
mov rcx, rsi
mov qword [rsp + 0x30], rdi
call fcn.1400063b0
mov rbp, rax
test rax, rax
jne 0x14000b1b0
mov edi, 1
lea rcx, str.Could_not_find:__s._n
mov rdx, rsi
call fcn.140001e20
mov rbp, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
add rsp, 0x38
pop r12
pop rsi
ret
mov ebx, 2
mov qword [rsp + 0x28], r14
mov r8d, ebx
mov qword [rsp + 0x20], r15
xor edx, edx
mov rcx, rbp
call fcn.14003bfec
mov rcx, rbp
call fcn.14003c4d0
xor r8d, r8d
movsxd r15, eax
xor edx, edx
mov rcx, rbp
call fcn.14003bfec
mov rcx, r15
call fcn.14003c7a4
mov r14, rax
test rax, rax
je 0x14000b230
mov r9, rbp
mov r8, r15
mov edx, 1
mov rcx, rax
call fcn.14003bcb0
cmp rax, r15
je 0x14000b213
mov ebx, 3
jmp 0x14000b228
mov r8, r15
mov rdx, r14
mov rcx, r12
call fcn.140013400
neg eax
sbb ebx, ebx
and ebx, 4
mov rcx, r14
call fcn.14003c79c
mov rcx, rbp
call fcn.14003b5d0
mov r15, qword [rsp + 0x20]
mov ecx, ebx
mov r14, qword [rsp + 0x28]
mov edi, ebx
sub ecx, 1
je 0x14000b188
sub ecx, 1
je 0x14000b27a
sub ecx, 1
je 0x14000b26e
cmp ecx, 1
jne 0x14000b197
lea rcx, str.Unsupported_image:__s._nSpecify_JPEG_PNG_GIF_image_n
jmp 0x14000b18f
lea rcx, str.Read_error:__s._n
jmp 0x14000b18f
lea rcx, str.Insufficient_memory_for_reading_the_albumart._n
call fcn.140001e20
jmp 0x14000b197
Function at 0x140012400
Capabilities:
Encode data using xor

Disassembly:
lea r11, [0x140060870]
mov r9, rdx
cmp r8d, 8
jl 0x1400124c0
mov r10d, r8d
shr r10, 3
mov eax, r10d
neg eax
lea r8d, [r8 + rax*8]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9]
movzx edx, byte [r9 + 1]
shl rdx, 8
or rdx, rax
movzx eax, cx
movzx ecx, byte [r9 + 6]
xor rdx, rax
movzx eax, byte [r9 + 5]
movzx ecx, word [r11 + rcx*2 + 0x200]
xor cx, word [r11 + rax*2 + 0x400]
movzx eax, byte [r9 + 4]
xor cx, word [r11 + rax*2 + 0x600]
movzx eax, byte [r9 + 3]
xor cx, word [r11 + rax*2 + 0x800]
movzx eax, byte [r9 + 7]
xor cx, word [r11 + rax*2]
movzx eax, byte [r9 + 2]
add r9, 8
xor cx, word [r11 + rax*2 + 0xa00]
mov rax, rdx
shr rax, 8
xor cx, word [r11 + rax*2 + 0xc00]
movzx eax, dl
xor cx, word [r11 + rax*2 + 0xe00]
sub r10, 1
jne 0x140012430
test r8d, r8d
je 0x1400124f1
nop word [rax + rax]
movzx eax, cx
lea r9, [r9 + 1]
movzx edx, al
movzx eax, byte [r9 - 1]
xor rdx, rax
shr cx, 8
xor cx, word [r11 + rdx*2]
sub r8d, 1
jne 0x1400124d0
movzx eax, cx
ret
Function at 0x1400182f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
movsxd r11, dword [rcx + 0x1c]
mov r10, rdx
movzx ecx, byte [rdx + 2]
mov edx, 0xffff
call fcn.140018220
movzx ecx, byte [r10 + 3]
mov edx, eax
call fcn.140018220
mov edx, eax
cmp r11, 6
jle 0x140018413
mov qword [rsp + 0x20], rbx
mov ebx, 6
nop dword [rax + rax]
movzx r9d, byte [r10 + rbx]
lea ecx, [rdx + rdx]
shl r9d, 9
mov edx, ecx
xor edx, 0x8005
mov eax, r9d
xor eax, ecx
add r9d, r9d
bt eax, 0x10
mov eax, r9d
cmovae edx, ecx
add r9d, r9d
add edx, edx
xor eax, edx
mov ecx, edx
xor ecx, 0x8005
bt eax, 0x10
mov eax, r9d
cmovae ecx, edx
add r9d, r9d
add ecx, ecx
xor eax, ecx
mov edx, ecx
xor edx, 0x8005
bt eax, 0x10
mov eax, r9d
cmovae edx, ecx
add r9d, r9d
add edx, edx
xor eax, edx
mov ecx, edx
xor ecx, 0x8005
bt eax, 0x10
mov eax, r9d
cmovae ecx, edx
add r9d, r9d
add ecx, ecx
xor eax, ecx
mov r8d, ecx
xor r8d, 0x8005
bt eax, 0x10
mov eax, r9d
cmovae r8d, ecx
add r9d, r9d
add r8d, r8d
xor eax, r8d
mov edx, r8d
xor edx, 0x8005
bt eax, 0x10
mov eax, r9d
cmovae edx, r8d
add edx, edx
xor eax, edx
mov ecx, edx
xor ecx, 0x8005
bt eax, 0x10
cmovae ecx, edx
lea eax, [rcx + rcx]
xor ecx, r9d
mov edx, eax
xor edx, 0x8005
bt ecx, 0xf
cmovae edx, eax
inc rbx
cmp rbx, r11
jl 0x140018330
mov rbx, qword [rsp + 0x20]
mov eax, edx
mov byte [r10 + 5], dl
sar eax, 8
mov byte [r10 + 4], al
add rsp, 0x28
ret
Function at 0x140036578
Capabilities:
Parse pe header

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

Function at 0x1400490cc
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 0x140048ea0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140048ea0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140048ea0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140048ea0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140048ea0
cmp dword [rcx + 0x84], 0xe
jbe 0x140048ea0
cmp dword [rcx + 0xf8], esi
je 0x140048ea0
mov ecx, r14d
call fcn.140048fe8
mov ecx, 2
call fcn.14004d3a0
nop
cmp byte [0x14007c4c8], 0
jne 0x140048f6a
mov r15d, 1
mov eax, r15d
xchg dword [0x14007c4bc], eax
test ebx, ebx
jne 0x140048f13
mov rdi, qword [0x14007a080]
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 [0x14007c4c0]
cmp rcx, rax
je 0x140048f0a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140003510]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x14007c750]
jmp 0x140048f1f
cmp ebx, r15d
jne 0x140048f25
lea rcx, [0x14007c768]
call fcn.14004a6f8
nop
test ebx, ebx
jne 0x140048f3c
lea rdx, [0x14005a3f0]
lea rcx, [0x14005a3d0]
call fcn.14004a138
lea rdx, [0x14005a400]
lea rcx, [0x14005a3f8]
call fcn.14004a138
movzx eax, byte [0x14007c4c8]
test esi, esi
cmove eax, r15d
mov byte [0x14007c4c8], al
jmp 0x140048f6a
mov ecx, 2
call fcn.14004d3f4
test esi, esi
jne 0x140048f81
mov ecx, r14d
call fcn.140048f9c
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 0x140048e30
Function at 0x14004eaf8
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 0x14004e998
call fcn.14004ad50
mov dword [rax], 0x16
call fcn.14004ac30
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 0x14004e980
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14004e980
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14004e9ca
lock or dword [rax + 0x14], 0x10
jmp 0x14004e980
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14004e9e7
mov rcx, qword [rbp + 0x10]
call fcn.140056f5c
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14003cf14
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14004e3d0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14004ea3e
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 0x14004e980
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14004eaaa
mov rcx, qword [rbp + 0x10]
call fcn.14003cf14
cmp eax, 0xffffffff
je 0x14004ea91
mov rcx, qword [rbp + 0x10]
call fcn.14003cf14
cmp eax, 0xfffffffe
je 0x14004ea91
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14003cf14
movsxd rdi, eax
lea rsi, [0x14007c7b0]
mov rcx, rbx
sar rdi, 6
call fcn.14003cf14
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14004ea98
lea rax, [0x14007a3a0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14004eaaa
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14004eae0
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14004eadc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14004eadc
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 0x14004e983
jmp 0x14004e950
Function at 0x140058e90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140058eb8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140058eb8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x2fc4da6e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4db0e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ff108]
test eax, eax
je 0x2fc4db17a
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ff110]
mov qword [rbp - 8], rax
jmp 0x2fc4db15e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4db152
cmp qword [rbp - 0x10], 0
je 0x2fc4db152
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4db118
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4db17b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4db280
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4db2a8
mov eax, 0
jmp 0x2fc4db2f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4db2d1
mov eax, 0
jmp 0x2fc4db2f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4db2f1
mov eax, 0
jmp 0x2fc4db2f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4db2fc
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 0x2fc4db37a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4db371
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 0x2fc4db371
mov rax, qword [rbp - 8]
jmp 0x2fc4db38f
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 0x2fc4db344
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400012d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, r9
mov edi, r8d
mov r13, rdx
mov r15, rcx
mov r14, qword [rbp + 0x60]
test r8b, 0xf
jne 0x14000143b
mov ecx, edi
call fcn.140002e84
mov r12, rax
mov ecx, dword [r15 + 4]
inc ecx
shl ecx, 4
call fcn.140002e84
mov rsi, rax
mov r8, rax
mov rdx, rbx
mov rcx, r15
call fcn.140001ef0
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x20], xmm0
xor r14d, r14d
test edi, edi
je 0x140001409
nop
movzx eax, byte [r14 + r13]
xor byte [rbp - 0x20], al
movzx eax, byte [r14 + r13 + 1]
xor byte [rbp - 0x1f], al
movzx eax, byte [r14 + r13 + 2]
xor byte [rbp - 0x1e], al
movzx eax, byte [r14 + r13 + 3]
xor byte [rbp - 0x1d], al
movzx eax, byte [r14 + r13 + 4]
xor byte [rbp - 0x1c], al
movzx eax, byte [r14 + r13 + 5]
xor byte [rbp - 0x1b], al
movzx eax, byte [r14 + r13 + 6]
xor byte [rbp - 0x1a], al
movzx eax, byte [r14 + r13 + 7]
xor byte [rbp - 0x19], al
movzx eax, byte [r14 + r13 + 8]
xor byte [rbp - 0x18], al
movzx eax, byte [r14 + r13 + 9]
xor byte [rbp - 0x17], al
movzx eax, byte [r14 + r13 + 0xa]
xor byte [rbp - 0x16], al
movzx eax, byte [r14 + r13 + 0xb]
xor byte [rbp - 0x15], al
movzx eax, byte [r14 + r13 + 0xc]
xor byte [rbp - 0x14], al
movzx eax, byte [r14 + r13 + 0xd]
xor byte [rbp - 0x13], al
movzx eax, byte [r14 + r13 + 0xe]
xor byte [rbp - 0x12], al
movzx eax, byte [r14 + r13 + 0xf]
xor byte [rbp - 0x11], al
lea rbx, [r14 + r12]
mov r9, rsi
mov r8, rbx
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.140001690
movups xmm1, xmmword [rbx]
movups xmmword [rbp - 0x20], xmm1
add r14d, 0x10
cmp r14d, edi
jb 0x140001350
mov rcx, rsi
call fcn.140002e40
mov rax, r12
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140002e20
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x60]
call fcn.1400012b0
nop
mov r8, rax
lea rcx, [rbp - 0x40]
call fcn.1400022c0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140001240
lea rdx, [0x14002b110]
lea rcx, [rbp - 0x20]
call fcn.1400093fc
int3
Function at 0x140001470
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rbx, r9
mov esi, r8d
mov r13, rdx
mov r14, rcx
test r8b, 0xf
jne 0x1400015c9
mov ecx, esi
call fcn.140002e84
mov r12, rax
mov ecx, dword [r14 + 4]
inc ecx
shl ecx, 4
call fcn.140002e84
mov rbp, rax
mov r8, rax
mov rdx, rbx
mov rcx, r14
call fcn.140001ef0
mov rcx, qword [rsp + 0xd0]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x20], xmm0
xor r15d, r15d
test esi, esi
je 0x14000159d
nop dword [rax]
lea rbx, [r15 + r12]
lea rdi, [r15 + r13]
mov r9, rbp
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.140001ae0
movzx eax, byte [rsp + 0x20]
xor byte [rbx], al
movzx eax, byte [rsp + 0x21]
xor byte [rbx + 1], al
movzx eax, byte [rsp + 0x22]
xor byte [rbx + 2], al
movzx eax, byte [rsp + 0x23]
xor byte [rbx + 3], al
movzx eax, byte [rsp + 0x24]
xor byte [rbx + 4], al
movzx eax, byte [rsp + 0x25]
xor byte [rbx + 5], al
movzx eax, byte [rsp + 0x26]
xor byte [rbx + 6], al
movzx eax, byte [rsp + 0x27]
xor byte [rbx + 7], al
movzx eax, byte [rsp + 0x28]
xor byte [rbx + 8], al
movzx eax, byte [rsp + 0x29]
xor byte [rbx + 9], al
movzx eax, byte [rsp + 0x2a]
xor byte [rbx + 0xa], al
movzx eax, byte [rsp + 0x2b]
xor byte [rbx + 0xb], al
movzx eax, byte [rsp + 0x2c]
xor byte [rbx + 0xc], al
movzx eax, byte [rsp + 0x2d]
xor byte [rbx + 0xd], al
movzx eax, byte [rsp + 0x2e]
xor byte [rbx + 0xe], al
movzx eax, byte [rsp + 0x2f]
xor byte [rbx + 0xf], al
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x20], xmm0
add r15d, 0x10
cmp r15d, esi
jb 0x1400014f0
mov rcx, rbp
call fcn.140002e40
mov rax, r12
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x38]
call fcn.1400012b0
nop
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.1400022c0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001240
lea rdx, [0x14002b110]
lea rcx, [rsp + 0x20]
call fcn.1400093fc
int3