joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800125c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x3a], 0
lea r8, [rcx + 0x3a]
mov rdx, rcx
mov rax, rcx
jne 0x1800125f7
cmp rcx, r8
je 0x1800125f0
nop word [rax + rax]
movzx ecx, word [rdx + 0x3c]
xor word [rax], cx
add rax, 2
cmp rax, r8
jne 0x1800125e0
mov byte [r8], 1
mov rax, rdx
ret

Function at 0x18001a9c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18001aa0f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180095a70]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18001aa4d
cmp rsi, r14
jb 0x18001aa45
cmp rsi, r15
jae 0x18001aa45
cmp qword [rsi + 8], 0
jne 0x18001ac17
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18001aa30
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18001aae2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18001aad9
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18001aad9
cmp dword [rsp + 0x40], 0x10000
je 0x18001ab5b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18001aad9
sub rbx, rbp
cmp rbx, r14
jae 0x18001aaa0
test rsi, rsi
jne 0x18001abc0
cmp rdi, r15
ja 0x18001abff
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18001abff
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18001abff
cmp dword [rsp + 0x40], 0x10000
je 0x18001ab91
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18001ab12
jmp 0x18001abff
test rbx, rbx
je 0x18001aad9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18001abc0
cmp rbx, r14
jae 0x18001aa80
jmp 0x18001aae2
test rdi, rdi
je 0x18001abff
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18001abc0
cmp rdi, r15
jbe 0x18001aaf0
jmp 0x18001abff
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18001abd0
mov rax, qword [0x180095a70]
mov qword [rsi], rax
mov qword [0x180095a70], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180026070
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x18001b630
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18001b77f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_33
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18001b776
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x18001b72c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18001b72c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18001b72c
mov rdx, qword [rdi]
test rdx, rdx
jne 0x18001b6ed
mov rcx, qword [0x1800958d0]
mov r8d, 0x200
mov dword [rdi + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x18001b755
lea rbx, [rdi + 0xc]
jmp 0x18001b721
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x18001b721
mov rcx, qword [0x1800958d0]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18001b755
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_33
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18001b693
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18001b771
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x18001b771
mov rcx, qword [0x1800958d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180026070
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x18001b7a0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.18001b630
test eax, eax
jne 0x18001b7e7
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x18001b85e
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x18001b846
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18001b83a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.18001b480
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x18001b800
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18001b880
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180095a60]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18001b8f3
mov eax, 0xa
jmp 0x18001b986
test esi, esi
je 0x18001b915
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18001b938
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18001b938
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18001b931
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18001b938
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180026070
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18001b9b0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov esi, ecx
mov ecx, dword [0x180095a6c]
mov ebx, edi
test ecx, ecx
je 0x18001bb63
mov rax, qword [0x180095a60]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18001ba00
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18001b9e0
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
cmp ebx, 0xffffffff
je 0x18001bb63
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
call fcn.18001b630
test eax, eax
jne 0x18001ba2e
mov eax, 9
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r12
mov r12, qword [rsp + 0x20]
mov qword [rsp + 0x70], r13
mov r13d, dword [rsp + 0x2c]
test r12, r12
je 0x18001bab3
test r13d, r13d
je 0x18001bab3
mov qword [rsp + 0x38], r14
mov r14, r12
mov qword [rsp + 0x30], r15
mov r15d, r13d
mov r8d, dword [r14]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x18001ba9f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, edi
test esi, esi
mov edx, 0xffffffff
mov rcx, rbp
setne r8b
call fcn.18001b480
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r14, 4
sub r15, 1
jne 0x18001ba61
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r8d, dword [0x180095a6c]
cmp ebx, r8d
jae 0x18001baf8
nop
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180095a60]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18001baf1
mov edx, esi
mov ecx, ebx
call fcn.18001b880
mov edi, eax
test eax, eax
jne 0x18001baf8
mov r8d, dword [0x180095a6c]
inc ebx
cmp ebx, r8d
jb 0x18001bac0
test r12, r12
je 0x18001bb54
test r13d, r13d
je 0x18001bb42
mov rsi, r12
mov rbp, r13
nop dword [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x18001bb38
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub rbp, 1
jne 0x18001bb10
mov rcx, qword [0x1800958d0]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r13, qword [rsp + 0x70]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x18001bef0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1800958c8], ebp
je 0x18001bf47
cmp rbx, 0x20
jae 0x18001bf30
xor ecx, ecx
jmp 0x18001bf32
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800958c8], ebp
jne 0x18001bf26
cmp qword [0x1800958d0], r15
je 0x18001c041
test rdi, rdi
jne 0x18001bf67
mov ecx, esi
call fcn.18001b9b0
mov edi, eax
jmp 0x18001c046
mov ecx, dword [0x180095a6c]
mov ebx, r15d
test ecx, ecx
je 0x18001bf8f
mov rdx, qword [0x180095a60]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x18001bf99
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18001bf80
mov edi, 4
jmp 0x18001c046
cmp ebx, 0xffffffff
je 0x18001bf8f
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18001c038
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18001b7a0
mov edi, eax
test eax, eax
jne 0x18001c046
mov edx, esi
mov ecx, ebx
call fcn.18001b880
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x18001c046
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18001c022
mov rbx, qword [rsp + 0x20]
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18001c018
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18001bff0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800958d0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18001c046
neg esi
sbb edi, edi
add edi, 6
jmp 0x18001c046
mov edi, 2
xchg dword [0x1800958c8], r15d
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, 0x30
pop r15
ret
Function at 0x18001cda0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x88], rcx
mov qword [r11 - 0x30], rdx
mov qword [r11 - 0x28], rbx
xor r8d, r8d
lea rdx, [0x180084ee0]
lea rcx, [0x180094450]
call fcn.180013a00
mov ecx, 3
call fcn.180027530
call fcn.180027420
mov rsi, rax
test rax, rax
je 0x18001cf5f
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rax
call fcn.18002b430
lea rdx, str.Content_Type:_application_json
xor ecx, ecx
call fcn.1800278b0
mov r8, rax
mov edx, 0x2727
mov rcx, rsi
call fcn.18002b430
mov edx, reloc.WS2_32.dll_listen
lea r8d, [rdx + 0x2f]
mov rcx, rsi
call fcn.18002b430
mov edx, reloc.WLDAP32.dll_Ordinal_41
lea r8d, [rdx - 0x28]
mov rcx, rsi
call fcn.18002b430
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18001ce69
mov r8, qword [rdi]
mov edx, 0x2712
mov rcx, rsi
call fcn.18002b430
mov edx, Ordinal_50
lea r8d, [rdx - 0x2e]
mov rcx, rsi
call fcn.18002b430
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18001ce94
mov r8, qword [rbx]
mov edx, 0x271f
mov rcx, rsi
call fcn.18002b430
lea r8, [0x18001cd00]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.18002b430
mov rcx, rsi
call fcn.1800274e0
test eax, eax
je 0x18001cf57
mov ecx, eax
call fcn.1800282b0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180006740
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.18001ca60
nop
mov r8, rax
lea rdx, [0x180087328]
lea rcx, [rsp + 0x48]
call fcn.180013d40
mov rcx, rax
call fcn.180006520
mov qword [0x1800958e0], rax
lea rcx, [rsp + 0x48]
call fcn.180002300
nop
lea rcx, [rsp + 0x68]
call fcn.180002300
nop
lea rcx, [rsp + 0x28]
call fcn.1800066e0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [0x1800958d8]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rsi
call fcn.180027410
call fcn.1800274f0
lea rdx, [0x180094450]
mov rcx, rbp
call fcn.180006780
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18001cfae
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x18001cfa9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001d030
mov rcx, r8
call fcn.18002656c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18001cff7
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18001cff2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001d037
mov rcx, r8
call fcn.18002656c
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rbp
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180026070
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x18001d690
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x90], rdx
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
mov ecx, 3
call fcn.180027530
call fcn.180027420
mov rdi, rax
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rax
call fcn.18002b430
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18001d70f
mov r8, qword [rbx]
mov edx, 0x2712
mov rcx, rdi
call fcn.18002b430
xor r8d, r8d
lea edx, [r8 + 0x29]
mov rcx, rdi
call fcn.18002b430
lea r8, [0x18001d040]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.18002b430
lea r8, [rsp + 0x80]
mov edx, 0x2711
mov rcx, rdi
call fcn.18002b430
mov edx, 0x34
lea r8d, [rdx - 0x33]
mov rcx, rdi
call fcn.18002b430
xor r8d, r8d
lea edx, [r8 + 0x2b]
mov rcx, rdi
call fcn.18002b430
lea r8, [0x18001d0d0]
mov edx, 0x4e58
mov rcx, rdi
call fcn.18002b430
lea r8, [0x1800958e8]
mov edx, 0x2749
mov rcx, rdi
call fcn.18002b430
mov edx, reloc.WS2_32.dll_listen
mov r8d, 0xc350
mov rcx, rdi
call fcn.18002b430
lea r8, str.libcurl_agent_1.0
mov edx, 0x2722
mov rcx, rdi
call fcn.18002b430
mov rcx, rdi
call fcn.1800274e0
test eax, eax
je 0x18001d865
mov ecx, eax
call fcn.1800282b0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180006740
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.18001ca60
nop
mov r8, rax
lea rdx, str.Error:
lea rcx, [rsp + 0x40]
call fcn.180013d40
mov rcx, rax
call fcn.180006520
mov qword [0x1800958e0], rax
lea rcx, [rsp + 0x40]
call fcn.180002300
nop
lea rcx, [rsp + 0x60]
call fcn.180002300
nop
lea rcx, [rsp + 0x20]
call fcn.1800066e0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [0x1800958d8]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rdi
call fcn.180027410
call fcn.1800274f0
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi], xmm0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18001d8b3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18001d8ae
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18001d8ee
mov rcx, r8
call fcn.18002656c
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rsi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180026070
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x18001da80
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, 3
nop dword [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x18001da90
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1800226b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1800226bb
xor eax, eax
ret
lea r11, [0x180083330]
not ecx
cmp r8d, 8
jb 0x180022791
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1800226e0
test r8d, r8d
je 0x1800227bd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1800227a0
not ecx
mov eax, ecx
ret

Function at 0x180023110
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r10d, edx
mov rdi, r9
imul r10d, r8d
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x180023168
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180023162
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x30]
jmp 0x18002319e
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180026070
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x1800231c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x180094010]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [rcx], 0
mov r14, rdx
mov qword [rsp + 0x70], rbp
mov rbx, rcx
mov qword [rsp + 0x78], rsi
mov esi, 1
je 0x180023223
lea rdi, [rcx + 0x10]
mov qword [rsp + 0x20], 0
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x34]
mov r8d, esi
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18002321d
mov byte [rdi], sil
mov ebp, dword [rsp + 0x34]
jmp 0x180023254
mov edi, dword [rcx + 0x2c]
mov ecx, dword [rcx + 0x28]
lea eax, [rdi + 1]
cmp eax, ecx
jbe 0x180023234
mov esi, ecx
sub esi, edi
mov rdx, rdi
mov r8d, esi
add rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x30]
mov ebp, esi
call sub.VCRUNTIME140.dll_memcpy
lea eax, [rdi + rsi]
mov dword [rbx + 0x2c], eax
lea rdi, [rbx + 0x10]
mov rsi, qword [rsp + 0x78]
cmp ebp, 1
mov rbp, qword [rsp + 0x70]
jne 0x180023283
movzx eax, byte [rsp + 0x30]
mov dword [r14], eax
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180026070
add rsp, 0x40
pop r14
pop rdi
pop rbx
ret
cmp byte [rbx], 0
je 0x18002326b
cmp byte [rdi], 0
je 0x18002326b
mov eax, 0xffffffff
jmp 0x18002326d