joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003c30
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 0x140003cc0
jmp 0x140003caf
jae 0x140003d80
cmp r8, 0x201
jae 0x140003cc0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140003d18
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x140003cef
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140019820
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 0x140003d41
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140003de8
mov r8d, r14d
cmp r15, r8
jne 0x140003ca0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003e0b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140003caf
jmp 0x140003cc0
cmp rsi, r8
jb 0x140003e25
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140005c20
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 0x140003dd1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140001390
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 0x140003db9
jmp 0x140003dd1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001a240
jmp 0x140003e3a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001a690
ud2
Function at 0x140003e90
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.14000b1f0
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x408], rax
test rax, rax
je 0x140004016
mov qword [rbp + 0x400], rsi
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x418], rax
mov qword [rbp + 0x3e8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x410], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x140003f50
jmp 0x140003f3f
jae 0x140004028
cmp r8, 0x201
jae 0x140003f50
mov r15d, 0x200
lea r14, [rbp - 0x60]
mov r12, r8
jmp 0x140003fa8
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x140003f7f
lea rcx, [rbp + 0x3e8]
mov rdx, r13
call fcn.140019820
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x410], rax
mov rdi, qword [rbp + 0x3f0]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x3f8], r13
mov rbx, rdi
mov r15, r13
mov r14, qword [rbp + 0x410]
mov r12, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x408]
mov rdx, r14
mov r8d, r12d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x140003fd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400040fb
mov r8d, esi
cmp r12, r8
jne 0x140003f30
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140004125
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140003f3f
jmp 0x140003f50
lea rcx, [rbp - 0x58]
call fcn.140001c60
mov byte [rsi + 0x18], 2
jmp 0x1400040ba
cmp r15, r8
jb 0x14000413f
lea rcx, [rbp + 0x3a0]
mov rdx, r14
call fcn.140005c20
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
test rdi, rdi
je 0x140004079
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x410]
mov rdx, rdi
call fcn.140001390
cmp byte [rbp + 0x3d8], 2
jne 0x1400040d1
mov rsi, qword [rbp + 0x400]
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3c0]
call fcn.140001c60
mov rdx, qword [rbp + 0x418]
test rdx, rdx
je 0x1400040ba
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x408]
call fcn.140001390
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
mov rsi, qword [rbp + 0x400]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x418]
test rdx, rdx
jne 0x1400040a5
jmp 0x1400040ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3d8], 2
test rdi, rdi
jne 0x140004061
jmp 0x140004079
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001a240
jmp 0x140004154
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.14001a690
ud2
Function at 0x140009e70
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 [0x14001d000]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140009eb4
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 0x140009f1a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140009f51
test eax, eax
js 0x140009f2b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140009f44
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 dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 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.140005960
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140001e20
mov ecx, 7
int 0x29
ud2
Function at 0x140017c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140017c8a
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 0x140017c80
cmp r11, r10
ja 0x140017d23
cmp r10, rdx
ja 0x140017d37
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140017c82
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140017c60
jmp 0x140017cf7
ja 0x140017c8a
mov r11, r10
cmp rax, r8
jne 0x140017c32
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140017cfb
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 0x140017cd0
mov r8, r10
sub ecx, r9d
jns 0x140017cee
jmp 0x140017cfd
cmp r10, rdx
je 0x140017d09
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140017cfd
xor al, 1
cmp r8, rdx
jne 0x140017cb0
jmp 0x140017cfd
xor eax, eax
jmp 0x140017cfd
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.14001a240
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001a710
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001a690
ud2

Function at 0x14001928c
Capabilities:
Parse pe header

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

Disassembly:
call 0x14093c337
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14093c1e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14093c1c7
add dl, dl
jne 0x14093c1ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14093c24e
xor eax, eax
add dl, dl
jne 0x14093c1fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14093c305
add dl, dl
jne 0x14093c20e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14093c21b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14093c228
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14093c235
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14093c242
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14093c1d6
mov eax, 1
add dl, dl
jne 0x14093c25e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14093c26b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14093c253
sub eax, ebx
mov ebx, 1
jne 0x14093c2a4
mov ecx, 1
add dl, dl
jne 0x14093c286
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14093c293
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14093c27b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14093c1d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14093c2c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14093c2cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14093c2b5
cmp eax, 0x7d00
jae 0x14093c2f3
cmp eax, 0x500
jb 0x14093c2ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14093c1d6
cmp eax, 0x7f
ja 0x14093c2f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14093c1d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14093c32a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14093c1d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400033d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x58
mov eax, 0x254cdc44
mov ecx, eax
mov qword [rsp + 0x48], 0x6e33d5eb
mov qword [rsp + 0x10], 0x5bc1bf99
mov rdx, qword [rsp + 0x10]
imul r8, rdx, 0xa0bcac1
cmp rcx, r8
mov qword [rsp + 8], rdx
je 0x1400034a2
jmp 0x1400034df
mov rax, qword [rsp + 0x18]
cmp dword [rax], 0x4550
je 0x14000346b
mov eax, 0x6e33c5eb
mov ecx, eax
mov rdx, qword [rsp + 0x30]
add rdx, 0xfffffffffffff000
sub rcx, qword [rsp + 0x48]
and rdx, rcx
mov eax, dword [rsp + 0x54]
xor eax, 0xffffffff
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x40], 0xffffffffda8e66a4
mov qword [rsp + 0x20], rdx
jmp 0x140003475
mov rax, qword [rsp + 0x28]
or rax, 0x18b9f8cb
cmp rax, 0x510314d2
jbe 0x1400034fe
jmp 0x1400034fe
mov rax, qword [rsp + 0x30]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 8]
add rax, 0x48e9b690
mov rcx, qword [rsp + 0x30]
mov dx, word [rcx]
mov qword [rsp + 0x40], rax
cmp dx, 0x5a4d
jne 0x140003419
mov eax, 0x5a2f3a98
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x54]
movsxd rcx, dword [rcx + 0x3c]
mov qword [rsp], rcx
mov ecx, edx
shr eax, cl
mov dword [rsp + 0x54], eax
mov r8, qword [rsp]
add r8, qword [rsp + 0x30]
mov eax, dword [rsp + 0x3c]
mov qword [rsp + 0x18], r8
cmp eax, 0x506a5f0c
ja 0x14000340c
jmp 0x1400034a2
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], 0x32efc0df
cmp rax, 0x59962409
jb 0x14000340c
jmp 0x14000344f
lea rax, [fcn.1400033d0]
mov dword [rsp + 0x3c], 0x581a4b86
mov qword [rsp + 0x20], rax
jmp 0x140003475
Function at 0x140097350
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14009735d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14009736d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140097355
lea eax, [rcx + 1]
jmp 0x14009737b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14009738e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140097374
sub eax, 3
jb 0x1400973ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400973fd
sar eax, 1
movsxd rbp, eax
jb 0x1400973e4
jmp 0x1400973bc
add ebx, ebx
jne 0x1400973ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400973e4
inc ecx
add ebx, ebx
jne 0x1400973ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400973e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400973dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400973cc
add ecx, 2
jmp 0x1400973e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140097312
jmp 0x14009735d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x65800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140097449
cmp rsi, rcx
jae 0x140097451
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140097430
cmp al, 0x8f
ja 0x140097430
cmp byte [rsi - 2], 0xf
je 0x140097436
sub al, 0xe8
cmp al, 1
ja 0x14009741a
cmp rsi, rcx
jae 0x140097451
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140097420
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140097451
lodsb al, byte [rsi]
jmp 0x140097430
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x95000]
mov eax, dword [rdi]
or eax, eax
je 0x1400974ba
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x97320]
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 0x14009745e
jns 0x140097493
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14009749d
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 0x1400974b4
mov qword [rbx], rax
add rbx, 8
jmp 0x14009747e
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 0x1400974f4
cmp al, 0xef
ja 0x1400974e6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400974c6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400974d5
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 + 0x22f]
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 0x140097548
sub rsp, 0xffffffffffffff80
jmp 0x14000ba40
Function at 0x140001120
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140002030]
and qword [rbp + 0x18], 0
movabs rbx, 0x2b992ddfa232
cmp rax, rbx
je 0x1400018ce
mov rbx, qword [rsp + 0x48]
not rax
mov qword [0x140002018], rax
add rsp, 0x20
pop rbp
ret
lea rcx, [rbp + 0x18]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemTimeAsFileTime]
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcessId]
mov eax, eax
xor qword [rbp + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
mov eax, eax
xor qword [rbp + 0x10], rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov eax, eax
shl rax, 0x18
xor qword [rbp + 0x10], rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
lea rcx, [rbp + 0x10]
mov eax, eax
xor rax, qword [rbp + 0x10]
xor rax, rcx
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x10], rax
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
mov eax, dword [rbp + 0x20]
shl rax, 0x20
movabs rcx, 0xffffffffffff
xor rax, qword [rbp + 0x20]
xor rax, qword [rbp + 0x10]
and rax, rcx
movabs rcx, 0x2b992ddfa233
cmp rax, rbx
cmove rax, rcx
mov qword [0x140002030], rax
jmp 0x14000114c
Function at 0x140001190
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140001120
add rsp, 0x28
jmp 0x1400011b0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0xb0
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov r14d, r15d
xor eax, eax
lock cmpxchg qword [section..data], rbx
jne 0x140001790
mov edi, 1
mov eax, dword [0x140002014]
cmp eax, edi
je 0x1400017b3
mov eax, dword [0x140002014]
test eax, eax
jne 0x1400017cf
mov dword [0x140002014], edi
lea r12, [0x140001620]
lea rbx, [0x140001608]
mov qword [rsp + 0x30], rbx
mov eax, r15d
mov dword [rsp + 0x24], eax
cmp rbx, r12
jae 0x140001274
test eax, eax
jne 0x1400017c5
mov rsi, qword [rbx]
test rsi, rsi
je 0x140001269
mov rcx, rsi
mov rax, qword [0x140004170]
call rax
call rsi
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x140001242
test eax, eax
jne 0x1400017c5
mov esi, 0x1f
mov eax, dword [0x140002014]
cmp eax, edi
jne 0x1400012a8
lea rdx, [0x140001638]
lea rcx, [0x140001628]
call fcn.140093000
mov dword [0x140002014], 2
test r14d, r14d
jne 0x1400012b7
mov rax, r15
xchg qword [section..data], rax
cmp qword [0x1400025d8], r15
jne 0x1400017db
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001814
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
jbe 0x1400012fc
cmp word [rcx], 0x22
je 0x14000184b
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400012e0
cmp word [rcx], r15w
je 0x140001306
test edx, edx
jne 0x1400012e6
movzx eax, word [rcx]
sub ax, di
cmp ax, si
ja 0x14000131c
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140001306
test byte [rsp + 0x7c], dil
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001360
nop
jmp 0x14000181c
cmp rax, rbx
jne 0x1400017a2
mov edi, 1
mov r14d, edi
jmp 0x140001206
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400011f0
mov esi, 0x1f
mov ecx, esi
call sub.msvcrt.dll__amsg_exit
jmp 0x140001281
mov eax, 0xff
jmp 0x14000188c
mov dword [0x1400025e4], edi
jmp 0x14000127c
lea rcx, [0x1400025d8]
call fcn.140001a20
test eax, eax
je 0x1400012c4
mov rbx, qword [0x1400025d8]
mov rcx, rbx
mov rax, qword [0x140004170]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
nop
jmp 0x1400012c4
mov eax, 0xff
jmp 0x14000188c
mov dword [0x1400025e0], eax
cmp dword [0x14000200c], r15d
jne 0x140001833
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400025e4], r15d
jne 0x140001848
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400025e0]
jmp 0x14000188c
mov eax, r15d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
jmp 0x1400012f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140001360
Capabilities:
Terminate process

Disassembly:
xor eax, eax
add rbx, 2
mov word [rbx - 2], ax
cmp word [rbx], ax
je 0x140001720
lea rdx, [0x1400015f0]
lea rcx, [rsp + 0x90]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140001720
lea rcx, [rsp + 0x30]
mov r8, rbx
mov edx, 0x29
call fcn.1400013f0
test eax, eax
js 0x14000108c
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_IIDFromString]
test eax, eax
js 0x14000108c
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoInitializeEx]
test eax, eax
js 0x14000108c
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.api_ms_win_core_com_private_l1_1_0.dll_CoRegisterSurrogateEx]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoUninitialize]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140001700
add rsp, 0x2b0
pop rbx
ret
push rbx
sub rsp, 0x2b0
mov rax, qword [0x140002030]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor r9d, r9d
mov rbx, r8
xor ecx, ecx
lea edx, [r9 + 1]
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapSetInformation]
lea rcx, [rsp + 0x90]
mov r8, rbx
mov edx, 0x105
call fcn.1400013f0
test eax, eax
js 0x14000108c
cmp word [rsp + 0x90], 0
lea rbx, [rsp + 0x90]
je 0x140001720
cmp word [rbx], 0x3a
je section..text
add rbx, 2
cmp word [rbx], 0
jne 0x1400013c4
jmp 0x140001720
lea rbx, [rsp + 0x90]
jmp 0x140001030

Function at 0x140001adc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]