joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801b2eb0
Capabilities:
Initialize winsock library
Set socket configuration

Disassembly:
sub rsp, 0x208
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
cmp dword [0x1802b1e84], 0
jne 0x1801b3046
mov ecx, 0x101
mov dword [0x1802b1e84], 1
lea rdx, [rsp + 0x50]
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x1801b3046
lea r9d, [rax + 4]
mov qword [rsp + 0x200], rdi
lea r8, [0x1802b1e80]
mov dword [0x1802b1e60], 1
lea rdx, [0x180074274]
lea ecx, [rax + 7]
call fcn.1801af510
test eax, eax
je 0x1801b2f36
mov eax, dword [0x1802b1e80]
dec eax
cmp eax, 0xfffe
jbe 0x1801b2f40
mov dword [0x1802b1e80], 0x574b
mov ecx, 0x7fff
mov qword [rsp + 0x210], rbx
call fcn.180113ab0
xor edi, edi
mov qword [0x1802b1e58], rax
test rax, rax
je 0x1801b2fcf
mov ebx, 2
xor r8d, r8d
mov edx, ebx
mov ecx, ebx
call sub.WS2_32.dll_socket
mov qword [0x18029cd90], rax
cmp rax, 0xffffffffffffffff
je 0x1801b2fec
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov edx, 0xffff
mov qword [rsp + 0x38], rbx
lea r8d, [rdi + 0x20]
mov dword [rsp + 0x20], 4
mov rcx, rax
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1801b2fc8
mov rcx, qword [0x18029cd90]
lea r8d, [rdi + 0x10]
lea rdx, [rsp + 0x38]
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
jne 0x1801b3036
mov rax, qword [0x1802b1e58]
mov rcx, qword [0x18029cd90]
cmp rcx, 0xffffffffffffffff
je 0x1801b2ff3
call sub.WS2_32.dll_closesocket
mov qword [0x18029cd90], 0xffffffffffffffff
mov rax, qword [0x1802b1e58]
test rax, rax
je 0x1801b3007
mov rcx, rax
call fcn.18010fbc0
mov qword [0x1802b1e58], rdi
mov rcx, qword [0x1802b1e78]
test rcx, rcx
je 0x1801b3023
mov rbx, qword [rcx]
call fcn.18010fbc0
mov rcx, rbx
test rbx, rbx
jne 0x1801b3013
cmp dword [0x1802b1e60], edi
je 0x1801b3036
call sub.WS2_32.dll_WSACleanup
mov dword [0x1802b1e60], edi
mov rbx, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1801e68c0
add rsp, 0x208
ret
Function at 0x1801b38e0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [rcx + 0x10]
xor r8d, r8d
and eax, 0xfffffffd
mov rbx, rcx
or eax, 1
mov edi, 2
mov dword [rcx + 0x10], eax
mov ecx, edi
lea edx, [r8 + 1]
call sub.WS2_32.dll_socket
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1801b39b4
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 1
lea edx, [rdi + 4]
mov dword [rsp + 0x20], 4
lea r8d, [rdi - 1]
mov rcx, rax
call sub.WS2_32.dll_setsockopt
mov rcx, qword [rbx + 8]
lea r8d, [rdi + 0xe]
xorps xmm0, xmm0
lea rdx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x38], di
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
je 0x1801b39b4
or dword [rbx + 0x18], 8
test dword [rbx + 0x68], 0x200000
movzx r8d, word [rbx + 0x78]
je 0x1801b3988
movzx r8d, word [rbx + 0x2a]
xor ecx, ecx
xor r9d, r9d
mov dword [rsp + 0x28], ecx
xor edx, edx
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.1801b23f0
test eax, eax
je 0x1801b39b4
mov rcx, qword [0x18029cd18]
mov dword [rcx + 0x14], eax
mov eax, 1
jmp 0x1801b39c3
mov dword [0x18029ccf4], 0x63
or dword [rbx + 0x10], edi
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1801e68c0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1801b3c90
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx + 3]
xor r9d, r9d
movzx eax, byte [rdx + 2]
mov rcx, qword [rcx + 8]
shl r8d, 8
or r8d, eax
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x1801b3cc6
mov dword [0x18029ccf4], 0x61
xor eax, eax
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret

Function at 0x1801b3cd0
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
sub rsp, 0x260
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, qword [0x1802b4568]
xor sil, sil
test rbx, rbx
je 0x1801b3ebd
mov qword [r11 + 8], rbp
xor ebp, ebp
mov qword [r11 + 0x10], rdi
nop
cmp byte [rbx + 0x10], bpl
lea rcx, [rbx + 0x10]
je 0x1801b3ea1
mov qword [rbx + 8], rbp
call sub.WS2_32.dll_gethostbyname
test rax, rax
je 0x1801b3ea1
mov rax, qword [rax + 0x18]
mov edx, pe_nt_image_headers64
mov rcx, qword [rax]
mov eax, dword [rcx]
lea rcx, [rsp + 0x150]
mov dword [rbx + 8], eax
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
je 0x1801b3e9c
lea rcx, [rsp + 0x150]
call sub.WS2_32.dll_gethostbyname
test rax, rax
je 0x1801b3e9c
mov rax, qword [rax + 0x18]
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, qword [rax]
mov edi, dword [rcx]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 0x10c
call fcn.1801b68b0
test eax, eax
jne 0x1801b3e9c
mov r8d, dword [rsp + 0x40]
mov ecx, ebp
mov rdx, rbp
test r8d, r8d
jle 0x1801b3e9c
lea rax, [rsp + 0x44]
cmp dword [rax], edi
je 0x1801b3dca
inc ecx
inc rdx
add rax, 0x18
cmp ecx, r8d
jl 0x1801b3db3
jmp 0x1801b3e9c
lea rax, [rdx + rdx*2]
mov edx, dword [rsp + rax*8 + 0x4c]
test edx, edx
je 0x1801b3e9c
mov ecx, dword [rbx + 8]
mov eax, edi
shr eax, 0x18
and ecx, edx
mov byte [rsp + 0x2c], al
not edx
mov eax, edi
mov byte [rsp + 0x27], cl
shr eax, 0x10
mov byte [rsp + 0x2d], al
mov eax, edi
shr eax, 8
mov byte [rsp + 0x2e], al
movzx eax, byte [rbx + 0xb]
mov byte [rsp + 0x28], al
movzx eax, byte [rbx + 0xa]
mov byte [rsp + 0x29], al
movzx eax, byte [rbx + 9]
mov byte [rsp + 0x2a], al
movzx eax, byte [rbx + 8]
mov byte [rsp + 0x2b], al
mov eax, ecx
shr eax, 0x18
mov byte [rsp + 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x25], al
mov eax, ecx
mov ecx, dword [rsp + 0x28]
shr eax, 8
mov byte [rsp + 0x26], al
mov eax, edx
mov r8d, dword [rsp + 0x24]
shr eax, 0x18
mov byte [rsp + 0x20], al
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x21], al
mov eax, edx
shr eax, 8
mov byte [rsp + 0x22], al
mov byte [rsp + 0x23], dl
mov eax, dword [rsp + 0x20]
or eax, r8d
mov byte [rsp + 0x2f], dil
cmp ecx, r8d
jbe 0x1801b3e88
cmp ecx, eax
jae 0x1801b3e85
mov edx, dword [rsp + 0x2c]
cmp edx, r8d
jbe 0x1801b3e85
cmp edx, eax
jb 0x1801b3e8e
cmp ecx, r8d
je 0x1801b3e99
cmp ecx, eax
je 0x1801b3e99
mov dword [rbx + 0xc], 1
mov al, 1
jmp 0x1801b3e9e
mov dword [rbx + 0xc], ebp
xor al, al
or sil, al
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1801b3d10
mov rdi, qword [rsp + 0x278]
mov rbp, qword [rsp + 0x270]
movzx eax, sil
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1801e68c0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rsi
ret
Function at 0x1801b3ef0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rax, qword [0x18029cd90]
mov rsi, rdx
mov qword [rsp + 0x38], rax
mov edi, ecx
mov dword [rsp + 0x30], 1
xor ebp, ebp
mov qword [rsp + 0x2a0], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
sub ecx, eax
cmp dword [0x1802b1e70], ebp
jne 0x1801b3ff7
test ecx, ecx
mov dword [rsp + 0x248], ebp
mov eax, ebp
lea rdx, [rsp + 0x30]
cmovns eax, ecx
xor r9d, r9d
imul eax, eax, 0x3e8
xor r8d, r8d
lea ecx, [r9 + 0x40]
mov dword [rsp + 0x24c], eax
lea rax, [rsp + 0x248]
mov qword [rsp + 0x20], rax
call sub.WS2_32.dll_select
cmp eax, 1
jl 0x1801b3ff7
mov rbx, qword [0x1802b1e58]
lea rax, [rsp + 0x240]
mov rcx, qword [0x18029cd90]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8d, 0x7fff
lea rax, [rsp + 0x250]
mov dword [rsp + 0x240], reloc.WS2_32.dll_recv
mov rdx, rbx
mov qword [rsp + 0x20], rax
call sub.WS2_32.dll_recvfrom
cmp eax, 0xffffffff
je 0x1801b3ff7
cmp byte [rbx + 1], bpl
jge 0x1801b3f30
cmp byte [rbx + 6], 0x12
jne 0x1801b3f30
test rsi, rsi
je 0x1801b3ff2
mov eax, dword [rsp + 0x254]
mov dword [rsi], eax
mov rax, rbx
jmp 0x1801b3ff9
xor eax, eax
mov rbx, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1801e68c0
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret

Function at 0x1801b4020
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov rdi, qword [0x1802b1e58]
movzx r15d, dl
imul r12d, r8d, 0x3e8
mov rsi, rdi
xor r13d, r13d
mov r14, rcx
mov ebp, 1
mov ebx, 0x7fff
nop
mov rax, qword [r14 + 8]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x240]
mov dword [rsp + 0x30], 1
xor r8d, r8d
mov dword [rsp + 0x240], r13d
mov dword [rsp + 0x244], r12d
lea ecx, [r9 + 0x40]
mov qword [rsp + 0x20], rax
call sub.WS2_32.dll_select
cmp eax, 1
jl 0x1801b4124
mov rcx, qword [r14 + 8]
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
call sub.WS2_32.dll_recv
mov ecx, eax
test eax, eax
je 0x1801b4118
cmp ecx, 0xffffffff
je 0x1801b410c
test ebp, ebp
je 0x1801b40f9
cmp byte [rdi], 0xb2
jne 0x1801b4070
cmp byte [rdi + 6], r15b
jne 0x1801b4070
cmp byte [rdi + 1], r13b
jge 0x1801b4070
movzx ebx, byte [rdi + 3]
mov ebp, r13d
movzx eax, byte [rdi + 2]
shl ebx, 8
or ebx, eax
cmp ebx, ecx
jbe 0x1801b4107
sub ebx, ecx
add rsi, rcx
jmp 0x1801b4070
mov rax, rdi
jmp 0x1801b4130
mov dword [0x18029ccf4], 0x62
jmp 0x1801b412e
mov dword [0x18029ccf4], 0x65
jmp 0x1801b412e
mov dword [0x18029ccf4], 0x63
xor eax, eax
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1801e68c0
mov rbx, qword [rsp + 0x298]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801b65f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r13
push r15
sub rsp, 0x28
xor r11d, r11d
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov edi, r9d
mov qword [rsp + 0x20], r14
mov rbp, r8
movzx r12d, dl
mov r15d, ecx
lea esi, [r11 + 0x14]
lea r14d, [r11 + 8]
lea r13d, [r11 + 0x10]
test ecx, ecx
je 0x1801b6647
cmp ecx, r13d
je 0x1801b6644
lea eax, [rcx - 0x20]
mov r11d, r14d
test eax, 0xffffffef
jne 0x1801b6647
test dl, dl
cmovne r11d, r13d
jmp 0x1801b6647
mov r11d, esi
mov qword [rsp + 0x50], rbx
cmp r9d, r11d
jbe 0x1801b6731
mov r8d, r11d
add r8, rbp
nop dword [rax + rax]
mov eax, edi
mov r10d, r11d
sub eax, r11d
cmp r11d, eax
cmovae r10d, eax
xor r9d, r9d
mov rax, rbp
test r10d, r10d
je 0x1801b6725
cmp r10d, 0x40
jb 0x1801b6710
lea ecx, [r10 - 1]
lea rbx, [rcx + rbp]
add rcx, r8
cmp rbp, rcx
ja 0x1801b669d
cmp rbx, r8
jae 0x1801b6710
mov ecx, r10d
and ecx, 0xffffffc0
movdqu xmm0, xmmword [rax]
add r9d, 0x40
movdqu xmm1, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmm1, xmmword [r8 + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
movdqu xmm0, xmmword [rax + 0x20]
movdqu xmm1, xmmword [r8 + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x20], xmm1
movdqu xmm0, xmmword [rax + 0x30]
movdqu xmm1, xmmword [r8 + 0x30]
add r8, 0x40
pxor xmm1, xmm0
movdqu xmmword [rax + 0x30], xmm1
add rax, 0x40
cmp r9d, ecx
jb 0x1801b66a3
cmp r9d, r10d
jae 0x1801b6725
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
xor byte [rax], cl
lea rax, [rax + 1]
inc r9d
cmp r9d, r10d
jb 0x1801b6710
sub edi, r10d
cmp edi, r11d
ja 0x1801b6660
lea eax, [r15 - 0x20]
test eax, 0xffffffef
je 0x1801b674b
lea eax, [r15 - 0x40]
test eax, 0xffffffef
cmovne r14d, esi
jmp 0x1801b6755
test r12b, r12b
cmovne esi, r14d
mov r14d, esi
cmp edi, r14d
jae 0x1801b6786
mov esi, edi
add rsi, rbp
nop
mov ecx, r14d
mov eax, edi
sub ecx, edi
mov rdx, rbp
cmp edi, ecx
cmovae eax, ecx
mov rcx, rsi
mov r8d, eax
mov ebx, eax
call fcn.18020b840
add rsi, rbx
add edi, ebx
cmp edi, r14d
jb 0x1801b6760
mov r14, qword [rsp + 0x20]
test r12b, r12b
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
je 0x1801b67d0
cmp edi, r13d
jae 0x1801b67d0
lea ecx, [r15 - 0x20]
test ecx, 0xffffffef
jne 0x1801b67d0
mov r8d, r13d
mov ecx, edi
sub r8d, edi
add rcx, rbp
xor edx, edx
call fcn.18020bef0
mov eax, r13d
add rsp, 0x28
pop r15
pop r13
pop rdi
pop rbp
ret
mov eax, edi
add rsp, 0x28
pop r15
pop r13
pop rdi
pop rbp
ret
Function at 0x1801c81b0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1801c8380
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1800b4e70
mov rdx, qword [rsi + 8]
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rdx, qword [rdx]
cmp rdx, rdi
je 0x1801c8349
mov qword [rsp + 0x50], rbp
mov rcx, rdx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rbp
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x14]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x15]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x16]
imul r11, rbx
xor r11, rax
movzx eax, byte [rcx + 0x17]
imul r11, rbx
xor r11, rax
imul r11, rbx
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rdi
jne 0x1801c82bd
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1801c8338
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x1801c82fa
mov r10, qword [rax]
cmp r10, rcx
je 0x1801c82f4
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1801c8338
mov r8, rax
cmp r10, rax
je 0x1801c8314
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x1801c835a
cmp r10, rax
jne 0x1801c8302
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rdi
jne 0x1801c8241
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1801c8338
lea rcx, [0x1800744b8]
call fcn.1801e7600
int3

Function at 0x1801c83b0
Capabilities:
Check for software breakpoints

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
cmp rax, rcx
je 0x1801c83d2
mov rdx, qword [rax]
cmp byte [rdx], 0xcc
je 0x1801c83d9
add rax, 8
cmp rax, rcx
jne 0x1801c83c1
xor al, al
add rsp, 0x28
ret
call fcn.180095e00
mov dword [rax], reloc.WS2_32.dll_inet_addr
mov al, 1
add rsp, 0x28
ret
Function at 0x1801cefe0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1801cf19e
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1801ced60
mov rcx, qword [rsi + 8]
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1801cf167
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x1801cf0d3
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1801cf156
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x1801cf110
mov r10, qword [rax]
cmp r10, rcx
je 0x1801cf10a
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1801cf156
mov r8, rax
cmp r10, rax
je 0x1801cf132
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x1801cf178
cmp r10, rax
jne 0x1801cf120
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1801cf080
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1801cf156
lea rcx, [0x1800744b8]
call fcn.1801e7600
int3
Function at 0x1801d0160
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
sub rsp, 0x58
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rcx - 1]
mov rsi, rdx
mov rbx, rcx
cmp rax, 0xfffffffffffffffd
ja 0x1801d0337
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1801d0328
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1801d0328
movsxd rcx, dword [rbx + 0x3c]
add rcx, rbx
cmp dword [rcx], 0x4550
jne 0x1801d0328
movzx eax, word [rcx + 0x18]
mov edx, 0x10b
mov qword [rsp + 0x48], r14
cmp dx, ax
jne 0x1801d01dc
mov eax, 0x78
lea r14, [rax + rcx]
jmp 0x1801d01f4
mov edx, 0x20b
cmp dx, ax
jne 0x1801d01f1
mov eax, 0x88
lea r14, [rax + rcx]
jmp 0x1801d01f4
xor r14d, r14d
mov eax, dword [r14]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x40], r15
test eax, eax
je 0x1801d0319
cmp dword [r14 + 4], 0
je 0x1801d0319
mov r15d, dword [rbx + rax + 0x1c]
lea rdi, [rbx + rax]
add r15, rbx
cmp rsi, 0x10000
jae 0x1801d023f
sub si, word [rdi + 0x10]
jmp 0x1801d02b1
mov ebp, dword [rdi + 0x20]
lea r12, [0x1801cfe60]
mov r8d, dword [rdi + 0x18]
add rbp, rbx
mov rdx, rbp
mov qword [rsp + 0x28], rbx
mov r9d, 4
mov qword [rsp + 0x20], r12
mov rcx, rsi
call fcn.180221a70
mov rdx, rax
test rax, rax
jne 0x1801d02a0
mov eax, dword [rdi + 0x18]
lea r9d, [rdx + 4]
mov rdx, rbp
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov qword [rsp + 0x20], r12
call fcn.180221b80
mov rdx, rax
test rax, rax
je 0x1801d0319
mov ecx, dword [rdi + 0x24]
sub rdx, rbp
shr rdx, 2
add rcx, rbx
movzx esi, word [rcx + rdx*2]
movzx eax, si
cmp eax, dword [rdi + 0x14]
jae 0x1801d0319
mov edx, dword [r14]
movzx eax, si
mov ecx, dword [r15 + rax*4]
cmp ecx, edx
jb 0x1801d0313
add edx, dword [r14 + 4]
cmp ecx, edx
jae 0x1801d0313
lea rdx, [rbx + rcx]
mov rcx, rbx
call fcn.1801cfea0
test rax, rax
je 0x1801d0319
mov rbp, qword [rsp + 0x80]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1801e68c0
add rsp, 0x58
pop rsi
pop rbx
ret
lea rax, [rbx + rcx]
jmp 0x1801d02e0
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1801d02e0
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1801d02ff
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1801d02ff

Function at 0x1801d05b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
call fcn.1801d08f0
xor edi, edi
lea rdx, [rbx + 0x94]
cmp byte [rbx + 0x40], dil
lea rcx, [rbx + 0x44]
mov r9d, edi
mov qword [rsp + 0x20], rdx
setne r9b
mov rdx, rax
lea r8d, [rdi + 0x10]
call fcn.180103800
xorps xmm0, xmm0
movups xmmword [rbx + 0x94], xmm0
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1801d0602
mov rdi, qword [rbx + 8]
movsxd r8, eax
lea rcx, [rbx + 0x44]
mov r9, rdi
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.180103090
Function at 0x1801d1aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor esi, esi
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x1801d1b81
cmp word [rcx + 0x38], si
je 0x1801d1b81
cmp word [rcx + 0x3a], si
je 0x1801d1b81
cmp qword [rcx + 0x40], rsi
je 0x1801d1b81
mov qword [rsp + 0x30], rbx
lea rbx, [0x1800747dc]
mov qword [rsp + 0x38], rbp
mov r11d, dword [rbx - 0xc]
test r11d, r11d
je 0x1801d1b77
movzx eax, word [rdi + 0x38]
shr eax, 1
cmp eax, r11d
jne 0x1801d1b6e
mov rbp, qword [rdi + 0x40]
xor eax, eax
mov r10, qword [rbx - 8]
test r11d, r11d
je 0x1801d1b5c
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + rax]
movzx r8d, byte [rcx + rbp]
lea ecx, [r8 + 0x20]
movzx r9d, cl
lea edx, [r8 - 0x41]
movzx ecx, byte [r10]
cmp dl, 0x19
cmova r9d, r8d
cmp cl, 0x3f
je 0x1801d1b52
cmp cl, 0x2a
je 0x1801d1b52
xor r9b, 0x33
cmp r9b, cl
jne 0x1801d1b6e
inc eax
inc r10
cmp eax, r11d
jb 0x1801d1b20
test r14, r14
je 0x1801d1b6e
mov rcx, qword [rdi + 0x50]
call r14
test eax, eax
je 0x1801d1b6e
or esi, dword [rbx]
add rbx, 0x14
jmp 0x1801d1af0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1801d2360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x1801d2360
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov dword [rbp + 7], 0x767d677f
lea rcx, [rbp + 7]
mov qword [rbp - 1], rdi
mov dword [rbp + 0xb], 0x32382435
mov dword [rbp + 0xf], 0x717c0f6a
lea edx, [rdi + 6]
mov dword [rbp + 0x13], 0x777d5260
mov dword [rbp + 0x17], 0x73782d33
mov dword [rbp + 0x1b], 0x18044a44
call fcn.1801d6530
lea rdx, [rbp - 1]
lea rcx, [rbp + 7]
call fcn.1801d5490
mov qword [rbp - 0x13], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x37], xmm1
mov qword [rbp + 0x1f], rdi
test rax, rax
je 0x1801d24cc
lea edx, [rdi + 6]
mov qword [rsp + 0xa0], rbx
lea rcx, [rbp + 7]
mov dword [rbp + 7], 0x746b767a
mov dword [rbp + 0xb], 0x624f663c
mov dword [rbp + 0xf], 0x5b6d1f23
mov dword [rbp + 0x13], 0x717b6c7b
mov dword [rbp + 0x17], 0x6e3d3e
mov dword [rbp + 0x1b], 0x18044a44
call fcn.1801d6530
lea rdx, [rbp - 1]
mov qword [rbp - 1], rdi
lea rcx, [rbp + 7]
call fcn.1801d5490
xorps xmm0, xmm0
mov rbx, rax
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
test rax, rax
je 0x1801d24c8
lea r9, [rbp - 9]
mov dword [rbp - 0x17], edi
lea edx, [rdi + 0xe]
mov dword [rbp - 9], edi
lea r8d, [rdi + 0x40]
mov rcx, rax
call fcn.1801dc180
test eax, eax
je 0x1801d24c8
mov eax, dword [rbp - 0x11]
lea r9, [rbp - 9]
mov r8d, dword [rbp - 9]
lea edx, [rdi + 0xe]
mov word [rbp - 0x19], 0x25ff
mov rcx, rbx
movsd xmm0, qword [rbp - 0x19]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
movzx eax, word [rbp - 0xd]
mov word [rbx + 0xc], ax
call fcn.1801dc180
mov al, 1
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1801e68c0
mov rdi, qword [rsp + 0xa8]
add rsp, 0x90
pop rbp
ret
xor al, al
jmp 0x1801d24a3
jmp 0x1801d24ab