joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1617fe9e5c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x4d8], rbx
mov rax, qword [0x1617fefd018]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rdx
xor r15d, r15d
mov dword [rsp + 0x5c], r15d
lea r8d, [r15 + 1]
lea rdx, [0x1617fef1d9c]
mov rcx, rdi
call fcn.1617fea5980
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1617fe9e62f
mov rdx, qword [rdi]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x5c]
mov r8d, dword [rdi + 0x10]
mov rcx, qword [rsi + 0x800d0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov r8d, 0x401
lea rcx, [rsp + 0x70]
call fcn.1617fec85a0
mov dword [rsp + 0x58], r15d
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x58]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 0x800d8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1617fe9e786
movsxd rax, dword [rsp + 0x58]
test eax, eax
je 0x1617fe9e786
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], eax
mov rbx, rax
mov rcx, rax
call fcn.1617feaa3b4
mov qword [rsp + 0x60], rax
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1617fec8190
mov r8d, r14d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1617fea78d0
mov rdx, rax
lea rcx, [rsi + 0x80018]
call fcn.1617fea73a0
xor edx, edx
mov r8d, 0x401
lea rcx, [rsp + 0x70]
call fcn.1617fec85a0
cmp dword [rsp + 0x58], 0x400
jb 0x1617fe9e753
mov dword [rsp + 0x58], r15d
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x58]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 0x800d8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1617fe9e6a1
jmp 0x1617fe9e786
mov qword [rsp + 0x68], r15
xor ecx, ecx
call fcn.1617feaa3b4
mov qword [rsp + 0x60], rax
mov r8d, r14d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1617fea78d0
mov rdx, rax
lea rcx, [rsi + 0x80018]
call fcn.1617fea73a0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1617fe9e7bc
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1617fe9e7b7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1617fe9e7f3
mov rcx, r8
call fcn.1617feaa344
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov al, 1
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1617feaa320
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1617fecaf50
int3
Function at 0x1617fea2ed0
Capabilities:
Encode data using xor
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
test r8d, r8d
je 0x1617fea2f26
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x80090]
mov r8d, edi
mov edx, ebx
sub r8d, ebx
add rdx, rsi
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1617fea2f94
add ebx, eax
cmp ebx, edi
jb 0x1617fea2f00
lea r11, [0x1617ff023b0]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r11 + rax], 0
jne 0x1617fea2f34
test eax, eax
je 0x1617fea2f7d
xor r8d, r8d
test edi, edi
jle 0x1617fea2f7d
movsxd r10, eax
xor edx, edx
mov r9, rdi
movzx eax, byte [rdx + r11]
lea rcx, [rdx + 1]
xor byte [rsi], al
lea rsi, [rsi + 1]
lea eax, [r8 + 1]
xor r8d, r8d
cmp rcx, r10
cmovne r8d, eax
xor edx, edx
cmp rcx, r10
cmovne rdx, rcx
sub r9, 1
jne 0x1617fea2f51
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor al, al
jmp 0x1617fea2f7f

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1617fefd018]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edi, edi
mov rbp, rdx
mov ebx, edi
mov rsi, rcx
nop word [rax + rax]
mov rcx, qword [rsi + 0x80090]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov eax, ebx
sub r8d, ebx
add rdx, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1617fea30a1
add ebx, eax
cmp ebx, 4
jb 0x1617fea2fd0
mov rbx, 0xffffffffffffffff
lea r8, [0x1617ff023b0]
mov rdx, rbx
inc rdx
cmp byte [r8 + rdx], dil
jne 0x1617fea3014
test edx, edx
je 0x1617fea3064
movzx eax, byte [0x1617ff023b0]
xor byte [rsp + 0x20], al
mov eax, edi
cmp edx, 1
setne al
mov ecx, eax
movzx eax, byte [rcx + r8]
xor byte [rsp + 0x21], al
mov eax, edi
inc ecx
cmp ecx, edx
cmovne eax, ecx
mov ecx, eax
movzx eax, byte [rax + r8]
xor byte [rsp + 0x22], al
lea eax, [rcx + 1]
cmp eax, edx
cmovne edi, eax
movzx eax, byte [rdi + r8]
xor byte [rsp + 0x23], al
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rsp + 0x20], eax
lea ecx, [rax + 1]
call fcn.1617feaa3b4
mov edx, dword [rsp + 0x20]
mov rcx, rsi
mov rdi, rax
mov byte [rdx + rax], 0
mov rdx, rax
mov r8d, dword [rsp + 0x20]
call fcn.1617fea2ed0
test al, al
jne 0x1617fea30c0
mov rcx, rdi
call fcn.1617feaa344
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1617feaa320
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1617fea30c0
mov r8, rbx
mov rdx, rdi
mov rcx, rbp
call fcn.1617fea5820
mov rcx, rdi
call fcn.1617feaa344
mov al, 1
jmp 0x1617fea30a3
Function at 0x1617fea6d10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1617fea6d71
lea r8, [r10 + 8]
nop dword [rax + rax]
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 0x1617fea6d30
mov ecx, dword [r10]
jmp 0x1617fea6e5a
cmp ecx, 0x4e0
jb 0x1617fea6e5a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1617fea6d90
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1617fea6de0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1617fea78d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x1617fefd018]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov rsi, rcx
movsxd rax, dword [rcx + 8]
mov ebx, r8d
mov r14, rdx
lea rcx, [rax + 8]
lea ebp, [rax + 8]
call fcn.1617feaa3b4
mov ecx, ebx
mov r15, rax
call qword [sym.imp.WS2_32.dll_htonl]
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x20], eax
mov ebx, eax
lea r12, [0x1617ff023b0]
mov rdx, rdi
nop
inc rdx
cmp byte [r12 + rdx], 0
jne 0x1617fea7930
test edx, edx
je 0x1617fea7986
movzx eax, byte [0x1617ff023b0]
xor byte [rsp + 0x20], al
xor eax, eax
cmp edx, 1
setne al
mov ecx, eax
movzx eax, byte [rcx + r12]
xor byte [rsp + 0x21], al
xor eax, eax
inc ecx
cmp ecx, edx
cmovne eax, ecx
mov ecx, eax
movzx eax, byte [rax + r12]
xor byte [rsp + 0x22], al
xor eax, eax
inc ecx
cmp ecx, edx
cmovne eax, ecx
movzx eax, byte [rax + r12]
xor byte [rsp + 0x23], al
mov ebx, dword [rsp + 0x20]
mov ecx, dword [rsi + 8]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x20], eax
inc rdi
cmp byte [r12 + rdi], 0
jne 0x1617fea7993
test edi, edi
je 0x1617fea79e9
movzx eax, byte [0x1617ff023b0]
xor byte [rsp + 0x20], al
xor eax, eax
cmp edi, 1
setne al
mov ecx, eax
movzx eax, byte [rcx + r12]
xor byte [rsp + 0x21], al
xor eax, eax
inc ecx
cmp ecx, edi
cmovne eax, ecx
mov ecx, eax
movzx eax, byte [rax + r12]
xor byte [rsp + 0x22], al
xor eax, eax
inc ecx
cmp ecx, edi
cmovne eax, ecx
movzx eax, byte [rax + r12]
xor byte [rsp + 0x23], al
mov eax, dword [rsp + 0x20]
mov r9, qword [rsi]
test edi, edi
je 0x1617fea7a3e
movsxd r11, dword [rsi + 8]
xor r10d, r10d
test r11, r11
jle 0x1617fea7a3e
movsxd rdi, edi
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + r12]
lea rdx, [r8 + 1]
xor byte [r9], cl
lea r9, [r9 + 1]
lea ecx, [r10 + 1]
xor r10d, r10d
cmp rdx, rdi
cmovne r10d, ecx
xor r8d, r8d
cmp rdx, rdi
cmovne r8, rdx
sub r11, 1
jne 0x1617fea7a10
mov dword [r15], ebx
lea rcx, [r15 + 8]
mov dword [r15 + 4], eax
movsxd r8, dword [rsi + 8]
mov rdx, qword [rsi]
call fcn.1617fec8190
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 8], r15
mov dword [r14], ebp
mov rcx, qword [rsi]
call fcn.1617feaa344
mov rax, r14
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1617feaa320
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1617fead7e8
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1617fead7fb
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1617feaddfc
lea rdx, [0x1617fefa950]
lea rcx, [rsp + 0x20]
call fcn.1617fec8098
int3

Function at 0x1617feb8058
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1617ff010f8]
xor edx, edx
jmp fcn.1617fead7e8

Function at 0x1617feb89ec
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1617ff010f8]
jmp fcn.1617fead7e8
Function at 0x1617fec45b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1617fec466c]
mov r9, qword [r9 + 8]
jmp fcn.1617feb5a5c

Function at 0x1617fec4644
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x1617fec467c]
mov r9, qword [r9 + 8]
jmp fcn.1617feb5a5c

Function at 0x1617fed27e8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1617fed2614
Function at 0x401b10
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov eax, 0x1068
call fcn.00404360
sub rsp, rax
mov rsi, rcx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea r14, [rsp + 0x68]
lea rcx, [0x0047a010]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x40]
mov qword [rsp + 0x48], rdi
lea rax, [fcn.004032a0]
mov qword [rsp + 0x50], rax
xor r12d, r12d
lea r15, str.error:_s_n
lea rbx, [rsp + 0x30]
nop dword [rax]
lea r8, [r15 + r12]
mov r9d, 7
sub r9, r12
mov rcx, rbx
mov rdx, rdi
call fcn.004032a0
cmp word [rsp + 0x38], 0
jne 0x401bd8
add r12, qword [rsp + 0x30]
cmp r12, 7
jne 0x401b90
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
lea r8, [0x00476c40]
lea r9, [rsp + 0x48]
call fcn.00403580
test ax, ax
je 0x401bf6
lea rcx, [0x0047a010]
call fcn.00420010
nop
add rsp, 0x1068
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
lea rsi, [rsp + 0x30]
lea rdi, [rsp + 0x40]
nop word cs:[rax + rax]
nop dword [rax]
lea r8, [rbx + r15]
add r8, 0xa
mov r9d, 1
sub r9, rbx
mov rcx, rsi
mov rdx, rdi
call fcn.004032a0
cmp word [rsp + 0x38], 0
jne 0x401bd8
add rbx, qword [rsp + 0x30]
cmp rbx, 1
jne 0x401c10
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x401c95
mov rsi, qword [rsp + 0x58]
xor r15d, r15d
mov r12d, 0xffffffff
lea rdi, [rsp + 0x30]
nop dword [rax]
lea rdx, [r14 + r15]
mov r8, rbx
sub r8, r15
cmp r8, r12
cmovae r8, r12
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r9, rdi
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x401ca3
mov eax, dword [rsp + 0x30]
add r15, rax
cmp r15, rbx
jne 0x401c60
mov qword [rsp + 0x60], 0
jmp 0x401bd8
call sub.KERNEL32.dll_GetLastError
jmp 0x401bd8
Function at 0x4032a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rdi, r9
mov rsi, rcx
mov r12, qword [rdx]
mov r13, qword [r12 + 8]
lea rax, [r9 + r13]
cmp rax, 0x1000
jbe 0x403399
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x30], rsi
test r13, r13
je 0x403339
lea rbp, [r12 + 0x10]
mov r14, qword [r12]
xor esi, esi
mov ebx, 0xffffffff
lea r15, [rsp + 0x38]
nop word cs:[rax + rax]
nop dword [rax]
lea rdx, [rsi + rbp]
mov r8, r13
sub r8, rsi
cmp r8, rbx
cmovae r8, rbx
mov qword [rsp + 0x20], 0
mov rcx, r14
mov r9, r15
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x4033bb
mov eax, dword [rsp + 0x38]
add rsi, rax
cmp rsi, r13
jne 0x403300
mov qword [r12 + 8], 0
cmp rdi, 0x1001
jb 0x40338c
mov rcx, qword [r12]
mov r8d, 0xffffffff
cmp rdi, r8
cmovb r8, rdi
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rdx, qword [rsp + 0x40]
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x403418
mov edi, dword [rsp + 0x3c]
xor eax, eax
mov rsi, qword [rsp + 0x30]
jmp 0x40354e
xor r13d, r13d
mov rsi, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [r12 + r13]
add rcx, 0x10
add r13, rdi
mov rdx, r8
mov r8, rdi
call fcn.0041ca80
mov qword [r12 + 8], r13
xor eax, eax
jmp 0x40354e
call sub.KERNEL32.dll_GetLastError
movzx ecx, ax
mov ax, 2
cmp ecx, 0x6c
jg 0x4033ed
cmp ecx, 0x20
mov rsi, qword [rsp + 0x30]
jg 0x40344e
cmp ecx, 6
je 0x4034bb
cmp ecx, 8
je 0x40347d
jmp 0x40354e
cmp ecx, 0x6f7
mov rsi, qword [rsp + 0x30]
jg 0x403469
cmp ecx, 0x6d
je 0x4034c4
cmp ecx, 0x3e3
jne 0x40354e
mov ax, 0xc
jmp 0x40354e
call sub.KERNEL32.dll_GetLastError
movzx ecx, ax
mov ax, 2
cmp ecx, 0x6c
mov rsi, qword [rsp + 0x30]
jg 0x403486
cmp ecx, 0x20
jg 0x4034cd
cmp ecx, 6
je 0x403511
cmp ecx, 8
je 0x4034fc
jmp 0x40354e
cmp ecx, 0x21
je 0x40354a
cmp ecx, 0x40
jne 0x40354e
mov ax, 0x10
jmp 0x40354e
cmp ecx, 0x718
je 0x40347d
cmp ecx, 0x6f8
jne 0x40354e
mov ax, 0xb
jmp 0x40354e
cmp ecx, 0x6f7
jg 0x4034ec
cmp ecx, 0x6d
je 0x403526
cmp ecx, 0x3e3
jne 0x40354e
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xc
jmp 0x40354e
mov ax, 0xd
jmp 0x40354e
mov ax, 0xa
jmp 0x40354e
cmp ecx, 0x21
je 0x40353b
cmp ecx, 0x40
jne 0x40354e
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0x10
jmp 0x40354e
cmp ecx, 0x6f8
je 0x4034fc
cmp ecx, 0x718
jne 0x40354e
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xb
jmp 0x40354e
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xd
jmp 0x40354e
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xa
jmp 0x40354e
mov word [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov ax, 0xe
mov qword [rsi], rdi
mov word [rsi + 8], ax
mov eax, dword [rsp + 0x28]
mov dword [rsi + 0xa], eax
movzx eax, word [rsp + 0x2c]
mov word [rsi + 0xe], ax
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14007f330
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov r14, rcx
mov ecx, dword [0x140143f10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebp, ebp
test rax, rax
je 0x14007f36b
mov rdx, qword [rax + 8]
jmp 0x14007f36e
mov rdx, rbp
mov r9d, 8
mov r8d, 0x88
movzx ecx, byte [rsp + 0x50]
call fcn.1400875c0
mov r8, rax
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rdx, qword [rbx + 0x20]
mov qword [rbx + 0x20], rbp
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x18], rbp
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x10], rbp
mov qword [r8 + 0x18], rax
mov qword [r8 + 0x20], rcx
mov qword [r8 + 0x28], rdx
mov rax, qword [rbx + 0x28]
mov qword [r8 + 0x30], rax
mov rax, qword [rbx + 0x30]
mov qword [r8 + 0x38], rax
mov rax, qword [rbx + 0x38]
mov qword [r8 + 0x40], rax
mov rax, qword [rbx + 0x40]
mov qword [r8 + 0x48], rax
mov eax, dword [rbx + 0x48]
mov dword [r8 + 0x50], eax
mov qword [r8 + 0x58], rbp
mov qword [r8 + 0x60], rbp
mov rax, qword [rbx + 0x50]
mov qword [r8 + 0x58], rax
mov rax, qword [rbx + 0x58]
mov qword [r8 + 0x60], rax
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x58], rbp
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [r8 + 0x68], xmm0
mov rax, qword [rbx + 0x70]
mov qword [r8 + 0x78], rax
lea rax, [0x140088830]
mov qword [r8], rax
mov qword [r14], r8
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x14007f44d
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14007f44d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14007f44d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14007f493
mov rdx, qword [rbx + 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x14007f482
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007f4a9
mov rcx, r8
call fcn.140103e64
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov rax, r14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400806e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
xor edi, edi
mov cl, 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_
mov rcx, rax
mov qword [rsp + 0x28], rax
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140080727
mov rdx, qword [rbx]
mov r8, rdx
mov rsi, rdx
jmp 0x14008072d
mov rsi, rbx
mov r8, rbx
mov rbp, qword [rbx + 0x10]
add rbp, r8
cmp rdx, rbp
je 0x14008079e
movabs r14, 0xcbf29ce484222325
movabs r15, 0x100000001b3
mov r12d, 0x9e3779b9
movzx ebx, byte [rsi]
lea rcx, [rsp + 0x20]
call fcn.14008fd30
movzx edx, bl
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::ctype_char_::toupper_char_const___ptr64]
movzx ecx, al
xor rcx, r14
imul rcx, r15
mov rax, rdi
shl rax, 6
mov rdx, rdi
shr rdx, 2
add rcx, rax
lea rax, [rdx + r12]
add rcx, rax
xor rdi, rcx
inc rsi
cmp rsi, rbp
jne 0x140080753
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400807bc
mov rdx, qword [rcx]
call qword [rdx + select]
test rax, rax
je 0x1400807bc
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x140087f90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rdi, rdx
mov rbp, qword [rcx]
lea r14, [rcx + 0x40]
lea rsi, [rcx + 8]
mov qword [rsp + 0x30], rdx
mov ecx, dword [0x140143f10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r15d, r15d
test rax, rax
je 0x140087fd5
mov rdx, qword [rax + 8]
jmp 0x140087fd8
mov rdx, r15
mov r9d, 8
mov r8d, 0xa0
movzx ecx, byte [rsp + 0x70]
call fcn.1400874a0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x20], r15
lea rax, [0x1400a84a0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
mov dword [rbx + 0x38], r15d
lea rax, [0x14013e5e8]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], r15
mov rax, qword [rdi]
mov qword [rbx + 0x50], rax
movzx eax, byte [rdi + 8]
mov byte [rbx + 0x58], al
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x60], rax
lea rcx, [rbx + 0x68]
mov r9, r14
xor r8d, r8d
xor edx, edx
call fcn.140092660
mov qword [rsp + 0x40], rbx
mov byte [rsi + 8], 1
lea r9, [rsi + 0x10]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x20], rbx
mov r8, rsi
mov rcx, qword [rbp + 0x58]
call fcn.14008f980
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x30]
call fcn.1400ba320
nop
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140089850
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
cmp qword [rcx + 0x20], 0
je 0x1400899cd
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400898b3
lea rcx, [0x1400883c0]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
mov rcx, rsi
call rax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r14, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 0x40], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x30], rax
xor ebx, ebx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rbx
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x28], rax
movzx eax, word [rdx + 0x20]
mov word [rbp - 0x20], ax
movups xmm0, xmmword [rdx + 0x28]
movups xmmword [rbp - 0x18], xmm0
lea rax, [rbp - 0x40]
mov qword [rbp + 0x30], rax
mov ecx, dword [0x140143f10]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008990f
mov rdx, qword [rax + 8]
jmp 0x140089912
mov rdx, rbx
mov r9d, 8
lea r8d, [r9 + 0x40]
movzx ecx, byte [rbp + 0x20]
call fcn.1400875c0
mov rdx, rax
mov rcx, qword [rbp - 0x40]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov rcx, qword [rbp - 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x30]
mov qword [rax + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov rax, qword [rbp - 0x28]
mov qword [rdx + 0x20], rax
movzx eax, word [rbp - 0x20]
mov word [rdx + 0x28], ax
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rdx + 0x30], xmm0
lea rax, [0x1400883e0]
mov qword [rdx], rax
mov qword [rbp + 0x20], rdx
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1400899ac
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400899ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400899ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
nop
lea rdx, [rbp + 0x20]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1400899c8
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x14008989b
lea rcx, [rbp - 0x60]
call fcn.140093500
nop
lea rcx, [rbp - 0x60]
call fcn.14008fb60
int3