joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005bcac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800d5df0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18005bd03
cmp word [rdx], r13w
jne 0x18005bd03
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18005bd08
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18005be2d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18005be4e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18005bd41
mov rdx, r9
mov word [rbx], cx
jmp 0x18005bd68
cmp r9, r8
jae 0x18005bd78
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18005bd22
jmp 0x18005be2d
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18005be22
cmp dword [rsp + 0x80], esi
je 0x18005be22
lea r8, [0x1800d5df0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18005bdfa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18005bdca
mov word [rbx], r13w
jmp 0x18005be2a
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18005bdd7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18005be2a
cmp word [rsp + 0x70], r13w
jne 0x18005be07
cmp rbx, r14
je 0x18005bdc4
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18005c914
cmp word [rsp + 0x70], r13w
je 0x18005be2d
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800d5df0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18005be27
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18005be2d
Function at 0x18005fc0c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18005fc3c
xor eax, eax
jmp 0x18005fcff
mov rbp, rbx
cmp word [rax], si
je 0x18005fc61
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005fc48
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005fc44
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18005e324
movsxd r14, eax
test eax, eax
jne 0x18005fc9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005fc35
mov rcx, r14
call fcn.1800596c8
mov rdi, rax
test rax, rax
jne 0x18005fcb8
xor ecx, ecx
call fcn.180058544
jmp 0x18005fc94
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18005e324
test eax, eax
jne 0x18005fce9
mov rcx, rdi
call fcn.180058544
jmp 0x18005fcf3
xor ecx, ecx
call fcn.180058544
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180062a74
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180055890
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180062b15
cmp ebx, dword [rsp + 0x30]
je 0x180062b0e
test esi, esi
je 0x180062b0e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180062ae9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180062af6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180062ad3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180062afa
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180062b17
mov eax, 1
jmp 0x180062b17
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800674a8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18005c914
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18005c914
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800675f8
cmp rax, 0xffffffffffffffff
je 0x1800675f8
xor edi, edi
test rbp, rbp
jle 0x1800675a3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800576e4
mov rbx, rax
test rax, rax
jne 0x180067530
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180067599
mov edx, 0x8000
mov ecx, r14d
call fcn.18006732c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18005823c
cmp eax, 0xffffffff
je 0x180067579
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180067540
mov edx, r15d
mov ecx, r14d
call fcn.18006732c
jmp 0x180067599
cmp byte [rsi + 0x38], dil
je 0x180067590
cmp dword [rsi + 0x34], 5
jne 0x180067590
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180067599
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180058544
jmp 0x18006760c
jns 0x18006760c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18005c914
cmp rax, 0xffffffffffffffff
jne 0x1800675c4
cmp byte [rsi + 0x30], dil
je 0x18006760c
mov edi, dword [rsi + 0x2c]
jmp 0x18006760c
mov ecx, r14d
call fcn.1800603c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18006760c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18006760c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180067605
mov eax, dword [rsi + 0x2c]
jmp 0x18006760a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18005c914
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180067e30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180067e58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180067e58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180015a50
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1803a42d8]
xor ebx, ebx
mov r14, r8
mov r15, rdx
mov rdi, rcx
cmp dword [rax + 0x30], ebx
je 0x180015b8e
mov qword [r11 + 8], rsi
mov qword [rbp + 0x7f], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x180015aee
mov rsi, rdi
and rsi, 0xffffffffa0000000
je 0x180015aee
test dil, 3
jne 0x180015aee
lea rax, [rbp + 0x7f]
mov qword [rbp - 9], rbx
lea rdx, [rbp - 9]
mov qword [rbp + 0x17], rax
lea ecx, [rbx + 0x17]
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x33], rbx
mov dword [rbp + 0x3b], ebx
mov qword [rbp + 0x3f], 0x25
mov qword [rbp - 1], rdi
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r14
mov dword [rbp + 0x2f], ebx
call fcn.180033fe0
mov r14d, ebx
jmp 0x180015b04
mov rsi, rdi
mov r14, rdi
and rsi, 0xffffffffa0000000
mov eax, 0x122
and r14d, 3
mov dword [0x1803a4a48], eax
mov rax, qword [0x1803a42d8]
cmp byte [rax + 0x35], bl
je 0x180015b6d
mov r15, qword [rbp + 0x7f]
test r15, r15
je 0x180015b6d
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x180015b6d
test rsi, rsi
je 0x180015b6d
test r14, r14
jne 0x180015b6d
xorps xmm0, xmm0
mov qword [rbp - 9], rbx
lea rdx, [rbp - 9]
movdqa xmmword [rbp + 0x17], xmm0
lea ecx, [r14 + 0x18]
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], rbx
mov qword [rbp + 0x37], rbx
mov qword [rbp + 0x3f], 0x25
mov qword [rbp - 1], rdi
mov qword [rbp + 7], r15
call fcn.180033fe0
mov rsi, qword [rsp + 0xb0]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rsp + 0x30], rbx
mov r9, r15
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
jmp 0x180015b75
Function at 0x18001cec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 0x38]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x18001cfdd
mov qword [rsp + 0x58], rbp
movabs rbp, 0x100000001b3
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], r14
movabs r14, 0xcbf29ce484222325
mov qword [rsp + 0x68], rdi
nop dword [rax]
nop word [rax + rax]
cmp qword [rbx + 0x38], 0xf
lea rdx, [rbx + 0x20]
mov r8, qword [rbx + 0x30]
jbe 0x18001cf23
mov rdx, qword [rbx + 0x20]
xor ecx, ecx
mov r9, r14
test r8, r8
je 0x18001cf43
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, rbp
cmp rcx, r8
jb 0x18001cf30
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x20]
call fcn.18001f020
cmp qword [rax + 8], 0
je 0x18001cf71
mov rdi, qword [rbx + 0x40]
lea r8, [rbx + 0x20]
lea rdx, [rsp + 0x30]
call fcn.18001e810
mov rcx, qword [rax]
mov qword [rcx + 0x30], rdi
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x18001cf9d
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18001cf98
cmp rbx, qword [rax + 0x10]
jne 0x18001cf98
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18001cf85
mov rbx, rax
jmp 0x18001cfbf
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x18001cfbf
nop dword [rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x18001cfb0
cmp byte [rbx + 0x19], 0
je 0x18001cf10
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [0x1803a47d8]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rcx]
cmp rax, rcx
je 0x18001d000
cmp qword [rax + 0x30], 0
je 0x18001d007
mov rax, qword [rax]
cmp rax, rcx
jne 0x18001cff1
mov al, 1
add rsp, 0x48
ret
xor al, al
add rsp, 0x48
ret
Function at 0x18001d010
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbp, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rdx, qword [rdx]
mov rcx, qword [rdi + 8]
cmp rdx, rcx
je 0x18001d172
cmp qword [r8 + 0x10], 0
je 0x18001d172
cmp qword [r9 + 0x10], 0
je 0x18001d172
mov rax, qword [rbx + 0x28]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x18001d172
mov rsi, qword [rbx + 8]
sub rcx, rdx
lea r8, [rcx + 0x1000]
cmp qword [rsi + 8], 0
jne 0x18001d0a0
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsi + 8], rax
test rax, rax
je 0x18001d172
mov rcx, rbx
call fcn.18001cec0
test al, al
je 0x18001d172
lea rax, [rsp + 0x40]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea r8, [0x1803a46f0]
lea rdx, [rsp + 0x30]
call fcn.18001e810
mov rcx, qword [rax]
lea r8, [rsp + 0x40]
mov rdx, qword [rcx + 0x30]
mov rcx, rbx
call fcn.18001dc90
mov qword [rbx + 0x18], rax
test rax, rax
je 0x18001d172
mov rdx, rdi
mov rcx, rbx
call fcn.18001d190
test rax, rax
je 0x18001d172
mov byte [rbx + 0x20], 1
mov rdx, rax
mov rcx, rbx
call fcn.18001d3e0
mov rdi, rax
test rax, rax
je 0x18001d172
mov rdx, rax
mov rcx, rbx
call fcn.18001d630
test rax, rax
je 0x18001d172
mov r9, rbp
mov r8, r14
mov rdx, rax
mov rcx, rbx
call fcn.18001d6b0
test rax, rax
je 0x18001d172
mov r8, qword [rsp + 0xa0]
mov rdx, rax
mov rcx, rbx
call fcn.18001d770
test rax, rax
je 0x18001d172
mov rdx, rax
mov rcx, rbx
call fcn.18001d820
mov rax, rdi
jmp 0x18001d174
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180026c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbp, rcx
call fcn.180026f20
nop
mov eax, dword [rsi + 0x18]
mov dword [rbp + 0x18], eax
mov eax, dword [rsi + 0x1c]
mov dword [rbp + 0x1c], eax
mov eax, dword [rsi + 0x20]
mov dword [rbp + 0x20], eax
mov eax, dword [rsi + 0x24]
mov dword [rbp + 0x24], eax
mov eax, dword [rsi + 0x28]
mov dword [rbp + 0x28], eax
movzx eax, byte [rsi + 0x2c]
mov byte [rbp + 0x2c], al
mov eax, dword [rsi + 0x30]
mov dword [rbp + 0x30], eax
movzx eax, byte [rsi + 0x34]
mov byte [rbp + 0x34], al
movzx eax, byte [rsi + 0x35]
mov byte [rbp + 0x35], al
mov eax, dword [rsi + 0x38]
mov dword [rbp + 0x38], eax
mov eax, dword [rsi + 0x3c]
mov dword [rbp + 0x3c], eax
mov eax, dword [rsi + 0x40]
mov dword [rbp + 0x40], eax
lea rdi, [rbp + 0x48]
mov qword [rsp + 0x48], rdi
lea rdx, [rsi + 0x48]
mov rcx, rdi
call fcn.180007a90
nop
lea rcx, [rdi + 0x20]
lea rdx, [rsi + 0x68]
call fcn.180007de0
nop
movzx eax, byte [rsi + 0x88]
mov byte [rbp + 0x88], al
mov eax, dword [rsi + 0x8c]
mov dword [rbp + 0x8c], eax
mov eax, dword [rsi + 0x90]
mov dword [rbp + 0x90], eax
mov rax, qword [rsi + 0x98]
mov qword [rbp + 0x98], rax
mov rax, qword [rsi + 0xa0]
mov qword [rbp + 0xa0], rax
mov rax, qword [rsi + 0xa8]
mov qword [rbp + 0xa8], rax
mov rax, qword [rsi + 0xb0]
mov qword [rbp + 0xb0], rax
mov rax, qword [rsi + 0xb8]
mov qword [rbp + 0xb8], rax
mov rax, rbp
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x180026d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov qword [rsp + 0x50], r14
mov rdi, rdx
mov qword [rsp + 0x20], r15
mov rsi, rcx
cmp rcx, rdx
je 0x180026dbf
mov rdx, qword [rdx]
mov r8, qword [rdi + 8]
sub r8, rdx
sar r8, 5
call fcn.180027170
mov eax, dword [rdi + 0x18]
lea r15, [rdi + 0x48]
mov dword [rsi + 0x18], eax
lea r14, [rsi + 0x48]
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x1c], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x20], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov eax, dword [rdi + 0x28]
mov dword [rsi + 0x28], eax
movzx eax, byte [rdi + 0x2c]
mov byte [rsi + 0x2c], al
mov eax, dword [rdi + 0x30]
mov dword [rsi + 0x30], eax
movzx eax, byte [rdi + 0x34]
mov byte [rsi + 0x34], al
movzx eax, byte [rdi + 0x35]
mov byte [rsi + 0x35], al
mov eax, dword [rdi + 0x38]
mov dword [rsi + 0x38], eax
mov eax, dword [rdi + 0x3c]
mov dword [rsi + 0x3c], eax
mov eax, dword [rdi + 0x40]
mov dword [rsi + 0x40], eax
cmp r14, r15
je 0x180026e77
cmp qword [r15 + 0x18], 7
mov r9, r15
mov rdx, qword [r15 + 0x10]
jbe 0x180026e28
mov r9, qword [r15]
mov rax, qword [r14 + 0x18]
cmp rdx, rax
ja 0x180026e6f
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov rbp, r14
cmp rax, 7
jbe 0x180026e47
mov rbp, qword [r14]
lea rbx, [rdx + rdx]
mov qword [r14 + 0x10], rdx
mov r8, rbx
mov rdx, r9
mov rcx, rbp
call fcn.18010b710
xor eax, eax
mov word [rbx + rbp], ax
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
jmp 0x180026e77
mov rcx, r14
call fcn.180016fd0
lea rdx, [r15 + 0x20]
mov r15, qword [rsp + 0x20]
lea rcx, [r14 + 0x20]
mov r14, qword [rsp + 0x50]
cmp rcx, rdx
je 0x180026ea1
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x180026e9c
mov rdx, qword [rdx]
call fcn.180027010
movzx eax, byte [rdi + 0x88]
mov byte [rsi + 0x88], al
mov eax, dword [rdi + 0x8c]
mov dword [rsi + 0x8c], eax
mov eax, dword [rdi + 0x90]
mov dword [rsi + 0x90], eax
mov rax, qword [rdi + 0x98]
mov qword [rsi + 0x98], rax
mov rax, qword [rdi + 0xa0]
mov qword [rsi + 0xa0], rax
mov rax, qword [rdi + 0xa8]
mov qword [rsi + 0xa8], rax
mov rax, qword [rdi + 0xb0]
mov qword [rsi + 0xb0], rax
mov rax, qword [rdi + 0xb8]
mov qword [rsi + 0xb8], rax
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x18002e050
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
xor ebp, ebp
lea r9, [rsp + 0x68]
mov r14, rcx
mov dword [rsp + 0x68], ebp
xor r8d, r8d
xor edx, edx
mov ebx, ebp
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
cmp eax, 0xc0000004
jne 0x18002e22f
test rbx, rbx
je 0x18002e09e
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x18002e0d6
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x68]
mov rdx, rax
mov ecx, listen
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
cmp edi, 0xc0000004
je 0x18002e088
test rbx, rbx
je 0x18002e22f
mov qword [rsp + 0x60], rsi
test edi, edi
js 0x18002e1b6
mov edi, ebp
cmp dword [rbx], ebp
jbe 0x18002e1b6
nop
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x20], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rsi, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x30], rbp
add rdx, rcx
mov qword [rsp + 0x38], rbp
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bpl
jne 0x18002e135
lea rcx, [rsp + 0x20]
call fcn.1800091f0
cmp qword [r14 + 0x18], 0xf
mov rdx, r14
jbe 0x18002e155
mov rdx, qword [r14]
cmp qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
cmova rcx, qword [rsp + 0x20]
call fcn.1800e9c64
test eax, eax
je 0x18002e1dc
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18002e1ac
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e1a7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e23f
call fcn.1800d9c4c
inc edi
cmp edi, dword [rbx]
jb 0x18002e100
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov rdi, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18002e22a
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e225
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e23f
call fcn.1800d9c4c
mov rax, rdi
jmp 0x18002e1c9
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
call fcn.1800e5fb0
int3
Function at 0x18002eb00
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 0x18002eb31
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 0x18002ebab
mov rdi, r14
mov rcx, rbx
call fcn.18002ff10
test rax, rax
jle 0x18002eb83
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.18010b710
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 0x18002eb9b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18002eba3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18002eb45
sub r14, rdi
jmp 0x18002ec8f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18002ebc2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18002ebc4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18002ebf6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.18010b710
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 0x18002ec8c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18002ec31
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 0x18002ec6d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1800eb608
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18002ec8c
cmp rbp, rax
ja 0x18002ec40
test rbp, rbp
je 0x18002ec8c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1800eb608
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 0x180030a40
Capabilities:
Parse pe header

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, 0x60
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x180030b5f
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x180030b5f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov r9d, r14d
mov qword [rsp + 0x38], r14
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x180030aae
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
jmp 0x180030b6a
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x180030b4d
nop dword [rax + rax]
mov edx, eax
cmp rdx, rbp
jae 0x180030b4d
mov r8d, dword [rbx + 4]
test r8d, r8d
je 0x180030b4d
mov dword [rsp + 0x54], r14d
lea rax, [rdx + rsi]
mov qword [rsp + 0x40], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x48], rax
lea rax, [r8 - 8]
shr rax, 1
mov dword [rsp + 0x50], eax
cmp rcx, r9
je 0x180030b25
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x30], rcx
jmp 0x180030b41
lea r8, [rsp + 0x40]
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.180031230
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x180030ad0
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r9
jmp 0x180030b6a
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov rax, rdi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret