joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412c20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x412e4a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.0042d5e0
xorps xmm15, xmm15
mov r14, qword [0x0052d800]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x412c99
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x412cac
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x412cd0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x412ce4
cmp rbx, 0x1000
jae 0x412ca3
jmp 0x412d65
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x412cf6
xor esi, esi
jmp 0x412d56
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.0042d5e0
xorps xmm15, xmm15
mov r14, qword [0x0052d800]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x412cda
nop
jmp 0x412cc2
call fcn.0045a420
xorps xmm15, xmm15
mov r14, qword [0x0052d800]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x412de5
call fcn.00431960
lea rax, [0x00475b3f]
mov ebx, 0x19
call fcn.00432260
mov rax, qword [rsp + 0x68]
call fcn.00431f60
lea rax, [0x00475919]
mov ebx, 0x19
call fcn.00432260
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00431f60
call fcn.00431bc0
call fcn.004319e0
lea rax, [0x004738d3]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.00430020
cmp eax, 0x5af
je 0x412d88
call fcn.00431960
lea rax, [0x00475b3f]
mov ebx, 0x19
nop dword [rax]
call fcn.00432260
mov rax, qword [rsp + 0x38]
call fcn.00431f60
lea rax, [0x00475919]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00432260
mov eax, dword [rsp + 0x34]
call fcn.00431f60
call fcn.00431bc0
call fcn.004319e0
lea rax, [0x00476c23]
mov ebx, 0x1f
call fcn.00430020
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004568c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00412c20
Function at 0x41a400
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x0052d62e], 0
jne 0x41a4ef
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41a4e5
lea rbx, [0x004ffa70]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rsi, [rcx + 0x11440]
add rdx, rsi
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop
test al, bl
jne 0x41a4c7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.00458f20
lea rax, [0x0047838a]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00430020
nop
int3

Function at 0x41c8e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41c9de
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x41c920
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x41c9cf
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.0041d480
nop dword [rax]
test rax, rax
je 0x41c9cf
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x0041ca20]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.00456780
xorps xmm15, xmm15
mov r14, qword [0x0052d800]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x41c9bd
xor eax, eax
jmp 0x41c9c7
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x41c912
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004568c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0041c8e0
Function at 0x429da0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42a046
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42a03a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x0052d62e], 0
jne 0x429e02
xor edx, edx
xor ebx, ebx
nop
jmp 0x429e4a
xor edx, edx
jmp 0x429e2d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.00419c20
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x429e06
add rax, 0x1260
call fcn.00429c60
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x429fd4
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x429e47
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.0040f9c0
test rax, rax
jne 0x429ea2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x429e47
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x429ee9
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x429e47
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42a02d
lea r10, [0x004ffa70]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r11, [rcx + 0x11440]
add r9, r11
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x429f6e
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x429fa5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x429e47
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42a025
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x429e47
cmp rbx, 0x200
ja 0x42a018
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.0041fd40
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.00429c60
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.00458f80
mov rax, r8
call fcn.00458f00
mov rax, r8
mov ecx, 0x40
call fcn.00458f20
mov edx, 0x200
nop
call fcn.00458f60
nop
mov qword [rsp + 8], rax
call fcn.0045b2c0
mov rax, qword [rsp + 8]
jmp fcn.00429da0
Function at 0x43e420
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x43e58a
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x43e438
cmp edx, ecx
jne 0x43e578
nop dword [rax]
test rsi, rsi
jne 0x43e578
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x43e494
nop
call fcn.0045a880
xorps xmm15, xmm15
mov r14, qword [0x0052d800]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.0043e320
mov rcx, qword [0x004da938]
mov rdx, qword [0x004da930]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x43e573
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x43e568
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x004db330]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x004db330], rbx
nop
mov edx, 1
lea rsi, [0x004db338]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x43e557
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x00477dfa]
mov ebx, 0x28
call fcn.00430020
mov rcx, rax
mov rax, rsi
call fcn.00458f00
call fcn.0042e6e0
lea rax, [0x0047755e]
mov ebx, 0x23
call fcn.00430020
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004568c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0043e420
Function at 0x44fd00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44fdb9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x0044fe00]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00456780
xorps xmm15, xmm15
mov r14, qword [0x0052d800]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004568c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0044fd00
Function at 0x4589c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0052d8a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0052d62d], 0
je 0x4589f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0052dbe0]
aesenc xmm0, xmmword [0x0052dbf0]
aesenc xmm0, xmmword [0x0052dc00]
movq rax, xmm0
ret
jmp 0x408640

Function at 0x45a3a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0052db60]
mov qword [rsp + 8], rdx
lea r8d, [0x0052d644]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.004588a0
add rsp, 0x30
ret

Function at 0x45a8e0
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x45a90c
call fcn.004588a0
shl rcx, 3
add rcx, 0x1480
mov qword [0x0052d800], rcx
ret
Function at 0x140010490
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001049d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400104ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140010495
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x1400104c5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400104b2
sub eax, 3
jb 0x1400104df
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140010516
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140010506
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140010504
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400104f3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140010452
jmp 0x14001049d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5600
mov dl, 3
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140010562
cmp rsi, rcx
jae 0x14001056a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140010549
cmp al, 0x8f
ja 0x140010549
cmp byte [rsi - 2], 0xf
je 0x14001054f
sub al, 0xe8
cmp al, 1
ja 0x140010533
cmp rsi, rcx
jae 0x14001056a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140010539
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001056a
lodsb al, byte [rsi]
jmp 0x140010549
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xe000]
mov eax, dword [rdi]
or eax, eax
je 0x1400105c7
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x101dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140010577
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400105c1
mov qword [rbx], rax
add rbx, 8
jmp 0x140010597
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140010601
cmp al, 0xef
ja 0x1400105f3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400105d3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400105e2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140010655
sub rsp, 0xffffffffffffff80
jmp 0x140005920
Function at 0x1800ace88
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x18010ec80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, reloc.WSOCK32.dll_accept
call fcn.1800b4197
mov rax, qword [rbp + 0x100]
add rax, 0x29
mov rcx, qword [rbp + 0x100]
movsxd rcx, dword [rcx + 0x18]
xor r9d, r9d
mov r8d, 1
mov rdx, rax
call fcn.1800ae797
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 1
je 0x18010ed0e
call fcn.1800b3d55
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x20], eax
lea r9, str.read_notify_error_from_pipe_ret_d_last_error_d
lea r8, str.Pipe
mov edx, 3
lea rcx, [0x18027d758]
call fcn.1800b4a2a
lea rcx, str.READ::
call fcn.1800b0a97
xor eax, eax
jmp 0x18010ed26
mov rax, qword [rbp + 0x100]
mov eax, dword [rax + 0x38]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx + 0x38], eax
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1800ad180
Capabilities:
Create thread

Disassembly:
jmp 0x18010cd30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, reloc.WSOCK32.dll_accept
call fcn.1800b4197
mov rax, qword [rbp + 0x100]
cmp qword [rax + 8], 0
je 0x18010cd61
mov al, 1
jmp 0x18010cdb6
mov byte [rbp + 4], 1
mov rax, qword [rbp + 0x100]
add rax, 0x10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x100]
lea r8, [0x1800af1f1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbp + 0x100]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x100]
cmp qword [rax + 8], 0
jne 0x18010cdb2
mov byte [rbp + 4], 0
movzx eax, byte [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1800ad2d4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1801f484c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test eax, eax
je 0x1801f4898
test rbx, rbx
je 0x1801f4887
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1800ad649
cmp eax, 1
je 0x1801f4898
mov eax, 4
jmp 0x1801f48db
call fcn.1800b3765
cmp eax, 2
jne 0x1801f48d4
call fcn.1800ad72f
test al, al
je 0x1801f48d4
call fcn.1800b0dfd
test al, al
jne 0x1801f48ca
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.1800b380a
jmp 0x1801f48db
call fcn.1800b3427
mov rcx, rax
jmp 0x1801f48ba
movzx eax, sil
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800ad7c0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1801e2c00
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180243a20]
mov ecx, 3
lea r8, [0x180243a18]
lea rdx, str.FlsAlloc
call fcn.1801e22ac
test rax, rax
je 0x1801e2c3c
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1802fb020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x1800add33
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x18010ed60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rcx, reloc.WSOCK32.dll_accept
call fcn.1800b4197
mov rax, qword [rbp + 0x120]
mov rax, qword [rax + 0x10]
mov rcx, qword [rbp + 0x120]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax]
mov dl, 1
call qword [rax + 0x48]
mov rax, qword [rbp + 0x120]
mov eax, dword [rax + 0x24]
inc eax
mov rcx, qword [rbp + 0x120]
mov dword [rcx + 0x24], eax
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax + 0x10]
call fcn.1800b40e3
mov rcx, qword [rbp + 0x120]
sub eax, dword [rcx + 0x20]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xf
jle 0x18010ee39
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax + 0x10]
call fcn.1800b40e3
mov rcx, qword [rbp + 0x120]
mov dword [rcx + 0x20], eax
imul eax, dword [rbp + 4], 0x28
mov rcx, qword [rbp + 0x120]
cmp dword [rcx + 0x24], eax
jbe 0x18010ee20
mov rax, qword [rbp + 0x120]
mov byte [rax + 0x28], 0
mov rax, qword [rbp + 0x120]
mov dword [rax + 0x24], 0
jmp 0x18010eeed
mov rax, qword [rbp + 0x120]
mov byte [rax + 0x28], 1
mov rax, qword [rbp + 0x120]
mov dword [rax + 0x24], 0
mov rax, qword [rbp + 0x120]
movzx eax, byte [rax + 0x28]
test eax, eax
jne 0x18010ee4d
jmp 0x18010eeed
mov rax, qword [rbp + 0x120]
mov eax, dword [rax + 0x34]
mov rcx, qword [rbp + 0x120]
mov ecx, dword [rcx + 0x38]
cmp eax, ecx
jbe 0x18010ee6a
jmp 0x18010eeed
mov rax, qword [rbp + 0x120]
add rax, 0x29
mov rcx, qword [rbp + 0x120]
movsxd rcx, dword [rcx + 0x1c]
xor r9d, r9d
mov r8d, 1
mov rdx, rax
call fcn.1800b458e
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 1
je 0x18010eed7
call fcn.1800b3d55
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
lea r9, str.write_notify_error_to_pipe_ret_d_last_error_d
lea r8, str.Pipe
mov edx, 3
lea rcx, [0x18027d758]
call fcn.1800b4a2a
lea rcx, str.write::
call fcn.1800b0a97
jmp 0x18010eeed
mov rax, qword [rbp + 0x120]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rbp + 0x120]
mov dword [rcx + 0x34], eax
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1800ae6ed
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x18020da00
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18027a640]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
lea r11, [0x1802da380]
test r9, r9
lea rdi, [0x180222804]
mov rax, rdx
mov r15, rdx
cmovne r11, r9
test rdx, rdx
lea ebp, [r10 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x18020da69
mov rax, 0xfffffffffffffffe
jmp 0x18020dbb7
cmp word [r11 + 6], r10w
jne 0x18020dad8
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x18020da93
test rsi, rsi
je 0x18020da84
mov dword [rsi], r9d
test r9b, r9b
setne r10b
mov rax, r10
jmp 0x18020dbb7
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x18020daa1
mov r8b, 2
jmp 0x18020dabf
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x18020daaf
mov r8b, 3
jmp 0x18020dabf
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x18020dba5
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x18020db01
mov r8b, byte [r11 + 4]
mov edx, dword [r11]
mov bl, byte [r11 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x18020dba5
cmp bl, bpl
jb 0x18020dba5
cmp bl, r8b
jae 0x18020dba5
movzx ebp, bl
cmp rbp, r14
mov r9d, ebp
cmovae r9, r14
jmp 0x18020db2e
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x18020dba5
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r9
jb 0x18020db10
cmp r9, rbp
jae 0x18020db5a
movzx eax, r8b
sub bl, r9b
mov word [r11 + 4], ax
movzx eax, bl
mov word [r11 + 6], ax
mov dword [r11], edx
jmp 0x18020da5d
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x18020dba5
cmp edx, 0x110000
jae 0x18020dba5
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x18020dba5
test rsi, rsi
je 0x18020db98
mov dword [rsi], edx
neg edx
mov qword [r11], r10
sbb rax, rax
and rax, rbp
jmp 0x18020dbb7
mov qword [r11], r10
call fcn.1800aeeb3
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800afed5
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret