joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010d000
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1f0
mov qword [rbp - 0x1c8], rbx
mov qword [rbp - 0x1c0], rsi
mov qword [rbp - 0x1b8], rdi
mov qword [rbp - 0x1b0], r12
mov qword [rbp - 0x1a8], r13
mov qword [rbp - 0x1a0], r14
mov qword [rbp - 0x198], r15
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x18]
mov dword [rax], 0
mov dword [rbp - 0x180], 0xffffffff
mov dword [rbp - 0x17c], 4
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 8]
mov rbx, qword [rbx]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x170]
call fcn.1400c90d0
lea rax, [rbp - 0x17c]
push rax
push qword [rbp + 0x18]
lea r9, [rbp - 0x180]
xor r8d, r8d
mov qword [rbp - 0x190], r8
mov qword [rbp - 0x188], r9
lea rcx, [rbp - 0x170]
sub rsp, 0x20
call fcn.14000e7a0
add rsp, 0x20
mov rdx, rax
mov r9, qword [rbp - 0x188]
mov r8, qword [rbp - 0x190]
mov rcx, qword [rbp + 0x28]
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov r9d, eax
lea rax, [0x14010ca60]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
lea r8, [rbp - 0x50]
lea rdx, str.stdwindows_registry.d
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], reloc.WS2_32.dll_shutdown
lea rdx, [rbp - 0x40]
mov ecx, 0x281
call fcn.14010b180
sub rsp, 8
call fcn.14010d12f
add rsp, 8
jmp 0x14010d144
mov eax, dword [rbp - 0x180]
cmp eax, dword [rbp + 0x10]
sete dl
lea rbx, [0x14010d240]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], 0
lea rcx, [rbp - 0x30]
sub rsp, 0x20
call fcn.140016b90
add rsp, 0x20
mov esi, dword [rbp - 0x180]
cmp esi, 4
je 0x14010d204
cmp esi, 5
je 0x14010d18a
jmp 0x14010d196
mov rdx, qword [rbp + 0x18]
mov eax, dword [rdx]
bswap eax
mov dword [rdx], eax
jmp 0x14010d204
lea rcx, [0x1401d00f0]
sub rsp, 0x20
call fcn.1400a9c50
add rsp, 0x20
mov rsi, rax
sub rsp, 8
lea rdx, str.Cannot_read_the_given_value_as_a_32_bit_integer
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x20], getprotobynumber
lea rbx, [rbp - 0x20]
push rbx
lea rdi, str.stdwindows_registry.d
mov qword [rbp - 8], rdi
mov qword [rbp - 0x10], reloc.WS2_32.dll_shutdown
lea r9, [rbp - 0x10]
mov r8d, 0x297
xor edx, edx
mov rcx, rsi
sub rsp, 0x20
call fcn.140102a50
add rsp, 0x30
mov rcx, rax
sub rsp, 0x20
call fcn.1400b3dc0
mov rbx, qword [rbp - 0x1c8]
mov rsi, qword [rbp - 0x1c0]
mov rdi, qword [rbp - 0x1b8]
mov r12, qword [rbp - 0x1b0]
mov r13, qword [rbp - 0x1a8]
mov r14, qword [rbp - 0x1a0]
mov r15, qword [rbp - 0x198]
mov rsp, rbp
pop rbp
ret
Function at 0x14010d2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1f0
mov qword [rbp - 0x1c8], rbx
mov qword [rbp - 0x1c0], rsi
mov qword [rbp - 0x1b8], rdi
mov qword [rbp - 0x1b0], r12
mov qword [rbp - 0x1a8], r13
mov qword [rbp - 0x1a0], r14
mov qword [rbp - 0x198], r15
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x18]
mov qword [rax], 0
mov dword [rbp - 0x180], 0xffffffff
mov dword [rbp - 0x17c], 8
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 8]
mov rbx, qword [rbx]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x170]
call fcn.1400c90d0
lea rax, [rbp - 0x17c]
push rax
push qword [rbp + 0x18]
lea r9, [rbp - 0x180]
xor r8d, r8d
mov qword [rbp - 0x190], r8
mov qword [rbp - 0x188], r9
lea rcx, [rbp - 0x170]
sub rsp, 0x20
call fcn.14000e7a0
add rsp, 0x20
mov rdx, rax
mov r9, qword [rbp - 0x188]
mov r8, qword [rbp - 0x190]
mov rcx, qword [rbp + 0x28]
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov r9d, eax
lea rax, [0x14010ca60]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
lea r8, [rbp - 0x50]
lea rdx, str.stdwindows_registry.d
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], reloc.WS2_32.dll_shutdown
lea rdx, [rbp - 0x40]
mov ecx, 0x2a5
call fcn.14010b180
sub rsp, 8
call fcn.14010d3e0
add rsp, 8
jmp 0x14010d3f5
mov eax, dword [rbp - 0x180]
cmp eax, dword [rbp + 0x10]
sete dl
lea rbx, [0x14010d4e0]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], 0
lea rcx, [rbp - 0x30]
sub rsp, 0x20
call fcn.140016b90
add rsp, 0x20
mov esi, dword [rbp - 0x180]
cmp esi, 0xb
je 0x14010d49e
lea rcx, [0x1401d00f0]
sub rsp, 0x20
call fcn.1400a9c50
add rsp, 0x20
mov rsi, rax
sub rsp, 8
lea rax, str.Cannot_read_the_given_value_as_a_64_bit_integer
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], getprotobynumber
lea rdx, [rbp - 0x20]
push rdx
lea rbx, str.stdwindows_registry.d
mov qword [rbp - 8], rbx
mov qword [rbp - 0x10], reloc.WS2_32.dll_shutdown
lea r9, [rbp - 0x10]
mov r8d, 0x2b0
xor edx, edx
mov rcx, rsi
sub rsp, 0x20
call fcn.140102a50
add rsp, 0x30
mov rcx, rax
sub rsp, 0x20
call fcn.1400b3dc0
mov rbx, qword [rbp - 0x1c8]
mov rsi, qword [rbp - 0x1c0]
mov rdi, qword [rbp - 0x1b8]
mov r12, qword [rbp - 0x1b0]
mov r13, qword [rbp - 0x1a8]
mov r14, qword [rbp - 0x1a0]
mov r15, qword [rbp - 0x198]
mov rsp, rbp
pop rbp
ret
Function at 0x14010d550
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1e0
mov qword [rbp - 0x1b8], rbx
mov qword [rbp - 0x1b0], rsi
mov qword [rbp - 0x1a8], rdi
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov rdi, r8
mov rsi, r9
mov r10, qword [rbp + 0x18]
mov qword [r10], 0
mov qword [r10 + 8], 0
mov dword [rbp - 0x1a0], 0xffffffff
mov edx, 0x64
lea rcx, [0x1401d8010]
call fcn.1400aaba0
mov qword [rbp - 0x190], rax
mov qword [rbp - 0x188], rdx
mov rcx, qword [rbp - 0x190]
call fcn.1400dc370
mov dword [rbp - 0x180], eax
mov rdx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x170]
call fcn.1400c90d0
lea rcx, [rbp - 0x170]
sub rsp, 0x20
call fcn.14000e7a0
add rsp, 0x20
lea r8, [rbp - 0x1a0]
mov r9, qword [rbp - 0x188]
lea rdx, [rbp - 0x180]
push rdx
push r9
mov r9, r8
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov edi, eax
cmp edi, 0xea
jne 0x14010d69a
lea rdx, [rbp - 0x190]
mov ecx, dword [rbp - 0x180]
sub rsp, 0x20
call fcn.140115bd0
add rsp, 0x20
lea rcx, [rbp - 0x170]
sub rsp, 0x20
call fcn.14000e7a0
add rsp, 0x20
lea r8, [rbp - 0x1a0]
mov r9, qword [rbp - 0x188]
lea rdx, [rbp - 0x180]
push rdx
push r9
mov r9, r8
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov edi, eax
mov r9d, edi
lea rax, [0x14010ca60]
mov qword [rbp - 0x48], rax
xor ebx, ebx
mov qword [rbp - 0x50], rbx
lea r8, [rbp - 0x50]
lea rcx, str.stdwindows_registry.d
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x40], reloc.WS2_32.dll_shutdown
lea rdx, [rbp - 0x40]
mov ecx, 0x2c7
sub rsp, 0x20
call fcn.14010b180
add rsp, 0x20
mov eax, dword [rbp - 0x1a0]
cmp eax, dword [rbp + 0x10]
sete dl
lea rsi, [0x14010d800]
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x30]
sub rsp, 0x20
call fcn.140016b90
add rsp, 0x20
mov ebx, dword [rbp - 0x1a0]
cmp ebx, 3
je 0x14010d780
lea rcx, [0x1401d00f0]
sub rsp, 0x20
call fcn.1400a9c50
add rsp, 0x20
mov rsi, rax
sub rsp, 8
lea rbx, str.Cannot_read_the_given_value_as_a_string
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x20], 0x27
lea rax, [rbp - 0x20]
push rax
lea rdx, str.stdwindows_registry.d
mov qword [rbp - 8], rdx
mov qword [rbp - 0x10], reloc.WS2_32.dll_shutdown
lea r9, [rbp - 0x10]
mov r8d, 0x2d3
xor edx, edx
mov rcx, rsi
sub rsp, 0x20
call fcn.140102a50
add rsp, 0x30
mov rcx, rax
sub rsp, 0x20
call fcn.1400b3dc0
lea rdx, [rbp - 0x190]
mov ecx, dword [rbp - 0x180]
sub rsp, 0x20
call fcn.140115bd0
add rsp, 0x20
mov rdx, qword [rbp - 0x188]
mov rax, qword [rbp - 0x190]
mov rsi, qword [rbp + 0x18]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
sub rsp, 8
call fcn.14010d7c2
add rsp, 8
jmp 0x14010d7d7
mov rbx, qword [rbp - 0x1b8]
mov rsi, qword [rbp - 0x1b0]
mov rdi, qword [rbp - 0x1a8]
mov rsp, rbp
pop rbp
ret

Function at 0x14010dd80
Capabilities:
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0x10]
call sub.KERNEL32.dll_GetFileAttributesW
mov rsp, rbp
pop rbp
ret
Function at 0x140110f70
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
xor edx, edx
mov qword [rbp - 8], rdx
mov rcx, qword [rbp + 0x10]
add rcx, 0xfffffffffffffea0
call fcn.14000e7a0
mov rcx, rax
mov rdx, qword [rbp - 8]
call sub.KERNEL32.dll_CreateDirectoryW
mov rsp, rbp
pop rbp
ret

Function at 0x140115c00
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r13
mov rdi, rcx
mov rsi, rdx
mov r12, r8
mov r13, r9
mov dword [rdi], 0
mov rcx, qword [rsi]
call fcn.1400dc370
mov dword [rdi], eax
xor edx, edx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
cmp ebx, 0xea
je 0x140115c81
mov eax, ebx
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov r12, qword [rbp - 0x10]
mov r13, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
mov rdx, rsi
mov rcx, qword [rsi]
add rcx, rcx
call fcn.1400c9940
mov rcx, qword [rsi]
call fcn.1400dc370
mov dword [rdi], eax
xor r8d, r8d
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x50], r8
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
cmp ebx, 0xea
jne 0x140115c66
jmp 0x140115c81

Function at 0x140115cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r13
mov rdi, rcx
mov rsi, rdx
mov r12, r8
mov r13, r9
mov dword [rdi], 0
mov rcx, qword [rsi]
call fcn.1400dc370
mov dword [rdi], eax
xor edx, edx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
cmp ebx, 0xea
je 0x140115d51
mov eax, ebx
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov r12, qword [rbp - 0x10]
mov r13, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
mov rdx, rsi
mov rcx, qword [rsi]
add rcx, rcx
call fcn.1400c9940
mov rcx, qword [rsi]
call fcn.1400dc370
mov dword [rdi], eax
xor r8d, r8d
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x50], r8
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
cmp ebx, 0xea
jne 0x140115d36
jmp 0x140115d51

Function at 0x140118af0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0x10]
call sub.KERNEL32.dll_GetFileAttributesW
cmp eax, 0xffffffff
setne al
mov rsp, rbp
pop rbp
ret
Function at 0x140121200
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rdi
mov qword [rbp + 0x10], rcx
call fcn.14012c020
mov qword [rbp - 0x60], rax
mov rsi, qword [rbp + 0x10]
lea rdi, [rbp - 0x50]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0x50]
call fcn.140121060
xor al, 1
je 0x140121283
lea rcx, [rbp - 0x50]
call fcn.140121000
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 8], rdx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x60]
call fcn.14012c060
lea rcx, [rbp - 0x50]
call fcn.140121090
lea rcx, [rbp - 0x50]
call fcn.140121060
xor al, 1
jne 0x14012123f
lea rcx, [rbp - 0x60]
call fcn.1400fd6d0
mov rsi, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
mov rsp, rbp
pop rbp
ret
Function at 0x14012fa70
Capabilities:
Create thread
Resume thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rsi
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov ecx, reloc.WS2_32.dll_recv
call fcn.14013ba64
mov rdx, qword [rbp + 0x20]
mov rbx, qword [rdx]
mov rdx, qword [rdx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rdx
mov dword [rbp - 0x20], 0
cmp byte [0x1401dc858], 0
jne 0x14012fae5
lea rsi, [rbp - 0x20]
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x40], 4
mov r9, rax
lea r8, [0x14012fbe0]
mov edx, dword [rbp + 0x18]
xor ecx, ecx
call fcn.14013e358
test rax, rax
mov qword [rbp - 0x18], rax
jne 0x14012faf4
xor eax, eax
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
mov rsp, rbp
pop rbp
ret
lea rcx, [0x1401dc6e0]
call sub.KERNEL32.dll_EnterCriticalSection
inc qword [0x1401dc6b8]
mov rdx, qword [0x1401dc6b8]
lea rdx, [rdx + rdx*2]
lea rdx, [rdx*8]
mov rcx, qword [0x1401dc6c0]
call fcn.14013ba6c
mov qword [0x1401dc6c0], rax
mov ebx, dword [rbp - 0x20]
mov rsi, qword [0x1401dc6b8]
lea rsi, [rsi + rsi*2]
lea rsi, [rsi*8]
add rsi, rax
mov dword [rsi - 0x18], ebx
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rbx, qword [rax]
mov rcx, qword [0x1401dc6b8]
lea rcx, [rcx + rcx*2]
lea rcx, [rcx*8]
add rcx, qword [0x1401dc6c0]
mov qword [rcx - 0x10], rbx
mov qword [rcx - 8], rdx
mov rcx, qword [rbp - 0x18]
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
je 0x14012fbbd
mov rcx, qword [rbp - 0x18]
call sub.KERNEL32.dll_CloseHandle
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
or rdx, qword [rax]
je 0x14012fb9f
call fcn.1401319e0
mov ebx, dword [rbp - 0x20]
lea rcx, [0x1401dc6e0]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, ebx
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
mov rsp, rbp
pop rbp
ret
lea rsi, str.Error_resuming_thread
mov qword [rbp - 8], rsi
mov qword [rbp - 0x10], reloc.WS2_32.dll_setsockopt
lea rcx, [rbp - 0x10]
call fcn.1400ce670
int3

Function at 0x14012fc40
Capabilities:
Terminate thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 8], rsi
mov dword [rbp + 0x10], ecx
mov r8d, dword [rbp + 0x10]
xor edx, edx
mov ecx, 0x10004a
call sub.KERNEL32.dll_OpenThread
mov rsi, rax
test rsi, rsi
jne 0x14012fc70
mov rsi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
cmp byte [0x1401dc858], 0
je 0x14012fc96
mov edx, 1
mov rcx, rsi
call sub.KERNEL32.dll_TerminateThread
mov edx, 0xa
mov rcx, rsi
call sub.KERNEL32.dll_WaitForSingleObject
jmp 0x14012fca3
mov edx, 0xffffffff
mov rcx, rsi
call sub.KERNEL32.dll_WaitForSingleObject
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
mov rsi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
Function at 0x140131920
Capabilities:
Resume thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rdi
mov qword [rbp + 0x10], rcx
mov rdi, qword [rbp + 0x10]
mov eax, dword [rdi + 0x10]
mov qword [rbp - 0x18], rax
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
mov rax, qword [rbp - 0x18]
cmp eax, ecx
je 0x140131980
mov rcx, qword [rdi + 0xb0]
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
jne 0x140131980
mov rcx, rdi
call fcn.1400b8a70
xor al, 1
je 0x1401319c0
mov rcx, rdi
call fcn.1400ce210
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
mov rsp, rbp
pop rbp
ret
movsx edx, byte [rdi + 0x90]
xor dl, 1
je 0x14013199a
mov rbx, qword [rdi + 0x88]
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov qword [rbp + 0x10], rdi
xor eax, eax
mov rdi, qword [rbp + 0x10]
add rdi, 0xb8
mov ecx, reloc.WS2_32.dll_recv
rep stosq qword [rdi], rax
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
mov rsp, rbp
pop rbp
ret
lea rdx, str.Unable_to_resume_thread
mov qword [rbp - 8], rdx
mov qword [rbp - 0x10], reloc.WS2_32.dll_socket
lea rcx, [rbp - 0x10]
call fcn.1400ce670
int3

Function at 0x140131d50
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rsi, rcx
xor edi, edi
mov rcx, rsi
call fcn.140103d90
xor al, 1
je 0x140131d88
inc rdi
mov rcx, rsi
call fcn.140103da0
mov rcx, rsi
call fcn.140103d90
xor al, 1
jne 0x140131d71
mov rax, rdi
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret

Function at 0x140132db0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rdi, rcx
mov rsi, rdx
mov rcx, rsi
call fcn.140103d90
xor al, 1
je 0x140132df8
mov rcx, rsi
call fcn.1400c3ad0
mov edx, eax
mov rcx, rdi
call fcn.14000ccd0
mov rcx, rsi
call fcn.140103da0
mov rcx, rsi
call fcn.140103d90
xor al, 1
jne 0x140132dd2
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
Function at 0x1401457d8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14014566b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14014566b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14014566b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14014566b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14014566b
cmp dword [rcx + 0x84], 0xe
jbe 0x14014566b
cmp dword [rcx + 0xf8], 0
je 0x14014566b
mov ecx, ebx
call fcn.14014570c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1401454fc
cmp dword [rbp + 0x20], 0
je 0x1401456b8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401456c0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140145604
Function at 0x140003b44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003b8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003b8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003b8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003b8e
cmp dword [rcx + 0x84], 0xe
jbe 0x140003b8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003b90
xor al, al
add rsp, 0x28
ret
Function at 0x14003078c
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rax, r8
xor ecx, ecx
mov rdi, rdx
mov r8, r9
mov rdx, rax
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov rcx, rbx
mov dword [rbx + 0x50], 0x6a09e667
mov dword [rbx + 0x54], 0xbb67ae85
mov dword [rbx + 0x58], 0x3c6ef372
mov dword [rbx + 0x5c], 0xa54ff53a
mov dword [rbx + 0x60], 0x510e527f
mov dword [rbx + 0x64], 0x9b05688c
mov dword [rbx + 0x68], 0x1f83d9ab
mov dword [rbx + 0x6c], 0x5be0cd19
call fcn.14002e9e4
mov rdx, rdi
mov rcx, rbx
call fcn.14002e778
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r10, rdx
mov r9, rcx
test rcx, rcx
je 0x140031879
test rdx, rdx
je 0x140031879
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov edi, dword [r8 + 0x1c]
mov edx, dword [r8 + 0x20]
add rdi, rcx
mov esi, dword [r8 + 0x24]
add rdx, rcx
mov ebp, dword [r8 + 0x18]
add rsi, rcx
xor ecx, ecx
test ebp, ebp
je 0x140031879
mov eax, dword [rdx]
mov rbx, r10
add rax, r9
sub rbx, rax
movzx r8d, byte [rax]
movzx r11d, byte [rax + rbx]
sub r8d, r11d
jne 0x14003186a
inc rax
test r11d, r11d
jne 0x140031854
test r8d, r8d
je 0x140031890
inc ecx
add rdx, 4
cmp ecx, ebp
jb 0x140031849
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rsi + rcx*2]
mov eax, dword [rdi + rcx*4]
add rax, r9
jmp 0x14003187b

Function at 0x140031e24
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x240
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14000b210
lea rcx, [0x140042750]
call fcn.1400106c8
lea rdx, [rsp + 0x30]
mov r8, rax
sub rdx, 2
lea rdx, [rdx + 2]
cmp word [rdx], 0
jne 0x140031e5a
xor ecx, ecx
movzx eax, word [r8 + rcx*2]
mov word [rdx + rcx*2], ax
inc rcx
test ax, ax
jne 0x140031e66
lea rcx, [rsp + 0x30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140031e80
mov eax, dword [0x1400427b8]
lea rdx, [0x1400427c0]
movaps xmm0, xmmword [str.MicrosoftWindowsFontsAdSlavicF.ttf]
mov r9d, 1
movaps xmm1, xmmword [0x140042780]
xor r8d, r8d
movups xmmword [rcx], xmm0
mov dword [rsp + 0x28], 0x208
movaps xmm0, xmmword [0x140042790]
movups xmmword [rcx + 0x10], xmm1
movaps xmm1, xmmword [0x1400427a0]
movups xmmword [rcx + 0x20], xmm0
movsd xmm0, qword [0x1400427b0]
movups xmmword [rcx + 0x30], xmm1
movsd qword [rcx + 0x40], xmm0
mov dword [rcx + 0x48], eax
movzx eax, word [0x1400427bc]
mov word [rcx + 0x4c], ax
lea rax, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x240
pop rbx
ret
Function at 0x140031f14
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
jmp 0x140031f50
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000a854
test rax, rax
jne 0x140031f67
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140031f3c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x140031f57

Function at 0x140031f70
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 r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r14d, dword [rdi + 0x1c]
mov r15d, dword [rdi + 0x20]
add r14, rcx
mov r12d, dword [rdi + 0x24]
add r15, rcx
add r12, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x140031fe3
movzx eax, word [r12 + rbx*2]
mov rdx, r13
mov ecx, dword [r15 + rbx*4]
add rcx, rsi
mov ebp, dword [r14 + rax*4]
add rbp, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x140032002
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x140031fbc
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbp
jmp 0x140031fe5