joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010e530
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14010e6d8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14010e595
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14010e595
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14010e595
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14010e5cc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14010e622
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010e622
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010e622
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010e622
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14010e622
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14010dfe0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14010e684
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ea760
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14010e3b0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14010e6d0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400ea760
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14010fe40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14016d080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14010fed5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14010ff36
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400ea760
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140123c30
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14010fff1
sub ecx, 1
je 0x140110064
sub ecx, 1
je 0x14010ffa0
cmp ecx, 1
je 0x14010ff83
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140141758]
call fcn.1400ea760
jmp 0x140110064
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14010fb70
test eax, eax
je 0x140110064
jmp 0x14010ff0a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140110064
sub rax, rsi
cmp rax, rbp
jae 0x140110064
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400ea8e0
jmp 0x140110064
cmp r8d, 4
jle 0x140110064
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140110064
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400ea680
mov esi, eax
test eax, eax
je 0x140110043
mov edx, 5
mov rcx, rbx
call fcn.140110b30
mov eax, esi
jmp 0x14010ff0a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400f8f60
mov rcx, r14
call fcn.1400f9240
test eax, eax
je 0x14010ff08
mov edx, 5
mov rcx, rbx
call fcn.140110b30
mov eax, Ordinal_46
jmp 0x14010ff0a
Function at 0x140122e00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140122e42
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140122e89
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140122ee2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140122ea0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140122f23
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14013986b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14013986c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140122ef0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140122f48
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140122f82
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140122f87
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140122fd0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140122fd0
dec r8
sub rdx, 1
jne 0x140122fb6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140123794
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140123060
mov ebx, eax
test eax, eax
jne 0x1401237c4
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140123827
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14012381e
test al, 0x10
je 0x14012381e
bt eax, 0xa
jae 0x140123817
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140123838
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140123813
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140123813
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14012381e
and dword [rsp + 0x3c], 0
jmp 0x140123823
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140124bc8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov ebx, r8d
mov edi, r8d
xor ebx, 0x249d
xor edi, 0xe7
mov r10d, r9d
mov rsi, rdx
mov ebp, ecx
lea eax, [rbx + 0x247a]
cmp edi, eax
jne 0x1400010d6
lea eax, [r9 + 0x22]
cmp edi, eax
jge 0x14000109c
mov eax, dword [rdx + 0x80]
lea r9d, [rdi + 0x2af]
add eax, 0x17ee7489
lea r11, [0x1400d9010]
mov dword [rdx], eax
lea r8d, [rdi + 0x139]
mov qword [rsp + 0x30], r11
lea eax, [rbx + 0x241d]
mov dword [rsp + 0x28], eax
lea ecx, [rbx + 0x249d]
xor r10d, 0x313
mov dword [rsp + 0x20], r9d
mov edx, ebx
mov r9d, r10d
xor edx, 0x26c0
call fcn.140011c74
mov r10d, eax
jmp 0x1400010d6
mov eax, ebx
lea edx, [rcx - 0x32e]
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jae 0x1400010d6
mov ecx, dword [0x1400d9150]
imul eax, dword [rsi + 0xc4], 0x247a
inc edx
xor ecx, eax
mov eax, ebx
xor ecx, ebp
mov dword [0x1400d9150], ecx
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jb 0x1400010b4
cmp dword [rsi + 0x110], 0xa137
jbe 0x1400010f8
mov rax, qword [section..data]
mov ecx, dword [rax + 0x1c]
add ecx, 0x2ed3
mov dword [0x1400d9060], ecx
add ebx, 0x241d
lea eax, [r10 + 0x28c]
cmp ebp, eax
jle 0x140001157
mov eax, r10d
xor eax, 0x15e
cmp ebp, eax
jle 0x140001143
mov r8d, edi
lea eax, [r10 + 0xad]
xor edi, 0x130
mov dword [rsp + 0x20], eax
mov ecx, edi
lea r9d, [r10 + 0x223]
xor r8d, 0x1b9
mov rdx, rsi
call fcn.140012430
jmp 0x140001157
mov ecx, dword [0x1400d9080]
sub ecx, dword [0x1400d905c]
sub ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbp, qword [rsp + 0x58]
lea eax, [rbx + 0x283]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400013f0
Capabilities:
Allocate or change rwx memory

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, 0x30
mov edi, dword [rsp + 0x88]
lea ebp, [rdx - 0x6e]
mov esi, r9d
mov r15d, r9d
add r9d, 0x23e
mov r14d, edi
xor r14d, 0x189
xor esi, 0x347
lea r13d, [rdi - 0x2e5]
xor r15d, 0x1bf
xor edi, 0x26c2
mov rbx, r8
lea eax, [r9 + 0x56]
cmp r14d, eax
jl 0x140001593
lea eax, [rbp + 0x2b4]
cmp esi, eax
je 0x1400014f1
mov eax, dword [0x1400d90e8]
cmp dword [0x1400d9150], eax
ja 0x1400014a9
mov rax, qword [section..data]
mov r8d, dword [r8 + 0x78]
mov edx, dword [rbx + 0x48]
mov ecx, dword [rax + 0x90]
add ecx, 0x2fff
add r8d, ecx
xor ecx, ecx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x5800
mov qword [0x1400d9108], rax
cmp dword [rbx + 0x4c], 0xfb3d
ja 0x1400014c3
mov eax, dword [rbx + 0xac]
add eax, 0xe6f92
mov dword [0x1400d907c], eax
mov eax, dword [0x1400d90a0]
add edi, 0x26c0
cmp dword [rbx + 0x30], eax
jb 0x140001593
mov eax, dword [rbx + 0xa4]
sub eax, dword [rbx + 0x110]
add eax, 0x1ba0a2
xor dword [rbx + 0x6c], eax
jmp 0x140001593
mov ecx, dword [r8 + 0xb0]
mov rax, qword [section..data]
sub ecx, esi
add ecx, r9d
cmp dword [rax + 0x18], ecx
jb 0x140001593
mov eax, dword [0x1400d90d4]
mov r12d, ebp
imul eax, esi
cmp ebp, eax
jne 0x140001593
mov edx, dword [rbx + 0xd0]
mov eax, dword [rbx + 0xcc]
add edx, r14d
mov r9d, dword [rbx + 0x10c]
sub eax, 0x2530
mov ecx, dword [rbx + 0x34]
or r9d, r13d
mov r8d, dword [rbx + 8]
and eax, ebp
and ecx, dword [0x1400d9090]
sub r9d, 0x254a
sub r8d, dword [rbx + 0x64]
and ecx, r13d
mov dword [rsp + 0x28], edx
lea rdx, [0x1400d9010]
mov dword [rsp + 0x20], eax
call fcn.140011f38
mov ecx, r13d
mov edx, r15d
sub ecx, dword [rbx + 0xc0]
or rcx, rdx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1400d90d4]
add r12d, 4
imul ecx, esi
cmp r12d, ecx
je 0x14000151d
mov rbx, qword [rsp + 0x60]
xor edi, 0x2ba
mov rbp, qword [rsp + 0x68]
mov eax, edi
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000c168
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14000c145
call fcn.14000ae38
mov dword [rax], 0x16
call fcn.14000ad18
or eax, 0xffffffff
jmp 0x14000c162
sub dword [rcx + 0x10], 1
jns 0x14000c154
add rsp, 0x28
jmp 0x14000ef2c
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14000c124
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14000edcc
call fcn.14000ae38
mov dword [rax], 0x16
call fcn.14000ad18
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14000edb4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14000edb4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14000edfe
lock or dword [rax + 0x14], 0x10
jmp 0x14000edb4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14000ee1b
mov rcx, qword [rbp + 0x10]
call fcn.14000ef34
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000bf68
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001032c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14000ee72
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14000edb4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14000eede
mov rcx, qword [rbp + 0x10]
call fcn.14000bf68
cmp eax, 0xffffffff
je 0x14000eec5
mov rcx, qword [rbp + 0x10]
call fcn.14000bf68
cmp eax, 0xfffffffe
je 0x14000eec5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000bf68
movsxd rdi, eax
lea rsi, [0x14016eda0]
mov rcx, rbx
sar rdi, 6
call fcn.14000bf68
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14000eecc
lea rax, [0x14016e240]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14000eede
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14000ef14
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14000ef10
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14000ef10
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14000edb7
jmp 0x14000ed84
Function at 0x140011cc8
Capabilities:
Encode data using xor

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, 0x40
mov edi, dword [rsp + 0x90]
lea r14d, [r8 + 0x223]
mov eax, dword [r9 + 0x100]
lea esi, [rdx - 0x1b4]
mov ebp, r8d
lea r11d, [rdx - 0x25b3]
mov r15d, edx
lea r13d, [rcx - 0x116]
lea r12d, [rdi - 0x23ff]
xor r15d, 0x313
xor edi, 0x23ff
xor ebp, 0x249d
mov rbx, r9
cmp dword [r9 + 0x20], eax
jne 0x140011d42
add dword [0x1400d9144], 0x188ca
jmp 0x140011d4d
mov eax, dword [r9 + 0xc]
add dword [r9 + 0x114], eax
mov eax, dword [0x1400d9034]
cmp dword [r9 + 0x140], eax
ja 0x140011d6c
mov eax, dword [r9 + 0x15c]
xor eax, 0xffe2be19
mov dword [r9 + 0x48], eax
lea eax, [rbp + 0x25b3]
cmp r14d, eax
jle 0x140011dbf
mov r10d, r12d
lea eax, [rdi + 0x274b]
xor r10d, 0x25ba
lea r8d, [rbp + 0x264a]
mov dword [rsp + 0x30], r10d
lea edx, [r13 - 0xc0]
mov r9d, r12d
mov dword [rsp + 0x28], eax
xor r9d, 0x274b
lea ecx, [r11 + 0x274b]
mov dword [rsp + 0x20], r9d
mov r9, rbx
call fcn.140002e20
mov r11d, eax
xor r11d, 0x55f
cmp ebp, r11d
je 0x140011f12
lea eax, [r12 + 0x26c0]
cmp r13d, eax
je 0x140011e4e
lea eax, [rsi + 0x1bb]
xor edi, 0x26c2
xor r15d, 0x2da
mov dword [rsp + 0x28], edi
mov edx, r15d
mov dword [rsp + 0x20], eax
lea r9d, [r12 + 0x240c]
lea ecx, [rsi + 0x1e]
lea r8, [0x1400d9010]
call fcn.1400013f0
mov eax, dword [rbx + 0x124]
cmp dword [rbx + 0xcc], eax
jae 0x140011e3b
mov rax, qword [section..data]
mov ecx, dword [rax + 0x4c]
xor ecx, dword [rbx + 0x134]
xor ecx, 0x618
sub dword [0x1400d907c], ecx
mov rax, qword [0x1400d9108]
mov qword [rbx + 0xf0], rax
jmp 0x140011f12
and edi, r14d
and edi, dword [rbx + 0x178]
cmp r14d, edi
jbe 0x140011f12
mov eax, dword [rbx + 0x110]
xor eax, dword [rbx + 0xc0]
cmp dword [rbx + 0x4c], eax
je 0x140011f12
mov eax, esi
imul eax, esi
cmp r14d, eax
je 0x140011f12
imul r13d, esi
sub eax, r14d
mov edi, eax
mov ecx, dword [rbx + 0x20]
or rcx, 0x25ba
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov r10, qword [section..data]
mov r9d, dword [rbx + 0x178]
mov ecx, dword [rbx + 0xc4]
add r9d, r12d
mov edx, dword [rbx + 0xc8]
and ecx, r12d
mov eax, dword [r10 + 0xe8]
mov r8d, dword [rbx + 0x38]
xor eax, 0x249d
imul ecx, dword [rbx + 0xbc]
or r15d, eax
mov eax, dword [r10 + 0x20]
add edx, r15d
imul eax, r12d
or r8d, 0x274b
and eax, r12d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r9d
lea r9, [0x1400d9010]
mov dword [rsp + 0x20], r13d
call fcn.140002e20
mov r12d, eax
sub rdi, 1
jne 0x140011e8c
lea r11, [rsp + 0x40]
xor esi, 0x4b4
mov rbx, qword [r11 + 0x30]
mov eax, esi
mov rsi, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140012430
Capabilities:
Suspend thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
lea esi, [r8 - 0x10]
mov edi, r8d
mov eax, esi
xor edi, 0xf3
xor eax, 0x3f9
add r9d, 0xffffff79
mov rbx, rdx
cmp r9d, eax
jg 0x1400124ff
xor r9d, 0xfb
cmp esi, r9d
je 0x1400124c7
cmp dword [rdx + 0xd8], 0x1590e
jae 0x14001249e
mov eax, dword [rdx + 0xa4]
sub eax, dword [rdx + 0x20]
sub eax, 0x17612
add dword [rdx + 0x110], eax
jmp 0x1400124b4
mov rax, qword [section..data]
mov ecx, dword [rax + 0x14c]
add ecx, 0x6774d
mov dword [rdx + 0x54], ecx
mov eax, dword [rdx + 0x70]
xor eax, dword [0x1400d9120]
add eax, 0x3ee6f773
xor dword [rdx + 0x54], eax
jmp 0x1400124ff
cmp dword [rdx + 0x60], edi
jbe 0x1400124ff
mov ecx, dword [rdx + 0xac]
mov ebp, dword [rdx + 0x178]
add ecx, esi
cmp ebp, ecx
jbe 0x1400124ff
mov r14d, edi
or r14d, esi
mov ecx, r14d
sub ecx, dword [rbx + 0x34]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [rbx + 0xac]
add ebp, 2
add ecx, esi
cmp ebp, ecx
ja 0x1400124e4
mov rbx, qword [rsp + 0x30]
lea eax, [rdi + 7]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140014ec4
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
mov esi, dword [rsp + 0x68]
lea edi, [rdx + 0x153]
mov r8d, dword [rsp + 0x60]
lea eax, [rdi + 0x21b]
mov rbx, rcx
lea r14d, [rdx + 0xc0]
mov r10d, edx
lea ebp, [rsi - 0x26c2]
xor r10d, 0x667
lea ecx, [r8 + 0x93]
xor esi, 0x53d
xor r8d, 0x3d6
cmp r8d, eax
jl 0x140015085
mov eax, r10d
xor eax, 0x8d
cmp edi, eax
jg 0x140015125
xor ecx, 0x6ed
lea r9d, [rdx + 0x1d6]
mov edx, ecx
xor r10d, 0x2f1
xor edi, 0x3f2
mov dword [r11 - 0x18], r10d
mov rcx, rbx
mov r8d, edi
call fcn.1400011e0
lea rax, [0x140045460]
xor r9d, r9d
mov qword [rbx + 0xe0], rax
mov rcx, qword [section..data]
mov rax, qword [rcx + 0xe0]
mov r8d, dword [r9 + rax]
add r9, 4
mov eax, dword [rcx + 0xc0]
add dword [rbx + 0xac], eax
mov rax, qword [section..data]
mov ecx, dword [rbx + 0x24]
imul r8d, dword [rax + 0x58]
mov eax, dword [rbx + 0x90]
add eax, 0xfff1793b
add ecx, eax
or dword [rbx + 8], ecx
mov rax, qword [section..data]
mov edx, r8d
shr edx, 0x10
mov ecx, dword [rax + 0x80]
add ecx, dword [rbx + 0x140]
mov eax, dword [rbx + 0xc4]
xor ecx, 0xc7366
imul eax, ecx
movsxd rcx, dword [rbx + 0x6c]
mov dword [rbx + 0xc4], eax
mov eax, dword [0x1400d905c]
add eax, 0xffffffef
xor dword [rbx + 0xc0], eax
mov eax, dword [rbx + 8]
xor eax, 0xf
add dword [rbx + 0x178], eax
mov rax, qword [rbx + 0xf0]
mov byte [rcx + rax], dl
mov edx, r8d
inc dword [rbx + 0x6c]
mov rax, qword [0x1400d9100]
movsxd rcx, dword [rbx + 0x6c]
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x6c]
movsxd rcx, dword [rbx + 0x6c]
mov rax, qword [rbx + 0xf0]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x6c]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x90]
dec ecx
add dword [rbx + 0xb0], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 8]
xor ecx, dword [rbx + 0x80]
sub ecx, 0xf
or dword [rbx + 0x110], ecx
cmp r9, 0x87ee0
jl 0x140014f75
mov eax, dword [rbx + 0xb4]
mov dword [0x1400d9068], eax
jmp 0x140015125
xor ecx, 0x241d
and ecx, dword [0x1400d9030]
cmp r10d, ecx
jbe 0x140015125
mov r9d, 0x21fb
mov qword [rsp + 0x20], 0x310c
mov r8b, 0x70
mov edx, 0x1d2e
mov ecx, 0x33ab
call fcn.140004600
movsxd rcx, eax
mov rax, qword [section..data]
mov qword [0x14016eb68], rcx
mov ecx, dword [rbx + 0x110]
mov r10d, dword [rbx + 0x10c]
xor ecx, 0x241d
mov edx, dword [rax + 0x110]
imul r10d, dword [rbx + 0xc4]
or edx, 0x23ff
mov r8d, dword [rbx + 0xec]
sub edx, r14d
imul ecx, dword [0x1400d9188]
add r8d, esi
mov qword [rsp + 0x28], rdx
mov edx, 0x26c0
movsxd rax, ebp
movsxd r9, edi
or r9, rax
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
lea eax, [rbp + 0x26c0]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret