joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e5d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp], 0
jmp 0x14002e5ee
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x9c
jae 0x14002e68c
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
and rax, 1
test rax, rax
je 0x14002e652
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x10], rax
jmp 0x14002e65b
mov qword [rsp + 0x10], 0
mov rax, qword [rsp + 8]
shr rax, 1
xor rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 + 0xea8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14002e5e3
jmp 0x14002e699
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0x137
jae 0x14002e737
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov rcx, qword [rcx + rdx*8 + 0x9d0]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
and rax, 1
test rax, rax
je 0x14002e6fd
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x20], rax
jmp 0x14002e706
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x18]
shr rax, 1
xor rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor rax, qword [rcx + rdx*8 - 0x4d8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14002e68e
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov rax, qword [rax + rcx*8 + 0x9c8]
and rax, 0xffffffff80000000
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx + rcx + 8]
and rcx, 0x7fffffff
or rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
and rax, 1
test rax, rax
je 0x14002e78f
movabs rax, 0xb5026f5aa96619e9
mov qword [rsp + 0x30], rax
jmp 0x14002e798
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x28]
shr rax, 1
xor rax, qword [rsp + 0x30]
mov ecx, 8
imul rcx, rcx, 0x9b
mov rdx, qword [rsp + 0x50]
xor rax, qword [rdx + rcx + 8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov qword [rcx + rdx*8 + 8], rax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x140090460
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140090499
mov eax, 0xfffffffd
jmp 0x1400905ee
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400904bc
mov eax, 0xfffffffd
jmp 0x1400905ee
cmp dword [rsp + 0x20], 0
jne 0x1400904ca
xor eax, eax
jmp 0x1400905ee
mov eax, dword [rsp + 0x20]
inc eax
cdqe
lea rdx, [0x14018ff9c]
mov rcx, rax
call fcn.140173cb8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140090502
mov eax, 0xfffffffe
jmp 0x1400905ee
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov byte [rcx + rax], 0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
movsxd rax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x88]
mov r8, rax
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x40], rax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x40], rax
je 0x140090595
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1401734a0
cmp qword [rsp + 0x38], 0
jne 0x14009057b
mov qword [rsp + 0x58], 0
jmp 0x14009058e
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov eax, 0xfffffffd
jmp 0x1400905ee
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.140091e60
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1401734a0
cmp qword [rsp + 0x48], 0
jne 0x1400905d7
mov qword [rsp + 0x60], 0
jmp 0x1400905ea
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x34]
add rsp, 0x78
ret

Function at 0x14009bfa0
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, [0x1401aaad0]
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 0x14009c02e
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 0x14009bfd2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x14009c040
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, [0x1401aaad0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x14009c144
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 0x14009c13f
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 0x14009c114
cmp qword [rsp + 0x38], 2
jb 0x14009c114
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14009c114
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14009c114
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 0x14009c087
jmp 0x14009c1d6
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 0x14009c1d6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14009c1ac
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14009c1ac
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14009c1ac
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 0x14009c144
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1400c3e50
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 [0x14021e080]
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.1400c2a20
test eax, eax
je 0x1400c3fe9
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.1400a0880
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.1400c2a20
test eax, eax
je 0x1400c3fe9
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x1400c3fdd
mov r8d, 0x8c6
lea rdx, [0x1401b98f0]
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 0x1400c3fb4
mov eax, dword [rsp + 0x50]
jmp 0x1400c3ffa
mov rax, qword [rsp + 0xc0]
mov qword [rax], 0
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140173480
add rsp, 0xa8
ret
Function at 0x1400dbdc0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14021e080]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1400a0ba0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0xa0]
call fcn.1400db0e0
movzx eax, al
test eax, eax
je 0x1400dbe01
lea rax, str.Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__.
test rax, rax
jne 0x1400dbe1d
mov r8d, 0x10c
lea rdx, [0x1401c2d20]
lea rcx, str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402c3cf0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.14003d840
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1402c3cf8]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1402c3d00]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x1402c3cf8], rax
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400dbef5
mov dword [rsp + 0x28], 1
jmp 0x1400dbefd
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x138], cl
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400dbf2c
mov dword [rsp + 0x2c], 1
jmp 0x1400dbf34
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x139], cl
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400dbf63
mov dword [rsp + 0x30], 1
jmp 0x1400dbf6b
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x13a], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x13b], 0
call fcn.1400db5a0
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x1400dbfa6
mov dword [rsp + 0x34], 0xffffffff
jmp 0x1400dbfaf
call fcn.1400a5a10
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x1400dbfd2
mov eax, dword [rsp + 0x38]
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.1400db470
call fcn.1400db700
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140173480
add rsp, 0x78
ret
Function at 0x1400e77c0
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, 0x78
mov rax, qword [0x14021e080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [0x14028aa10]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x1978]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x1980]
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
lea rcx, [rsp + 0x60]
call fcn.14003d840
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x30], rax
jae 0x1400e790f
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 0x1400e78d1
movss xmm1, dword [rsp + 0x20]
movss xmm0, dword [rsp + 0x60]
call fcn.1400bcfc0
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rsp + 0x64]
addss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x1400e78cf
jmp 0x1400e790f
jmp 0x1400e7853
cmp dword [rsp + 0x28], 0xd
jne 0x1400e78dd
jmp 0x1400e7853
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400de540
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 0x1400e7853
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rsp + 0x60]
jbe 0x1400e7928
movss xmm0, dword [rsp + 0x20]
movss dword [rsp + 0x60], xmm0
cmp qword [rsp + 0xa0], 0
je 0x1400e7960
movss xmm0, dword [rsp + 0x64]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14003d840
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x14020afbc]
ja 0x1400e7980
movss xmm0, dword [rsp + 0x64]
ucomiss xmm0, dword [0x14020afbc]
jp 0x1400e7992
jne 0x1400e7992
movss xmm0, dword [rsp + 0x64]
addss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x64], xmm0
cmp qword [rsp + 0x98], 0
je 0x1400e79ad
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140173480
add rsp, 0x78
ret
Function at 0x1401055f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14021e080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.140015850
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140105665
xor al, al
jmp 0x1401056cd
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x44], 0
je 0x1401056c0
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x50], eax
jne 0x1401056c0
mov dword [rsp + 0x40], 1
jmp 0x1401056c8
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140173480
add rsp, 0x68
ret
Function at 0x140105750
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov rax, qword [0x14021e080]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1c0]
mov byte [rax], 0
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0x30], rax
lea rdx, [0x14020aae8]
mov rcx, qword [rsp + 0x30]
call fcn.140015aa0
nop
mov rax, qword [rsp + 0x1c0]
add rax, 0x28
mov qword [rsp + 0x38], rax
lea rdx, [0x14020aae8]
mov rcx, qword [rsp + 0x38]
call fcn.140015aa0
nop
mov rax, qword [rsp + 0x1c0]
add rax, 0x48
mov qword [rsp + 0x40], rax
lea rdx, [0x14020aae8]
mov rcx, qword [rsp + 0x40]
call fcn.140015aa0
nop
mov rax, qword [rsp + 0x1c0]
mov qword [rax + 0x68], 0
mov rax, qword [rsp + 0x1c0]
mov qword [rax + 0x70], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x78], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x79], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x7a], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x7b], 0
mov rax, qword [rsp + 0x1c0]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov rdx, qword [rsp + 0x1c8]
mov rcx, rax
call fcn.140015930
xor r8d, r8d
mov dl, 0x3a
mov rcx, qword [rsp + 0x1c8]
call fcn.140015780
cmp rax, 0xffffffffffffffff
jne 0x14010590d
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.140015aa0
nop
lea rdx, [0x14020af50]
lea rcx, [rsp + 0x70]
call fcn.14010af40
mov r8, qword [rsp + 0x1c8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14010b6d0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400159c0
lea rcx, [rsp + 0x50]
call fcn.140015990
nop
lea rcx, [rsp + 0x70]
call fcn.140015990
mov rax, qword [rsp + 0x1c0]
add rax, 0x28
mov rdx, qword [rsp + 0x1d0]
mov rcx, rax
call fcn.140015930
mov rax, qword [rsp + 0x1c0]
add rax, 0x48
mov rdx, qword [rsp + 0x1d8]
mov rcx, rax
call fcn.140015930
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1e0]
mov qword [rax + 0x68], rcx
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1e8]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov rdx, rax
mov rcx, qword [rsp + 0x1c0]
call fcn.1401056e0
movzx eax, al
test eax, eax
je 0x140105992
jmp 0x1401059ce
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov dword [rsp + 0x20], 1
mov r9, rax
mov rax, qword [rsp + 0x1c0]
mov r8d, dword [rax + 0x70]
mov rax, qword [rsp + 0x1c0]
mov rdx, qword [rax + 0x68]
mov rcx, qword [rsp + 0x1c0]
call fcn.1401055f0
mov rcx, qword [rsp + 0x1c0]
call fcn.140105cc0
nop
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140173480
add rsp, 0x1b8
ret
Function at 0x14010e450
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov eax, dword [0x14028aa0c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [0x14028aa00]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x14028aa30], eax
movsxd rax, dword [0x14028aa30]
mov qword [rsp + 0x20], 0
mov r9d, reloc.WLDAP32.dll_Ordinal_60
lea r8, [0x14024bd28]
mov rdx, rax
mov rcx, qword [0x14028aa00]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, byte [0x14028a9b6]
cmp eax, 1
jne 0x14010e4d4
mov eax, dword [0x14028aa30]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.140111200
jmp 0x14010e4f2
movzx eax, byte [0x14028aa08]
cmp eax, 1
jne 0x14010e4f2
mov eax, dword [0x14028aa30]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.140111200
movzx eax, byte [0x14028a9b4]
cmp eax, 1
jne 0x14010e512
mov eax, dword [0x14028aa30]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.140111200
jmp 0x14010e530
movzx eax, byte [0x14028a9b5]
cmp eax, 1
jne 0x14010e530
mov eax, dword [0x14028aa30]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.140111200
mov eax, dword [0x14028aa30]
add eax, 0x5e
mov ecx, dword [0x14028aa30]
add ecx, 9
mov edx, eax
call fcn.140111240
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x14028aa28]
mov rdx, rax
mov rcx, qword [0x14028aa00]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x14028aa30]
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x14028aa28]
mov rdx, rax
mov rcx, qword [0x14028aa00]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rsp, 0x48
ret

Function at 0x140111a70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x14021e080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140111abe
xor eax, eax
jmp 0x140111b32
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140111b1f
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140111b0b
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jbe 0x140111b0b
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140111ada
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
jmp 0x140111b32
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140173480
add rsp, 0x288
ret
Function at 0x140113610
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x140113644
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x6f]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140113630
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140113671
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140113690
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14011369e
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140028f40
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140113715
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140113710
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140113710
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401734a0
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret