joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004a5e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140066040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14004a6b3
cmp byte [rcx + 0x71], 0
je 0x14004a6b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14004a6af
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14004a674
sub eax, 1
je 0x14004a678
cmp eax, 2
jne 0x14004a6af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400502a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14004a6a6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14004a6af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14004a65c
xor al, al
jmp 0x14004a65c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400502a0
add rsp, 0x60
pop rbx
ret

Function at 0x14004ac00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140066040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140050950
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b4a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14004ac79
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400502a0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14004ffc0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140066040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x140067730], 0
movsx edi, dx
movsx ebx, cx
ja 0x14004fff3
mov eax, 0xffffdcd8
jmp 0x1400500fe
inc dword [0x140066ee8]
mov dword [0x140066eec], 0xaede7345
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movups xmm1, xmmword [0x140066eb8]
mov rcx, qword [0x140067730]
lea rdx, [0x140066ee0]
mov dword [0x140066eac], ebx
xor r9d, r9d
mov dword [0x140066eb0], edi
mov r8d, 0x48
movups xmm0, xmmword [0x140066ea8]
mov dword [0x140066ee4], eax
lea rax, [0x140067720]
movaps xmmword [0x140066f00], xmm1
movsd xmm1, qword [0x140066ed8]
movaps xmmword [0x140066ef0], xmm0
movups xmm0, xmmword [0x140066ec8]
mov dword [rsp + 0x28], sendto
movsd qword [0x140066f20], xmm1
movaps xmmword [0x140066f10], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x140067730]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x140067300]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], sendto
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov qword [0x140066eac], rbx
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x1400500d3
mov eax, 0xffffdcdb
jmp 0x1400500fe
mov eax, dword [0x140066eec]
cmp dword [0x14006730c], eax
je 0x1400500e8
mov ebx, 0xffffdcdc
jmp 0x1400500fc
mov ecx, dword [0x140066ee8]
mov eax, 0xffffdcdd
cmp dword [0x140067308], ecx
cmovne ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400502a0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140050120
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140066040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x140067730], 0
ja 0x140050154
mov eax, 0xffffdcd8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400502a0
add rsp, 0x58
ret
inc dword [0x140066ee8]
mov dword [0x140066eec], 0x9823ae8d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movups xmm1, xmmword [0x140066eb8]
and dword [0x140066ea8], 0xfffffffe
lea rdx, [0x140066ee0]
movups xmm0, xmmword [0x140066ea8]
mov rcx, qword [0x140067730]
xor r9d, r9d
mov dword [0x140066ee4], eax
mov r8d, 0x48
movaps xmmword [0x140066ef0], xmm0
lea rax, [0x140067720]
movups xmm0, xmmword [0x140066ec8]
mov dword [rsp + 0x28], sendto
movaps xmmword [0x140066f00], xmm1
movsd xmm1, qword [0x140066ed8]
movaps xmmword [0x140066f10], xmm0
movsd qword [0x140066f20], xmm1
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x140067730]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x140067300]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], sendto
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140050236
mov eax, 0xffffdcdb
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400502a0
add rsp, 0x58
ret
mov eax, dword [0x140066eec]
cmp dword [0x14006730c], eax
je 0x14005025b
mov eax, 0xffffdcdc
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400502a0
add rsp, 0x58
ret
mov ecx, dword [0x140066ee8]
xor eax, eax
cmp dword [0x140067308], ecx
mov edx, 0xffffdcdd
cmovne eax, edx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400502a0
add rsp, 0x58
ret

Function at 0x140051074
Capabilities:
Parse pe header

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

Function at 0x140051374
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 0x1400513ae
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400513b3
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 0x1400513fc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140053b30]
cmp byte [rcx + rax], 0
je 0x1400513fc
dec r8
sub rdx, 1
jne 0x1400513e2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400519ec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140051414
mov ebx, eax
test eax, eax
jne 0x140051a1c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140051a7f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140051a76
test al, 0x10
je 0x140051a76
bt eax, 0xa
jae 0x140051a6f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140051a90
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140051a6b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140051a6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140051a76
and dword [rsp + 0x3c], 0
jmp 0x140051a7b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000c980
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000c9cc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c9c4
cmp dword [rcx + 0x3c], edx
jl 0x14000c9c4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000c9c4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000c9cc
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1800111a4
Capabilities:
Terminate process

Disassembly:
jmp 0x180014e90
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14000d020
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rdi, rcx
mov esi, 0x104
test rcx, rcx
je 0x14000d131
movzx r8d, byte [rcx]
xor r9d, r9d
test r8b, r8b
je 0x14000d07f
xor r10d, r10d
lea eax, [r8 - 0x20]
lea edx, [r8 - 0x61]
movzx ecx, al
cmp dl, 0x19
movzx eax, r8b
cmova ecx, eax
inc r9d
mov byte [rsp + r10 + 0x130], cl
mov r10d, r9d
movzx r8d, byte [r9 + rdi]
test r8b, r8b
jne 0x14000d052
mov byte [rsp + r9 + 0x130], 0
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x20]
test rbx, rbx
je 0x14000d131
movzx eax, word [rbx + 0x48]
test ax, ax
je 0x14000d131
cmp ax, si
jae 0x14000d131
mov r10, qword [rbx + 0x50]
xor r9d, r9d
cmp word [r10], r9w
je 0x14000d0fe
xor r11d, r11d
xor eax, eax
nop word [rax + rax]
movzx r8d, byte [rax + r10]
lea eax, [r8 - 0x20]
movzx ecx, al
lea edx, [r8 - 0x61]
cmp dl, 0x19
cmova ecx, r8d
inc r9d
mov byte [rsp + r11 + 0x20], cl
mov r11d, r9d
lea rax, [r9 + r9]
cmp word [rax + r10], 0
jne 0x14000d0d0
lea rdx, [rsp + 0x20]
mov byte [rsp + r9 + 0x20], 0
lea rcx, [rsp + 0x130]
call fcn.14000f1a0
test eax, eax
je 0x14000d124
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000d0a2
jmp 0x14000d131
mov rax, qword [rbx + 0x20]
test rax, rax
jne 0x14000d233
mov rax, qword [0x140016c20]
test rax, rax
jne 0x14000d22e
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r10, qword [rcx + 0x20]
test r10, r10
je fcn.14000d210
nop dword [rax + rax]
movzx eax, word [r10 + 0x48]
test ax, ax
je fcn.14000d210
cmp ax, si
jae fcn.14000d210
mov r11, qword [r10 + 0x50]
xor r9d, r9d
cmp word [r11], r9w
je 0x14000d1bd
xor ebx, ebx
xor eax, eax
nop dword [rax + rax]
movzx r8d, byte [rax + r11]
lea eax, [r8 - 0x20]
movzx ecx, al
lea edx, [r8 - 0x61]
cmp dl, 0x19
cmova ecx, r8d
inc r9d
mov byte [rsp + rbx + 0x20], cl
mov ebx, r9d
lea rax, [r9 + r9]
cmp word [rax + r11], 0
jne 0x14000d190
mov byte [rsp + r9 + 0x20], 0
lea rdx, [rsp + 0x20]
movzx ecx, byte [rsp + 0x20]
mov eax, 0x47362036
test cl, cl
je 0x14000d204
nop word [rax + rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x14000d1e0
cmp eax, 0xd5b0ce0a
je 0x14000d214
mov r10, qword [r10]
test r10, r10
jne 0x14000d160
mov rcx, qword [r10 + 0x20]
test rcx, rcx
je fcn.14000d210
mov edx, 0x890fb7f9
call fcn.14000d250
mov qword [0x140016c20], rax
mov rcx, rdi
call rax
Function at 0x14000d250
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x130
mov esi, edx
mov r8, rcx
test rcx, rcx
je 0x14000d3b1
test edx, edx
je 0x14000d3b1
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000d3b1
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000d3b1
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
xor r10d, r10d
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r15d, dword [rsp + 0x90]
mov r11d, dword [r8 + r15 + 0x20]
lea rax, [r8 + r15]
mov r14d, dword [rax + 0x1c]
add r11, r8
mov ebx, dword [rax + 0x24]
add r14, r8
mov ebp, dword [rax + 0x14]
add rbx, r8
test ebp, ebp
je 0x14000d3b1
nop word [rax + rax]
movzx eax, word [rbx]
mov edx, dword [r11]
add rdx, r8
mov edi, dword [r14 + rax*4]
mov eax, 0x47362036
movzx ecx, byte [rdx]
lea r9, [r8 + rdi]
test cl, cl
je 0x14000d39d
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x14000d380
cmp esi, eax
je 0x14000d3d0
inc r10d
add rbx, 2
add r11, 4
cmp r10d, ebp
jb 0x14000d360
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp edi, r15d
jb 0x14000d464
mov ecx, dword [rsp + 0x94]
add ecx, r15d
cmp edi, ecx
jae 0x14000d464
movzx eax, byte [r9]
mov rdi, r9
cmp al, 0x2e
je 0x14000d401
test al, al
je 0x14000d3b1
movzx eax, byte [rdi + 1]
inc rdi
cmp al, 0x2e
jne 0x14000d3f2
mov rbx, rdi
lea rcx, [rsp + 0x20]
sub rbx, r9
mov rdx, r9
mov r8, rbx
call fcn.14000efa0
lea rdx, str..dll
mov byte [rsp + rbx + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.14000f160
lea rcx, [rsp + 0x20]
call fcn.14000d020
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.14000f220
mov r8, rax
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.14000f070
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.14000d480
jmp 0x14000d3b3
mov rax, r9
jmp 0x14000d3b3
Function at 0x14000d480
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov r15, rdx
mov rdi, rcx
test rcx, rcx
je 0x14000d5cf
test rdx, rdx
je 0x14000d5cf
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000d5cf
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000d5cf
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x20]
xor ebx, ebx
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r14d, dword [rsp + 0x90]
add r14, rdi
mov eax, dword [r14 + 0x20]
mov r12d, dword [r14 + 0x1c]
add rax, rdi
mov r13d, dword [r14 + 0x24]
add r12, rdi
add r13, rdi
mov qword [rsp + 0x160], rax
cmp dword [r14 + 0x14], ebx
jbe 0x14000d5cf
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rax + rbx*4]
mov rdx, r15
movzx eax, word [r13 + rbx*2]
add rcx, rdi
mov esi, dword [r12 + rax*4]
add rsi, rdi
call fcn.14000f1a0
test eax, eax
je 0x14000d5f2
mov rax, qword [rsp + 0x160]
inc ebx
cmp ebx, dword [r14 + 0x14]
jb 0x14000d5a0
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov ecx, dword [rsp + 0x90]
mov edx, dword [r12 + rax*4]
cmp edx, ecx
jb 0x14000d692
add ecx, dword [rsp + 0x94]
cmp edx, ecx
jae 0x14000d692
add rdx, rdi
mov rdi, rdx
movzx eax, byte [rdx]
cmp al, 0x2e
je 0x14000d632
test al, al
je 0x14000d5cf
movzx eax, byte [rdi + 1]
inc rdi
cmp al, 0x2e
jne 0x14000d623
mov rbx, rdi
lea rcx, [rsp + 0x20]
sub rbx, rdx
mov r8, rbx
call fcn.14000efa0
lea rdx, str..dll
mov byte [rsp + rbx + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.14000f160
lea rcx, [rsp + 0x20]
call fcn.14000d020
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.14000f220
mov r8, rax
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.14000f070
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.14000d480
jmp 0x14000d5d1
mov rax, rsi
jmp 0x14000d5d1
Function at 0x14000d6a0
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x110
mov edi, ecx
test ecx, ecx
je 0x14000d78d
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov r10, qword [rdx + 0x20]
test r10, r10
je 0x14000d78d
mov esi, 0x104
nop dword [rax + rax]
movzx eax, word [r10 + 0x48]
test ax, ax
je 0x14000d78d
cmp ax, si
jae 0x14000d78d
mov r11, qword [r10 + 0x50]
xor r9d, r9d
cmp word [r11], r9w
je 0x14000d73c
xor ebx, ebx
xor eax, eax
nop dword [rax + rax]
movzx r8d, byte [rax + r11]
lea eax, [r8 - 0x20]
movzx ecx, al
lea edx, [r8 - 0x61]
cmp dl, 0x19
cmova ecx, r8d
inc r9d
mov byte [rsp + rbx], cl
mov ebx, r9d
lea rax, [r9 + r9]
cmp word [rax + r11], 0
jne 0x14000d710
mov byte [rsp + r9], 0
lea rdx, [rsp]
movzx ecx, byte [rsp]
mov eax, 0x47362036
test cl, cl
je 0x14000d77d
nop dword [rax]
nop word [rax + rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x14000d760
cmp eax, edi
je 0x14000d7a4
mov r10, qword [r10]
test r10, r10
jne 0x14000d6e0
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rax, qword [r10 + 0x20]
jmp 0x14000d78f
Function at 0x14000daa0
Capabilities:
Get system information on windows
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push r13
push r14
push r15
sub rsp, 0x70
mov r8, rdx
mov r14, r9
xor r9d, r9d
mov rdx, rcx
mov ebx, r9d
mov esi, r9d
cmp r8, 0x40
jb 0x14000daf1
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e16d
movsxd rcx, dword [rcx + 0x3c]
lea rax, [rcx + 0x108]
cmp r8, rax
jae 0x14000db0b
mov ecx, 0xd
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x70
pop r15
pop r14
pop r13
pop rsi
pop rbx
ret
cmp dword [rcx + rdx], 0x4550
lea r13, [rcx + rdx]
jne 0x14000e16d
mov eax, 0x8664
cmp word [r13 + 4], ax
jne 0x14000e16d
mov eax, dword [r13 + 0x38]
test al, 1
jne 0x14000e16d
movzx ecx, word [r13 + 0x14]
mov r10d, eax
movzx eax, word [r13 + 6]
add rcx, 0x24
cmp r9w, ax
jae 0x14000db7a
add rcx, r13
mov r8d, eax
mov eax, dword [rcx + 4]
mov edx, dword [rcx]
test eax, eax
jne 0x14000db64
lea rax, [r10 + rdx]
jmp 0x14000db66
add eax, edx
cmp rax, rbx
cmovbe rax, rbx
add rcx, 0x28
mov rbx, rax
sub r8, 1
jne 0x14000db55
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [rsp + 0x34]
mov eax, dword [r13 + 0x50]
lea r15, [rdx - 1]
add r15, rax
lea rcx, [rdx - 1]
not rcx
lea rax, [rdx - 1]
add rax, rbx
and r15, rcx
and rax, rcx
cmp r15, rax
jne 0x14000e16d
mov rcx, qword [r13 + 0x30]
mov r9d, 4
mov rbx, qword [rsp + 0xb0]
mov r8d, 0x3000
mov qword [rsp + 0xb8], rbp
mov rdx, r15
mov rbp, qword [rsp + 0xd8]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x60], r12
call rbx
mov r12, rax
test rax, rax
jne 0x14000dc17
lea r9d, [rax + 4]
mov qword [rsp + 0x20], rbp
mov r8d, 0x3000
mov rdx, r15
xor ecx, ecx
call rbx
mov r12, rax
test rax, rax
je 0x14000dcf5
movabs rdx, 0xffffffff00000000
lea rcx, [r12 + r15]
mov rax, r12
and rcx, rdx
and rax, rdx
cmp rax, rcx
jae fcn.14000dc90
mov ecx, 0x10
call fcn.14000f260
mov rdi, rax
test rax, rax
je 0x14000dd48
mov qword [rax], rsi
mov r9d, 4
mov r8d, 0x3000
mov qword [rax + 8], r12
mov rdx, r15
mov qword [rsp + 0x20], rbp
xor ecx, ecx
mov rsi, rax
call rbx
mov r12, rax
test rax, rax
je 0x14000dd21
lea rcx, [rax + r15]
movabs rdx, 0xffffffff00000000
and rcx, rdx
and rax, rdx
cmp rax, rcx
jb 0x14000dc33
mov rcx, qword [rdi + 8]
mov r9, rbp
xor edx, edx
mov r8d, 0x8000
call r14
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.14000f240
mov rdi, rbx
test rbx, rbx
jne 0x14000dd21
jmp 0x14000dcf5
mov r9, rbp
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call r14
test rsi, rsi
je 0x14000dcf5
nop
mov rcx, qword [rsi + 8]
mov r9, rbp
xor edx, edx
mov r8d, 0x8000
call r14
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.14000f240
mov rsi, rbx
test rbx, rbx
jne 0x14000dd60
jmp 0x14000dcf5
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x70
pop r15
pop r14
pop r13
pop rsi
pop rbx
ret