joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f0f60
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402ddc80]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 8
mov edx, 8
lea rcx, [rsp + 0x68]
call sub.libcrypto_3_x64.dll_RAND_bytes
cmp eax, 1
je 0x1400f0fab
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [rsp + 0x90]
call fcn.140005fd0
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], 0
jmp 0x1400f0fdc
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 8
jge 0x1400f107b
movsxd rax, dword [rsp + 0x24]
movzx eax, byte [rsp + rax + 0x68]
mov dword [rsp + 0x2c], eax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x22]
lea rcx, [rsp + 0x50]
call fcn.1400eef30
mov rcx, rax
call fcn.1400f0bb0
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1400f22b0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.140008360
jmp 0x1400f0fd2
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401f5ac0
add rsp, 0x80
pop rdi
ret

Function at 0x1400f1450
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402ddc80]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x34], select
mov edx, select
lea rcx, [rsp + 0x68]
call sub.libcrypto_3_x64.dll_RAND_bytes
cmp eax, 1
je 0x1400f149b
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [rsp + 0x90]
call fcn.140005fd0
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x28], 0
jmp 0x1400f14d0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x10
jae 0x1400f1570
mov rax, qword [rsp + 0x28]
movzx eax, byte [rsp + rax + 0x68]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x22]
lea rcx, [rsp + 0x50]
call fcn.1400eef80
mov rcx, rax
call fcn.1400f0bb0
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1400f22b0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.140008360
jmp 0x1400f14c3
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401f5ac0
add rsp, 0x80
pop rdi
ret
Function at 0x14010bb60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov rax, qword [0x1402e3320]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x14010bc79
mov rax, qword [rsp + 0x40]
add rax, 0x5590
mov rcx, rax
call fcn.140147880
mov qword [rsp + 0x28], rax
jmp 0x14010bbd0
mov rax, qword [rsp + 0x40]
add rax, 0x5590
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.1401495b0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14010bc79
cmp dword [rsp + 0x80], 0
je 0x14010bc01
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x14], ecx
je 0x14010bc01
mov dword [rsp + 0x38], 0
jmp 0x14010bc09
mov dword [rsp + 0x38], 1
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14010bc5f
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x14], 0
je 0x14010bc5f
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x50]
call fcn.14010ccc0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14010bc5f
mov rcx, qword [rsp + 0x58]
call fcn.140110010
mov ecx, dword [rsp + 0x80]
cmp dword [rax], ecx
jne 0x14010bc5f
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14010bc74
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x14], 0
jmp 0x14010bbac
mov dword [rsp + 0x24], 0
jmp 0x14010bc8d
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x3f80]
cmp dword [rsp + 0x24], eax
jge 0x14010bdac
mov rax, qword [rsp + 0x40]
add rax, 0x3f80
mov qword [rsp + 0x68], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
call fcn.1400f8340
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x80], 0
je 0x14010bd2d
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x420], 0
je 0x14010bcfd
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x420]
call fcn.140110010
mov ecx, dword [rsp + 0x80]
cmp dword [rax], ecx
je 0x14010bd2d
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x428], 0
je 0x14010bd23
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x428]
mov ecx, dword [rsp + 0x80]
cmp dword [rax], ecx
je 0x14010bd2d
mov dword [rsp + 0x3c], 0
jmp 0x14010bd35
mov dword [rsp + 0x3c], 1
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14010bda7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x430]
mov dword [rsp + 0x48], eax
movzx r8d, byte [rsp + 0x88]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.14010dcf0
movzx eax, byte [rsp + 0x88]
test eax, eax
jne 0x14010bda7
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x48]
cmp dword [rax + 0x430], ecx
je 0x14010bda7
mov r8d, 0x40de
lea rdx, [0x14024c670]
lea rcx, str.window__DockId__backup_dock_id
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
jmp 0x14010bc83
add rsp, 0x78
ret
Function at 0x140123a70
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140260b80]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x140123afe
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140123aa2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x140123b10
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140260b80]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x140123c14
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x140123c0f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140123be4
cmp qword [rsp + 0x38], 2
jb 0x140123be4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140123be4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140123be4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140123b57
jmp 0x140123ca6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140123ca6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x140123c7c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140123c7c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140123c7c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140123c14
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x140188e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1402ddc80]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.14018e270
test eax, eax
je 0x140188fb9
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.1401291d0
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.14018e270
test eax, eax
je 0x140188fb9
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x140188fad
mov r8d, 0x8eb
lea rdx, [0x140280af0]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
xor eax, eax
test eax, eax
jne 0x140188f84
mov eax, dword [rsp + 0x50]
jmp 0x140188fca
mov rax, qword [rsp + 0xc0]
mov qword [rax], 0
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401f5ac0
add rsp, 0xa8
ret

Function at 0x14019a0d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14019a0f6
mov dword [rsp + 0x20], 1
jmp 0x14019a0fe
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1401cd920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1402e3320]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3d48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x3d50]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.1400daf00
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x30], rax
jae 0x1401cda6e
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x1401cda30
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.1401b1210
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x1401cda2b
jmp 0x1401cda6e
jmp 0x1401cd9a1
cmp dword [rsp + 0x28], 0xd
jne 0x1401cda3c
jmp 0x1401cd9a1
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1401cb250
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x1401cd9a1
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x1401cda8d
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x1401cdac9
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400daf00
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x1402643d0]
ja 0x1401cdaed
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x1402643d0]
jp 0x1401cdb07
jne 0x1401cdb07
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x88], 0
je 0x1401cdb22
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1401e57a0
Capabilities:
Create process on windows
Create process suspended
Use process replacement

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x818
mov rax, qword [0x1402ddc80]
xor rax, rsp
mov qword [rsp + 0x800], rax
call fcn.1401e56c0
mov r8d, reloc.SecureEngineSDK64.dll_Ordinal_104
xor edx, edx
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0xb0], reloc.SecureEngineSDK64.dll_Ordinal_104
mov eax, 1
mov word [rsp + 0xf0], ax
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x5f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x5f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1401e59a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0x4550
jne 0x1401e59a0
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x1401e59a0
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x1401e59a0
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1401e59a0
mov r8d, 0x4d0
xor edx, edx
lea rcx, [rsp + 0x120]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x150], 0x10000b
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov qword [rsp + 0x218], 0
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, 0x80
call fcn.1401f53d0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1401e59d7
mov edx, 0x80
mov rcx, qword [rsp + 0x68]
call fcn.1401e56a0
mov rcx, qword [rsp + 0x68]
call fcn.1401e5640
mov qword [rsp + 0x78], rax
jmp 0x1401e59e0
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov r8d, dword [rsp + 0x838]
mov rdx, qword [rsp + 0x820]
mov rcx, qword [rsp + 0x88]
call fcn.14000aad0
xor eax, eax
mov rcx, qword [rsp + 0x800]
xor rcx, rsp
call fcn.1401f5ac0
add rsp, 0x818
ret
Function at 0x1401e7c90
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1402ddc80]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x68], 0
mov edx, 0x651
lea rcx, [rsp + 0x68]
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_18]
mov qword [rsp + 0x60], 0xffffffffffffffff
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1401e7d36
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x1401e7dbd
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1401e7d8e
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
jae 0x1401e7db8
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x28], rax
jb 0x1401e7db2
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
jb 0x1401e7db6
xor al, al
jmp 0x1401e7dd1
jmp 0x1401e7d81
jmp 0x1401e7d1e
mov edx, 0x54134
mov rcx, qword [rsp + 0x90]
call fcn.1401ed6b0
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401f5ac0
add rsp, 0x88
ret
Function at 0x1401e8950
Capabilities:
Check for trap flag exception

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp], 0
pushfq
pop rax
bts rax, 8
push rax
popfq
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rbp + 0x20], rax
nop
jmp 0x1401e89be
lea rsp, [rbp + 0x30]
pop rbp
ret
Function at 0x1401ed810
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov rax, qword [rsp + 0x28]
add rsp, 0x10
syscall
sub rsp, 0x10
ret

Function at 0x1401f3240
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401f327a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401f327f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401f32c8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401f32c8
dec r8
sub rdx, 1
jne 0x1401f32ae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401f4260
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, 4
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1401f428a
mov eax, dword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rdx, str.error_while_reading
mov rcx, rbx
call fcn.1401f42b0
int3

Function at 0x1401f6adc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401f6b26
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401f6b26
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401f6b26
mov eax, reloc.SecureEngineSDK64.dll_Ordinal_523
cmp word [rcx + 0x18], ax
jne 0x1401f6b26
cmp dword [rcx + 0x84], 0xe
jbe 0x1401f6b26
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401f6b28
xor al, al
add rsp, 0x28
ret
Function at 0x14000179c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14000d958]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1400017dc
mov eax, 0xff
jmp 0x14000197f
mov r9d, dword [rsp + 0x3c]
and r9d, 0x7fff
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov r8d, dword [rsp + 0x40]
mov dword [0x14000e5c0], r8d
mov dword [0x14000e5c8], ecx
mov dword [0x14000e5cc], edx
mov dword [0x14000e5d0], eax
mov eax, r9d
bts eax, 0xf
cmp r8d, 2
cmove eax, r9d
mov dword [0x14000e5c4], eax
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140001872
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001872
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x140001872
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x140001874
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x140001874
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.140002cb8
test eax, eax
jne 0x1400018aa
cmp dword [0x14000e028], 2
je 0x140001896
call fcn.140002aa0
mov ecx, 0x1c
call fcn.140002aec
mov ecx, 0xff
call fcn.1400026d0
call fcn.1400025b0
test eax, eax
jne 0x1400018d6
cmp dword [0x14000e028], 2
je 0x1400018c1
call fcn.140002aa0
mov ecx, 0x10
call fcn.140002aec
mov ecx, 0xff
call fcn.1400026d0
nop
call fcn.140002d2c
test eax, eax
jns 0x1400018e9
mov ecx, 0x1b
call fcn.1400026ec
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x140010130], rax
call fcn.14000352c
mov qword [0x14000e020], rax
call fcn.140002fbc
test eax, eax
jns 0x140001914
mov ecx, 8
call fcn.1400026ec
call fcn.1400032f0
test eax, eax
jns 0x140001927
mov ecx, 9
call fcn.1400026ec
mov ecx, edi
call fcn.140002750
test eax, eax
je 0x140001939
mov ecx, eax
call fcn.1400026ec
mov r8, qword [0x14000e5b0]
mov qword [0x14000e5e0], r8
mov rdx, qword [0x14000e5a8]
mov ecx, dword [0x14000e5a0]
call fcn.1400013e8
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
je 0x1400019a0
call fcn.14000273c
jmp 0x14000197d
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a0000
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
mov ecx, eax
call fcn.140002a90
nop
mov ecx, eax
call fcn.140002660
nop
int3
sub rsp, 0x28
call fcn.140003450
add rsp, 0x28
jmp 0x14000179c