joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ebbdd
Capabilities:
Print debug messages

Disassembly:
jmp 0x1402ac910
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1403361c0]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1402ac936
jmp 0x1402ac9b3
mov rcx, qword [rbp + 0x30]
call fcn.1400ead0f
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1402ac94f
jmp 0x1402ac9b3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1402ac96c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400e926b
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400e99b4
test eax, eax
jne 0x1402ac9b3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400eb09d
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400ebfb1
Capabilities:
Get geographical location

Disassembly:
jmp 0x140156840
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14015687d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400ee43c
add rsp, 0x58
ret
Function at 0x1400ec006
Capabilities:
Create process on windows

Disassembly:
jmp 0x1402b09f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.1400ea4fe
lea rcx, [rsp + 0xb8]
call fcn.1400ea4fe
lea rcx, [rsp + 0x88]
call fcn.1400ea4fe
call fcn.1400eb5d4
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.1400ea11b
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1402b0a92
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.1400eab7f
lea rcx, [rsp + 0xb8]
call fcn.1400eab7f
lea rcx, [rsp + 0xe8]
call fcn.1400eab7f
mov eax, dword [rsp + 0x54]
jmp 0x1402b0c38
call fcn.1400eb5d4
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.1400ea11b
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1402b0af2
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.1400eab7f
lea rcx, [rsp + 0xb8]
call fcn.1400eab7f
lea rcx, [rsp + 0xe8]
call fcn.1400eab7f
mov eax, dword [rsp + 0x5c]
jmp 0x1402b0c38
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x1402b0b78
call fcn.1400eb5d4
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.1400ea11b
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1402b0b66
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.1400eab7f
lea rcx, [rsp + 0xb8]
call fcn.1400eab7f
lea rcx, [rsp + 0xe8]
call fcn.1400eab7f
mov eax, dword [rsp + 0x64]
jmp 0x1402b0c38
lea rcx, [rsp + 0x88]
call fcn.1400ea3cd
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.1400ea3cd
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.1400ea3cd
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.1400eab7f
lea rcx, [rsp + 0xb8]
call fcn.1400eab7f
lea rcx, [rsp + 0xe8]
call fcn.1400eab7f
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret

Function at 0x1400ec0fb
Capabilities:
Set environment variable

Disassembly:
jmp 0x14029a930
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x1400ec4cf
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401b9940
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401b9960
xor al, al
jmp 0x1401b99e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401b9973
xor al, al
jmp 0x1401b99e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1401b999d
xor al, al
jmp 0x1401b99e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401b99b1
xor al, al
jmp 0x1401b99e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401b99c3
xor al, al
jmp 0x1401b99e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401b99df
xor al, al
jmp 0x1401b99e1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400ec7fe
Capabilities:
Hide graphical window

Disassembly:
jmp 0x140126230
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x228]
mov rax, qword [0x1403361c0]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x14035710a]
call fcn.1400ee48c
mov dword [rbp + 0x10], 0x50
mov dword [rbp + 0x14], 3
lea rax, [0x1400eb89a]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x28], rax
mov edx, 0x7f00
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x30], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], 6
mov qword [rbp + 0x48], 0
lea rax, [0x140336010]
mov qword [rbp + 0x50], rax
mov edx, 0x7f00
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x1c0]
mov qword [0x140338e20], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rbp + 0x1c0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.AnyDesks
lea rdx, [0x140336010]
mov ecx, 0x80
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbp + 0x78], rax
xor edx, edx
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1400ee8f1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1401263d4
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x98]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14012639f
mov eax, dword [rbp + 0xa8]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x1402db940]
call fcn.1400ed2a3
mov eax, edi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.1400eb09d
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x1400ece9d
Capabilities:
Terminate process

Disassembly:
jmp 0x1401dca30
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401dca5e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400edd1b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400edda7
Capabilities:
Print debug messages

Disassembly:
jmp 0x140278a80
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400edf5a
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401db7b0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401db100
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401db7f9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140358020]
jmp 0x1401db808
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1400ee095
Capabilities:
Set environment variable

Disassembly:
jmp 0x1402b78b0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1400ea4fe
lea rcx, [rsp + 0x48]
call fcn.1400ea4fe
call fcn.1400eb5d4
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1400ea11b
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1402b791f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400eab7f
lea rcx, [rsp + 0x78]
call fcn.1400eab7f
mov eax, dword [rsp + 0x24]
jmp 0x1402b79b0
call fcn.1400eb5d4
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400ea11b
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1402b7966
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400eab7f
lea rcx, [rsp + 0x78]
call fcn.1400eab7f
mov eax, dword [rsp + 0x2c]
jmp 0x1402b79b0
lea rcx, [rsp + 0x48]
call fcn.1400ea3cd
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1400ea3cd
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400eab7f
lea rcx, [rsp + 0x78]
call fcn.1400eab7f
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400ee9aa
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140116df0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14035704e]
call fcn.1400ee48c
mov dword [rbp + 4], 0xffffffff
cmp qword [rbp + 0x108], 8
jb 0x140116f8a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 4]
and ecx, 0xff
xor eax, ecx
mov eax, eax
lea rcx, [0x1402d4470]
mov edx, 1
imul rdx, rdx, 1
mov r8, qword [rbp + 0x100]
movzx edx, byte [r8 + rdx]
mov r8d, dword [rbp + 4]
shr r8d, 8
and r8d, 0xff
xor edx, r8d
mov edx, edx
lea r8, [0x1402d4070]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x100]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rbp + 4]
shr edx, 0x10
and edx, 0xff
xor ecx, edx
mov ecx, ecx
lea rdx, [0x1402d3c70]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x100]
movzx ecx, byte [rdx + rcx]
mov edx, dword [rbp + 4]
shr edx, 0x18
and edx, 0xff
xor ecx, edx
mov ecx, ecx
lea rdx, [0x1402d3870]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rbp + 0x100]
movzx ecx, byte [rdx + rcx]
lea rdx, [0x1402d3470]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 5
mov rdx, qword [rbp + 0x100]
movzx ecx, byte [rdx + rcx]
lea rdx, [0x1402d3070]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 6
mov rdx, qword [rbp + 0x100]
movzx ecx, byte [rdx + rcx]
lea rdx, [0x1402d2c70]
xor eax, dword [rdx + rcx*4]
mov ecx, 1
imul rcx, rcx, 7
mov rdx, qword [rbp + 0x100]
movzx ecx, byte [rdx + rcx]
lea rdx, [0x1402d2870]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
add rax, 8
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x108]
sub rax, 8
mov qword [rbp + 0x108], rax
jmp 0x140116e1b
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x108]
dec rax
mov qword [rbp + 0x108], rax
cmp qword [rbp + 0xd8], 0
je 0x140116fff
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
and eax, 0xff
mov eax, eax
lea rcx, [0x1402d2870]
mov edx, dword [rbp + 4]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
inc rax
mov qword [rbp + 0x100], rax
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
jmp 0x140116f8a
mov eax, dword [rbp + 4]
xor eax, 0xffffffff
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140273980
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400e926b
sub rsp, rax
mov rax, qword [0x1403361c0]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14033b1f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140273b72
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140273ac6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140273ac6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x140273aab
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140273a48
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140273b32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140273b91
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x140273b6d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140273b91
jmp 0x140273a1e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400eb09d
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140273c40
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400e926b
sub rsp, rax
mov rax, qword [0x1403361c0]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14033b1f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140273e4d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x140273d99
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140273d99
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140273d79
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140273d08
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140273e0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140273e6c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140273e48
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140273e6c
jmp 0x140273cde
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400eb09d
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140002650
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400de040]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400ce130
add rsp, 0x30
pop rbx
ret

Function at 0x140005270
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 6
jb 0x140005372
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400052a1
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.start
lea rcx, [rsp + 0x40]
call fcn.1400cd5e0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000531c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005317
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005317
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce150
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140005352
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000534d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000536b
mov rcx, r8
call fcn.1400ce150
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rsp, 0x60
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001700
int3

Function at 0x140005f90
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub rsp, 0x308
mov rax, qword [0x1400de040]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3