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

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov ecx, dword [0x1401190e0]
test ecx, ecx
je 0x1400f5220
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400f5239
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1400f5239
add rdi, 0x10
jmp 0x1400f532e
lea rcx, [0x1401190c8]
call fcn.1400d3180
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400f520d
mov ecx, dword [0x1401190e0]
test ecx, ecx
je 0x1400f530f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400f532c
mov rsi, rax
test rax, rax
jne 0x1400f52de
mov qword [rsp + 0x28], 0
lea rax, [0x1401190c8]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x1401891c0]
mov rcx, qword [0x140189110]
test rcx, rcx
jne 0x1400f52a0
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f5348
mov rcx, rax
mov qword [0x140189110], rax
mov r8d, 0x18
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400f5348
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
mov ecx, dword [0x1401190e0]
test ecx, ecx
je 0x1400f5338
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x1400f532e
test rcx, rcx
je 0x1400f532e
lock dec qword [rcx]
jne 0x1400f532e
call fcn.1400fe520
jmp 0x1400f532e
lea rcx, [0x1401190c8]
call fcn.1400d3180
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400f5258
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1401190c8]
call fcn.1400d3180
mov ecx, eax
jmp 0x1400f52d6
mov ecx, 8
mov edx, 0x18
call fcn.140083160
ud2
Function at 0x1400f5720
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x140189118]
cmp rax, 3
jne 0x1400f58db
cmp rbx, 0x17f
ja 0x1400f58ed
lea r15, [rsp + 0x60]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov byte [rsp + rbx + 0x60], 0
lea rax, [rbx + 1]
cmp rbx, 0xe
ja 0x1400f5798
xor edx, edx
nop
cmp byte [rsp + rdx + 0x60], 0
je 0x1400f5844
inc rdx
cmp rax, rdx
jne 0x1400f5780
jmp 0x1400f58a2
lea rcx, [rsp + 0x67]
and rcx, 0xfffffffffffffff8
sub rcx, r15
je 0x1400f57ce
je 0x1400f57ce
xor edx, edx
nop word [rax + rax]
cmp byte [rsp + rdx + 0x60], 0
je 0x1400f5844
inc rdx
cmp rcx, rdx
jne 0x1400f57b0
lea rdx, [rbx - 0xf]
cmp rcx, rdx
jbe 0x1400f57d4
jmp 0x1400f581e
lea rdx, [rbx - 0xf]
xor ecx, ecx
movdqa xmm0, xmmword [0x14011e000]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rsp + rcx + 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x1400f581e
add rcx, 0x10
cmp rcx, rdx
jbe 0x1400f57f0
sub rax, rcx
je 0x1400f58a2
lea r8, [rsp + rcx]
add r8, 0x60
xor edx, edx
nop dword [rax]
cmp byte [r8 + rdx], 0
je 0x1400f5841
inc rdx
cmp rax, rdx
jne 0x1400f5830
jmp 0x1400f58a2
add rdx, rcx
cmp rdx, rbx
jne 0x1400f58a2
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x1400f58b6
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400f58c9
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400f58cc
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400f5d60
cmp rbx, 0x17f
jbe 0x1400f575a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400f5dd0
Function at 0x1400f5dd0
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rbx, r8
inc rbx
sete bpl
je 0x1400f6038
js 0x1400f6052
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rsi, rcx
movzx eax, byte [0x1401891c0]
mov rcx, qword [0x140189110]
test rcx, rcx
jne 0x1400f5e2b
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400f6029
mov rcx, rax
mov qword [0x140189110], rax
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400f6029
mov r12, rax
mov rcx, rax
mov rdx, r15
mov r8, r14
call sub.msvcrt.dll_memcpy
cmp r14, 0x10
jae 0x1400f5e78
test r14, r14
je 0x1400f5f33
xor eax, eax
cmp byte [r15 + rax], 0
je 0x1400f5fb4
inc rax
cmp r14, rax
jne 0x1400f5e60
jmp 0x1400f5f33
lea rax, [r15 + 7]
and rax, 0xfffffffffffffff8
sub rax, r15
je 0x1400f5ebe
cmp rax, r14
cmovae rax, r14
test rax, rax
je 0x1400f5ebe
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [r15 + rcx], 0
je 0x1400f5fb4
inc rcx
cmp rax, rcx
jne 0x1400f5ea0
lea rcx, [r14 - 0x10]
cmp rax, rcx
jbe 0x1400f5ec4
jmp 0x1400f5f0e
lea rcx, [r14 - 0x10]
xor eax, eax
movdqa xmm0, xmmword [0x14011e010]
movabs rdx, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [r15 + rax]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r8, xmm2
test r8, rdx
jne 0x1400f5f0e
add rax, 0x10
cmp rax, rcx
jbe 0x1400f5ee0
cmp rax, r14
je 0x1400f5f33
nop word cs:[rax + rax]
cmp byte [r15 + rax], 0
je 0x1400f5fb4
inc rax
cmp r14, rax
jne 0x1400f5f20
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x30]
call fcn.140083350
mov rbx, rax
mov r14, rdx
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
mov rcx, rax
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x1400f5fea
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rbx], 0
test r14, r14
jne 0x1400f6008
jmp 0x1400f6019
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test bpl, bpl
jne 0x1400f6019
mov rcx, qword [0x140189110]
xor edx, edx
mov r8, r12
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.14011631c
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
mov byte [rbx], 0
test r14, r14
je 0x1400f6019
mov rcx, qword [0x140189110]
xor edx, edx
mov r8, rbx
call fcn.14011631c
nop
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 1
mov rdx, rbx
call fcn.140083160
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.library_alloc_src_ffic_str.rs
mov edx, 0x2b
call fcn.140086940
ud2
call fcn.140083120
ud2
Function at 0x1400f6440
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x80
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400f6476
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rsp, 0x80
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [fcn.1400f3990]
mov qword [rsp + 0x48], rax
lea rax, str.fallback_RNG_broken:
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rsp + 0x50]
call fcn.140085be0
ud2
Function at 0x1400fb5f0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rbx, r8
mov rsi, rcx
test rdx, rdx
je 0x1400fb61b
mov qword [rsi + 8], rbx
mov qword [rsi], 1
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rax, qword [0x140189118]
cmp rax, 3
jne 0x1400fb797
cmp word [rbx], 0
mov eax, 2
mov ebp, 0x17
cmove ebp, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400fb690
cmp word [rbx], 0
je 0x1400fb706
movups xmm0, xmmword [rbx + 4]
mov eax, dword [rbx + 0x14]
mov edx, dword [rbx + 0x18]
movzx ecx, word [rbx + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1400fb71b
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x1400fb6aa
mov r14d, eax
cmp eax, 0x2726
jne 0x1400fb786
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x1400fb77e
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.KERNEL32.dll_SetHandleInformation
test eax, eax
jne 0x1400fb668
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
mov rcx, rdi
call fcn.14011649c
jmp 0x1400fb786
mov eax, dword [rbx + 2]
movzx ecx, word [rbx + 6]
mov r8d, 0x10
mov r9w, 2
xorps xmm0, xmm0
rol cx, 8
mov word [rsp + 0x34], r9w
mov word [rsp + 0x36], cx
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x3c], xmm0
mov dword [rsp + 0x4c], edx
lea rdx, [rsp + 0x34]
mov rcx, rdi
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
je 0x1400fb759
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x1400fb610
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call fcn.14011649c
jmp 0x1400fb610
call sub.WS2_32.dll_WSAGetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
mov qword [rsi + 8], r14
jmp 0x1400fb609
call fcn.1400f5d60
jmp 0x1400fb62c
Function at 0x1400fb7f0
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x30
mov ecx, dword [0x140119100]
test ecx, ecx
je 0x1400fb81d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400fb836
cmp qword [rax + 8], 0
je 0x1400fb836
add rax, 0x10
add rsp, 0x30
pop rsi
ret
lea rcx, [0x1401190e8]
call fcn.1400d3180
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400fb80c
mov ecx, dword [0x140119100]
test ecx, ecx
je 0x1400fb91d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400fb93a
mov rsi, rax
test rax, rax
jne 0x1400fb8cb
movzx eax, byte [0x1401891c0]
mov rcx, qword [0x140189110]
test rcx, rcx
jne 0x1400fb888
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400fb955
mov rcx, rax
mov qword [0x140189110], rax
mov r8d, 0x20
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400fb955
mov rsi, rax
lea rax, [0x1401190e8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140119100]
test ecx, ecx
je 0x1400fb942
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x1400fb8fb
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400fb903
call fcn.1400f6440
mov rcx, rax
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
add rsp, 0x30
pop rsi
ret
lea rcx, [0x1401190e8]
call fcn.1400d3180
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400fb855
xor eax, eax
add rsp, 0x30
pop rsi
ret
lea rcx, [0x1401190e8]
call fcn.1400d3180
mov ecx, eax
jmp 0x1400fb8c3
mov ecx, 8
mov edx, 0x20
call fcn.140083160
ud2
Function at 0x1400fd260
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400fd2a2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x1400fd2aa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400fd2bb
jmp 0x1400fd2d2
xor r10d, r10d
jmp 0x1400fd35d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400fd2d2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400fd2e9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400fd309
add r11, r8
jmp 0x1400fd43a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400fd3d2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400fd380
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x1400fd3f0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400fd402
jmp 0x1400fd41c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400fd41c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400fd436
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400fd450
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x80
mov ecx, dword [0x140119128]
test ecx, ecx
je 0x1400fd5ba
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400fd481
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x1400fd5ec
mov ecx, dword [0x140119128]
test ecx, ecx
je 0x1400fd5f2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400fd60f
mov rsi, rax
test rax, rax
jne 0x1400fd516
movzx eax, byte [0x1401891c0]
mov rcx, qword [0x140189110]
test rcx, rcx
jne 0x1400fd4d3
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400fd630
mov rcx, rax
mov qword [0x140189110], rax
mov r8d, 0x60
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400fd630
mov rsi, rax
lea rax, [0x140119110]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140119128]
test ecx, ecx
je 0x1400fd61d
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsi + 0x48]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movups xmm3, xmmword [rsi + 0x38]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 8], 1
movups xmm0, xmmword [0x1401536c0]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [0x1401536b0]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [0x1401536a0]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [0x140153690]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [0x140153680]
movups xmmword [rsi + 0x10], xmm0
cmp qword [rsp + 0x20], 0
je 0x1400fd5ec
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x1400fd5ec
lea rcx, [rsp + 0x38]
test rax, rax
je 0x1400fd5dc
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x1400fd5ec
call fcn.1400fbf70
jmp 0x1400fd5ec
lea rcx, [0x140119110]
call fcn.1400d3180
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400fd473
jmp 0x1400fd481
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x1400fd5ec
call fcn.1400fbe60
add rsi, 0x10
jmp 0x1400fd611
lea rcx, [0x140119110]
call fcn.1400d3180
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400fd4a0
xor esi, esi
mov rax, rsi
add rsp, 0x80
pop rsi
ret
lea rcx, [0x140119110]
call fcn.1400d3180
mov ecx, eax
jmp 0x1400fd50e
mov ecx, 8
mov edx, 0x60
call fcn.140083160
ud2
Function at 0x140100a80
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x58], r9
mov r15, r8
mov qword [rsp + 0x38], rcx
mov rbx, qword [rdx + 0x10]
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x140100cb1
mov rax, qword [rsp + 0xe0]
mov r12d, 0xffffffff
cmp rax, r12
cmovb r12, rax
mov r13, qword [rdx + 0x20]
xorps xmm6, xmm6
jmp 0x140100b05
lea rcx, [rsp + 0x40]
mov rdx, rbx
mov r8, r15
mov r9b, 1
call fcn.140100110
movzx eax, byte [rsp + 0x49]
cmp al, 3
jne 0x140100cdb
cmp al, 2
jne 0x140100d36
mov rsi, qword [rsp + 0x40]
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.35.0_src_io_poll_evented.rs
mov edx, 0x2b
call fcn.140086940
ud2

Function at 0x140100f10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140119148]
test ecx, ecx
je 0x140100f3f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140100f58
mov rsi, rax
cmp qword [rax + 8], 0
je 0x140100f58
add rsi, 8
jmp 0x14010107f
lea rcx, [0x140119130]
call fcn.1400d3180
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140100f2c
mov ecx, dword [0x140119148]
test ecx, ecx
je 0x140101060
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14010107d
mov rsi, rax
test rax, rax
jne 0x140100fed
movzx eax, byte [0x1401891c0]
mov rcx, qword [0x140189110]
test rcx, rcx
jne 0x140100faa
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1401010ac
mov rcx, rax
mov qword [0x140189110], rax
mov r8d, 0x10
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1401010ac
mov rsi, rax
lea rax, [0x140119130]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140119148]
test ecx, ecx
je 0x140101088
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
movzx eax, byte [0x1401891c0]
mov rcx, qword [0x140189110]
test rcx, rcx
jne 0x140101018
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x14010109b
mov rcx, rax
mov qword [0x140189110], rax
mov r8d, 0x28
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14010109b
add rsi, 8
mov qword [rax], 1
mov qword [rax + 8], 1
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov byte [rax + 0x20], 0
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x14010107f
lock dec qword [rcx]
jne 0x14010107f
call fcn.1400290f0
jmp 0x14010107f
lea rcx, [0x140119130]
call fcn.1400d3180
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140100f77
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140119130]
call fcn.1400d3180
mov ecx, eax
jmp 0x140100fe5
mov ecx, 8
mov edx, 0x28
call fcn.140083160
ud2
mov ecx, 8
mov edx, 0x10
call fcn.140083160
ud2
Function at 0x140117a60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140118820
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140118820
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140117ad0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140189254]
mov rbx, rcx
test esi, esi
jle 0x140117c00
mov rax, qword [0x140189258]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140117b1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140117ba5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140117b00
mov rcx, rbx
call fcn.140118540
mov rdi, rax
test rax, rax
je 0x140117c22
mov rax, qword [0x140189258]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140118680
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140189258]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140117c07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140117b9e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140117bb0
add dword [0x140189254], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140189258]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140117b9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140117a60
nop dword [rax]
xor esi, esi
jmp 0x140117b28
mov rax, qword [0x140189258]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140117a60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140117a60
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1401181b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401892c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401892a0]
test rbx, rbx
je 0x14011820c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140118203
test eax, eax
jne 0x140118203
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401181e8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140118540
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14017c130]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140118560
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140118568
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140118560
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401185bd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401185b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140118560
add rax, 0x28
cmp rax, r9
jne 0x1401185a0
xor eax, eax
ret

Function at 0x1401185c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14017c130]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401185df
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401185e8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401185df
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140118680
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14017c130]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14011869f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401186a8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret