joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800632b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x12c0]
mov eax, 0x13c0
call fcn.1801284e0
sub rsp, rax
mov rax, qword [0x1801af118]
xor rax, rsp
mov qword [rbp + 0x12b0], rax
mov ebx, edx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x12a4], 0xffffffff
mov r8d, 1
mov dword [rsp + 0x24], eax
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x24], eax
inc r8
cmp r8, 0x270
jb 0x180063300
movsd xmm3, qword [0x180179d50]
mov edx, 0x270
movsd xmm5, qword [0x180179e38]
xorps xmm2, xmm2
movd xmm4, ebx
xorps xmm1, xmm1
mov dword [rsp + 0x20], edx
mov r10d, 2
cvtdq2pd xmm4, xmm4
nop
cmp edx, 0x270
jne 0x1800633a2
lea r8, [rsp + 0x28]
mov r9d, edx
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x180063360
mov edx, dword [rsp + 0x20]
jmp 0x18006348f
cmp edx, 0x4e0
jb 0x18006348f
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rbp + r8*4 + 0x8e4]
xor edx, dword [rbp + r8*4 + 0x8e8]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x8e4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0xf18]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0xe3
jb 0x1800633c0
mov r8d, 0xe3
nop dword [rax]
mov edx, dword [rbp + r8*4 + 0x8e4]
xor edx, dword [rbp + r8*4 + 0x8e8]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x8e4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x468]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0x26f
jb 0x180063410
mov edx, dword [rbp + 0x12a0]
xor edx, dword [rsp + 0x24]
btr edx, 0x1f
xor edx, dword [rbp + 0x12a0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [rbp + 0x554]
xor edx, edx
mov dword [rbp + 0x8e0], ecx
mov dword [rsp + 0x20], edx
mov eax, edx
xorps xmm0, xmm0
inc edx
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12a4]
xor ecx, eax
mov dword [rsp + 0x20], edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
subsd xmm0, xmm2
mulsd xmm0, xmm3
mulsd xmm3, xmm5
addsd xmm1, xmm0
sub r10, 1
jne 0x180063350
divsd xmm1, xmm3
subsd xmm4, xmm2
mulsd xmm1, xmm4
addsd xmm1, xmm2
cvttsd2si eax, xmm1
mov rcx, qword [rbp + 0x12b0]
xor rcx, rsp
call fcn.1801274b0
mov rbx, qword [rsp + 0x13d0]
add rsp, 0x13c0
pop rbp
ret
Function at 0x180064450
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1801cc2c8]
mov rdi, rcx
mov rdx, qword [rax + 0x30]
mov r8, qword [rdx + 0x30]
cmp dword [r8 + 0x35e8], 0xffffffff
jne 0x1800644ce
mov dword [r8 + 0x35f8], 0xffffffff
mov rax, qword [0x1801cc2c8]
mov rdx, qword [rax + 0x30]
mov rax, qword [rdx + 0x30]
mov dword [rax + 0x35e8], 1
mov rbx, qword [0x1801cc278]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x15]
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov rax, qword [0x1801cc2c8]
mov rcx, qword [rax + 0x30]
mov eax, dword [rdi + 8]
mov rdx, qword [rcx + 0x30]
mov dword [rdx + 0x35e8], eax
jmp 0x18006450b
mov eax, dword [rcx + 8]
mov dword [r8 + 0x4338], eax
mov rax, qword [0x1801cc2c8]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x35e8], 1
mov rbx, qword [0x1801cc278]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x15]
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov rax, qword [0x1801cc2c8]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x35e8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x1800bf6a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x50
call fcn.1800703e0
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rcx, qword [0x1801cc200]
lea rdx, str.STRING
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
movabs rdx, 0x202709f4c58a0424
inc dword [rcx + 8]
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rcx, qword [0x1801cc200]
lea rdx, str.Your_Rank_Is_Set.
mov eax, dword [rcx + 8]
mov qword [rcx + rax*8 + 0x130], rdx
movabs rdx, 0x6c188be134e074aa
inc dword [rcx + 8]
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
movss xmm0, dword [0x180179c94]
movss dword [rsp + 0x30], xmm0
call fcn.1800ce830
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800bf827
mov ecx, 0x65
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1800bf827
lea rdx, str.Input
mov dword [rsp + 0x38], reloc.WS2_32.dll_sendto
mov ecx, 1
call fcn.1800ce9b0
mov rcx, qword [0x1801cc200]
movabs rbx, 0xcf2b696bbf945ae
call fcn.180014040
mov rcx, qword [0x1801cc200]
mov rdx, rbx
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
mov rax, qword [rcx]
cmp dword [rax], 0
je 0x1800bf791
call fcn.180014040
mov rcx, qword [0x1801cc200]
movabs rdx, 0x8362b09b91893647
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
cmp qword [rcx], 0
jne 0x1800bf7f1
xor ecx, ecx
mov dword [0x18023eacc], ecx
add rsp, 0x50
pop rbx
jmp fcn.1800703e0
mov eax, dword [rsp + 0x68]
cmp eax, 0x1f40
jle 0x1800bf810
mov dword [0x18023eacc], 0x1f40
add rsp, 0x50
pop rbx
jmp fcn.1800703e0
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [0x18023eacc], eax
add rsp, 0x50
pop rbx
jmp fcn.1800703e0
add rsp, 0x50
pop rbx
ret

Function at 0x1800c0fa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1801af118]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdi, str.Yellow_Blue_Robot_Bodysuit
mov qword [rsp + 0x60], rbx
lea r15, str._ARENAWARSPSTAT_BOOL
lea r14, str.Refuse_Collectors
nop dword [rax]
mov esi, dword [rdi + 8]
lea ebp, [rsi - 0x6182]
cmp ebp, 0x23f
ja 0x1800c1093
lea r10, str.mpply_last_mp_char
xor r9d, r9d
mov al, 0x6d
nop dword [rax]
nop word [rax + rax]
movzx r8d, al
lea r10, [r10 + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx eax, byte [r10]
test al, al
jne 0x1800c1010
lea eax, [r9 + r9*8]
mov r8d, 0xffffffff
mov edx, eax
shr edx, 0xb
xor edx, eax
imul ecx, edx, 0x8001
lea rdx, [rsp + 0x30]
call fcn.180065fd0
mov r9d, dword [rsp + 0x30]
mov ecx, ebp
mov qword [rsp + 0x20], r15
call fcn.180065ee0
mov ecx, ebp
mov ebx, eax
call fcn.180065e70
shl eax, 6
mov ecx, ebx
sub esi, eax
lea r8d, [rsi - 0x6182]
call fcn.180065d90
add rdi, 0x10
cmp rdi, r14
jne 0x1800c0fe0
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1801274b0
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1800c10f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1801af118]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdi, str.Refuse_Collectors
mov qword [rsp + 0x60], rbx
lea r15, str._CASINOHSTPSTAT_BOOL
lea r14, str.APC_Sam_Battery
nop dword [rax]
mov esi, dword [rdi + 8]
lea ebp, [rsi - 0x6dc2]
cmp ebp, 0xff
ja 0x1800c11e3
lea r10, str.mpply_last_mp_char
xor r9d, r9d
mov al, 0x6d
nop dword [rax]
nop word [rax + rax]
movzx r8d, al
lea r10, [r10 + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx eax, byte [r10]
test al, al
jne 0x1800c1160
lea eax, [r9 + r9*8]
mov r8d, 0xffffffff
mov edx, eax
shr edx, 0xb
xor edx, eax
imul ecx, edx, 0x8001
lea rdx, [rsp + 0x30]
call fcn.180065fd0
mov r9d, dword [rsp + 0x30]
mov ecx, ebp
mov qword [rsp + 0x20], r15
call fcn.180065ee0
mov ecx, ebp
mov ebx, eax
call fcn.180065e70
shl eax, 6
mov ecx, ebx
sub esi, eax
lea r8d, [rsi - 0x6dc2]
call fcn.180065d90
add rdi, 0x10
cmp rdi, r14
jne 0x1800c1130
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1801274b0
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1800cf820
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov dword [rcx + 0x2b2], 0
mov rdi, rcx
mov word [rcx + 0x2b6], 0
mov byte [rcx + 0x2b8], 0
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800cf875
mov ecx, reloc.WS2_32.dll_WSACleanup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1800cf875
mov al, 1
jmp 0x1800cf877
xor al, al
mov byte [rdi + 0x2b2], al
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800cf8a6
mov ecx, 8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1800cf8a6
mov al, 1
jmp 0x1800cf8a8
xor al, al
mov byte [rdi + 0x2b3], al
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800cf8d7
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1800cf8d7
mov al, 1
jmp 0x1800cf8d9
xor al, al
mov byte [rdi + 0x2b4], al
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800cf908
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1800cf908
mov al, 1
jmp 0x1800cf90a
xor al, al
mov byte [rdi + 0x2b5], al
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800cf939
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1800cf939
mov al, 1
jmp 0x1800cf93b
xor al, al
mov byte [rdi + 0x2b6], al
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800cf96a
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1800cf96a
mov al, 1
jmp 0x1800cf96c
xor al, al
mov byte [rdi + 0x2b7], al
mov rbx, qword [0x1801cc2c8]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 0x18]
jne 0x1800cf9ae
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1800cf9ae
mov byte [rdi + 0x2b8], 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov byte [rdi + 0x2b8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x1800dfc10
Capabilities:
Log keystrokes via polling

Disassembly:
test cl, cl
je 0x1800dfde4
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov edi, r9d
mov esi, r8d
mov ebp, edx
xor ebx, ebx
mov rcx, qword [0x1801cc200]
call fcn.180014040
movabs r14, 0xd80958fc74e988a6
mov rdx, r14
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call fcn.1800e56d0
test eax, eax
je 0x1800dfdcd
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov r8, qword [0x1801cc200]
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x20], ebp
mov ecx, dword [r8 + 8]
mov rax, qword [rsp + 0x20]
mov qword [r8 + rcx*8 + 0x130], rax
inc dword [r8 + 8]
movabs rdx, 0x963d27a58df860ac
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
call fcn.180014040
mov rdx, r14
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
lea edx, [rbx + 2]
movabs rcx, 0xf3a21bcd95725a4a
mov r8d, Ordinal_211
call fcn.180065a50
test eax, eax
jne 0x1800dfd07
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1800dfdcd
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x2c], edi
mov rdi, qword [0x1801cc300]
mov ecx, Ordinal_79
call fcn.180127858
mov rsi, rax
mov qword [rsp + 0x20], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_Big::PickupGun_bool__unsigned_int__unsigned_int__int_::_11::_lambda_1___void___.0
mov qword [rsp + 0x38], rax
movsd xmm0, qword [rsp + 0x28]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], ebp
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
lea rax, vtable.Big::ModelCallback.0
mov qword [rsi], rax
mov dword [rsi + 8], ebp
lea rcx, [rsi + 0xc]
mov qword [rcx + 0x38], rbx
lea rdx, [rsp + 0x38]
call fcn.18001c430
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1800dfd89
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
nop
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov rdx, qword [rdi + 0x11]
cmp rdx, qword [rdi + 0x19]
je 0x1800dfda7
mov qword [rdx], rsi
add qword [rdi + 0x11], 8
jmp 0x1800dfdba
lea r8, [rsp + 0x20]
lea rcx, [rdi + 9]
call fcn.180064650
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x1800dfdcd
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800e67a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x18023f400]
cmp eax, 0x64
jb 0x1800e689b
movss xmm3, dword [rbx + 0x1c]
movss xmm2, dword [rbx + 0x14]
subss xmm3, dword [0x180179c94]
subss xmm2, dword [0x180179c94]
movss xmm1, dword [rbx + 0xc]
mov ecx, dword [rbx + 8]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x20], 1
call fcn.180066c80
mov rcx, qword [0x1801cc200]
mov edi, eax
call fcn.180014040
mov rcx, qword [0x1801cc200]
movabs rdx, 0xd80958fc74e988a6
call fcn.1800140c0
mov rcx, qword [0x1801cc200]
mov rdx, qword [rcx]
mov ebx, dword [rdx]
call fcn.180014040
mov rdx, qword [0x1801cc200]
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x50], ebx
mov rax, qword [rsp + 0x50]
mov ecx, dword [rdx + 8]
mov qword [rdx + rcx*8 + 0x130], rax
inc dword [rdx + 8]
movabs rdx, 0xe83d4f9ba2a38914
mov rcx, qword [0x1801cc200]
call fcn.1800140c0
mov rax, qword [0x1801cc200]
mov edx, edi
mov rcx, qword [rax]
movss xmm2, dword [rcx]
movabs rcx, 0x8e2530aa8ada980e
call fcn.180067710
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdi, qword [rsp + 0x58]
mov dword [0x18023f400], eax
add rsp, 0x40
pop rbx
ret

Function at 0x1800e73c4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800e7448
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1800e7448
dec r8
sub rdx, 1
jne 0x1800e742e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1800ed140
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x1800ed22a
call fcn.1800ed390
test al, al
jne 0x1800ed22a
mov qword [rsp + 0x30], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
xor r14d, r14d
mov esi, r14d
inc rbx
cmp byte [rdi + rbx], sil
jne 0x1800ed180
mov r8, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rdi
call fcn.180100980
test rax, rax
je 0x1800ed1c5
sub rax, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rdi
call fcn.180100980
mov rsi, rax
test rax, rax
je 0x1800ed1c5
inc rsi
mov rcx, rdi
sub rcx, rsi
add rbx, rcx
test rsi, rsi
mov ebp, 0x1505
cmovne rdi, rsi
mov rsi, rdi
lea rax, [rbx + rdi]
cmp rdi, rax
cmova rbx, r14
mov r14, qword [rsp + 0x48]
test rbx, rbx
je 0x1800ed211
nop dword [rax]
movzx ecx, byte [rsi]
call fcn.1800f7050
movsx rcx, al
inc rsi
imul rbp, rbp, 0x21
mov rax, rsi
xor rbp, rcx
sub rax, rdi
cmp rax, rbx
jb 0x1800ed1f0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
movzx eax, bpl
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1800f4270
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x728], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1800f42ce
mov dl, 1
call fcn.1800ea460
mov rax, qword [rdi + 0x680]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x728]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.1800ea460
mov eax, ebx
jmp 0x1800f4310
cmp ebx, 2
ja 0x1800f430e
mov r9, qword [rdi + 0x678]
lea rdx, [0x18013ef58]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x678]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800f4330
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x1801af118]
xor rax, rsp
mov qword [rsp + 0x140], rax
test dword [rcx + 0xe70], 0x4000000
mov rdi, rcx
jne 0x1800f4376
cmp qword [rcx + 0x688], 0
je 0x1800f4453
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1800fee90
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800f43a4
mov rcx, qword [rdi + 0x688]
test rcx, rcx
je 0x1800f43e8
test byte [rdi + 0x149c], 8
jne 0x1800f43e8
lea rdx, [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1800f43d0
or dword [rdi + 0x149c], 8
test dword [rdi + 0xe70], 0x4000000
je 0x1800f444b
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1800f44a4
cmp qword [rdi + 0x728], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1800f446c
mov dl, 1
mov rcx, rdi
call fcn.1800ea460
mov rax, qword [rdi + 0x680]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x728]
xor edx, edx
mov rcx, rdi
call fcn.1800ea460
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1801274b0
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x678]
lea rcx, [0x18013ef58]
mov edx, 2
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x678]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
jmp 0x1800f444b
call fcn.180127da8
int3
Function at 0x1800f44b0
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1800f4614
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x1801af118]
xor rax, rsp
mov qword [rsp + 0x840], rax
test dword [rcx + 0xe70], 0x4000000
mov rdi, rcx
je 0x1800f45fc
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1800fee90
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1800f4571
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop dword [rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1800f4530
cmp byte [rax + rcx - 1], 0xa
jne 0x1800f4558
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1800f456c
lea r8, [0x18015ac30]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1800fed90
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800f4576
cmp qword [rdi + 0x728], 0
je 0x1800f45be
mov dl, 1
mov rcx, rdi
call fcn.1800ea460
mov rax, qword [rdi + 0x680]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x728]
xor edx, edx
mov rcx, rdi
call fcn.1800ea460
jmp 0x1800f45f4
mov r9, qword [rdi + 0x678]
lea rcx, [0x18013ef58]
mov edx, 2
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x678]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1801274b0
add rsp, 0x860
pop rdi
ret

Function at 0x1800f4770
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1800f47ab
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
mov edx, 0x51
cmp eax, 0x2733
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800f4950
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x1801af118]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, qword [rsp + 0x120]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov rax, rcx
mov r12, r9
shl rax, 5
mov r15, r8
lea rbx, [rsi + 0x288]
mov rbp, qword [rsi + rcx*8 + 0x240]
add rbx, rax
mov rax, qword [rsi + 0x3e8]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x1800f4a57
lea rax, [0x1800f4800]
cmp qword [rsi + rcx*8 + 0x268], rax
jne 0x1800f4a57
cmp qword [rbx], r13
je 0x1800f49de
test rdi, rdi
je 0x1800f4a57
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.1800f3eb0
cmp eax, 0xffffffff
je 0x1800f4a57
test al, 1
je 0x1800f4a57
mov rax, qword [rbx]
test rax, rax
jne 0x1800f4a30
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb60]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
je 0x1800f4a53
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1800f4a57
add qword [rbx + 0x10], rcx
jmp 0x1800f4a57
mov qword [rbx + 8], r13
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x1800f4ac4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x1800f4a90
mov dword [r14], 0x51
mov rax, r13
jmp 0x1800f4ac7
mov r8d, 0x80
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.18011b4d0
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1800f4330
mov rcx, qword [rsi]
mov dword [rcx + 0x10e8], ebx
mov dword [r14], gethostname
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1801274b0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800f5090
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
test byte [rcx + 0x2d8], 1
je 0x1800f50ad
call fcn.1800f1950
test eax, eax
jne 0x1800f50d3
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x240]
cmp rcx, 0xffffffffffffffff
je 0x1800f50a6
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1800f50a6
mov al, 1
add rsp, 0x28
ret