joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bfe90
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov rax, r8
mov rsi, rcx
mov dword [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 7
mov qword [rsp + 0x54], 0
mov word [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
lea r8, [rsp + 0x38]
mov rcx, rdx
mov rdx, rax
call fcn.1400d8610
mov rdi, rdx
test rax, rax
je 0x1400bff24
mov qword [rsp + 0x80], 1
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x88], rdi
call fcn.1400b99b0
mov qword [rsi], 0
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.1400d8860
cmp dword [rsp + 0x38], 2
jne 0x1400bff53
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 2
jmp 0x1400bff9f
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmm2, xmmword [rsp + 0x58]
movups xmm3, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm3
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
cmp qword [rsp + 0x80], 2
jne 0x1400bffcb
lea rcx, [rsp + 0x88]
call fcn.1400b99b0
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.kernel32.dll_CloseHandle
mov r12, qword [rsp + 0xb8]
test rdi, rdi
je 0x1400c0029
mov qword [rsp + 0x80], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x1400c00a5
mov rbx, qword [rsp + 0x80]
jmp 0x1400c002b
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x1400c0094
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call sub.kernel32.dll_CloseHandle
test r15, r15
je 0x1400c0094
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400c00d1
mov qword [rsi], 0
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
jmp 0x1400c00d1
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.1400b99b0
mov qword [rsi], 0
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
jmp 0x1400bff13
Function at 0x1400d8fc0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rsp + 0xa8]
call fcn.1400bc2b0
mov rax, qword [rsp + 0xa8]
cmp rax, rdi
jne 0x1400d900f
lea rcx, [rsp + 0xb0]
call fcn.1400b99b0
mov qword [rsi], rdi
jmp 0x1400d91eb
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 2
mov qword [rsp + 0x58], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov esi, 0xffffffff
xor r14d, r14d
xor r13d, r13d
cmp r8, 0x201
jae 0x1400d90a0
jmp 0x1400d907f
jae 0x1400d9147
cmp r8, 0x201
jae 0x1400d90a0
mov edi, 0x200
lea rbp, [rsp + 0xa8]
mov r12, r8
jmp 0x1400d90e7
sub r8, r13
sub r14, r13
cmp r14, r8
jae 0x1400d90c7
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.1400bc6a0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
cmp rbx, rsi
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rsp + 0x58], r13
mov r14, rbx
mov rdi, r13
mov rbp, qword [rsp + 0x28]
mov r12, r13
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rsp + 0x30]
mov rdx, rbp
mov r8d, r12d
call sub.kernel32.dll_GetEnvironmentVariableW
mov r15d, eax
test eax, eax
jne 0x1400d910e
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x1400d9186
mov r8d, r15d
cmp r12, r8
jne 0x1400d9070
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400d921b
add r12, r12
cmp r12, rsi
cmovae r12, rsi
mov r8, r12
cmp r8, 0x201
jb 0x1400d907f
jmp 0x1400d90a0
cmp rdi, r8
jb 0x1400d9235
lea rcx, [rsp + 0x88]
mov rdx, rbp
call fcn.1400be5a0
movabs rdi, 0x8000000000000000
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
jmp 0x1400d91a7
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x68], rax
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x60], rdi
mov rsi, qword [rsp + 0x38]
test rbx, rbx
je 0x1400d91c0
mov edx, 2
mov rcx, qword [rsp + 0x28]
call fcn.140008000
cmp qword [rsp + 0x60], rdi
jne 0x1400d9200
mov qword [rsi], rdi
lea rcx, [rsp + 0x68]
call fcn.1400b99b0
cmp qword [rsp + 0x40], 0
je 0x1400d91eb
mov edx, 2
mov rcx, qword [rsp + 0x30]
call fcn.140008000
nop
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rsp + 0x40], 0
jne 0x1400d91dc
jmp 0x1400d91eb
lea rcx, str.internal_error:_entered_unreachable_code_home_wav_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.37.0_src_sync_notify.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.14000c520
jmp 0x1400d924a
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call fcn.14000c180
ud2
Function at 0x1400dc9d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x1401293b0]
test ecx, ecx
je 0x1400dcaa9
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400dca04
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1400dca04
add rdi, 0x10
jmp 0x1400dca9f
mov ecx, dword [0x1401293b0]
test ecx, ecx
je 0x1400dcabc
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400dca9d
mov rsi, rax
test rax, rax
jne 0x1400dca6c
movzx eax, byte [0x14021d218]
mov edx, 0x18
xor ecx, ecx
call fcn.1400defd0
test rax, rax
je 0x1400dcadf
mov rsi, rax
lea rax, [0x140129398]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1401293b0]
test ecx, ecx
je 0x1400dcacf
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 0x1400dca9f
test rcx, rcx
je 0x1400dca9f
lock dec qword [rcx]
jne 0x1400dca9f
call fcn.1400dcaf0
jmp 0x1400dca9f
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140129398]
call fcn.1400ba2c0
mov ecx, eax
jmp 0x1400dc9e6
lea rcx, [0x140129398]
call fcn.1400ba2c0
mov ecx, eax
jmp 0x1400dca14
lea rcx, [0x140129398]
call fcn.1400ba2c0
mov ecx, eax
jmp 0x1400dca64
mov ecx, 8
mov edx, 0x18
call fcn.1400084e0
int3
Function at 0x1400debd0
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x14021d218]
mov edx, 0x10
xor ecx, ecx
call fcn.1400defd0
test rax, rax
je 0x1400dec85
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400dece0]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x1400dec78
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x1400dec57
mov rdx, qword [r14 + 0x10]
mov rcx, rbx
call fcn.140008000
mov edx, 8
mov rcx, rsi
call fcn.140008000
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 8
mov edx, 0x10
call fcn.1400084e0
ud2

Function at 0x1400dedb0
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 0x1400dede6
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.1400d9ac0]
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_syspalwindows_rand.rs
lea rcx, [rsp + 0x50]
call fcn.14000b6b0
ud2
Function at 0x1400e3720
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 [0x1401293d0]
test ecx, ecx
je 0x1400e3816
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400e3750
cmp qword [rax + 8], 0
je 0x1400e3750
add rax, 0x10
jmp 0x1400e3810
mov ecx, dword [0x1401293d0]
test ecx, ecx
je 0x1400e3829
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400e37f0
mov rsi, rax
test rax, rax
jne 0x1400e37c0
movzx eax, byte [0x14021d218]
mov edx, 0x20
xor ecx, ecx
call fcn.1400defd0
test rax, rax
je 0x1400e384f
mov rsi, rax
lea rax, [0x1401293b8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1401293d0]
test ecx, ecx
je 0x1400e383c
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 0x1400e37f4
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400e37fc
xor eax, eax
jmp 0x1400e3810
call fcn.1400dedb0
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, [0x1401293b8]
call fcn.1400ba2c0
mov ecx, eax
jmp 0x1400e3735
lea rcx, [0x1401293b8]
call fcn.1400ba2c0
mov ecx, eax
jmp 0x1400e3760
lea rcx, [0x1401293b8]
call fcn.1400ba2c0
mov ecx, eax
jmp 0x1400e37b8
mov ecx, 8
mov edx, 0x20
call fcn.1400084e0
int3

Function at 0x1400e3d61
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1400e3d7a
dec ecx
add rsp, 0x28
jmp sub.kernel32.dll_TlsGetValue
mov rcx, rax
call fcn.1400ba2c0
mov ecx, eax
jmp 0x1400e3d71

Function at 0x1400e3d86
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x1400e3da7
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.kernel32.dll_TlsSetValue
mov rcx, rax
call fcn.1400ba2c0
mov ecx, eax
jmp 0x1400e3d9a

Function at 0x1400ea209
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400ea210
test al, 1
je 0x1400ea22f
test al, 2
jne 0x1400ea247
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401c8e30]
mov edx, 0x23
call fcn.14000c520
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401c8e70]
mov edx, 0x25
call fcn.14000c520
int3

Function at 0x1400eaf0e
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400ee513
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400eaf49
xor eax, eax
jmp 0x1400eaf56
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x1400eaf5c
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, 0x68
mov rbp, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
lea r15, [rsp + 0x42]
lea r12, [rsp + 0x52]
mov r13, qword [rdx + 0x10]
mov edi, 0x7fffffff
cmp rax, rdi
cmovb rdi, rax
mov rsi, qword [rdx + 0x18]
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x38]
mov rdx, r13
mov r8, rbx
call fcn.1400e496b
mov al, byte [rsp + 0x41]
cmp al, 3
je 0x1400eb0d7
mov rcx, qword [rsp + 0x38]
cmp al, 2
je 0x1400eb0e5
mov dl, byte [rsp + 0x40]
movzx r8d, word [r15 + 4]
mov word [r12 + 4], r8w
mov r8d, dword [r15]
mov dword [r12], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
cmp rsi, 0xffffffffffffffff
je 0x1400eb129
mov rcx, rsi
mov rdx, rbp
mov r8d, edi
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x1400eb0f7
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.14004863b
cmp al, 0xd
jne 0x1400eb0ac
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400eb0ac
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1400eb135
mov rdi, r13
mov r13, r14
mov r14, r15
mov r15, rbx
mov rbx, rbp
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.14004849a
mov rbp, rax
xor ecx, ecx
call fcn.140047095
test rbp, rbp
je 0x1400eb098
mov ecx, 1
mov rdx, rsi
call fcn.1400488b4
mov rsi, rbp
mov rbp, rbx
mov rbx, r15
mov r15, r14
mov r14, r13
mov r13, rdi
mov rdi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.14006212a
cmp al, 0xd
jne 0x1400eb108
mov rcx, r14
lea rdx, [rsp + 0x48]
call fcn.1400e46ad
mov rcx, rsi
call fcn.140062051
mov rsi, qword [rsp + 0x60]
jmp 0x1400eafb3
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x1400eb118
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x1400eb118
cdqe
mov rcx, qword [rsp + 0x28]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x1400eb118
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str._home_wav_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.37.0_src_io_poll_evented.rs
call fcn.14000f700
ud2

Function at 0x1400ebe2e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp qword [rcx], 0
je 0x1400ebe43
add rcx, 8
xor r8d, r8d
xor r9d, r9d
jmp fcn.1400ebe4f
add rcx, 8
xor r8d, r8d
jmp fcn.1400eeda0
Function at 0x1400ebe4f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov edi, r9d
mov r14, r8
mov rbx, rcx
movabs rax, 0x8000000000000000
cmp qword [rcx], rax
jne 0x1400ebe9a
mov r15, qword [rbx + 8]
xor ecx, ecx
mov eax, 2
lock cmpxchg qword [r15 + 0x20], rcx
je 0x1400ebe8e
test r14, r14
jne 0x1400ebec8
test edi, edi
jne 0x1400ebec8
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rsi, rdx
lea rdx, [0x1401c9368]
mov rcx, rsi
call fcn.1400eba41
mov rcx, rbx
mov rdx, rsi
mov r8, r14
mov r9d, edi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400eba68
lea rcx, [r15 + 0x10]
call fcn.1400e7689
mov rsi, rax
mov ebx, edx
and bl, 1
mov ecx, 1
xor eax, eax
lock cmpxchg qword [r15 + 0x20], rcx
jne 0x1400ebf66
lea rcx, [r15 + 0x28]
mov rdx, rsi
mov r8, r14
mov r9d, edi
call fcn.1400e3570
mov cl, byte [rsi + 8]
test cl, cl
jne 0x1400ebf87
xor eax, eax
xchg qword [r15 + 0x20], rax
lea rcx, [rax - 1]
cmp rcx, 2
jb 0x1400ebf72
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
lea rax, [rsp + 0x30]
mov qword [rax], rcx
lea rdx, str.inconsistent_park_timeout_state:
lea rcx, [rsp + 0x40]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [fcn.14000b810]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str._home_wav_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtime_park.rs
call fcn.14000b6b0
jmp 0x1400ec02b
cmp rax, 2
jne 0x1400ebfdf
xor eax, eax
xchg qword [r15 + 0x20], rax
mov rcx, rsi
mov edx, ebx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140048bb2
xor al, 1
lea r8, [rsp + 0x40]
mov qword [r8], rsi
mov byte [r8 + 8], bl
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x33]
mov dword [r8 + 9], ecx
mov dword [r8 + 0xc], edx
mov byte [r8 + 0x10], al
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2b]
mov dword [r8 + 0x11], eax
mov dword [r8 + 0x14], ecx
lea rax, str._home_wav_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtime_park.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1401ef09b]
lea r9, [0x1401c8708]
mov edx, 0x2b
call fcn.14000e070
jmp 0x1400ec02b
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
lea rax, [rsp + 0x30]
mov qword [rax], rcx
lea rdx, str.inconsistent_park_timeout_state__actual_
lea rcx, [rsp + 0x40]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
and qword [rcx + 0x20], 0
lea r8, [fcn.14000b810]
mov qword [rax + 8], r8
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str._home_wav_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.37.0_src_runtime_park.rs
call fcn.14000b6b0
ud2
Function at 0x140103be0
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.140104980
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.140104980
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 0x140103c50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14021d294]
mov rbx, rcx
test esi, esi
jle 0x140103d80
mov rax, qword [0x14021d298]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140103c9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140103d25
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140103c80
mov rcx, rbx
call fcn.1401046a0
mov rdi, rax
test rax, rax
je 0x140103da2
mov rax, qword [0x14021d298]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1401047e0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14021d298]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140103d87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140103d1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140103d30
add dword [0x14021d294], 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 [0x14021d298]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140103d1e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140103be0
nop dword [rax]
xor esi, esi
jmp 0x140103ca8
mov rax, qword [0x14021d298]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140103be0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140103be0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140104310
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14021d300]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14021d2e0]
test rbx, rbx
je 0x14010436c
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 eax, eax
jne 0x140104363
test rsi, rsi
je 0x140104363
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140104348
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 0x1401046a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401f2690]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401046c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401046c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401046c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14010471d
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 0x140104714
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401046c0
add rax, 0x28
cmp rax, r9
jne 0x140104700
xor eax, eax
ret

Function at 0x140104720
Capabilities:
Parse pe header

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

Function at 0x1401047e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401f2690]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401047ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140104808
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14010a290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x18
mov r11d, 1
mov eax, r8d
mov r10, rcx
mov r15, rdx
mov ecx, r9d
inc rax
shl r11, cl
mov edx, eax
add rdx, rdx
lea rdx, [rdx + r11 + 8]
cmp qword [rsp + 0x88], rdx
mov rdx, 0xffffffffffffffd2
setb dil
cmp r8d, 0xff
seta cl
or dil, cl
jne 0x14010a4bf
mov rdx, 0xffffffffffffffd4
cmp r9d, 0xc
ja 0x14010a4bf
mov edx, 1
lea esi, [r8 + 1]
lea rbx, [r10 + 4]
mov ecx, r9d
mov r8d, edx
mov dword [rsp + 8], esi
mov esi, 1
shl r8d, cl
movzx ecx, r9w
or ecx, 0x10000
lea ebp, [r8 - 1]
mov r14d, ecx
mov r12d, ecx
lea ecx, [r9 - 1]
shl edx, cl
xor ecx, ecx
mov dword [rsp + 0xc], edx
mov edx, ebp
mov r11w, word [r15 + rcx*2]
cmp r11w, 0xffff
jne 0x14010a358
mov r11d, edx
dec edx
mov byte [rbx + r11*4 + 2], cl
mov r11d, 1
jmp 0x14010a366
xor edi, edi
cmp r11w, word [rsp + 0xc]
cmovge esi, edi
mov dil, 1
mov r13, qword [rsp + 0x80]
mov word [r13 + rcx*2], r11w
mov r11d, dword [rsp + 8]
inc rcx
cmp ecx, r11d
jb 0x14010a33a
test dil, dil
je 0x14010a393
shl esi, 0x10
movzx r14d, r14w
or r14d, esi
mov r12d, r14d
mov r11d, r8d
mov ecx, r8d
mov dword [r10], r12d
shr r11d, 1
shr ecx, 3
lea ecx, [r11 + rcx + 3]
cmp edx, ebp
jne 0x14010a446
add rax, rax
xor r11d, r11d
xor ebp, ebp
add rax, qword [rsp + 0x80]
movabs r14, 0x101010101010101
mov r13, r11
lea r12, [rax + rbp]
movsx rdi, word [r15 + r11*2]
imul r13, r14
mov dword [rsp + 0xc], edi
mov rsi, rdi
mov edi, 8
mov qword [r12], r13
cmp dword [rsp + 0xc], edi
jle 0x14010a3f9
mov qword [r12 + rdi], r13
add rdi, 8
jmp 0x14010a3e9
mov edi, dword [rsp + 8]
inc r11
add rbp, rsi
cmp r11d, edi
jb 0x14010a3c9
movsxd rdi, r8d
xor esi, esi
xor r11d, r11d
mov r12b, byte [rax + rsi]
mov rbp, rdx
and rbp, r11
add r11, rcx
mov byte [rbx + rbp*4 + 2], r12b
mov rbp, rdx
mov r12b, byte [rax + rsi + 1]
add rsi, 2
and rbp, r11
add r11, rcx
mov byte [rbx + rbp*4 + 2], r12b
and r11, rdx
cmp rsi, rdi
jb 0x14010a410
xor r11d, r11d
jmp 0x14010a480
xor r11d, r11d
xor eax, eax
movsx edi, word [r15 + r11*2]
xor esi, esi
cmp edi, esi
jle 0x14010a46a
mov r12d, eax
mov byte [rbx + r12*4 + 2], r11b
add eax, ecx
and eax, ebp
cmp edx, eax
jb 0x14010a45e
inc esi
jmp 0x14010a452
mov edi, dword [rsp + 8]
inc r11
cmp r11d, edi
jb 0x14010a44b
or rdx, 0xffffffffffffffff
test eax, eax
je 0x14010a441
jmp 0x14010a4bf
movzx edx, byte [r10 + r11*4 + 6]
add rdx, rdx
add rdx, qword [rsp + 0x80]
movzx eax, word [rdx]
lea ecx, [rax + 1]
mov word [rdx], cx
bsr ecx, eax
xor ecx, 0x1f
lea ecx, [r9 + rcx - 0x1f]
shl eax, cl
mov byte [r10 + r11*4 + 7], cl
sub eax, r8d
mov word [r10 + r11*4 + 4], ax
inc r11
cmp r11d, r8d
jb 0x14010a480
xor edx, edx
mov rax, rdx
add rsp, 0x18
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret