joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400feef0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400ff098
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400fef55
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400fef55
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400fef55
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400fef8c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400fefe2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400fefe2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400fefe2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400fefe2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400fefe2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400fe9a0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400ff044
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400db120
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400fed70
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400ff090
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400db120
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140100800
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140167080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140100895
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1401008f6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400db120
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140114440
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1401009b1
sub ecx, 1
je 0x140100a24
sub ecx, 1
je 0x140100960
cmp ecx, 1
je 0x140100943
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1401467d8]
call fcn.1400db120
jmp 0x140100a24
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140100530
test eax, eax
je 0x140100a24
jmp 0x1401008ca
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140100a24
sub rax, rsi
cmp rax, rbp
jae 0x140100a24
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400db2a0
jmp 0x140100a24
cmp r8d, 4
jle 0x140100a24
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140100a24
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400db040
mov esi, eax
test eax, eax
je 0x140100a03
mov edx, 5
mov rcx, rbx
call fcn.1401014f0
mov eax, esi
jmp 0x1401008ca
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400e9920
mov rcx, r14
call fcn.1400e9c00
test eax, eax
je 0x1401008c8
mov edx, 5
mov rcx, rbx
call fcn.1401014f0
mov eax, Ordinal_46
jmp 0x1401008ca
Function at 0x1401137c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140113802
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140113849
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1401138a2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140113860
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1401138e3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140141692]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140141693]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401138b0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140114954
Capabilities:
Parse pe header

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

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.00577180
sub rsp, rax
movaps xmmword [rsp + 0x1490], xmm15
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm12
movaps xmmword [rsp + 0x1450], xmm11
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1430], xmm9
movdqa xmmword [rsp + 0x1420], xmm8
movaps xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
movdqa xmm9, xmmword [0x0057f5e0]
xor eax, eax
movdqa xmm12, xmmword [0x0057f5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x0057f610]
movdqa xmm6, xmmword [0x0057f630]
movdqa xmm13, xmmword [0x0057f670]
movdqa xmm14, xmmword [0x0057f680]
movdqa xmm15, xmmword [0x0057f690]
movdqa xmm7, xmmword [0x0057f6a0]
movdqa xmm10, xmmword [0x0057f6b0]
movdqa xmm11, xmmword [0x0057f6c0]
nop dword [rax + rax]
Function at 0x550140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x135985c
test byte [rsi + 0xf000002], dh
test dword [rax + 2], esi
add byte [rax], al
add byte [rax - 0x3f7bc3fc], cl
mov rax, qword [rcx + 0x10]
mov edx, dword [rcx + 0x3c]
jmp 0x55020a
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 8], 0x5b41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xa], 0x5a41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xc], 0x5941
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xe], 0x5841
je 0x5502b4
jne 0x5502b4
jmp 0x1c3eb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x550385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x55014e
cmp edx, 0x8664
je 0x5502d1
cmp edx, 0x14c
jne 0x55018b
je 0x55026b
jne 0x55026b
jmp 0x558bbe
jne 0x5502c6
add byte [rax], al
add byte [rax], al
jmp 0x550193
jne 0x550342
je 0x109e8d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x550303
jne 0x550303
jmp 0x5502f4
je 0x550285
jne 0x550285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x55018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x55028c
jne 0x55028c
je 0x2654706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x550342
jmp 0x5501e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x5502c6
jmp 0x5501d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x55024b
mov rdx, qword [rcx + 8]
mov byte [rdx + rax], 0x5f
mov rdx, qword [rcx + 8]
mov byte [rax + rdx + 1], 0x5e
mov rdx, qword [rcx + 8]
je 0x55023c
jne 0x55023c
jmp 0x542972
jmp 0x5501b0
jne 0x5502f4
mov byte [r9 + rdx + 0x12], 0x5d
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x13], 0x5b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x14], 0x5a
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x15], 0x59
jmp 0x5502dd
je 0x8a68e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x550228
jne 0x550317
jmp 0x5654790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x5502e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x550339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x550212
jne 0x550212
jmp 0x5502b2
jmp 0x5501a0
je 0x550317
jmp 0x5502c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x550383
jne 0x550383
jmp 0x550317
mov qword [rcx + 0x10], rdx
mov byte [r8 + r9], 0xe5
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
jmp 0x55035d
lea rdx, [r9 + 1]
jmp 0x5502f9
mov qword [rcx + 0x10], rdx
je 0x55036d
jne 0x55036d
jmp 0x8a68e8e
mov rdx, qword [rcx + 8]
je 0x55025f
jne 0x55025f
je 0x541641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x5501e1
jne 0x5501e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x5501ed
jne 0x5501ed
jmp 0xffffffffc698ae72
jmp 0x55032f
mov byte [r8 + r9], 0x5d
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov word [r8 + r9], 0x5f41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 2], 0x5e41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 4], 0x5d41
je 0x5502f4
jmp 0x55028a
invalid
Function at 0x55a860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x55aab8
mov edi, edx
jmp 0x55ab91
je 0x55aabe
jne 0x55aabe
je 0x53ab0218
push rsi
push rdi
push rbp
push rbx
jmp 0x55abba
sub rsp, 0xa8
jmp 0x55a9b8

Function at 0x568c50
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x0057fbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret

Function at 0x568d90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x50], rcx
mov eax, dword [rdx]
mov dword [rsp + 0xc], eax
mov eax, dword [rdx + 4]
mov dword [rsp + 0x10], eax
mov eax, dword [rdx + 8]
mov dword [rsp + 0x14], eax
mov r12d, dword [rdx + 0xc]
mov r13d, dword [rdx + 0x10]
mov r14d, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x18]
mov r10d, dword [rdx + 0x1c]
mov edi, dword [rdx + 0x20]
mov r11d, dword [rdx + 0x24]
mov ebx, dword [rdx + 0x28]
mov ebp, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x30]
mov eax, dword [rdx + 0x34]
mov r9d, dword [rdx + 0x38]
mov r8d, dword [rdx + 0x3c]
mov dword [rsp + 0x4c], 0xfffffff8
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], ecx
mov edx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 8], ebp
mov dword [rsp + 0x34], ebx
mov dword [rsp], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x2c], edi
mov ebp, edi
mov dword [rsp + 0x28], r10d
mov edi, r10d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
mov dword [rsp + 0x1c], r13d
mov dword [rsp + 0x18], r12d
mov r14d, r12d
mov r12d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov ecx, dword [rsp + 0xc]
nop

Function at 0x56ed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x56ed8b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x40], rax
xor eax, eax
ret
mov eax, 1
ret
Function at 0x56f7b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.0056f520
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.0056c170
mov rcx, rdi
mov rdx, rbx
call fcn.0056c0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x56f810
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x56f830
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.00569570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.00569200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.00569220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0056b4a0
mov rcx, rbx
mov rdx, rbx
call fcn.00569800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.00569fa0
lea rcx, [rsp + 0x80]
call fcn.00569200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.005691e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.00569550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.00569200
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.005693b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.005693b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.0056b4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.0056b4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00569220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.00569220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.00569fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.00569fa0
mov rcx, rbp
mov rdx, rbx
call fcn.00569a90
mov rcx, rbx
mov rdx, rsi
call fcn.00569a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.00569220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.0056b4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.00569fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0056b4a0
mov rcx, rdi
mov rdx, rdi
call fcn.00569a90
mov rcx, r14
mov rdx, rbx
call fcn.0056aae0
mov rcx, r12
mov rdx, r12
call fcn.00569a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.00569220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.00569fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.00569fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x56f900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.005693b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.005693b0
mov rcx, rdi
mov rdx, rdi
call fcn.00569800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00569fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.0056a810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180001000
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x18
cmp dword [0x18001da10], 0
jne 0x1800011e0
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x1800011ea
mov r9, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r9 + 0x88]
test ecx, ecx
je 0x18000106e
lea rdx, [r9 + rcx]
mov ecx, dword [r9 + rcx + 0xc]
mov eax, dword [rcx + r9]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x18000106e
mov eax, dword [rcx + r9 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x18000107a
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x180001031
test rdx, rdx
je 0x1800011ea
mov qword [rsp + 0x20], rbx
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x28], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x30], rsi
add rbp, r9
mov esi, dword [rdx + 0x20]
mov qword [rsp + 0x38], rdi
add rsi, r9
mov qword [rsp + 0x10], r12
mov r12d, 0x775a
mov qword [rsp + 8], r14
mov r14d, dword [rdx + 0x1c]
add r14, r9
mov qword [rsp], r15
xor r8d, r8d
lea r15, [0x18001da10]
nop dword [rax + rax]
dec ebx
mov edx, dword [rsi + rbx*4]
add rdx, r9
cmp word [rdx], r12w
jne 0x180001133
xor r11d, r11d
mov r10d, 0x185e3978
mov rax, rdx
nop word [rax + rax]
movzx eax, word [rax]
mov ecx, r10d
ror ecx, 8
inc r11d
add ecx, eax
mov eax, r11d
add rax, rdx
xor r10d, ecx
cmp byte [rax], 0
jne 0x1800010f0
lea rcx, [r8*8]
inc r8d
mov dword [rcx + r15 + 4], r10d
movzx eax, word [rbp + rbx*2]
mov eax, dword [r14 + rax*4]
mov dword [rcx + r15 + 8], eax
cmp r8d, 0x1f4
je 0x180001137
test ebx, ebx
jne 0x1800010d0
mov r14, qword [rsp + 8]
lea eax, [r8 - 1]
mov r12, qword [rsp + 0x10]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
mov dword [0x18001da10], r8d
test eax, eax
je 0x1800011d2
nop dword [rax]
mov ecx, r8d
xor eax, eax
sub ecx, edx
cmp ecx, 1
je 0x1800011c8
nop dword [rax]
mov ecx, eax
lea r9d, [rax + 1]
lea r10, [r9*8]
mov ebx, dword [r10 + r15 + 8]
lea r11, [rcx*8]
mov edi, dword [r11 + r15 + 8]
cmp edi, ebx
jbe 0x1800011b9
mov ecx, dword [r11 + r15 + 4]
mov eax, dword [r10 + r15 + 4]
mov dword [r11 + r15 + 4], eax
mov dword [r10 + r15 + 4], ecx
mov dword [r11 + r15 + 8], ebx
mov dword [r10 + r15 + 8], edi
mov r8d, dword [0x18001da10]
mov ecx, r8d
mov eax, r9d
sub ecx, edx
dec ecx
cmp r9d, ecx
jb 0x180001170
inc edx
lea eax, [r8 - 1]
cmp edx, eax
jb 0x180001160
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
mov r15, qword [rsp]
mov eax, 1
add rsp, 0x18
ret
xor eax, eax
add rsp, 0x18
ret
Function at 0x180001240
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
mov eax, 0xffffffff
movzx ecx, byte [rcx]
test cl, cl
je 0x180001369
nop dword [rax]
nop word [rax + rax]
movzx edx, cl
lea r10, [r10 + 1]
mov r8d, edx
shr r8d, 1
lea ecx, [rdx + rdx]
xor r8d, ecx
lea ecx, [rdx + rdx]
and r8d, 0x55555555
xor r8d, ecx
mov edx, r8d
shr edx, 2
lea ecx, [r8*4]
xor edx, ecx
lea ecx, [r8*4]
and edx, 0x33333333
xor edx, ecx
mov r9d, edx
shr edx, 4
and r9d, 0xff0f0f0f
shl r9d, 4
or r9d, edx
lea edx, [rax + rax]
mov r8d, edx
xor r8d, 0x1dc22c27
bswap r9d
mov ecx, r9d
xor ecx, eax
cmovns r8d, edx
lea ecx, [r9 + r9]
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x1dc22c27
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x1dc22c27
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x1dc22c27
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x1dc22c27
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea eax, [r8 + r8]
mov edx, eax
xor edx, 0x1dc22c27
xor r8d, ecx
cmovns edx, eax
add ecx, ecx
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x1dc22c27
xor edx, ecx
cmovns r8d, eax
add ecx, ecx
lea edx, [r8 + r8]
mov eax, edx
xor eax, 0x1dc22c27
xor ecx, r8d
movzx ecx, byte [r10]
cmovns eax, edx
test cl, cl
jne 0x180001260
not eax
mov edx, eax
shr edx, 1
lea ecx, [rax + rax]
add eax, eax
xor edx, ecx
and edx, 0x55555555
xor edx, eax
mov r8d, edx
shr r8d, 2
lea eax, [rdx*4]
xor r8d, eax
lea eax, [rdx*4]
and r8d, 0x33333333
xor r8d, eax
mov eax, r8d
mov ecx, r8d
shr eax, 4
shl ecx, 4
xor eax, ecx
shl r8d, 4
and eax, 0xf0f0f0f
xor eax, r8d
bswap eax
ret

Function at 0x1800013c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push r14
sub rsp, 0x28
mov r14d, edx
mov rsi, rcx
test rcx, rcx
je 0x180001469
movsxd rax, dword [rcx + 0x3c]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
xor ebp, ebp
mov qword [rsp + 0x50], rdi
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov qword [rsp + 0x20], r15
mov r11d, dword [r8 + 0x20]
mov r15d, dword [r8 + 0x1c]
add r11, rcx
mov ebx, dword [r8 + 0x24]
add r15, rcx
mov edi, dword [r8 + 0x18]
add rbx, rcx
test edi, edi
je 0x18000144a
nop dword [rax]
mov ecx, dword [r11]
dec edi
add rcx, rsi
call fcn.180001240
cmp eax, r14d
je 0x180001440
add r11, 4
add rbx, 2
test edi, edi
jne 0x180001420
jmp 0x18000144a
movzx eax, word [rbx]
mov ebp, dword [r15 + rax*4]
add rbp, rsi
mov r15, qword [rsp + 0x20]
mov rax, rbp
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rsi
ret
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
Function at 0x180002cd0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, dword [section..data]
call fcn.180001200
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret