joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004720
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, r9
mov rsi, r8
mov rdi, rdx
test r8, r8
je 0x1400048ed
cmp rdx, 1
jne 0x140004872
mov ecx, edx
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140004778
lea ecx, [rdi + 0xc]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140004778
lea ecx, [rdi + 6]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400048ed
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140004830
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_GetClipboardData]
xor bl, bl
mov rdi, rax
test rax, rax
je 0x1400048e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbp, rax
test rax, rax
je 0x1400048e8
mov qword [rsp + 0x60], r15
mov r8, rax
xor r15d, r15d
xor edx, edx
mov qword [rsp + 0x38], r15
mov ecx, 0xfde9
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea r9d, [r15 - 1]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rcx, eax
cmp rcx, r14
ja 0x14000481a
mov qword [rsp + 0x38], r15
lea r9d, [r15 - 1]
mov qword [rsp + 0x30], r15
mov r8, rbp
mov dword [rsp + 0x28], eax
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov r15, qword [rsp + 0x60]
movzx eax, bl
jmp 0x1400048ef
mov ecx, 1
xor bl, bl
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400048e8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x1400048e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400048e8
mov r8, r14
mov rdx, rax
jmp 0x1400048d5
mov ecx, 8
cmp rdi, 2
je 0x14000487f
mov ecx, edi
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400048ed
mov ecx, edi
xor bl, bl
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400048e8
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x1400048e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400048e8
cmp qword [rax], rbp
lea r8, [rbp - 8]
cmovbe r8, qword [rax]
cmp r8, r14
ja 0x1400048df
lea rdx, [rax + 8]
mov rcx, rsi
call fcn.140158d80
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
movzx eax, bl
jmp 0x1400048ef
xor al, al
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140006750
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r15 + 3]
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
xorps xmm0, xmm0
cmp rax, 0xffffffffffffffff
jne 0x1400067d0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], select
mov byte [rbx], r15b
jmp 0x14000692b
movups xmmword [rsp + 0x60], xmm0
lea rax, [0x140006960]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x54], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x44], r15d
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, listen
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140006851
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], select
mov byte [rbx], al
jmp 0x14000691c
mov esi, dword [rsp + 0x4c]
mov ecx, esi
call fcn.14015681c
mov r14, rax
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.140159420
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
mov r9d, listen
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xorps xmm0, xmm0
test eax, eax
jne 0x1400068c5
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], select
mov byte [rbx], al
mov rcx, r14
call fcn.14015656c
nop
jmp 0x14000691c
mov eax, dword [r14 + 0x18]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
test eax, eax
jne 0x1400068e9
mov qword [rbx + 0x18], select
mov byte [rbx], al
mov rcx, r14
call fcn.14015656c
nop
jmp 0x14000691c
lea rdx, [r14 + rax]
mov qword [rbx + 0x18], r15
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140006900
mov rcx, rbx
call fcn.14000bef0
nop
mov rcx, r14
call fcn.14015656c
nop
test rbp, rbp
je 0x14000692b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140156510
lea r11, [rsp + 0x80]
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 0x14001a400
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001a45d
lea rbx, [0x140228c40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001a444
cmp r10, 2
jb 0x14001a444
cmp byte [r9], r8b
jne 0x14001a444
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001a420
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001a49f
lea rbx, [0x140228c40]
cmp r8b, 0x23
jne 0x14001a483
cmp byte [r9], r8b
jne 0x14001a483
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001a470
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14001a5e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001a5fa
mov qword [r8], 0
lea rdx, [0x1402717d0]
call fcn.14001a4b0
mov rbx, rax
test rax, rax
jne 0x14001a61a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1401664c8
mov esi, eax
cmp eax, 0xffffffff
je 0x14001a6e8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140166f24
test eax, eax
jne 0x14001a6e8
mov rcx, rbx
call fcn.1401664c8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001a6e8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140166f24
test eax, eax
jne 0x14001a6e8
cmp rdi, 0xffffffffffffffff
je 0x14001a6e8
mov rax, qword [0x1402d7c90]
test rax, rax
je 0x14001a68a
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.140172a40
mov rsi, rax
test rax, rax
je 0x14001a6e8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14016d3dc
mov rcx, rbx
cmp rax, rdi
je 0x14001a6d6
call fcn.140166c1c
mov rax, qword [0x1402d7c90]
test rax, rax
je 0x14001a6cc
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.140165f94
jmp 0x14001a6f0
call fcn.140166c1c
test r14, r14
je 0x14001a6e3
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001a6f2
mov rcx, rbx
call fcn.140166c1c
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14001d9a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x128]
lea r11, [0x140228c40]
mov rax, qword [rcx + 0x130]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4058], ebx
jne 0x14001da36
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14003dd60
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14001da40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x130]
lea r9, [0x140228c40]
movss xmm2, dword [rcx + 0x148]
movss xmm3, dword [rcx + 0x14c]
movsxd rcx, dword [rcx + 0x128]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140022000
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140022050
lea r11, [0x140228c40]
nop dword [rax]
cmp r9b, 0x23
jne 0x140022033
cmp byte [r8], r9b
jne 0x140022033
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140022020
mov rcx, qword [0x1402d7c90]
not edx
add rcx, 0x3ff0
jmp fcn.14001a9e0
Function at 0x14002c000
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1402d7c90]
mov edi, ecx
cmp byte [rbx + 0x4c41], 0
jne 0x14002c061
cmp byte [rbx + 0x4c42], 0
jne 0x14002c061
movsx r9d, word [rbx + 0x5d7a]
lea r8, str.Tooltip__02d
mov edx, select
lea rcx, [rsp + 0x20]
call fcn.14001a380
test dil, 2
je 0x14002c19e
jmp 0x14002c0f1
movss xmm1, dword [rbx + 0x39a4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5d7a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140276314]
mulss xmm1, dword [0x140276304]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x490c], rax
mov dword [rbx + 0x48f4], 1
movss dword [rbx + 0x4904], xmm0
mov byte [rbx + 0x492c], 1
movss dword [rbx + 0x4908], xmm1
movss xmm0, dword [rbx + 0x3a00]
mulss xmm0, dword [0x140276254]
or dword [rbx + 0x48f0], 0x41
movss dword [rbx + 0x4950], xmm0
call fcn.14001a380
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14002c141
lea r11, [0x140228c40]
cmp r9b, 0x23
jne 0x14002c124
cmp byte [r8], r9b
jne 0x14002c124
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14002c111
mov rcx, qword [0x1402d7c90]
not edx
add rcx, 0x3ff0
call fcn.14001a9e0
test rax, rax
je 0x14002c19e
cmp byte [rax + 0xeb], 0
je 0x14002c19e
mov byte [rax + 0xf0], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0x110], 1
mov edx, select
inc word [rbx + 0x5d7a]
movsx r9d, word [rbx + 0x5d7a]
call fcn.14001a380
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140024eb0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140156510
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140032220
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1402d7c90]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140032283
mov qword [rsp], rbx
lea rbx, [0x140228c40]
nop dword [rax]
cmp r9b, 0x23
jne 0x140032263
cmp byte [r8], r9b
jne 0x140032263
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140032250
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5e20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400322b7
mov r10, qword [r10 + 0x5e28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400322be
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400322a4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140035b80
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140035d8c
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140228c40]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140035d54
mov rcx, rbp
call fcn.1400354d0
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x140035bfe
lea rcx, [rbp + 0x5dc8]
call fcn.14001a9e0
mov r11, rax
jmp 0x140035c01
xor r11d, r11d
mov qword [rbx + 0x18], r11
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc8]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test r11, r11
je 0x140035c95
cmp qword [r11 + 0x20], 0
jne 0x140035c8a
mov qword [r11 + 0x20], rbx
jmp 0x140035c95
cmp qword [r11 + 0x28], 0
jne 0x140035c95
mov qword [r11 + 0x28], rbx
mov eax, dword [rdi - 0xc]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 4]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140035cdc
nop dword [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140035cd0
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, setsockopt
lea rcx, [rsp + 0x20]
call fcn.14001a380
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140035d38
cmp r9b, 0x23
jne 0x140035d1b
cmp byte [r8], r9b
jne 0x140035d1b
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140035d08
mov rcx, qword [0x1402d7c90]
not edx
add rcx, 0x3ff0
call fcn.14001a9e0
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x140035bd0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140156510
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14003d1c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov edi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x14003d20d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x14003d212
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14003d23d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14003d23d
mov rax, qword [rax + 0x3a8]
test rax, rax
je 0x14003d23d
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], eax
jmp 0x14003d242
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14003d25c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x14003d261
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], dil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x14003d2e3
inc ecx
test r8d, r8d
je 0x14003d2ce
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14003d2d3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14003ea20
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
inc edi
test rdx, rdx
je 0x14003d323
mov r8d, edi
mov rcx, rbp
call fcn.14003d1c0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14003d1f0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14005d4a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14005d539
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword gs:[0x58]
mov edi, eax
mov eax, 4
mov dword [rsp + 0x24], 0
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x140308a4c], ecx
jle 0x14005d520
lea rcx, [0x140308a4c]
call fcn.1401568cc
cmp dword [0x140308a4c], 0xffffffff
jne 0x14005d520
lea rcx, [0x1401ae760]
call fcn.140156e18
lea rcx, [0x140308a4c]
call fcn.140156860
lea rax, [0x1402a9348]
mov dword [rsp + 0x20], edi
test edi, edi
mov qword [rsp + 0x28], rax
mov rdi, qword [rsp + 0x50]
jne 0x14005d54e
mov eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140156510
add rsp, 0x40
pop rbx
ret
lea rdx, [0x140273148]
lea rcx, [rsp + 0x20]
call fcn.14005d2f0
int3

Function at 0x14005d560
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005d599
mov rdx, qword [rax + 8]
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.140062330
xor edx, edx
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.140062330

Function at 0x14005d5b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r8d, r8d
test rax, rax
je 0x14005d5e0
mov r9, qword [rax + 8]
jmp 0x14005d5e3
mov r9, r8
cmp rdi, 0x3fc
ja 0x14005d607
test r9, r9
je 0x14005d607
mov rax, r8
cmp qword [r9 + rax*8], 0
je 0x14005d615
inc r8d
inc rax
cmp rax, 2
jl 0x14005d5f4
mov rcx, rbx
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.140019930
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
movsxd rax, r8d
mov qword [r9 + rax*8], rbx
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x14005d830
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1402a7978]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x14005d8aa
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [0x140308cd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14005d86d
mov rdx, qword [rax + 8]
jmp 0x14005d86f
xor edx, edx
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
cmp r9, 0x3fc
ja 0x14005d8a2
test rdx, rdx
je 0x14005d8a2
mov ecx, 6
mov eax, ecx
nop
cmp qword [rdx + rax*8], 0
je 0x14005d8bc
inc ecx
inc rax
cmp rax, 8
jl 0x14005d890
mov rcx, r8
call fcn.140019930
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140156510
add rsp, 0x48
ret
movzx eax, byte [r8 + r9]
mov byte [r8], al
movsxd rax, ecx
mov qword [rdx + rax*8], r8
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140156510
add rsp, 0x48
ret