joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180012fa0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18007d02c]
mov ebx, edi
test ecx, ecx
je 0x1800130db
mov rax, qword [0x18007d020]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180012ff8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180012fd0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800130db
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180012cc0
mov r8d, dword [0x18007d02c]
cmp ebx, r8d
jae 0x180013068
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18007d020]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180013061
mov edx, esi
mov ecx, ebx
call fcn.180012e70
mov edi, eax
test eax, eax
jne 0x180013068
mov r8d, dword [0x18007d02c]
inc ebx
cmp ebx, r8d
jb 0x180013030
cmp qword [rsp + 0x20], 0
je 0x1800130db
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800130c7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800130b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180013090
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18007cdf8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180013450
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18007cdf4], ebp
je 0x1800134a7
cmp rbx, 0x20
jae 0x180013490
xor ecx, ecx
jmp 0x180013492
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18007cdf4], ebp
jne 0x180013486
cmp qword [0x18007cdf8], r15
je 0x1800135a1
test rdi, rdi
jne 0x1800134c7
mov ecx, esi
call fcn.180012fa0
mov ebp, eax
jmp 0x1800135a6
mov ecx, dword [0x18007d02c]
mov ebx, r15d
test ecx, ecx
je 0x1800134ef
mov r8, qword [0x18007d020]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x1800134f9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800134e0
mov ebp, 4
jmp 0x1800135a6
cmp ebx, 0xffffffff
je 0x1800134ef
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180013598
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180012cc0
mov edx, esi
mov ecx, ebx
call fcn.180012e70
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1800135a6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180013582
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180013578
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180013550
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18007cdf8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800135a6
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1800135a6
mov ebp, 2
xchg dword [0x18007cdf4], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x180014e90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180014eed
lea rbx, [0x18006fbc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180014ed4
cmp r10, 2
jb 0x180014ed4
cmp byte [r9], r8b
jne 0x180014ed4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180014eb0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180014f2f
lea rbx, [0x18006fbc0]
cmp r8b, 0x23
jne 0x180014f13
cmp byte [r9], r8b
jne 0x180014f13
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180014f00
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180015070
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001508a
mov qword [r8], 0
lea rdx, [0x180073e64]
call fcn.180014f40
mov rbx, rax
test rax, rax
jne 0x1800150aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180015181
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180015181
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180015181
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180015181
cmp rdi, 0xffffffffffffffff
je 0x180015181
mov rax, qword [0x18007ce08]
test rax, rax
je 0x18001511e
inc dword [rax + 0x3fc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180015181
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001516e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18007ce08]
test rax, rax
je 0x180015163
dec dword [rax + 0x3fc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001518a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001517c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001518c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180019490
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x180073da5]
mov dword [rsp + 0x2c], eax
lea r11, [0x18006fbc0]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x1800194e6
cmp byte [r8], r9b
jne 0x1800194e6
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1800194d3
mov ecx, dword [rbx + 0x314c]
lea rax, [0x1800250c0]
mov edi, dword [rbx + 0x3148]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x180025150]
mov qword [rsp + 0x40], rax
lea rax, [0x180025220]
mov qword [rsp + 0x48], rax
lea rax, [0x180025300]
mov qword [rsp + 0x50], rax
lea rax, [0x180025450]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180019610
inc edi
test ecx, ecx
je 0x18001956a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001956f
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180019610
mov rax, qword [0x18007ce08]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rsi
test rax, rax
je 0x18001959e
inc dword [rax + 0x3fc]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, qword [rbx + 0x3150]
mov rbp, rax
test rsi, rsi
je 0x1800195f3
movsxd rcx, dword [rbx + 0x3148]
mov rdx, rsi
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x18007ce08]
test rax, rax
je 0x1800195ea
dec dword [rax + 0x3fc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x88]
mov qword [rbx + 0x3150], rbp
mov rbp, qword [rsp + 0x80]
mov dword [rbx + 0x314c], edi
movsxd rax, dword [rbx + 0x3148]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3150]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3148]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x18001ad80
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18001add0
lea r11, [0x18006fbc0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001adb3
cmp byte [r8], r9b
jne 0x18001adb3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18001ada0
mov rcx, qword [0x18007ce08]
not eax
movsxd rdx, dword [rcx + 0x1b20]
mov r9, qword [rcx + 0x1b28]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18001ae31
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18001ae29
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18001ae2c
mov rdx, r8
test rdx, rdx
jne 0x18001ae00
cmp r9, r10
je 0x18001ae40
cmp dword [r9], eax
jne 0x18001ae40
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180024980
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x18007ce08]
cmp byte [rbx + 0x3188], 0
je 0x180024a6c
cmp qword [rbx + 0x3190], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3198]
je 0x180024a54
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x1800249fb
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180026050
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.180015440
mov eax, dword [rdi]
lea rcx, [0x18007cdaf]
mov r9, qword [rbx + 0x3190]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x31a0]
cmove edx, ebp
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.180015440
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x180036820
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18007c040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x18007cfc8]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x18007ce08]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x58], xmm1
movss dword [rdi + 0x5c], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x18007cfd0]
cvtsi2ss xmm0, qword [0x18007cfd8]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x60], xmm1
mov qword [0x18007cfd0], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x188], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x189], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x18007ce08]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x18b], 0
mov byte [rdi + 0x18a], al
cmp byte [rcx + 0x3e3], 0
lea rbx, [rcx + 0x170]
je 0x18003694c
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rcx + 0x174]
mov rcx, qword [0x18007cfc8]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1800369bd
mov rdx, qword [0x18007cfc8]
cmp rax, rdx
je 0x18003697d
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1800369bd
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1800369bd
mov rcx, qword [0x18007cfc8]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1800369bd
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0x110], 0
je 0x1800369cd
mov eax, 0xffffffff
jmp 0x1800369da
mov rax, qword [0x18007ce08]
mov eax, dword [rax + 0x2058]
cmp dword [0x18007c4b0], eax
je 0x1800369ed
mov dword [0x18007c4b0], eax
call fcn.1800363f0
call fcn.180036570
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180041120
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140002550
Capabilities:
Read file via mapping

Disassembly:
push rbx
push rbp
push rdi
push r14
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [rsp + 0x40]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x140002792
mov r14, qword [rsp + 0x40]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [rbx + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140002792
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
mov r8d, 0x1000002
mov qword [rsp + 0x70], r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r15, rax
test rax, rax
jne 0x14000261a
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140002754
xor r9d, r9d
mov qword [rsp + 0x80], r12
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, r15
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r12, rax
test rax, rax
jne 0x14000265b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000274c
mov qword [rsp + 0xc0], rsi
movzx edi, bx
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
mov qword [rsp + 0x78], r13
cmp bx, word [rsi + 6]
jae 0x14000271f
lea r13, str..text
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rsi + 0x14]
movzx eax, di
add rcx, rsi
lea rdx, [rax + rax*4]
xor eax, eax
lea rbx, [rcx + rdx*8]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbx + rax + 0x18]
inc rax
cmp cl, byte [rax + r13 - 1]
jne 0x140002712
cmp rax, 6
jne 0x1400026b0
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x58]
mov edx, dword [rbx + 0x20]
lea r8d, [rax + 0x3a]
add rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002773
mov eax, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
lea rdx, [rax + r12]
lea rcx, [rax + r14]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x58]
mov edx, dword [rbx + 0x20]
add rcx, r14
mov r8d, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
inc di
cmp di, word [rsi + 6]
jb 0x140002690
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov r13, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xc0]
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140004490
add rsp, 0x88
pop r14
pop rdi
pop rbp
pop rbx
ret
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000273f
xor eax, eax
jmp 0x140002759
Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.RtlFlsAlloc
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], 0
xor ecx, ecx
call rax
cmp dword [rsp + 0x38], 0
jne 0x1400010c4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.Sandbox_not_detected___n
mov qword [rsp + 0x60], rbx
call fcn.140001010
mov ebx, 0xb
nop word [rax + rax]
mov r8d, 0x304
lea rcx, [0x140005120]
call fcn.140001260
sub rbx, 1
jne 0x1400010e0
lea r8d, [rbx + 0xa]
lea rcx, [0x140005428]
call fcn.140001260
lea r8d, [rbx + 0x18]
lea rcx, [0x1400050d8]
call fcn.140001260
lea r8d, [rbx + 0x15]
lea rcx, [0x140005108]
call fcn.140001260
lea r8d, [rbx + 0x17]
lea rcx, [0x1400050b0]
call fcn.140001260
lea r8d, [rbx + 0x11]
lea rcx, [0x140005080]
call fcn.140001260
lea r8d, [rbx + 0x14]
lea rcx, [0x140005098]
call fcn.140001260
lea r8d, [rbx + 0x16]
lea rcx, [0x1400050f0]
call fcn.140001260
lea r8d, [rbx + 0xe]
lea rcx, [0x1400050c8]
call fcn.140001260
lea rcx, [0x140005428]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400050d8]
mov qword [rsp + 0x40], 0x304
mov rcx, rax
mov qword [rsp + 0x30], 0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov dword [rsp + 0x28], 4
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0x30]
lea rcx, [r8 - 1]
call rax
lea rdx, [0x140005108]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r8, [0x140005120]
mov rcx, 0xffffffffffffffff
mov r9d, 0x304
call rax
lea rdx, [0x1400050b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x38]
mov r9d, 0x20
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call rax
call qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400013b0
add rsp, 0x68
ret
Function at 0x140001260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x100], rax
xor r11d, r11d
lea r9, [rsp]
mov edx, r11d
mov eax, r11d
mov rdi, r8
mov rbx, rcx
mov r10d, 0x100
nop dword [rax]
mov byte [r9], al
lea r9, [r9 + 1]
inc eax
cmp eax, r10d
jl 0x1400012a0
mov r8, r11
lea rsi, [0x140005438]
nop dword [rax + rax]
movzx r9d, byte [rsp + r8]
mov rax, r8
and eax, 7
movzx eax, byte [rax + rsi]
add edx, eax
add edx, r9d
and edx, 0x800000ff
jge 0x1400012e6
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea rcx, [rsp]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + r8], al
inc r8
mov byte [rcx], r9b
sub r10, 1
jne 0x1400012c0
mov eax, r11d
test rdi, rdi
je 0x140001372
nop dword [rax + rax]
inc eax
and eax, 0x800000ff
jge 0x140001322
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
lea r8, [rsp]
add r8, rcx
movzx r9d, byte [r8]
lea ecx, [r11 + r9]
and ecx, 0x800000ff
jge 0x140001346
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r11, ecx
lea rdx, [rsp]
movzx ecx, byte [rdx + r11]
mov byte [r8], cl
mov byte [rdx + r11], r9b
movzx ecx, byte [r8]
add rcx, r9
movzx ecx, cl
movzx edx, byte [rsp + rcx]
xor byte [rbx], dl
inc rbx
sub rdi, 1
jne 0x140001310
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400013b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140001c70
Capabilities:
Parse pe header

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

Disassembly:
lodsb al, byte [rsi]
push rbx
hlt
outsd dx, dword [rsi]
cmp edx, dword [rbx + 0x30]
out 0x31, eax
movabs dword [0x253a591ee91dda37], eax
push rdx
lodsb al, byte [rsi]
push rax
invalid
sar dword [rdx + 0x1f], 0xb8
xor eax, 0x526d6ed1
jp 0x180023731
mov eax, 0x6ed135f2
insd dword [rdi], dx
push rdx
std
sbb eax, eax
xlatb
mov edi, 0xa5643968
jle 0x18002370f
and ebx, dword [rcx + 0x17]
fld xword [rdi - 0x6296e58f]
mov edi, 0xe6d6bf49
sub dword [rax], ebp
rcr ecx, 0xed
mov esi, 0xbb7cabbb
je 0x1800236d2
invalid
add eax, 0xbfe64ee2
and eax, 0x1e6f3d5b
js 0x1800236dc
jp 0x1800237cb
invalid
invalid

Function at 0x18003a230
Capabilities:
Encode data using xor

Disassembly:
invalid
jb 0x18003a1f7
lodsb al, byte [rsi]
push rbp
shl dword [rsi + 0x3567656e], 1
stosb byte [rdi], al
add al, 0x9f
xor al, 0x54
xor ch, byte [rdi - 0x54859184]
loopne 0x18003a23f
pop rbp
push rsi
mov bl, 0xdc
pop rcx
cwde
adc eax, 0xa5320d70
and al, 0x9e
mov ah, 0xc5
outsb dx, byte [rsi]
invalid

Function at 0x180057780
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [rsi], dword [rdi]
cmc
sar qword [rsi + 0x1e4e51], cl
mov bl, 0xd6
mov dh, 0x61
pop rdi
sti
cld
jnp 0x1800577af
sbb al, 0x9e
mov dh, 0x6c
push 0x65
xchg r8, rax
lodsd eax, dword [rsi]
shr bl, 0x5d
fdivp st(4)
stosd dword [rdi], eax
pop rax
invalid
ror bl, 0x68
sbb ebx, dword [rdx - 0x61fd3d50]
neg byte [rdx]
insb byte [rdi], dx
and al, 0xef
xor al, 0x92
jno 0x1800577b0
retf
xor al, 0xad
and esi, esp
mov esi, ss
push rax
loopne 0x1800577ed
mov ebp, 0x8fe8d83b
mov ecx, ebp
fisubr word [rdi - 0x76]
sbb esi, esp
push rdx
sar dword [rdx], 0x1d
pop rsp
sub edx, edi
mov edi, 0x309f55d6
lodsd eax, dword [rsi]
xor dl, ah
mov word [rbp + 0x7b], ss
mov bl, 0xde
invalid
popfq
mov esi, 0xc0d2bb45
not ch
invalid