joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b27e0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x5b2a05
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], r8
mov rbx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb8]
test rbx, rbx
je 0x5b292f
call fcn.00540ee0
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x58], rbx
mov rdx, qword [rsp + 0xc0]
mov rax, rdx
mov ebx, 0xa
call fcn.00476c40
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rbx
mov rdx, qword [rsp + 0x78]
mov qword [rsp], rdx
mov rsi, qword [rsp + 0x58]
mov qword [rsp + 8], rsi
mov byte [rsp + 0x10], 0x3a
nop dword [rax]
call fcn.00402dc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
nop
jl 0x5b28f8
xor eax, eax
lea rbx, [0x008a1450]
mov ecx, 1
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x58]
lea r8, [0x0061f09a]
mov r9d, 2
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x50]
call fcn.0044cc00
jmp 0x5b291f
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
lea rdi, [0x0061efeb]
mov esi, 1
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x50]
call fcn.0044cb20
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov rax, r8
mov ebx, 0xa
call fcn.00476c40
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], rbx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x80], rcx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x60], rdx
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402dc0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x5b29cb
xor eax, eax
lea rbx, [0x008a1450]
mov ecx, 1
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x60]
lea r8, [0x0061f09a]
mov r9d, 2
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x48]
call fcn.0044cc00
jmp 0x5b29f5
xor eax, eax
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0061efeb]
mov esi, 1
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x48]
call fcn.0044cb20
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
call fcn.00460ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.005b27e0
Function at 0x5c5340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x5c54f7
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov byte [rsp + 0xb0], bl
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb8], edi
mov dword [rsp + 0xbc], esi
mov dword [rsp + 0xc0], r8d
mov dword [rsp + 0xc4], r9d
mov dword [rsp + 0xc8], r10d
mov dword [rsp + 0xcc], r11d
mov qword [rsp + 0xa8], rax
mov rdx, qword [0x009f79d0]
mov qword [rsp + 0x70], rdx
nop
mov rax, rdx
call fcn.005c4980
nop
test rax, rax
jne 0x5c54eb
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + 0x20]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rdx
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rdx
mov rcx, qword [rsp + 0x80]
mov r12d, dword [rsp + 0xc8]
mov r12d, r12d
mov qword [rsp], r12
mov r12d, dword [rsp + 0xcc]
mov r12d, r12d
mov qword [rsp + 8], r12
mov r12d, dword [rsp + 0x98]
mov qword [rsp + 0x10], r12
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0
movzx edx, byte [rsp + 0xb0]
movzx edi, dl
mov edx, dword [rsp + 0xb4]
mov esi, edx
mov edx, dword [rsp + 0xb8]
mov r8d, edx
mov edx, dword [rsp + 0xbc]
mov r9d, edx
mov edx, dword [rsp + 0xc0]
mov r10d, edx
mov edx, dword [rsp + 0xc4]
mov r11d, edx
mov ebx, 0xb
call fcn.00465760
nop dword [rax + rax]
test rax, rax
jne 0x5c54d1
test rcx, rcx
jne 0x5c54a0
mov rcx, qword [0x009eeec0]
mov rdx, qword [0x009eeec8]
jmp 0x5c54d5
cmp rcx, 0x3e5
jne 0x5c54b9
mov rcx, qword [0x009eeed0]
mov rdx, qword [0x009eeed8]
jmp 0x5c54d5
mov rax, rcx
nop dword [rax]
call fcn.0040a720
lea rcx, [0x008a44e0]
mov rdx, rax
jmp 0x5c54d5
xor ecx, ecx
xor edx, edx
mov rax, rcx
mov rbx, rdx
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
je 0x5c54f1
mov rax, qword [rax + 8]
call fcn.004353a0
nop
mov qword [rsp + 0x18], rax
mov byte [rsp + 0x20], bl
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x3c], r11d
call fcn.00460ce0
mov rax, qword [rsp + 0x18]
movzx ebx, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
mov edi, dword [rsp + 0x28]
mov esi, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x38]
mov r11d, dword [rsp + 0x3c]
jmp fcn.005c5340
Function at 0x140003160
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140003191
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14000320b
mov rdi, r14
mov rcx, rbx
call fcn.140004cd0
test rax, rax
jle 0x1400031e3
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400031fb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003203
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400031a5
sub r14, rdi
jmp 0x1400032f1
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140003222
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003224
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003256
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400032ee
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003291
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400032ce
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400032ee
cmp rbp, rax
ja 0x1400032a0
test rbp, rbp
je 0x1400032ee
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400080a0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140008e20
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.140008e20
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.140008e20
mov ecx, dword [0x1400162f0]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x10
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.14000a2b0
call fcn.140008e20
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x14000b960
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140015080]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14000b99c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140007f48
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000ba58
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000babe
test ebx, ebx
jne 0x14000babe
lea ecx, [rax + 2]
call fcn.140007f48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140007bf0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x14000bbd0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x140015080]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x14000bc3c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14000bc3c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x14000bc8f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x14000bc20
mov rcx, qword [0x140016228]
test rcx, rcx
jne 0x14000bc72
call fcn.14000cb70
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x140016228], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x14000bd73
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x14000bd75
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x14000bd9a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14000bc3c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14000bc3c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14000bc3c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x14000bd63
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x14000bd41
jmp 0x14000bc3c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x14000bc3c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140007bf0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400082ec
int3

Function at 0x14000c2f0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c352
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c352
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14000c352
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14000c352
cmp dword [rdx + 0x84], 0xe
jbe 0x14000c352
cmp dword [rdx + 0xf8], 0
je 0x14000c352
mov ecx, ebx
call fcn.14000c1b0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140016258]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000c030
cmp dword [rsp + 0x60], 0
jne 0x14000c395
mov ecx, ebx
call fcn.14000c160
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14000c3e0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c43c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c43c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c43c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c43c
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c43c
cmp dword [rcx + 0xf8], 0
je 0x14000c43c
mov ecx, ebx
call fcn.14000c1b0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140016258]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000c030
cmp dword [rsp + 0x60], 0
jne 0x14000c47f
mov ecx, ebx
call fcn.14000c160
int3
add rsp, 0x40
pop rbx
ret

Function at 0x1807f8058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1807f81df
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 0x1807f8089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807f806f
add dl, dl
jne 0x1807f8096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807f80f6
xor eax, eax
add dl, dl
jne 0x1807f80a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807f81ad
add dl, dl
jne 0x1807f80b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807f80c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807f80d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807f80dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1807f80ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1807f807e
mov eax, 1
add dl, dl
jne 0x1807f8106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807f8113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807f80fb
sub eax, ebx
mov ebx, 1
jne 0x1807f814c
mov ecx, 1
add dl, dl
jne 0x1807f812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807f813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807f8123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807f807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1807f8168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807f8175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807f815d
cmp eax, 0x7d00
jae 0x1807f819b
cmp eax, 0x500
jb 0x1807f8196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807f807e
cmp eax, 0x7f
ja 0x1807f819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807f807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1807f81d2
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 0x1807f807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor ebx, ebx
mov dword [rsp + 0x70], 0x68
xorps xmm0, xmm0
mov qword [rsp + 0x78], rbx
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x40], xmm0
mov rdi, rdx
movaps xmm0, xmmword [str.C:WindowsSystem32_notepad.exe]
mov rsi, rcx
movups xmmword [rsp + 0x50], xmm1
lea rcx, [rbp + 0xe0]
xor eax, eax
movaps xmm1, xmmword [0x140003340]
xor edx, edx
movaps xmmword [rbp + 0xa0], xmm0
mov r8d, 0x1c8
movaps xmm0, xmmword [0x140003350]
movaps xmmword [rbp + 0xb0], xmm1
movaps xmm1, xmmword [0x140003360]
movaps xmmword [rbp + 0xc0], xmm0
movaps xmmword [rbp + 0xd0], xmm1
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], ebx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x30], rbx
mov qword [rsp + 0x60], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0xb0
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x50]
mov qword [rbp + 0x90], rbx
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0xa0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400011f2
mov edx, 0xffffffff
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x1400011d0
mov qword [rsp + 0x3f0], r14
mov r14d, 1
mov eax, dword [rbp - 0x20]
cmp eax, 2
je 0x14000117a
mov edx, dword [rbp - 0x18]
cmp eax, 5
mov ecx, dword [rbp - 0x1c]
mov r8d, 0x10002
cmove ebx, r14d
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov edx, 0xffffffff
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
jne 0x140001144
jmp 0x1400011c8
mov rdx, qword [rbp + 0x20]
lea rax, [rbp + 0x90]
mov rcx, qword [rsp + 0x50]
mov r9, rdi
mov r8, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400011c8
cmp qword [rbp + 0x90], rdi
jne 0x1400011c8
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
test eax, eax
je 0x1400011c8
mov edx, dword [rbp - 0x18]
mov r8d, 0x10002
mov ecx, dword [rbp - 0x1c]
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov r14, qword [rsp + 0x3f0]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400011e0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400011f0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140001980
mov rbx, qword [rsp + 0x3f8]
add rsp, 0x3c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001570
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x448
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rdi, r8
mov rsi, rdx
mov r8, rcx
mov edx, 0x400
lea rcx, [rsp + 0x30]
mov rbp, r9
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, str._path_d_M
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x1400015ed
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400015d1
sub r8, 9
lea rdx, [rax + 0xa]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memmove
lea rdx, [0x14000343c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140001607
mov byte [rax], 0
movzx eax, byte [rsp + 0x30]
lea rbx, [rsp + 0x30]
test al, al
je 0x14000165e
movzx ecx, al
call qword [sym.imp.USER32.dll_IsCharAlphaA]
test eax, eax
je 0x14000164b
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140001630
lea rdx, [rbx + 1]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
dec rbx
jmp 0x140001653
cmp byte [rbx], 0x2e
jne 0x140001653
mov byte [rbx], 0x20
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140001615
lea r8, [rsp + 0x20]
lea rdx, [0x140003440]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
je 0x1400016ec
nop word [rax + rax]
lea r8, [rsp + 0x28]
mov rcx, rax
lea rdx, [0x140003444]
call fcn.140001510
mov r9, qword [rdi]
mov edx, 8
mov r8, qword [rsi]
inc r9
mov ebx, dword [rsp + 0x28]
mov rcx, rbp
test r8, r8
jne 0x1400016b9
mov r8, r9
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x1400016bf
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsi], rax
mov rcx, rax
test rax, rax
je 0x140001708
mov rax, qword [rdi]
lea r8, [rsp + 0x20]
lea rdx, [0x140003440]
mov byte [rcx + rax], bl
xor ecx, ecx
inc qword [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
jne 0x140001680
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140001980
add rsp, 0x448
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.Allocation_error
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]