joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002870
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400b1e00]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002890
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140002898
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

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

Disassembly:
mov rax, qword [0x1400b1e00]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400028d0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400028d8
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400028d0
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400028d0
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002914
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002928
add rax, 0x28
cmp r9, rax
jne 0x140002900
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

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

Disassembly:
mov r11, qword [0x1400b1e00]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002962
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002970
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002962
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002962
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002962
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400029bd
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400029d0
add rdx, 0x28
cmp r10, rdx
jne 0x1400029a8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400029df
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400029ef
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400029c6
test ecx, ecx
jg 0x1400029d8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x140004060
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x1400b1e80]
mov rax, qword [rsi]
test rax, rax
je 0x1400040f0
cmp qword [rax + 0x30], 0
jne 0x140004110
lea rbx, [0x14001a088]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x1400040c0
cmp qword [rax + 0x30], 0
jne 0x1400040e0
lea rdx, [0x14001a088]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je sym.pthread_tls_init.cold
add rsp, 0x28
pop rbx
pop rsi
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x1400040a2
test rax, rax
jne 0x1400040e0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x1400040b0
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140004080
test rax, rax
jne 0x140004110
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x14000408b
Function at 0x140007ce0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x1400b1e80]
mov rax, qword [rbx]
mov r12, rcx
mov esi, edx
test rax, rax
je 0x140007db0
cmp qword [rax + 0x60], 0
jne 0x140007dd0
lea rcx, [0x14001a078]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
test rax, rax
je 0x140007de0
cmp qword [rax + 0x1d8], r12
jne 0x140007de0
test byte [rax + 0x40], 0xc
jne 0x140007de0
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x140007de0
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x140007de0
mov rax, qword [rbx]
test rax, rax
je 0x140007e40
cmp qword [rax + 0x60], 0
jne 0x140007e60
lea rcx, [0x14001a078]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
test esi, esi
je 0x140007e70
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x140007e78
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.pthread_cancel
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007d0b
test rax, rax
jne 0x140007dd0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007d16
mov rax, qword [rbx]
test rax, rax
je 0x140007e10
cmp qword [rax + 0x60], 0
jne 0x140007e30
lea rcx, [0x14001a078]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rbx]
cmp qword [r8 + 0x60], 0
je 0x140007def
test rax, rax
jne 0x140007e30
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007dfa
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007d7a
test rax, rax
jne 0x140007e60
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007d85
xor eax, eax
jmp 0x140007e04
mov eax, 0x16
jmp 0x140007e04
Function at 0x140008de0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008e00
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140008e48
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140008df4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140008e35

Function at 0x140008e70
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x1400b52c0]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140008f28
mov rdx, qword [0x1400b5200]
lea rcx, [0x1400b5200]
mov rax, qword [rdx + 8]
test rax, rax
je 0x140008ef8
cmp rdx, rcx
jne 0x140008eda
mov qword [rdx], rax
cmp rax, rcx
je 0x140008edf
nop dword [rax]
test rax, rax
je 0x140008f0a
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x140008ec8
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x140008f0a
mov rdx, rax
jmp 0x140008ed6
lea rcx, [0x1400b5300]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140008f46
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, str.failed_to_to_lock_cleanup_mutex_n
call sym.__shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x140008f0a
Function at 0x1400ff740
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400ff74d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400ff75d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400ff745
lea eax, [rcx + 1]
jmp 0x1400ff76b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400ff77e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400ff764
sub eax, 3
jb 0x1400ff79e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400ff7ed
sar eax, 1
movsxd rbp, eax
jb 0x1400ff7d4
jmp 0x1400ff7ac
add ebx, ebx
jne 0x1400ff7aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400ff7d4
inc ecx
add ebx, ebx
jne 0x1400ff7ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400ff7d4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400ff7cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400ff7bc
add ecx, 2
jmp 0x1400ff7d9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400ff702
jmp 0x1400ff74d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb7400
mov dl, 0x15
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400ff83d
cmp rsi, rcx
jae 0x1400ff845
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400ff824
cmp al, 0x8f
ja 0x1400ff824
cmp byte [rsi - 2], 0xf
je 0x1400ff82a
sub al, 0xe8
cmp al, 1
ja 0x1400ff80e
cmp rsi, rcx
jae 0x1400ff845
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400ff814
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400ff845
lodsb al, byte [rsi]
jmp 0x1400ff824
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xfc000]
mov eax, dword [rdi]
or eax, eax
je 0x1400ff8a2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xff000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400ff852
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400ff89c
mov qword [rbx], rax
add rbx, 8
jmp 0x1400ff872
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400ff8dc
cmp al, 0xef
ja 0x1400ff8ce
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400ff8ae
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400ff8bd
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1400ff95b], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1400ff95b
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400ff94b
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x1400044c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rsp + 0x6c]
mov cl, byte [rsp + 0x4b]
xor cl, 0xb2
mov byte [rsp + 0xcf], cl
mov eax, eax
mov r8d, eax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
call sym.dwmapi.dll_Ordinal_107
nop
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov eax, 0x183690d8
mov ecx, eax
mov eax, dword [rsp + 0x3c]
add eax, 0x51c08582
mov dword [rsp + 0xd0], eax
sub rcx, qword [rsp + 0xc0]
mov word [rax + rax*8], fs
add byte [rax], al
add byte [rbx + 0x313c2444], cl
ror byte [rcx + 0xd02484], 0
add byte [rax - 0x75], cl
push rsp
and al, 0x30
mov al, 0xc3
mov cl, byte [rsp + 0x97]
sub al, byte [rsp + 0xce]
mov word [rsp + 0xe6], 0x7f89
cmp cl, al
jb 0x140004427
jmp 0x1400043f4
mov ecx, 0x45fb01fb
mov edx, ecx
sub rdx, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xb0], rdx
mov r8b, byte [rsp + 0x4b]
or r8b, 0x6a
mov byte [rsp + 0xcf], r8b
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0xd0], 0x7e70ef01
mov r8b, byte [rsp + 0xa7]
mov byte [rsp + 0x97], r8b
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + 0x54]
mov r9, qword [rsp + 0xc0]
xor r9, 0x4daea5cf
mov dword [rsp + 0x6c], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0xd0], ecx
cmp r9, rax
jb 0x1400044b6
jmp 0x14000448f

Function at 0x140005eb0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov byte [rsp + 0x83], 0xa7
mov word [rsp + 0x80], 0x66fa
Function at 0x140006200
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov eax, dword [rsp + 0x58]
mov r9d, eax
xor r9d, 0x2ac4fdb2
mov dword [rsp + 0x58], r9d
mov qword [rsp + 0x50], 0x32091f23
mov word [rsp + 0x44], 0xaa44
mov r10, qword [rsp + 0x50]
mov r11, r10
xor r11, 0x32091f23
mov si, word [rsp + 0x5e]
cmp r8, r11
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x14], eax
mov qword [rsp + 8], r10
mov word [rsp + 6], si
je 0x140006378
jmp 0x140006336
mov ax, 0xf091
mov ecx, dword [rsp + 0x14]
imul ecx, ecx
mov rdx, qword [rsp + 0x38]
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0x30]
mov r8b, byte [rsp + 0x47]
mov byte [rsp + 0x47], r8b
mov r9w, word [rsp + 0x44]
mov word [rsp + 0x5e], 0x1148
mov r10, qword [rsp + 0x28]
mov r8b, byte [r10 + rdx]
mov r11w, word [rsp + 0x44]
xor r9w, 0xe819
sub ax, r11w
mov rdx, qword [rsp + 8]
mov qword [rsp + 0x48], rdx
mov word [rsp + 0x42], r9w
mov ecx, dword [rsp + 0x14]
xor ecx, 0x5cab6f9a
mov r9w, word [rsp + 0x42]
mov dword [rsp + 0x58], ecx
mov rsi, qword [rsp + 0x50]
xor rsi, 0x4659c0f9
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x18]
mov byte [rbx + rdi], r8b
mov qword [rsp + 0x38], rsi
cmp r9w, ax
ja 0x140006269
mov eax, 0x32091f24
mov ecx, eax
mov rdx, qword [rsp + 0x30]
sub rcx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], rdx
mov r8, qword [rsp + 0x20]
cmp rdx, r8
je 0x140006378
jmp 0x140006269
mov eax, 0x32091f23
mov ecx, eax
mov rdx, qword [rsp + 8]
add rdx, 0x42e23ddc
mov qword [rsp + 0x48], rdx
mov rdx, qword [rsp + 0x50]
mov r8b, byte [rsp + 0x47]
xor r8b, 0x1a
mov byte [rsp + 0x47], r8b
sub rcx, rdx
mov qword [rsp + 0x38], rcx
mov r8b, byte [rsp + 0x47]
mov byte [rsp + 0x47], r8b
jmp 0x140006269
mov rax, qword [rsp + 0x18]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140a3f930
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140a3f93d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140a3f94d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140a3f935
lea eax, [rcx + 1]
jmp 0x140a3f95b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140a3f96e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140a3f954
sub eax, 3
jb 0x140a3f98e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140a3f9dd
sar eax, 1
movsxd rbp, eax
jb 0x140a3f9c4
jmp 0x140a3f99c
add ebx, ebx
jne 0x140a3f99a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140a3f9c4
inc ecx
add ebx, ebx
jne 0x140a3f9aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140a3f9c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140a3f9bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140a3f9ac
add ecx, 2
jmp 0x140a3f9c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140a3f8f2
jmp 0x140a3f93d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0xa36000]
mov eax, dword [rdi]
or eax, eax
je 0x140a3fa49
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xa40330]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140a3f9ed
jns 0x140a3fa22
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140a3fa2c
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140a3fa43
mov qword [rbx], rax
add rbx, 8
jmp 0x140a3fa0d
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140a3fa8d
cmp al, 0xef
ja 0x140a3fa75
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140a3fa55
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140a3fa64
mov eax, dword [rdi]
add rdi, 4
jmp 0x140a3fa64
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x277]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140a3fae1
sub rsp, 0xffffffffffffff80
jmp 0x140661de0
Function at 0x1400110dc
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001c760
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400350f3]
call fcn.1400118de
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001c7b7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001c8c3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001c85c
cmp qword [rbp + 0x28], 0
jle 0x14001c85c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001c7fc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001185c
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001c8b2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001c8b2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011523
Capabilities:
Terminate process

Disassembly:
jmp 0x14001fdb0
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 0x140011654
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001f160
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001f180
xor al, al
jmp 0x14001f201
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001f193
xor al, al
jmp 0x14001f201
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 0x14001f1bd
xor al, al
jmp 0x14001f201
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001f1d1
xor al, al
jmp 0x14001f201
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001f1e3
xor al, al
jmp 0x14001f201
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001f1ff
xor al, al
jmp 0x14001f201
mov al, 1
add rsp, 0x38
ret
Function at 0x14001169a
Capabilities:
Hide graphical window

Disassembly:
jmp 0x14001c930
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x228]
mov rax, qword [0x14002d048]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x1400350ff]
call fcn.1400118de
lea rax, [rbp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
lea rax, str.Nguy
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x98], rax
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rbp + 0xb0], rax
lea rax, [0x140011532]
mov qword [rbp + 0x88], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x1c0]
mov qword [0x14002d718], rax
lea rcx, [rbp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x14001ca30
mov r9d, 0x10
lea r8, str.NguyenThuaNam
lea rdx, str.This_program_requires_Windows_NT
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x14001cae0
mov qword [rsp + 0x58], 0
mov rax, qword [rbp + 0x1c0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0xfa
mov dword [rsp + 0x28], 0x96
mov dword [rsp + 0x20], 0x96
mov r9d, 0x10cf0000
lea r8, str.3.5___Nguy
mov rdx, qword [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 8], rax
mov edx, dword [rbp + 0x1d8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14001cadd
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14001cab1
mov eax, dword [rbp + 0x38]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140026e70]
call fcn.140011767
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.14001145b
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret