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

Disassembly:
cmp edx, 0x1f
jne 0x1400c0458
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 0x1400c0315
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400c0315
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400c0315
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 0x1400c034c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400c03a2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400c03a2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400c03a2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400c03a2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400c03a2
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.1400bfd60
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 0x1400c0404
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14009c4e0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400c0130
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 0x1400c0450
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14009c4e0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400c1bc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1401080c0]
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 0x1400c1c55
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 0x1400c1cb6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14009c4e0
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.1400d5680
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 0x1400c1d71
sub ecx, 1
je 0x1400c1de4
sub ecx, 1
je 0x1400c1d20
cmp ecx, 1
je 0x1400c1d03
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400ea738]
call fcn.14009c4e0
jmp 0x1400c1de4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400c18f0
test eax, eax
je 0x1400c1de4
jmp 0x1400c1c8a
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 0x1400c1de4
sub rax, rsi
cmp rax, rbp
jae 0x1400c1de4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14009c660
jmp 0x1400c1de4
cmp r8d, 4
jle 0x1400c1de4
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 0x1400c1de4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14009c400
mov esi, eax
test eax, eax
je 0x1400c1dc3
mov edx, 5
mov rcx, rbx
call fcn.1400c28b0
mov eax, esi
jmp 0x1400c1c8a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400aace0
mov rcx, r14
call fcn.1400aafc0
test eax, eax
je 0x1400c1c88
mov edx, 5
mov rcx, rbx
call fcn.1400c28b0
mov eax, Ordinal_46
jmp 0x1400c1c8a
Function at 0x1400d4b80
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 [str.xm_r_]
mov rdi, rax
test rax, rax
jne 0x1400d4bc2
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 0x1400d4c09
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 0x1400d4c62
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 0x1400d4c20
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400d4ca3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400e95d2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e95d3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400d4c70
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 0x1400d4cc0
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 0x1400d4cfa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400d4cff
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 0x1400d4d48
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 0x1400d4d48
dec r8
sub rdx, 1
jne 0x1400d4d2e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400d659c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d65e6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d65e6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d65e6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d65e6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d65e6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400d65e8
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 edi, r8d
lea ebp, [rcx + 0x191]
xor r8d, 0x371
lea r10d, [r9 - 0x254a]
xor edi, 0x25b3
mov rsi, rdx
mov ebx, edi
lea eax, [r8 + 0x89]
cmp edi, eax
je 0x1400010e1
lea eax, [r10 + 0x25b3]
cmp edi, eax
jge 0x1400010a9
mov eax, dword [rdx + 0x80]
lea r9d, [rdi + 0x274b]
add eax, 0x36c7c69e
lea r11, [0x1400d8010]
mov dword [rdx], eax
lea ecx, [rdi + 0x254a]
lea eax, [r8 - 0x248]
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], eax
lea r8d, [rdi + 0x249d]
xor r10d, 0x240c
mov dword [rsp + 0x20], r9d
mov edx, ebx
mov r9d, r10d
xor edx, 0x26c2
call fcn.140011c74
mov r10d, eax
jmp 0x1400010e1
mov eax, ebx
lea edx, [rcx + 0x7f]
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jae 0x1400010e1
mov ecx, dword [0x1400d8150]
imul eax, dword [rsi + 0xc4], 0x25c3
add edx, 4
xor ecx, eax
mov eax, ebx
xor ecx, ebp
mov dword [0x1400d8150], ecx
sub eax, dword [rsi + 0xc0]
cmp edx, eax
jb 0x1400010be
cmp dword [rsi + 0x110], 0xa137
jbe 0x140001103
mov rax, qword [section..data]
mov ecx, dword [rax + 0x1c]
add ecx, 0x14f2c
mov dword [0x1400d8060], ecx
add ebx, 0x240c
lea eax, [r10 + 0x26d]
cmp ebp, eax
jle 0x140001160
mov eax, r10d
xor eax, 0x22
cmp ebp, eax
jle 0x14000114c
mov r8d, edi
lea eax, [r10 + 0x2e5]
xor edi, 0x23dd
mov dword [rsp + 0x20], eax
mov ecx, edi
lea r9d, [r10 + 0x25c]
xor r8d, 0x2530
mov rdx, rsi
call fcn.140012428
jmp 0x140001160
mov ecx, dword [0x1400d8080]
sub ecx, dword [0x1400d805c]
sub ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
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 - 0x8a]
mov esi, r9d
mov r15d, r9d
add r9d, 0xffffd93e
mov r14d, edi
xor r14d, 0x27b
xor esi, 0x378
lea r13d, [rdi - 0x2530]
xor r15d, 0x26c2
xor edi, 0x3f0
mov rbx, r8
lea eax, [r9 + 0x247a]
cmp r14d, eax
jl 0x140001599
lea eax, [rbp - 0xb6]
cmp esi, eax
je 0x1400014f7
mov eax, dword [0x1400d80e8]
cmp dword [0x1400d8150], eax
ja 0x1400014af
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 [0x1400d8108], rax
cmp dword [rbx + 0x4c], 0xfb3d
ja 0x1400014c9
mov eax, dword [rbx + 0xac]
add eax, 0xe6f92
mov dword [0x1400d807c], eax
mov eax, dword [0x1400d80a0]
sub edi, 0x2b4
cmp dword [rbx + 0x30], eax
jb 0x140001599
mov eax, dword [rbx + 0xa4]
sub eax, dword [rbx + 0x110]
add eax, 0x1ba0a2
xor dword [rbx + 0x6c], eax
jmp 0x140001599
mov ecx, dword [r8 + 0xb0]
mov rax, qword [section..data]
sub ecx, esi
add ecx, r9d
cmp dword [rax + 0x18], ecx
jb 0x140001599
mov eax, dword [0x1400d80d4]
mov r12d, ebp
imul eax, esi
cmp ebp, eax
jne 0x140001599
mov edx, dword [rbx + 0xd0]
mov eax, dword [rbx + 0xcc]
add edx, r14d
mov r9d, dword [rbx + 0x10c]
sub eax, 0x240c
mov ecx, dword [rbx + 0x34]
or r9d, r13d
mov r8d, dword [rbx + 8]
and eax, ebp
and ecx, dword [0x1400d8090]
sub r9d, 0x274b
sub r8d, dword [rbx + 0x64]
and ecx, r13d
mov dword [rsp + 0x28], edx
lea rdx, [0x1400d8010]
mov dword [rsp + 0x20], eax
call fcn.140011f34
mov ecx, r13d
mov edx, r15d
sub ecx, dword [rbx + 0xc0]
or rcx, rdx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1400d80d4]
add r12d, 4
imul ecx, esi
cmp r12d, ecx
je 0x140001523
mov rbx, qword [rsp + 0x60]
xor edi, 0x347
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, [0x14016ea40]
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, [0x14016dee0]
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 0x140011ccc
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 esi, dword [rsp + 0x90]
lea r14d, [r8 - 0x5d]
mov eax, dword [r9 + 0x100]
lea r11d, [rdx + 0x1b7]
mov ebp, r8d
lea r13d, [rcx - 0x131]
mov r15d, edx
xor ebp, 0x331
lea r12d, [rsi - 0x247a]
xor r15d, 0x13b
xor esi, 0x247a
mov rbx, r9
mov edi, edx
cmp dword [r9 + 0x20], eax
jne 0x140011d3f
add dword [0x1400d8144], 0x188ca
jmp 0x140011d4a
mov eax, dword [r9 + 0xc]
add dword [r9 + 0x114], eax
mov eax, dword [0x1400d8034]
cmp dword [r9 + 0x140], eax
ja 0x140011d69
mov eax, dword [r9 + 0x15c]
xor eax, 0xffe2be19
mov dword [r9 + 0x48], eax
lea eax, [rbp - 0x112]
cmp r14d, eax
je 0x140011dbc
mov r10d, r12d
lea eax, [rsi + 0x2530]
xor r10d, 0x26c2
lea r8d, [rbp - 0x214]
mov dword [rsp + 0x30], r10d
lea edx, [r13 + 0x1bb]
mov r9d, r12d
mov dword [rsp + 0x28], eax
xor r9d, 0x25b3
lea ecx, [r11 + 0xdd]
mov dword [rsp + 0x20], r9d
mov r9, rbx
call fcn.140002e10
mov r11d, eax
xor r11d, 0x3d6
cmp ebp, r11d
jne 0x140011f0c
lea r9d, [r12 + 0x26c2]
cmp r13d, r9d
je 0x140011e46
lea eax, [rdi + 0x1ae]
xor esi, 0x2530
xor r15d, 0x8d
mov dword [rsp + 0x28], esi
mov edx, r15d
mov dword [rsp + 0x20], eax
lea ecx, [rdi + 0x13e]
lea r8, [0x1400d8010]
call fcn.1400013f0
mov eax, dword [rbx + 0x124]
cmp dword [rbx + 0xcc], eax
jae 0x140011e33
mov rax, qword [section..data]
mov ecx, dword [rax + 0x4c]
xor ecx, dword [rbx + 0x134]
xor ecx, 0x618
sub dword [0x1400d807c], ecx
mov rax, qword [0x1400d8108]
mov qword [rbx + 0xf0], rax
jmp 0x140011f0c
mov eax, dword [rbx + 0x178]
and eax, esi
and eax, r14d
cmp r14d, eax
jbe 0x140011f0c
mov eax, dword [rbx + 0x110]
xor eax, dword [rbx + 0xc0]
cmp dword [rbx + 0x4c], eax
je 0x140011f0c
mov eax, edi
imul eax, edi
cmp r14d, eax
je 0x140011f0c
imul r13d, edi
sub eax, r14d
mov esi, eax
mov ecx, dword [rbx + 0x20]
or rcx, 0x2530
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov r10, qword [section..data]
mov ecx, r12d
mov r9d, dword [rbx + 0x178]
and ecx, dword [rbx + 0xc4]
add r9d, r12d
mov edx, dword [rbx + 0xc8]
mov eax, dword [r10 + 0xe8]
mov r8d, dword [rbx + 0x38]
xor eax, 0x23dd
imul ecx, dword [rbx + 0xbc]
or r15d, eax
mov eax, dword [r10 + 0x20]
add edx, r15d
imul eax, r12d
or r8d, 0x25ba
and eax, r12d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r9d
lea r9, [0x1400d8010]
mov dword [rsp + 0x20], r13d
call fcn.140002e10
mov r12d, eax
sub rsi, 1
jne 0x140011e86
lea r11, [rsp + 0x40]
xor edi, 0x7f3
mov rbx, qword [r11 + 0x30]
mov eax, edi
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140012428
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 + 0x8a]
mov edi, r8d
mov eax, esi
lea ecx, [r9 - 0x2639]
xor eax, 0x645
xor edi, 0x13c
mov rbx, rdx
cmp ecx, eax
jg 0x1400124f9
xor r9d, 0x172
cmp esi, r9d
je 0x1400124c1
cmp dword [rdx + 0xd8], 0x1590e
jae 0x140012498
mov eax, dword [rdx + 0xa4]
sub eax, dword [rdx + 0x20]
sub eax, 0x17612
add dword [rdx + 0x110], eax
jmp 0x1400124ae
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 [0x1400d8120]
add eax, 0x3fc688e5
xor dword [rdx + 0x54], eax
jmp 0x1400124f9
cmp dword [rdx + 0x60], edi
jbe 0x1400124f9
mov ecx, dword [rdx + 0xac]
mov ebp, dword [rdx + 0x178]
add ecx, esi
cmp ebp, ecx
jbe 0x1400124f9
mov r14d, edi
or r14d, esi
mov ecx, r14d
sub ecx, dword [rbx + 0x34]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [rbx + 0xac]
add ebp, 2
add edx, esi
cmp ebp, edx
ja 0x1400124de
mov rbx, qword [rsp + 0x30]
mov eax, edi
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 + 0x101]
mov r8d, dword [rsp + 0x60]
lea eax, [rdi - 0x33f]
mov rbx, rcx
lea r14d, [rdx + 0x76]
mov r10d, edx
lea ebp, [rsi - 0x26c0]
xor r10d, 0x264a
lea ecx, [r8 - 0x25ba]
xor esi, 0x3f7
xor r8d, 0x25ba
cmp r8d, eax
je 0x14001507f
mov eax, r10d
xor eax, 0x25c3
cmp edi, eax
jl 0x14001511f
mov eax, 0x23ff
lea r9d, [rdx - 0x87]
xor ecx, eax
xor r10d, eax
mov edx, ecx
mov dword [r11 - 0x18], r10d
xor edi, 0x496
mov rcx, rbx
mov r8d, edi
call fcn.1400011e0
lea rax, [0x1400449e0]
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 [0x1400d805c]
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 [0x1400d8100]
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, 0x87e30
jl 0x140014f6f
mov eax, dword [rbx + 0xb4]
mov dword [0x1400d8068], eax
jmp 0x14001511f
xor ecx, 0x26c0
and ecx, dword [0x1400d8030]
cmp r10d, ecx
jbe 0x14001511f
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 [0x14016e808], rcx
mov ecx, dword [rbx + 0x110]
mov r10d, dword [rbx + 0x10c]
xor ecx, 0x264a
mov edx, dword [rax + 0x110]
imul r10d, dword [rbx + 0xc4]
or edx, 0x2530
mov r8d, dword [rbx + 0xec]
sub edx, r14d
imul ecx, dword [0x1400d8188]
add r8d, esi
mov qword [rsp + 0x28], rdx
mov edx, 0x240c
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 + 0x23dd]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140005270
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140005308
test r8, r8
jle 0x140005300
nop word [rax + rax]
mov rcx, rdi
call fcn.140006850
test rax, rax
jle 0x1400052de
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.14000b3d0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x1400052f8
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005300
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x1400052a0
sub r14, rbx
mov rax, r14
jmp 0x140005386
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140005321
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140005323
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x14000537b
test ecx, ecx
jle 0x14000535c
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14000b3d0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x14000537b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000537b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.1400106e8
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret