joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1806f2224
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rdi
xchg edi, edi
movzx rdi, di
push rax
movsx di, dl
movzx rdi, r11w
cwde
pushfq
movsx edi, r12w
push r10
cdqe
cmova ax, r8w
lahf
push rbp
movsxd rax, edi
cdqe
push rbx
not dil
push r8
not al
mov bpl, 0xfe
push rsi
push r12
push r11
cdqe
bswap rax
push r15
cbw
not eax
push r14
mov r10d, 0x7dc225a8
movsx r11d, r8w
push rdx
cwd
cwde
push rcx
push r13
rdtsc
movzx di, cl
push r9
cqo
movabs rsi, 0
inc bp
rdtsc
push rsi
inc r11w
rdtsc
mov rbp, qword [rsp + 0x90]
movzx r10w, r8b
dec ebp
rol r11b, cl
rol ebp, 1
rdtsc
rcr r10b, 0x5c
sub ebp, 0x29967641
bswap ebp
and ah, 0x53
xadd r11w, r10w
sub r11, r9
add rbp, rsi
movabs rdx, 0x100000000
bts di, si
add rbp, rdx
mov r10, rsp
sub rsp, 0x180
stc
adc r11d, 0x15754ef
sal ecx, 0x51
and rsp, 0xfffffffffffffff0
shld rax, r10, 0xa8
mov rdi, rbp
cmovo ax, si
movabs rax, 0
sub rdi, rax
bsr cx, di
ror ch, cl
lea r11, [0x1806f2314]
shl cx, 0xdc
xor rcx, 0x74e61f84
cmp r8b, r8b
sub rbp, 4
shld rcx, rdx, 0x22
mov ecx, dword [rbp + riz]
test sp, sp
xor ecx, edi
dec ecx
bswap ecx
stc
cmp r8d, 0x22256f08
xor ecx, 0x72714e23
jmp 0x18074a3e2
inc ecx
cmp r8b, 0x1e
push rdi
rcr di, cl
xor dword [rsp], ecx
movsx di, r8b
cmp sp, 0x32e1
or dil, 0xc8
pop rdi
test bx, 0x65ba
clc
movsxd rcx, ecx
test r13, 0x368d6ac4
cmp r11b, 0xde
add r11, rcx
push r11
ret
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x140013880
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014bd0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014bf0
xor al, al
jmp 0x140014c71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014c03
xor al, al
jmp 0x140014c71
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014c2d
xor al, al
jmp 0x140014c71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014c41
xor al, al
jmp 0x140014c71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014c53
xor al, al
jmp 0x140014c71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014c6f
xor al, al
jmp 0x140014c71
mov al, 1
add rsp, 0x38
ret
Function at 0x140003790
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140003820
jmp 0x14000380f
jae 0x1400038e0
cmp r8, 0x201
jae 0x140003820
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140003878
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14000384f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140018a30
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400038a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003948
mov r8d, r14d
cmp r15, r8
jne 0x140003800
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000396b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000380f
jmp 0x140003820
cmp rsi, r8
jb 0x140003985
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140004ee0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140003931
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140001150
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140003919
jmp 0x140003931
lea rcx, str.internal_error:_entered_unreachable_code_rustc_79e9716c980570bfd1f666e3b16ac583f0168962library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140019490
jmp 0x14000399a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400198e0
ud2
Function at 0x140009cb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14001b938]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140009cf4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140009d5a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140009d91
test eax, eax
js 0x140009d6b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140009d84
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140004c80
mov rcx, rax
call fcn.1400018c0
mov ecx, 7
int 0x29
ud2
Function at 0x140016970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400169ea
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400169e0
cmp r11, r10
ja 0x140016a83
cmp r10, rdx
ja 0x140016a97
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400169e2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400169c0
jmp 0x140016a57
ja 0x1400169ea
mov r11, r10
cmp rax, r8
jne 0x140016992
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140016a5b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140016a30
mov r8, r10
sub ecx, r9d
jns 0x140016a4e
jmp 0x140016a5d
cmp r10, rdx
je 0x140016a69
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140016a5d
xor al, 1
cmp r8, rdx
jne 0x140016a10
jmp 0x140016a5d
xor eax, eax
jmp 0x140016a5d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140019490
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140019960
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400198e0
ud2

Function at 0x140018498
Capabilities:
Parse pe header

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

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

Function at 0x14001eabc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001ed4c

Function at 0x1400259c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400259e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400259e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400400a0
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.140030ddc
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x1400400f3
test rbx, rbx
je 0x1400400e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x1400400f3
mov edi, 4
jmp 0x14004019c
call fcn.140030bbc
test al, al
jne 0x140040110
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14004019c
test bpl, bpl
je 0x140040173
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x14004046c]
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 0x14004019c
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14004016d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004019c
mov edi, dword [rsp + 0x44]
jmp 0x140040165
call fcn.140030d08
test al, al
jne 0x140040184
bts esi, 0x15
xor ecx, ecx
jmp 0x14004018c
call fcn.140030c78
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.1400309f4
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 0x1400418c4
Capabilities:
Read file on windows

Disassembly:
jmp 0x140041968
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 0x1400419b0
call fcn.1400337c0
mov dword [rax], socket
call fcn.140032948
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 0x140041998
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140041998
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1400419e2
lock or dword [rax + 0x14], 0x10
jmp 0x140041998
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400419ff
mov rcx, qword [rbp + 0x10]
call fcn.14004b9bc
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140038194
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140040b60
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x140041a56
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 0x140041998
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x140041ac2
mov rcx, qword [rbp + 0x10]
call fcn.140038194
cmp eax, 0xffffffff
je 0x140041aa9
mov rcx, qword [rbp + 0x10]
call fcn.140038194
cmp eax, 0xfffffffe
je 0x140041aa9
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140038194
movsxd rdi, eax
lea rsi, [0x140069680]
mov rcx, rbx
sar rdi, 6
call fcn.140038194
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x140041ab0
lea rax, [0x140067ab0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140041ac2
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140041af8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140041af4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140041af4
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 0x14004199b
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

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]
add ch, ch
invalid
test byte [rsi - 0x69e29473], dl
sahf
jge 0x14003f612
jge 0x14003f6a9
ret
fsub st(5)
fdivrp st(2)
lahf
and dword [rcx - 0x43c31cd6], ebp
invalid
sub al, 0x5e
xchg ecx, eax
xchg ebp, eax
pushfq
pop rsp
add edi, dword [rdi - 0x31]
pop r14
push rsi
xchg edi, eax
mov bh, 0x1e
or byte [rbp + 0x26], dl
jp 0x14003f671
invalid
sub dword [rsi], edx
xor dword [rcx + 0x32], ebp
invalid
invalid
pushfq
retf 0x1044
movsb byte [rdi], byte [rsi]
scasb al, byte [rdi]
jae 0x14003f736
in al, 0x15
xchg ebp, eax
or dword [rsp + rbp*8 - 0x4f021e0c], eax
test ah, ch
hlt
loope 0x14003f6f4
mov al, 0xfc
xor dl, byte [rdi - 0x22]
invalid
test ah, ch
hlt
sbb eax, 0xbeb1fd23
pop rdx
add byte [rax + 0x70], bl
pop rbx
nop
invalid
invalid
rol byte [rbx - 0x2c6b279f], 1
fmul st(2)
mov cl, byte [rdi + rsi*2 - 0x1a]
shr dword [rcx - 0x613c8f5], 0xc7
jb 0x14003f782
and bl, byte [rsi - 0x1a]
pop rbx
sub al, 0x5e
sbb cl, dl
invalid
iretd
Function at 0x14000146d
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400054c0]
mov dword [rax], 1
mov rax, qword [0x1400054d0]
mov dword [rax], 1
mov rax, qword [0x1400054e0]
mov dword [rax], 1
mov rax, qword [0x1400054b0]
mov dword [rax], 1
mov rax, qword [0x140005380]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014cb
mov eax, 0
jmp 0x140001578
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 0x1400014f7
mov eax, 0
jmp 0x140001578
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000151d
cmp eax, 0x20b
je 0x140001544
jmp 0x140001573
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001530
mov eax, 0
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000155f
mov eax, 0
jmp 0x140001578
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001578
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001bf0
Capabilities:
Write file on windows

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

Function at 0x140002806
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x140002894
lea rcx, [0x140009140]
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x14000287b
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 0x14000286f
cmp qword [rbp - 0x10], 0
je 0x14000286f
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov rdx, qword [rbp - 0x10]
mov rcx, rdx
call rax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002835
lea rcx, [0x140009140]
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002895
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140004928
Capabilities:
Parse pe header

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

Disassembly:
mov r10, rcx
mov eax, 0x23
syscall
ret
Function at 0x1800020c4
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x17]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x17
jb 0x1800020ca
mov rax, rcx
ret

Function at 0x1800020e0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x13]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x13
jb 0x1800020e6
mov rax, rcx
ret

Function at 0x1800020fc
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x11]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x11
jb 0x180002102
mov rax, rcx
ret

Function at 0x180002118
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 6]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 6
jb 0x18000211e
mov rax, rcx
ret

Function at 0x180002134
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x10]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x10
jb 0x18000213a
mov rax, rcx
ret

Function at 0x180002150
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x12]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x12
jb 0x180002156
mov rax, rcx
ret

Function at 0x18000216c
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 9]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 9
jb 0x180002172
mov rax, rcx
ret

Function at 0x180002188
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x15]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x15
jb 0x18000218e
mov rax, rcx
ret

Function at 0x1800021a4
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xe]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xe
jb 0x1800021aa
mov rax, rcx
ret

Function at 0x1800021c0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x14]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x14
jb 0x1800021c6
mov rax, rcx
ret

Function at 0x1800021dc
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x19]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x19
jb 0x1800021e2
mov rax, rcx
ret

Function at 0x1800021f8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xb]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xb
jb 0x1800021fe
mov rax, rcx
ret

Function at 0x180002214
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xc]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xc
jb 0x18000221a
mov rax, rcx
ret

Function at 0x180002230
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xd]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xd
jb 0x180002236
mov rax, rcx
ret

Function at 0x18000224c
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x12]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 9
jb 0x180002252
mov rax, rcx
ret
Function at 0x180002270
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 2]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 2
jb 0x180002276
mov rax, rcx
ret