joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f9a0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x40f9e4
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x40f9ec
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x40f9fd
jmp 0x40fa14
xor r10d, r10d
jmp 0x40faaa
xor r9d, r9d
xor esi, esi
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x40fa14
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x40fa2b
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
not ecx
or ecx, 0x3f
lea ecx, [rcx + r11*8]
inc cl
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x40fa56
add r11, r8
jmp 0x40fbc6
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
movabs r9, 0x38bdae65cbe4aa5d
add r8, r9
sub r8, r10
movabs rcx, 0xc742519a341b55a2
add rcx, r8
inc rcx
inc r8
sub r9, r8
or r9, 7
lea r11, [r9 + rcx]
inc r11
sub rcx, r11
cmp r10, rcx
jae 0x40fb5e
mov r8, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop word cs:[rax + rax]
add r8, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, r8
rol r8, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add r8, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, r8
mov r14, r8
and r14, rbx
add r8, rbx
add r14, r14
sub r8, r14
add r10, 8
cmp r10, rcx
jb 0x40fb00
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], r8
cmp r11, 3
jbe 0x40fb7c
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x40fb8e
jmp 0x40fba8
xor r8d, r8d
xor r9d, r9d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x40fba8
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 0x40fbc2
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
pop r14
ret
Function at 0x4304c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x430550
cmp r10, r11
jb 0x4305c6
cmp r10, rdx
ja 0x4305da
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x430552
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x430530
jmp 0x4305b4
ja 0x43055a
mov r11, r10
cmp rax, r8
jne 0x4304f4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x430590
mov rdi, r8
sub ecx, edx
jns 0x4305ab
jmp 0x4305b6
cmp r8, rsi
je 0x4305eb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x4305b6
xor al, 1
cmp rdi, rsi
jne 0x430570
jmp 0x4305b6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.library_core_src_unicode_printable.rs
mov rcx, r11
mov rdx, r10
call fcn.00431150
ud2
lea r8, str.library_core_src_unicode_printable.rs
mov rcx, r10
call fcn.00430740
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.library_core_src_unicode_printable.rs
mov edx, 0x2b
call fcn.0042f210
ud2

Function at 0x43d895
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x43d8bb
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x43d8a5
mov qword [rcx], rax
ret

Function at 0x43d8bf
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx + 0x18]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.0043d86a
test rbx, rbx
je 0x43d8f8
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.0043d895
mov cl, byte [rdi]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.0043d88d
Function at 0x459f35
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je fcn.004dae70
dec eax
ret

Function at 0x45a145
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x45a19d
mov rsi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x45a19d
mov rbx, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x45a19d
mov rsi, rax
mov r15d, 1
jmp 0x45a224
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x45a28c
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x45a28c
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x45a28c
mov rsi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x45a28c
mov rdi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x45a28c
mov rbx, qword [rsp + 0x20]
xor r15d, r15d
mov ecx, 0x20
mov edx, 8
call fcn.00403370
test rax, rax
je 0x45a2c6
mov r14, rax
mov qword [rax], r15
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
xor eax, eax
lock cmpxchg qword [0x00576060], r14
je 0x45a27d
mov rsi, rax
cmp qword [r14], 0
jne 0x45a26d
mov rcx, qword [r14 + 8]
call sub.kernel32.dll_CloseHandle
mov edx, 8
mov rcx, r14
call fcn.00403400
mov r14, rsi
mov rax, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
lea rcx, [rsp + 0x20]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 1
and qword [rcx], 0
lea rax, str.ntdll.dll
mov qword [rcx + 0x20], rax
and qword [rcx + 0x28], 0
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.10_src_thread_parker_windows_mod.rs
call fcn.0042f1d0
ud2
mov ecx, 0x20
mov edx, 8
call fcn.004043b0
ud2
Function at 0x45a6bb
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
call fcn.0045a791
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x45a6e7
mov rsi, rax
mov rax, qword [rax + 8]
test rax, rax
cmove rsi, rax
jne 0x45a776
call fcn.0045a791
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x45a774
mov rsi, rax
test rax, rax
jne 0x45a738
mov ecx, 0x40
mov edx, 8
call fcn.00403370
test rax, rax
je 0x45a780
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rax, [0x00502090]
mov qword [rsi + 0x38], rax
call fcn.0045a791
mov ecx, eax
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.0045a2f8
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm2
mov rax, qword [rdi + 0x30]
mov qword [rsi + 0x30], rax
cmp qword [rsi + 8], 0
movups xmmword [rsi], xmm0
je 0x45a776
lock dec qword [0x00576050]
jmp 0x45a776
xor esi, esi
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
mov ecx, 0x40
mov edx, 8
call fcn.004043b0
ud2

Function at 0x45a791
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x005020a8]
test eax, eax
je 0x45a79e
dec eax
ret
lea rcx, [0x00502090]
jmp fcn.004dae70

Function at 0x45af33
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x005020c8]
test eax, eax
je 0x45af40
dec eax
ret
lea rcx, [0x005020b0]
jmp fcn.004dae70
Function at 0x45af9e
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rdi, rcx
call fcn.0045af33
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x45afd0
mov rsi, rax
mov rax, qword [rax]
test rax, rax
cmove rsi, rax
jne 0x45b173
call fcn.0045af33
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x45b171
mov rsi, rax
test rax, rax
jne 0x45b027
mov ecx, 0x10
mov edx, 8
call fcn.00403370
test rax, rax
je 0x45b1e7
mov rsi, rax
and qword [rax], 0
lea rax, [0x005020b0]
mov qword [rsi + 8], rax
call fcn.0045af33
mov ecx, eax
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x45b043
mov rbx, qword [rdi]
and qword [rdi], 0
test rbx, rbx
jne 0x45b164
xor ecx, ecx
call fcn.0045b1f8
xorps xmm0, xmm0
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.0045dfa8
test rax, rax
jne 0x45b181
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
lea rbx, [rsp + 0x90]
lea r8, [0x0053d7d8]
mov rcx, rbx
mov rdx, rdi
call fcn.0045ddfb
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
movups xmmword [rbx + 0x18], xmm2
movups xmmword [rbx + 8], xmm1
movups xmmword [rbx - 8], xmm0
movups xmm0, xmmword [rbx - 0x10]
movaps xmmword [rdi], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [rdi + 0x10], xmm0
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rdi + 0x20], xmm0
mov rax, qword [rbx + 0x20]
mov qword [rdi + 0x30], rax
mov ecx, 0x170
mov edx, 0x10
call fcn.00403370
test rax, rax
je 0x45b1db
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rcx, rbx
add rcx, 0x10
mov r8d, 0x100
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rbx + 0x110], 0x40
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x118], xmm0
movups xmmword [rbx + 0x128], xmm1
movups xmmword [rbx + 0x138], xmm2
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x148], rax
mov eax, 0x10000
mov qword [rbx + 0x150], rax
mov qword [rbx + 0x158], rax
and qword [rbx + 0x160], 0
mov rcx, qword [rsi]
mov qword [rsi], rbx
call fcn.0045b1f8
jmp 0x45b173
xor esi, esi
mov rax, rsi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], rax
lea rax, [0x0052f5f0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rax], rdi
lea rdx, str.could_not_initialize_thread_rng:
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], rdx
mov edx, 1
mov qword [rcx + 0x18], rdx
and qword [rcx], 0
lea r8, [0x0045df5a]
mov qword [rax + 8], r8
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rdx
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.8.5_src_rngs_thread.rs
call fcn.0042f1d0
ud2
mov ecx, 0x170
mov edx, 0x10
jmp 0x45b1f1
mov ecx, 0x10
mov edx, 8
call fcn.004043b0
ud2
Function at 0x45dfa8
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov r12d, 0x20
xor esi, esi
mov r13d, 0xffffffff
test r12, r12
je 0x45e033
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x45dfc8
mov ebx, eax
mov rcx, r14
mov edx, r15d
call sub.advapi32.dll_SystemFunction036
test al, al
jne 0x45dfc8
xor ebx, 0x80000000
je 0x45e031
mov ecx, 4
mov edx, 4
call fcn.00403370
test rax, rax
je 0x45e046
mov rsi, rax
mov dword [rax], ebx
jmp 0x45e033
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.004043b0
ud2
Function at 0x49c48b
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x80], r8
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.004a662e
mov eax, dword [r14]
cmp eax, 2
je 0x49c6ad
test eax, eax
je 0x49c664
mov rax, qword [rsi + 0x40]
cmp rax, qword [rsi + 0x58]
jne 0x49c697
mov rdx, qword [rsp + 0xf0]
mov r15d, dword [rsp + 0x34]
mov r13, qword [rsp + 0x38]
mov rbx, r13
shr rbx, 0x20
cmp rdx, rbx
mov r8, rbx
cmovb r8, rdx
lea r9, [0x00536090]
mov rcx, r12
mov qword [rsp + 0x70], r8
call fcn.0049021f
cmp rdx, rbx
ja 0x49c70f
mov rbp, rdx
mov rbx, rax
mov r12, rdx
add r12, r15
mov eax, r13d
add rax, r12
mov rdx, qword [rsi + 0x58]
cmp rdx, rax
jae 0x49c548
lea rcx, [rsi + 0x48]
mov rdx, rax
call fcn.004a50a1
mov rdx, qword [rsi + 0x58]
mov rcx, qword [rsi + 0x50]
lea rax, [0x00536288]
mov qword [rsp + 0x20], rax
mov r8, r15
mov r9, r12
call fcn.004a76c3
lea rcx, [0x005362a0]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, rbx
mov r9, rbp
call fcn.00458324
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
lea r9, [0x005362b8]
mov r8, r15
call fcn.004a639b
mov r13, rax
mov rbp, rdx
xor eax, eax
test r13, r13
cmove ebp, eax
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
lea rax, [0x005362d0]
mov qword [rsp + 0x20], rax
mov r8, r15
mov r9, r12
call fcn.004a76c3
mov r15, rax
mov rbx, rdx
test rax, rax
mov eax, 0
cmove ebx, eax
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
lea r9, [0x005362e8]
mov r8, r12
call fcn.004a65ed
test rax, rax
mov ecx, 0
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], 7
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x78]
mov qword [r8], rax
mov qword [r8 + 8], r14
lea rcx, [rsi + 0x60]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
test eax, eax
je 0x49c670
mov r14d, eax
shl r14, 0x20
or r14, 2
jmp 0x49c6b2
movabs r14, 0x8009031700000002
jmp 0x49c6b2
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
cmp qword [rsi + 0x58], rax
jb 0x49c686
mov qword [rsi + 0x58], rax
and qword [rsi + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x1e0], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.004a75d2
cmp qword [rbx], 0
je 0x49c6fe
mov r14, qword [rsp + 0x38]
mov rcx, r14
call fcn.00457bb8
cmp al, 0xd
jne 0x49c6d7
mov qword [rdi], 2
and qword [rsi + 0x80], 0
mov rcx, r14
call fcn.0049b963
jmp 0x49c6ea
mov qword [rdi], 1
mov qword [rdi + 8], r14
and qword [rsi + 0x80], 0
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x1e0]
and qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x49c6e2
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, [0x00536270]
mov edx, 0x3e
call fcn.0042f210
ud2
Function at 0x49c729
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x90], r8
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.004a549f
mov eax, dword [r14]
cmp eax, 2
je 0x49c94b
test eax, eax
je 0x49c902
mov rax, qword [rsi + 0x40]
cmp rax, qword [rsi + 0x58]
jne 0x49c935
mov rdx, qword [rsp + 0xf0]
mov r15d, dword [rsp + 0x34]
mov r13, qword [rsp + 0x38]
mov rbx, r13
shr rbx, 0x20
cmp rdx, rbx
mov r8, rbx
cmovb r8, rdx
lea r9, [0x00536090]
mov rcx, r12
mov qword [rsp + 0x70], r8
call fcn.0049021f
cmp rdx, rbx
ja 0x49c9ad
mov rbp, rdx
mov rbx, rax
mov r12, rdx
add r12, r15
mov eax, r13d
add rax, r12
mov rdx, qword [rsi + 0x58]
cmp rdx, rax
jae 0x49c7e6
lea rcx, [rsi + 0x48]
mov rdx, rax
call fcn.004a50a1
mov rdx, qword [rsi + 0x58]
mov rcx, qword [rsi + 0x50]
lea rax, [0x00536288]
mov qword [rsp + 0x20], rax
mov r8, r15
mov r9, r12
call fcn.004a76c3
lea rcx, [0x005362a0]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, rbx
mov r9, rbp
call fcn.00458324
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
lea r9, [0x005362b8]
mov r8, r15
call fcn.004a639b
mov r13, rax
mov rbp, rdx
xor eax, eax
test r13, r13
cmove ebp, eax
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
lea rax, [0x005362d0]
mov qword [rsp + 0x20], rax
mov r8, r15
mov r9, r12
call fcn.004a76c3
mov r15, rax
mov rbx, rdx
test rax, rax
mov eax, 0
cmove ebx, eax
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
lea r9, [0x005362e8]
mov r8, r12
call fcn.004a65ed
test rax, rax
mov ecx, 0
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], 7
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x78]
mov qword [r8], rax
mov qword [r8 + 8], r14
lea rcx, [rsi + 0x60]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
test eax, eax
je 0x49c90e
mov r14d, eax
shl r14, 0x20
or r14, 2
jmp 0x49c950
movabs r14, 0x8009031700000002
jmp 0x49c950
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
cmp qword [rsi + 0x58], rax
jb 0x49c924
mov qword [rsi + 0x58], rax
and qword [rsi + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0xe0], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.004a6430
cmp qword [rbx], 0
je 0x49c99c
mov r14, qword [rsp + 0x38]
mov rcx, r14
call fcn.00457bb8
cmp al, 0xd
jne 0x49c975
mov qword [rdi], 2
and qword [rsi + 0x90], 0
mov rcx, r14
call fcn.0049b963
jmp 0x49c988
mov qword [rdi], 1
mov qword [rdi + 8], r14
and qword [rsi + 0x90], 0
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0xe0]
and qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x49c980
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, [0x00536270]
mov edx, 0x3e
call fcn.0042f210
ud2
Function at 0x4a33d6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x38], r8
mov rcx, r8
call fcn.004a3611
mov r15, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
lea rdi, [r14 + 0x10]
lea r12, [rsp + 0x72]
cmp qword [r14 + 8], 0xffffffffffffffff
lea rbp, [rsp + 0x32]
mov r13d, 0
cmovne r13, r14
mov eax, 0x7fffffff
cmp rdx, rax
cmovb rax, rdx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], r13
mov rdx, qword [r14 + 0x20]
lea rcx, [rsp + 0x68]
mov r8, rbx
xor r9d, r9d
call fcn.004ec685
mov al, byte [rsp + 0x71]
cmp al, 3
je 0x4a3566
mov rsi, qword [rsp + 0x68]
cmp al, 2
je 0x4a3588
mov cl, byte [rsp + 0x70]
movzx edx, word [r12 + 4]
mov word [rbp + 4], dx
mov edx, dword [r12]
mov dword [rbp], edx
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x30], cl
mov byte [rsp + 0x31], al
mov rcx, r13
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.40.0_src_io_poll_evented.rs
call fcn.004f21b5
mov rcx, qword [r13 + 8]
mov rdx, r15
mov r8, qword [rsp + 0x40]
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x4a356d
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x4a357b
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.00457bb8
cmp al, 0xd
jne 0x4a3540
mov rax, qword [r13]
test rax, rax
je 0x4a3540
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x10]
lock inc qword [rdx]
jle 0x4a35d3
mov r13, rbp
mov rbp, r15
add rcx, 0x10
mov r8, qword [rax]
mov r9b, byte [rax + 0x18]
call fcn.00457aa2
mov r15, rax
xor ecx, ecx
call fcn.00457bf8
test r15, r15
je 0x4a3535
mov ecx, 1
mov rdx, rsi
call fcn.00457c02
mov rsi, r15
mov r15, rbp
mov rbp, r13
mov r13, qword [rsp + 0x20]
mov rcx, rsi
call fcn.00457bb8
cmp al, 0xd
jne 0x4a3588
mov rcx, rdi
lea rdx, [rsp + 0x28]
call fcn.004ec8a5
mov rcx, rsi
call fcn.004f1be9
jmp 0x4a3444
mov ebx, 1
jmp 0x4a358a
cdqe
test rax, rax
je 0x4a357f
mov qword [rsp + 0x60], rax
jmp 0x4a3581
xor eax, eax
jmp 0x4a3581
jne 0x4a35d7
mov qword [rsp + 0x58], rax
xor esi, esi
xor ebx, ebx
test rbx, rbx
jne 0x4a35b9
test rsi, rsi
jne 0x4a35b9
lea rcx, [rsp + 0x48]
call fcn.004a3239
mov rdi, rax
xor esi, esi
xor ecx, ecx
xor edx, edx
call fcn.004a327b
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call fcn.004a362b
mov rax, rbx
mov rdx, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rax, [0x0053d1d0]
lea rcx, [rsp + 0x68]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 1
and qword [rcx], 0
lea rax, str.ntdll.dll
mov qword [rcx + 0x20], rax
and qword [rcx + 0x28], 0
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.40.0_src_io_poll_evented.rs
call fcn.0042f1d0
ud2
Function at 0x4a6047
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x20]
mov rcx, qword [rdx + 0x30]
mov rdx, qword [rdx + 0x38]
lea r9, [0x00536200]
call fcn.004a639b
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x60]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x4a611b
test eax, eax
je 0x4a6137
cmp eax, 0x90317
je 0x4a61a2
cmp eax, 0x90321
jne 0x4a61aa
mov dword [rdi + 0x108], 0x10000
xor ebx, ebx
mov byte [rdi + 0x10c], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x20]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.004a63d9
and qword [rdi + 0xd8], 0
mov byte [rsi + 1], bl
jmp 0x4a61b8
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xd8], rax
mov byte [rsi + 1], 0
jmp 0x4a61a6
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x38]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 8]
and qword [rdi + 0x18], 0
call fcn.004a63ac
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.0043238e
and qword [rdi], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x20]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.004a63d9
xor eax, eax
cmp qword [rdi + 0x20], rbx
sete al
mov qword [rdi + 0xd8], rax
mov byte [rsi + 1], 0
jmp 0x4a61b8
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x4a61b8
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret