joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3afc923d0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x3afc9241d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x3afc92414
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x3afc9241f
add rax, 0x28
cmp rax, r9
jne 0x3afc92400
xor eax, eax
ret

Function at 0x3afc92420
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x3afc924b0
mov rdx, qword [0x3afcad8b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x3afc9249e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x3afc9249e
cmp word [rax + 0x18], 0x20b
jne 0x3afc9249e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x3afc924b0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x3afc92489
add rbx, 0x28
cmp rbx, rdi
je 0x3afc924b0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x3afc92480
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x3afc924c0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x3afc92540
Capabilities:
Parse pe header

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

Function at 0x3afc92580
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x3afcad8b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x3afc925a0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x3afc925a8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x3afc925a0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x3afc925f0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x3afc925e7
test rcx, rcx
je 0x3afc925a0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x3afc925d8
xor eax, eax
ret
Function at 0x3afc92600
Capabilities:
Parse pe header

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

Function at 0x3afc92640
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x3afcad8b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x3afc92660
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x3afc92668
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3afc92660
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x3afc92660
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x3afc926b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x3afc926c0
add rdx, 0x28
cmp r9, rdx
jne 0x3afc926a0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x3afc926d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x3afcad8b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x3afc926f2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x3afc92700
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3afc926f2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x3afc926f2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x3afc926f2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x3afc92755
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x3afc92768
add rdx, 0x28
cmp rdx, r10
jne 0x3afc92740
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x3afc92777
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x3afc92787
mov edx, dword [rax + 0xc]
test edx, edx
je 0x3afc9275e
test ecx, ecx
jg 0x3afc92770
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14072e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14072e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14072e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14072e06f
add dl, dl
jne 0x14072e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14072e0f6
xor eax, eax
add dl, dl
jne 0x14072e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14072e1ad
add dl, dl
jne 0x14072e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14072e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14072e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14072e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14072e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14072e07e
mov eax, 1
add dl, dl
jne 0x14072e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14072e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14072e0fb
sub eax, ebx
mov ebx, 1
jne 0x14072e14c
mov ecx, 1
add dl, dl
jne 0x14072e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14072e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14072e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14072e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14072e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14072e15d
cmp eax, 0x7d00
jae 0x14072e19b
cmp eax, 0x500
jb 0x14072e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072e07e
cmp eax, 0x7f
ja 0x14072e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14072e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14072e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14072e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x412290
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 0x412320
cmp r11, r10
ja 0x412396
cmp r10, rdx
ja 0x4123aa
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x412322
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x412300
jmp 0x412384
ja 0x41232a
mov r11, r10
cmp rax, r8
jne 0x4122c4
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 0x412360
mov rdi, r8
sub ecx, edx
jns 0x41237b
jmp 0x412386
cmp r8, rsi
je 0x4123bb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x412386
xor al, 1
cmp rdi, rsi
jne 0x412340
jmp 0x412386
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.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.0040f290
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.0040e5b0
ud2
lea rcx, [0x004a25fe]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.0040e950
ud2
Function at 0x417600
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x004ac030]
cmp rax, 3
jne 0x417713
movzx ebp, word [rbx]
test bp, bp
mov eax, 2
mov ecx, 0x17
cmove ecx, eax
mov edx, 1
xor r8d, r8d
call sub.WS2_32.dll_socket
cmp rax, 0xffffffffffffffff
je 0x417666
mov rdi, rax
mov dword [rsp + 0x38], 1
lea r8, [rsp + 0x38]
mov rcx, rax
mov edx, 0x8004667e
call sub.WS2_32.dll_ioctlsocket
test eax, eax
je 0x417683
call fcn.0049068c
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 0xffffffffffffffff
jmp 0x41770a
test bp, bp
je 0x4176a7
movups xmm0, xmmword [rbx + 4]
movzx eax, word [rbx + 0x1c]
rol ax, 8
mov ecx, dword [rbx + 0x18]
add rbx, 0x14
mov r8d, 0x1c
mov dx, 0x17
jmp 0x4176c0
movzx eax, word [rbx + 6]
rol ax, 8
add rbx, 2
mov r8d, 0x10
mov dx, 2
xorps xmm0, xmm0
mov r9d, dword [rbx]
mov word [rsp + 0x38], dx
mov word [rsp + 0x3a], ax
mov dword [rsp + 0x3c], r9d
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], ecx
lea rdx, [rsp + 0x38]
mov rcx, rdi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x4176ff
call fcn.0049068c
mov ebx, eax
mov ecx, eax
call fcn.00448c30
cmp al, 0xd
jne 0x41774d
mov qword [rsi], rdi
mov qword [rsi + 8], 0
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov byte [rsp + 0x37], 1
lea rax, [rsp + 0x37]
mov qword [rsp + 0x38], rax
lea rax, str._home_codespace_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_0.8.5_src_sys_windows_net.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x004ac030]
lea r9, [0x00498908]
lea r8, [rsp + 0x38]
xor edx, edx
call fcn.00444f80
jmp 0x41761f
shl rbx, 0x20
or rbx, 2
mov qword [rsi + 8], rbx
mov qword [rsi], 0xffffffffffffffff
mov rcx, rdi
call fcn.0049080c
jmp 0x41770a
Function at 0x41c6c0
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x41c729
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x41c729
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x41c729
mov rbx, rax
xor edi, edi
movzx eax, byte [0x004ac1c8]
mov rcx, qword [0x004ac108]
test rcx, rcx
jne 0x41c7d8
jmp 0x41c7c4
lea rcx, str.ntdll.dll
call sub.KERNEL32.dll_GetModuleHandleA
test rax, rax
je 0x41c838
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x41c838
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x41c838
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x41c838
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x41c838
mov rbx, qword [rsp + 0x20]
movzx eax, byte [0x004ac1c8]
mov rcx, qword [0x004ac108]
test rcx, rcx
jne 0x41c7d8
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x41c83f
mov rcx, rax
mov qword [0x004ac108], rax
mov r8d, 0x18
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x41c83f
mov r14, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rbx
xor eax, eax
lock cmpxchg qword [0x004ac050], r14
je 0x41c82b
mov rsi, rax
cmp qword [r14], 0
je 0x41c817
mov rcx, qword [r14 + 0x10]
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [0x004ac108]
xor edx, edx
mov r8, r14
call fcn.0049062c
mov r14, rsi
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.0041cf00
ud2
mov ecx, 8
mov edx, 0x18
call fcn.0040cdc0
ud2
Function at 0x41cd80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x60
mov ecx, dword [0x00493028]
test ecx, ecx
je 0x41ce90
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x41cdb8
mov rsi, rax
add rsi, 8
mov rax, qword [rax + 8]
test rax, rax
cmove rsi, rax
jne 0x41ced1
mov ecx, dword [0x00493028]
test ecx, ecx
je 0x41ceb2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x41cecf
mov rsi, rax
test rax, rax
jne 0x41ce4d
movzx eax, byte [0x004ac1c8]
mov rcx, qword [0x004ac108]
test rcx, rcx
jne 0x41ce0a
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x41ceed
mov rcx, rax
mov qword [0x004ac108], rax
mov r8d, 0x40
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x41ceed
mov rsi, rax
lea rax, [0x00493010]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x00493028]
test ecx, ecx
je 0x41ceda
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rcx, [rsp + 0x28]
call fcn.0041c850
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmm2, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 0x28], xmm2
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x38], rax
cmp qword [rsi + 8], 0
movups xmmword [rsi + 8], xmm0
je 0x41ce8a
lock dec qword [0x004ac040]
add rsi, 8
jmp 0x41ced1
lea rcx, [0x00493010]
call fcn.00445af0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x41cda0
jmp 0x41cdb8
lea rcx, [0x00493010]
call fcn.00445af0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x41cdd7
xor esi, esi
mov rax, rsi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x00493010]
call fcn.00445af0
mov ecx, eax
jmp 0x41ce45
mov ecx, 8
mov edx, 0x40
call fcn.0040cdc0
ud2

Function at 0x434df0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp byte [rcx + 0x60], 0
je 0x434e62
mov rsi, rcx
mov rdi, qword [rcx + 0x30]
mov rcx, rdi
mov edx, 1
call sub.KERNEL32.dll_TerminateProcess
test eax, eax
je 0x434e1a
mov byte [rsi + 0x60], 0
jmp 0x434e62
call fcn.0049068c
cmp eax, 5
jne 0x434e62
mov rcx, rdi
xor edx, edx
call sub.KERNEL32.dll_WaitForSingleObject
test eax, eax
je 0x434e44
cmp eax, 0x102
je 0x434e14
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.0049068c
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov rcx, rdi
call sub.KERNEL32.dll_GetExitCodeProcess
test eax, eax
jne 0x434e14
call fcn.0049068c
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x440c20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.0040e140
cmp rax, rcx
je 0x440c45
cmp rdx, 4
jae 0x440c48
xor eax, eax
xor r8d, r8d
jmp 0x440ce0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x00494cd0]
movdqa xmm3, xmmword [0x00494ce0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x440c70
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x440cf7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x440ce0
ret
Function at 0x441c90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x441ceb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x441ceb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x441d06
cmp eax, 0x42
jne 0x441ceb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x441db6
cmp byte [r9 + r11], 0x5f
jne 0x441db6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x441e1e
mov rcx, rsi
xor edx, edx
call fcn.0043d3d0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.0043d3d0
test al, al
jne 0x441eb1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x441d42
lea rdx, [0x0049acb3]
mov r8d, 1
call fcn.0040e630
test al, al
jne 0x441eb1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x441cfa
xor r14d, r14d
lea rbx, [0x0049b068]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x441d74
cmp byte [rax + rcx], 0x45
je 0x441eda
sub r14, 1
jb 0x441d99
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x441d99
mov r8d, 2
mov rdx, rbx
call fcn.0040e630
test al, al
jne 0x441eb1
mov rcx, rsi
call case.0x43e6f3.265
test al, al
jne 0x441eb1
mov rax, qword [rsi]
test rax, rax
jne 0x441d60
jmp 0x441cfa
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x441e78
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x441e12
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x441dfc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x441deb
add dl, 0xa9
jmp 0x441dfa
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x441e78
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x441e78
movzx edx, bl
add rax, rdx
jae 0x441dc0
jmp 0x441e78
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x441e78
cmp rax, rcx
jae 0x441e75
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x441eb9
cmp qword [rsi + 0x20], 0
je 0x441ed3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.00441c90
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x441cfc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x441ec8
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x0049b028]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.0040e630
test al, al
je 0x441ec8
mov dil, 2
jmp 0x441cfa
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x441e83
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x441cfa
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x441cfa
Function at 0x445710
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov ecx, dword [0x00493098]
test ecx, ecx
je 0x445740
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x445759
mov rdi, rax
cmp qword [rax + 8], 0
je 0x445759
add rdi, 0x10
jmp 0x44584e
lea rcx, [0x00493080]
call fcn.00445af0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x44572d
mov ecx, dword [0x00493098]
test ecx, ecx
je 0x44582f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x44584c
mov rsi, rax
test rax, rax
jne 0x4457fe
mov qword [rsp + 0x28], 0
lea rax, [0x00493080]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x004ac1c8]
mov rcx, qword [0x004ac108]
test rcx, rcx
jne 0x4457c0
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x445868
mov rcx, rax
mov qword [0x004ac108], rax
mov r8d, 0x18
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x445868
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 [0x00493098]
test ecx, ecx
je 0x445858
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 0x44584e
test rcx, rcx
je 0x44584e
lock dec qword [rcx]
jne 0x44584e
call fcn.004458b0
jmp 0x44584e
lea rcx, [0x00493080]
call fcn.00445af0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x445778
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x00493080]
call fcn.00445af0
mov ecx, eax
jmp 0x4457f6
mov ecx, 8
mov edx, 0x18
call fcn.0040cdc0
ud2
Function at 0x445af0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x445b75
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x445bb6
cmp dword [rsp + 0x2c], 0
je 0x445b9a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x445bde
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x004ac140]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x004ac140], rsi
jne 0x445b50
mov byte [0x004ac138], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x445bac
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x445c2a
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x445b9f
mov edi, dword [rsp + 0x28]
jmp 0x445bac
mov edi, dword [rsi + 0x18]
jmp 0x445baa
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rdx, [0x0049e5f0]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.00445c90
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._home_codespace_.cargo_registry_src_index.crates.io_6f17d22bba15001f_utfx_0.1.0_src_ucstr.rs
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.0040dbf0
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._home_codespace_.cargo_registry_src_index.crates.io_6f17d22bba15001f_utfx_0.1.0_src_ucstr.rs
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.00445cd0
ud2