joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c370
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 0x42c400
cmp r10, r11
jb 0x42c476
cmp r10, rdx
ja 0x42c48a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x42c402
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x42c3e0
jmp 0x42c464
ja 0x42c40a
mov r11, r10
cmp rax, r8
jne 0x42c3a4
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 0x42c440
mov rdi, r8
sub ecx, edx
jns 0x42c45b
jmp 0x42c466
cmp r8, rsi
je 0x42c49b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x42c466
xor al, 1
cmp rdi, rsi
jne 0x42c420
jmp 0x42c466
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.004294a0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.00428a50
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_90c541806f23a127002de5b4038be731ba1458calibrary_std_src_threadmod.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.00428e20
ud2

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

Disassembly:
push rsi
push rdi
sub rsp, 0x38
lea rcx, [0x00490018]
call fcn.0043ed02
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x42fb09
mov rdi, rax
cmp qword [rax], 0
je 0x42fb09
add rdi, 8
jmp 0x42fb86
lea rdi, [0x00490018]
mov rcx, rdi
call fcn.0043ed02
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x42fb84
mov rsi, rax
test rax, rax
jne 0x42fb59
mov ecx, 0x18
mov edx, 8
call fcn.004075d7
mov rsi, rax
and qword [rax], 0
mov qword [rax + 0x10], rdi
mov rcx, rdi
call fcn.0043ed02
mov ecx, eax
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
call fcn.0042f0dc
call fcn.0042f155
movups xmm0, xmmword [rsi]
lea rdi, [rsi + 8]
lea rcx, [rsp + 0x28]
movups xmmword [rcx], xmm0
mov qword [rsi], 1
mov qword [rsi + 8], rax
call fcn.0042f1ed
jmp 0x42fb86
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x437d3c
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 0x437d87
test rbx, rbx
je 0x437d75
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x437daa
movzx ecx, byte [rdi]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x437d87
sub rsp, 0x28
mov rax, rdx
lea rdx, [rsp + 0x20]
mov qword [rdx], rcx
mov r8d, 8
mov rcx, rax
call 0x437daa
nop
add rsp, 0x28
ret
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x437dd0
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x437dba
mov qword [rcx], rax
ret
Function at 0x437daa
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 0x437d87
test rbx, rbx
je 0x437d75
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x437daa
movzx ecx, byte [rdi]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x437d87
sub rsp, 0x28
mov rax, rdx
lea rdx, [rsp + 0x20]
mov qword [rdx], rcx
mov r8d, 8
mov rcx, rax
call 0x437daa
nop
add rsp, 0x28
ret
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x437dd0
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x437dba
mov qword [rcx], rax
ret

Function at 0x43e436
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [rsi + 0x20]
add rsp, 0x50
pop rsi
ret

Function at 0x43ed02
Capabilities:
Allocate thread local storage

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

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rcx, [0x00490158]
call fcn.0043ed02
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x4402a8
cmp qword [rax], 0
je 0x4402a8
add rax, 8
jmp 0x440324
lea rbx, [0x00490158]
mov rcx, rbx
call fcn.0043ed02
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x44030f
mov rdi, rax
test rax, rax
jne 0x4402f8
mov ecx, 0x18
mov edx, 8
call fcn.0043ed10
mov rdi, rax
and qword [rax], 0
mov qword [rax + 0x10], rbx
mov rcx, rbx
call fcn.0043ed02
mov ecx, eax
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x440313
mov rcx, qword [rsi]
and qword [rsi], 0
test rcx, rcx
je 0x440315
mov rcx, qword [rsi + 8]
jmp 0x440315
xor eax, eax
jmp 0x440324
xor ecx, ecx
lea rax, [rdi + 8]
mov qword [rdi], 1
mov qword [rdi + 8], rcx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x4427a1
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
lea rcx, [0x00490058]
call fcn.0043ed02
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x4427d3
cmp qword [rax], 0
je 0x4427d3
add rax, 8
jmp 0x442891
lea rbx, [0x00490058]
mov rcx, rbx
call fcn.0043ed02
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x44288f
mov rdi, rax
test rax, rax
jne 0x442827
mov ecx, 0x28
mov edx, 8
call fcn.0043ed10
mov rdi, rax
and qword [rax], 0
mov qword [rax + 0x20], rbx
mov rcx, rbx
call fcn.0043ed02
mov ecx, eax
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
test rsi, rsi
je 0x442859
mov rax, qword [rsi]
and qword [rsi], 0
test rax, rax
je 0x442859
mov r9, qword [rsi + 8]
mov r8b, byte [rsi + 0x10]
mov dl, byte [rsi + 0x11]
movzx eax, word [rsi + 0x16]
mov word [rsp + 0x2c], ax
mov eax, dword [rsi + 0x12]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsi + 0x18]
jmp 0x442863
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
mov qword [rdi], 1
lea rax, [rdi + 8]
mov qword [rdi + 8], r9
mov byte [rdi + 0x10], r8b
mov byte [rdi + 0x11], dl
mov edx, dword [rsp + 0x28]
mov dword [rdi + 0x12], edx
movzx edx, word [rsp + 0x2c]
mov word [rdi + 0x16], dx
mov qword [rdi + 0x18], rcx
jmp 0x442891
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x447020
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 0x44707b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x44707b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x447096
cmp eax, 0x42
jne 0x44707b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x447146
cmp byte [r9 + r11], 0x5f
jne 0x447146
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x4471ae
mov rcx, rsi
xor edx, edx
call fcn.00442ab0
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.00442ab0
test al, al
jne 0x447241
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x4470d2
lea rdx, [0x0049da13]
mov r8d, 1
call fcn.00428ae0
test al, al
jne 0x447241
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x44708a
xor r14d, r14d
lea rbx, [0x0049ddee]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x447104
cmp byte [rax + rcx], 0x45
je 0x447263
sub r14, 1
jb 0x447129
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x447129
mov r8d, 2
mov rdx, rbx
call fcn.00428ae0
test al, al
jne 0x447241
mov rcx, rsi
call fcn.00447280
test al, al
jne 0x447241
mov rax, qword [rsi]
test rax, rax
jne 0x4470f0
jmp 0x44708a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x447208
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x4471a2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x44718c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x44717b
add dl, 0xa9
jmp 0x44718a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x447208
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x447208
movzx edx, bl
add rax, rdx
jae 0x447150
jmp 0x447208
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x447208
cmp rax, rcx
jae 0x447205
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x44725b
cmp qword [rsi + 0x20], 0
je 0x44726f
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.00447020
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x44708c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x447249
lea rax, [0x0049ddb9]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.00428ae0
test al, al
je 0x447249
mov dil, 2
jmp 0x44708a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x44708a
mov dil, 1
xor r8d, r8d
jmp 0x44720a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x44708a
xor edi, edi
jmp 0x44708a
Function at 0x44b3f0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x44b41c
xor eax, eax
jmp 0x44b421
call fcn.0043d6c4
nop
add rsp, 0x38
ret

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x00490130]
test ecx, ecx
je 0x44c861
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x44c7c3
mov rdi, rax
cmp qword [rax], 0
je 0x44c7c3
add rdi, 8
jmp 0x44c857
mov ecx, dword [0x00490130]
test ecx, ecx
je 0x44c874
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x44c855
mov rsi, rax
test rax, rax
jne 0x44c827
mov ecx, 0x20
mov edx, 8
call fcn.004242f0
test rax, rax
je 0x44c897
mov rsi, rax
mov qword [rax], 0
lea rax, [0x00490118]
mov qword [rsi + 0x18], rax
mov ecx, dword [0x00490130]
test ecx, ecx
je 0x44c887
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 8]
cmp qword [rsi], 0
mov rcx, qword [rsi + 0x10]
mov qword [rsi], 1
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
je 0x44c857
test rcx, rcx
je 0x44c857
lock dec qword [rcx]
jne 0x44c857
call fcn.0044c8d0
jmp 0x44c857
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x00490118]
call fcn.0044ce90
mov ecx, eax
jmp 0x44c7a6
lea rcx, [0x00490118]
call fcn.0044ce90
mov ecx, eax
jmp 0x44c7d3
lea rcx, [0x00490118]
call fcn.0044ce90
mov ecx, eax
jmp 0x44c81f
mov ecx, 0x20
mov edx, 8
call fcn.00425ea0
ud2
Function at 0x44ce90
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x44cf0e
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 0x44cf4f
cmp dword [rsp + 0x2c], 0
je 0x44cf33
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x44cf77
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x004b4158]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x004b4158], rsi
jne 0x44cef0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x44cf45
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x44cfcd
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x44cf38
mov edi, dword [rsp + 0x28]
jmp 0x44cf45
mov edi, dword [rsi + 0x18]
jmp 0x44cf43
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 + 0x40], 0
lea rdx, [0x004a1638]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.0044d040
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 + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x30], 0
lea rax, str._rustc_90c541806f23a127002de5b4038be731ba1458calibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_release_store
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.00428040
ud2
mov qword [rsp + 0x30], 0
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
lea rax, str._rustc_90c541806f23a127002de5b4038be731ba1458calibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_release_store
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.0044d0a0
ud2
Function at 0x44d270
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x44d4b3
mov byte [rsp + 0x37], 0
mov rax, qword [0x004b40c8]
cmp rax, 3
jne 0x44d44b
cmp byte [rsp + 0x37], 0
jne 0x44d460
mov ecx, dword [0x004900d8]
test ecx, ecx
je 0x44d47a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x44d2cd
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x44d362
mov ecx, dword [0x004900d8]
test ecx, ecx
je 0x44d48d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x44d31b
mov rsi, rax
cmp rax, 1
jne 0x44d35c
lea rax, [0x0049f588]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_90c541806f23a127002de5b4038be731ba1458calibrary_std_src_threadlocal.rs
lea r9, [0x0049e920]
lea r8, [rsp + 0x38]
mov edx, 0x46
call fcn.00429a50
ud2
mov ecx, 0x10
mov edx, 8
call fcn.004242f0
test rax, rax
je 0x44d4f8
mov rsi, rax
lea rax, [0x004900c0]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x004900d8]
test ecx, ecx
je 0x44d4a0
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
mov rax, qword [0x004b4090]
cmp rax, rsi
jne 0x44d396
mov eax, dword [0x004b40c0]
inc eax
jne 0x44d3b6
lea rcx, str.lock_count_overflow_in_reentrant_mutexlibrary_std_src_sync_remutex.rs
lea r8, [0x004a0068]
mov edx, 0x26
call fcn.0042aaa0
ud2
lea rcx, [0x004b4088]
call sub.KERNEL32.dll_TryAcquireSRWLockExclusive
test al, al
je 0x44d460
mov qword [0x004b4090], rsi
mov eax, 1
mov dword [0x004b40c0], eax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov word [rsp + 0x5c], 0
cmp qword [0x004b4098], 0
jne 0x44d4cd
mov qword [0x004b4098], 0xffffffffffffffff
lea rcx, [0x004b40a0]
call fcn.0044d5f0
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [0x004b40b0], xmm1
movups xmmword [0x004b40a0], xmm0
inc qword [0x004b4098]
dec dword [0x004b40c0]
jne 0x44d460
mov qword [0x004b4090], 0
lea rcx, [0x004b4088]
call fcn.0048de60
jmp 0x44d460
lea rcx, [rsp + 0x37]
call fcn.0044d560
cmp byte [rsp + 0x37], 0
je 0x44d2a5
mov rax, qword [0x004b4130]
cmp rax, 3
jne 0x44d473
call qword [0x004b4138]
nop
add rsp, 0x60
pop rsi
ret
lea rcx, [0x004900c0]
call fcn.0044ce90
mov ecx, eax
jmp 0x44d2b5
lea rcx, [0x004900c0]
call fcn.0044ce90
mov ecx, eax
jmp 0x44d2dd
lea rcx, [0x004900c0]
call fcn.0044ce90
mov ecx, eax
jmp 0x44d354
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_90c541806f23a127002de5b4038be731ba1458calibrary_std_src_threadmod.rs
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call fcn.00428e20
ud2
lea rax, str.library_std_srcio_stdio.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x004a2baa]
lea r9, [0x0049e940]
lea r8, [rsp + 0x38]
mov edx, 0x10
call fcn.00429a50
ud2
mov ecx, 0x10
mov edx, 8
call fcn.00425ea0
ud2
Function at 0x44e890
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x00490150]
test ecx, ecx
je 0x44e939
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x44e8bc
cmp qword [rax], 0
je 0x44e8bc
add rax, 8
jmp 0x44e933
mov ecx, dword [0x00490150]
test ecx, ecx
je 0x44e94c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x44e931
mov rsi, rax
test rax, rax
jne 0x44e91c
mov ecx, 0x18
mov edx, 8
call fcn.004242f0
test rax, rax
je 0x44e96f
mov rsi, rax
mov qword [rax], 0
lea rax, [0x00490138]
mov qword [rsi + 0x10], rax
mov ecx, dword [0x00490150]
test ecx, ecx
je 0x44e95f
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rax, [rsi + 8]
mov qword [rsi], 1
mov qword [rsi + 8], 0
jmp 0x44e933
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x00490138]
call fcn.0044ce90
mov ecx, eax
jmp 0x44e8a5
lea rcx, [0x00490138]
call fcn.0044ce90
mov ecx, eax
jmp 0x44e8cc
lea rcx, [0x00490138]
call fcn.0044ce90
mov ecx, eax
jmp 0x44e914
mov ecx, 0x18
mov edx, 8
call fcn.00425ea0
ud2
Function at 0x4519d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x451a00
test ecx, ecx
jne 0x451a50
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x451a0c
test ecx, ecx
jne 0x451a50
mov rcx, rdi
call fcn.004518b0
movzx eax, al
test bpl, bpl
jne 0x451a57
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x451a43.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x00451bc8]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x451a43.2
xor eax, eax
test bpl, bpl
je 0x451a1c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x451ba9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x451a8a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x451b09
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x451ad0
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x451aeb
inc rax
dec rdi
cmp rax, 1
jne 0x451ab0
jmp 0x451b09
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x451aeb
cmp ebx, 0x5c
je 0x451aeb
inc rax
dec rdi
cmp rax, 1
jne 0x451ad0
jmp 0x451b09
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x451bb7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x451b33
mov al, 9
cmp rdx, 2
je 0x451b37
cmp rdx, 1
jne 0x451b47
cmp byte [r8], 0x2e
jne 0x451b47
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x451b47
mov al, 0xa
jmp 0x451b47
cmp byte [r8], 0x2e
jne 0x451b47
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x451a43.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x451a43.2
mov ecx, 2
jmp case.0x451a43.2
lea r8, [0x0049fde0]
call fcn.004289c0
ud2
lea r8, [0x0049fdf8]
call fcn.004289c0
ud2
Function at 0x451e50
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rax, r8
mov rdi, rcx
mov dword [rsp + 0x60], 0
mov word [rsp + 0x64], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
movaps xmm0, xmmword [0x00491270]
movups xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x60], 1
lea r8, [rsp + 0x40]
mov rcx, rdx
mov rdx, rax
call fcn.00469fd0
mov rsi, rdx
test rax, rax
je 0x451ef9
mov eax, esi
and eax, 3
cmp eax, 1
jne 0x451eed
mov rbx, rsi
dec rbx
mov rcx, qword [rsi - 1]
mov rax, qword [rsi + 7]
call qword [rax]
mov rax, qword [rsi + 7]
cmp qword [rax + 8], 0
je 0x451ee0
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbx]
call fcn.00424380
mov edx, 8
mov rcx, rbx
call fcn.00424380
mov qword [rdi], 0
jmp 0x452050
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.0046a1e0
cmp dword [rsp + 0x40], 2
jne 0x451f6e
mov r14, qword [rsp + 0x48]
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x451f4f
lea rbx, [r14 - 1]
mov rcx, qword [r14 - 1]
mov rax, qword [r14 + 7]
call qword [rax]
mov rax, qword [r14 + 7]
cmp qword [rax + 8], 0
je 0x451f42
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbx]
call fcn.00424380
mov edx, 8
mov rcx, rbx
call fcn.00424380
mov qword [rdi], 0
mov rcx, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.KERNEL32.dll_CloseHandle
mov r12, qword [rsp + 0x68]
test rsi, rsi
je 0x451fc0
mov qword [rsp + 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, rax
mov rdx, rsi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x45203c
mov rbx, qword [rsp + 0x40]
jmp 0x451fc2
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 0x45202b
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 0x45202b
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi], 1
jmp 0x452048
mov qword [rdi], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x452048
call sub.KERNEL32.dll_GetLastError
mov qword [rdi], 0
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x46ef10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x004900b8]
test ecx, ecx
je 0x46efe2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x46ef43
mov rdi, rax
cmp qword [rax], 0
je 0x46ef43
add rdi, 8
jmp 0x46efd8
mov ecx, dword [0x004900b8]
test ecx, ecx
je 0x46eff5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x46efd6
mov rsi, rax
test rax, rax
jne 0x46efa7
mov ecx, 0x18
mov edx, 8
call fcn.004242f0
test rax, rax
je 0x46f018
mov rsi, rax
mov qword [rax], 0
lea rax, [0x004900a0]
mov qword [rsi + 0x10], rax
mov ecx, dword [0x004900b8]
test ecx, ecx
je 0x46f008
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 8]
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 1
mov qword [rsi + 8], 0
je 0x46efd8
test rcx, rcx
je 0x46efd8
lock dec qword [rcx]
jne 0x46efd8
call fcn.0046f040
jmp 0x46efd8
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x004900a0]
call fcn.0044ce90
mov ecx, eax
jmp 0x46ef26
lea rcx, [0x004900a0]
call fcn.0044ce90
mov ecx, eax
jmp 0x46ef53
lea rcx, [0x004900a0]
call fcn.0044ce90
mov ecx, eax
jmp 0x46ef9f
mov ecx, 0x18
mov edx, 8
call fcn.00425ea0
ud2