joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140150bb0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov r14, rcx
mov rax, qword [rcx + 8]
xor edi, edi
test al, 1
jne 0x140150c04
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, rdi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140150c04
cmp qword [rax], rbx
je 0x140150c22
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140150bf6
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140150ca7
mov rdx, qword [rax + 8]
jmp 0x140150caa
cmp qword [rax + 8], rdi
je 0x140150c04
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0x50], rbx
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
nop
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [r14 + 0x68], eax
je 0x140150c50
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [r14 + 0x68], eax
nop
test rbx, rbx
je 0x140150c82
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140150c82
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140150c82
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140150d23
mov rdx, rdi
mov r9d, 8
mov r8d, 0x50
movzx ecx, byte [rsp + 0x40]
call fcn.1400aa650
mov rdx, rax
mov qword [rax + 0x20], rdi
lea rax, [0x140110320]
mov qword [rdx + 0x28], rax
mov qword [rdx], rdi
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rdi
mov dword [rdx + 0x30], edi
mov qword [rdx + 0x38], rdi
mov qword [rdx + 0x40], rdi
mov rcx, qword [rsi]
mov qword [rdx + 0x38], rcx
mov rax, qword [rsi + 8]
mov qword [rdx + 0x40], rax
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov rcx, qword [r14 + 8]
movzx r8d, cl
shr r8b, 1
and r8b, 1
and rcx, 0xfffffffffffffffc
mov rcx, qword [rcx + 0x10]
call fcn.140125830
nop
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140150d40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov r14, rcx
mov rax, qword [rcx + 8]
xor edi, edi
test al, 1
jne 0x140150d98
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, rdi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140150d98
cmp qword [rax], rbx
je 0x140150e3d
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140150d86
mov rdx, qword [r14]
mov eax, 1
xchg dword [rdx + 0x108], eax
test eax, eax
je 0x140150db7
mov ecx, 0x60
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rdi
lea rax, [0x1401538b0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rdi
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rdi
mov dword [rdx + 0x30], edi
mov rcx, qword [rsi]
mov qword [rdx + 0x38], rcx
mov qword [rdx + 0x40], rdi
mov qword [rdx + 0x48], rdi
mov rax, qword [rsi + 8]
mov qword [rdx + 0x40], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 0x18]
mov qword [rdx + 0x50], rax
mov rax, qword [r14]
mov qword [rdx + 0x58], rax
mov rcx, qword [r14 + 8]
movzx r8d, cl
shr r8b, 1
and r8b, 1
and rcx, 0xfffffffffffffffc
mov rcx, qword [rcx + 0x10]
call fcn.140125830
nop
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], rdi
je 0x140150d98
mov rbx, qword [rsi + 0x10]
mov qword [rsp + 0x50], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov rdi, qword [rsi + 0x18]
nop
mov rdi, qword [rdi + 0xa8]
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi + 0x68], eax
je 0x140150e76
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rdi + 0x68], eax
nop
test rbx, rbx
je 0x140150ea8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140150ea8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140150ea8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140150e2f
Function at 0x140150ed0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x14032aa00]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rax, qword [rcx + 8]
xor edi, edi
test al, 1
jne 0x140150f42
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, rdi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140150f42
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x140150fe7
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140150f30
mov rbx, qword [rsi]
mov eax, 1
xchg dword [rbx + 0x108], eax
test eax, eax
je 0x140150f61
mov ecx, 0xe0
call fcn.1401ae1f0
mov rbx, rax
mov qword [rbx + 0x20], rdi
lea rax, [0x140153960]
mov qword [rbx + 0x28], rax
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x30], edi
mov rcx, qword [r14]
mov qword [rbx + 0x38], rcx
lea rdx, [r14 + 8]
lea rcx, [rbx + 0x40]
call fcn.140147cf0
mov rax, qword [rsi]
mov qword [rbx + 0xd8], rax
mov rcx, qword [rsi + 8]
movzx r8d, cl
shr r8b, 1
and r8b, 1
and rcx, 0xfffffffffffffffc
mov rdx, rbx
mov rcx, qword [rcx + 0x10]
call fcn.140125830
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1401ae6a0
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], rdi
je 0x140150f42
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
lea rdx, [r14 + 8]
lea rcx, [rsp + 0x38]
call fcn.140147cf0
nop
nop
lea rcx, [rsp + 0x38]
call fcn.140152c00
nop
nop
lea rcx, [rsp + 0x38]
call fcn.140148450
jmp 0x140150fc3
Function at 0x140151030
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x50
mov rdi, rdx
mov r14, rcx
mov rax, qword [rcx + 8]
xor esi, esi
test al, 1
jne 0x140151092
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, rsi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140151092
nop
cmp qword [rax], rbx
je 0x14015113e
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140151080
mov rdx, qword [r14]
mov eax, 1
xchg dword [rdx + 0x108], eax
test eax, eax
je 0x1401510b1
mov ecx, 0x60
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rsi
lea rax, [0x140153a30]
mov qword [rdx + 0x28], rax
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rsi
mov dword [rdx + 0x30], esi
mov rcx, qword [rdi]
mov qword [rdx + 0x38], rcx
mov rax, qword [rdi + 8]
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], rsi
mov qword [rdx + 0x50], rsi
mov rax, qword [rdi + 0x10]
mov qword [rdx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rdx + 0x50], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov rax, qword [r14]
mov qword [rdx + 0x58], rax
mov rcx, qword [r14 + 8]
movzx r8d, cl
shr r8b, 1
and r8b, 1
and rcx, 0xfffffffffffffffc
mov rcx, qword [rcx + 0x10]
call fcn.140125830
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
cmp qword [rax + 8], rsi
je 0x140151092
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov rbx, qword [rdi + 0x18]
mov qword [rsp + 0x38], rbx
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
nop
lea rcx, [rsp + 0x28]
call fcn.1400f4220
nop
nop
test rbx, rbx
je 0x1401511b1
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401511b1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1401511b1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140151128
Function at 0x1401511d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov rdi, rcx
mov rax, qword [rcx + 8]
xor esi, esi
test al, 1
jne 0x140151228
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, rsi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140151228
cmp qword [rax], rbx
je 0x1401512cd
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140151216
mov rdx, qword [rdi]
mov eax, 1
xchg dword [rdx + 0x108], eax
test eax, eax
je 0x140151247
mov ecx, 0x60
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rsi
lea rax, [0x140153af0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rsi
mov dword [rdx + 0x30], esi
mov rcx, qword [r14]
mov qword [rdx + 0x38], rcx
mov rax, qword [r14 + 8]
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], rsi
mov qword [rdx + 0x50], rsi
mov rax, qword [r14 + 0x10]
mov qword [rdx + 0x48], rax
mov rax, qword [r14 + 0x18]
mov qword [rdx + 0x50], rax
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
mov rax, qword [rdi]
mov qword [rdx + 0x58], rax
mov rcx, qword [rdi + 8]
movzx r8d, cl
shr r8b, 1
and r8b, 1
and rcx, 0xfffffffffffffffc
mov rcx, qword [rcx + 0x10]
call fcn.140125830
nop
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], rsi
je 0x140151228
mov rbx, qword [r14 + 8]
mov rdi, qword [r14 + 0x18]
mov qword [rsp + 0x50], rdi
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
nop
mov rbx, qword [rbx]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140151365
nop dword [rax]
mov rcx, qword [rbx + 0x20]
call fcn.14010bcd0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140151338
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140151333
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140151333
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140151320
mov rbx, rax
jmp 0x14015135f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14015135f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140151350
cmp byte [rbx + 0x19], 0
je 0x140151300
nop
test rdi, rdi
je 0x140151397
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140151397
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140151397
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1401512bf
Function at 0x1401513c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
xor edi, edi
test al, 1
jne 0x140151422
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rbx, [rax + 0x28]
test rax, rax
cmove rbx, rdi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140151422
nop dword [rax]
cmp qword [rax], rbx
je 0x1401514cd
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140151410
mov rdx, qword [rsi]
mov eax, 1
xchg dword [rdx + 0x108], eax
test eax, eax
je 0x140151441
mov ecx, 0x60
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rdi
lea rax, [0x140153bf0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rdi
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rdi
mov dword [rdx + 0x30], edi
mov rcx, qword [r14]
mov qword [rdx + 0x38], rcx
mov rax, qword [r14 + 8]
mov qword [rdx + 0x40], rax
mov qword [rdx + 0x48], rdi
mov qword [rdx + 0x50], rdi
mov rax, qword [r14 + 0x10]
mov qword [rdx + 0x48], rax
mov rax, qword [r14 + 0x18]
mov qword [rdx + 0x50], rax
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rdi
mov rax, qword [rsi]
mov qword [rdx + 0x58], rax
mov rcx, qword [rsi + 8]
movzx r8d, cl
shr r8b, 1
and r8b, 1
and rcx, 0xfffffffffffffffc
mov rcx, qword [rcx + 0x10]
call fcn.140125830
nop
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
cmp qword [rax + 8], rdi
je 0x140151422
mov r15, qword [r14 + 8]
mov rsi, qword [r14 + 0x18]
mov qword [rsp + 0x50], rsi
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rdi
nop
mov rdi, qword [r15 + 8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140151520
nop dword [rax]
mov rax, qword [rbx + 0x30]
mov byte [rax + 0xe8], 1
mov rcx, qword [rbx + 0x30]
add rcx, 0x20
call fcn.14010bcd0
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140151500
mov rcx, r15
call fcn.14010c390
nop
test rsi, rsi
je 0x14015155a
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14015155a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x14015155a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1401514b9
Function at 0x140151580
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 0x14015174f
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1401515ec
lea rcx, [0x1401501e0]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdx
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
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
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x20], rax
mov qword [rdx + 0x18], rbx
mov qword [rdx + 0x20], rbx
movups xmm0, xmmword [rdx + 0x28]
movups xmmword [rbp - 0x18], xmm0
lea rax, [rbp - 0x40]
mov qword [rbp + 0x30], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140151650
mov rdx, qword [rax + 8]
jmp 0x140151653
mov rdx, rbx
mov r9d, 8
mov r8d, 0x48
movzx ecx, byte [rbp + 0x20]
call fcn.1400aa770
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 qword [rax + 0x20], rbx
mov qword [rax + 0x28], rbx
mov rax, qword [rbp - 0x28]
mov qword [rdx + 0x20], rax
mov rax, qword [rbp - 0x20]
mov qword [rdx + 0x28], rax
movdqu xmmword [rbp - 0x28], xmm0
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rdx + 0x30], xmm0
lea rax, [0x140150240]
mov qword [rdx], rax
mov qword [rbp + 0x20], rdx
mov edi, 0xffffffff
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1401516fd
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401516fd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401516fd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14015172e
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14015172e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14015172e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rbp + 0x20]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14015174a
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x1401515d4
lea rcx, [rbp - 0x60]
call fcn.1400d7910
nop
lea rcx, [rbp - 0x60]
call fcn.1400d01d0
int3
Function at 0x140152c00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov r14, rcx
xor r12d, r12d
mov rbx, qword [rcx]
mov r8, qword [rcx + 0x30]
lea rdx, [rcx + 0x20]
cmp qword [rcx + 0x38], 0xf
jbe 0x140152c32
mov rdx, qword [rcx + 0x20]
movabs r9, 0xcbf29ce484222325
mov rcx, r12
test r8, r8
je 0x140152c63
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140152c50
lea r8, [r14 + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140005c30
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140152c9b
cmp rcx, qword [rbx + 8]
je 0x140152c9b
mov rax, qword [rcx + 0x30]
mov byte [rax + 0xe8], 1
mov rcx, qword [rcx + 0x30]
add rcx, 0x20
call fcn.14010bcd0
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0xa8]
mov rsi, qword [rcx]
mov ecx, 0x100
call fcn.1401ae1f0
mov rdi, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140152d02
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_asio2::detail::user_timer_obj_.0
mov qword [rdi], rax
lea rdx, [r14 + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140018550
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x10]
call fcn.1401482b0
jmp 0x140152d05
mov rdi, r12
lea rsi, [rdi + 0x10]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rdi
lea rbp, [r14 + 0x58]
lea rbx, [rdi + 0xa8]
cmp rbx, rbp
je 0x140152d47
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140152d3c
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], r12
mov rdx, rbp
mov rcx, rbx
call fcn.140020520
imul rax, qword [r14 + 0x40], 0xf4240
mov qword [rdi + 0xe8], rax
mov rax, qword [r14 + 0x48]
mov qword [rdi + 0xf0], rax
lea r8, [r14 + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, qword [r14]
call fcn.140144170
mov rcx, qword [rax]
test rdi, rdi
je 0x140152d83
lock inc dword [rdi + 8]
mov rsi, qword [rsp + 0x20]
mov qword [rcx + 0x30], rsi
mov rbx, qword [rcx + 0x38]
mov qword [rcx + 0x38], rdi
test rbx, rbx
je 0x140152dc5
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140152dc0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140152dc0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x20]
mov rax, qword [r14 + 8]
mov rcx, qword [rax + 0xa8]
add rcx, 0x18
lea rax, [rsi + 0x20]
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x40]
call fcn.140145f00
mov rcx, qword [r14 + 8]
add rcx, 0x48
mov r9, qword [r14 + 0x50]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x48], rax
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14014ff80
nop
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140195b30
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14032aa00]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r10, r9
mov rax, r8
mov rbx, rdx
lea r9, [rsp + 0x40]
mov rdi, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10010]
mov r8d, r10d
mov rdx, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140195c98
call qword [sym.imp.KERNEL32.dll_GetLastError]
movdqa xmm1, xmmword [0x1401f97c0]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x28], esi
mov r9d, 0x400
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov ecx, 0x1300
mov byte [rsp + 0x70], sil
xor edx, edx
mov qword [rsp + 0x48], rsi
movdqu xmmword [rsp + 0x80], xmm1
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov rdx, qword [rsp + 0x48]
mov r8d, eax
test rdx, rdx
je 0x140195bf4
lea rcx, [rsp + 0x70]
call fcn.140020ae0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x88], 0xf
lea rax, [rsp + 0x70]
lea rcx, [rdi + 0x10018]
cmova rax, qword [rsp + 0x70]
cmp qword [rdi + 0x10030], 0xf
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
jbe 0x140195c32
mov rcx, qword [rdi + 0x10018]
mov rax, qword [rdi + 0x10028]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x60], rcx
lea r8, [rsp + 0x60]
mov rcx, rbx
mov qword [rsp + 0x68], rax
mov edx, 5
call fcn.140195ed0
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x140195c9b
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140195c91
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140195cb9
call fcn.1401ae118
jmp 0x140195c9b
mov qword [rbx], rsi
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401ae6a0
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
call fcn.1401bc384
int3
Function at 0x1401a9740
Capabilities:
Encode data using xor

Disassembly:
imul eax, edx, 0xc6a4a793
lea r9, [rcx + rdx]
lea rdx, [rcx + 4]
mov r10, rcx
xor eax, r8d
cmp rdx, r9
ja 0x1401a97a6
nop dword [rax]
mov rdx, r10
add r10, 4
movzx ecx, byte [rdx + 2]
movzx r8d, byte [rdx + 3]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rdx + 1]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rdx]
shl r8d, 8
or r8d, ecx
add r8d, eax
imul eax, r8d, 0xc6a4a793
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
lea rcx, [r10 + 4]
cmp rcx, r9
jbe 0x1401a9760
sub r9, r10
sub r9, 1
je 0x1401a97cf
sub r9, 1
je 0x1401a97c5
cmp r9, 1
jne 0x1401a97e2
movzx ecx, byte [r10 + 2]
shl ecx, 0x10
add eax, ecx
movzx ecx, byte [r10 + 1]
shl ecx, 8
add eax, ecx
movzx ecx, byte [r10]
add ecx, eax
imul eax, ecx, 0xc6a4a793
mov ecx, eax
shr ecx, 0x18
xor eax, ecx
ret

Function at 0x1401adae4
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 0x1401adb1e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401adb23
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 0x1401adb6c
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 0x1401adb6c
dec r8
sub rdx, 1
jne 0x1401adb52
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401af1b8
Capabilities:
Parse pe header

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