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

Disassembly:
push rsi
sub rsp, 0x40
mov rax, rdx
movabs r9, 0x100000001b3
mov edx, 0x811c9dc5
xor r10d, r10d
movzx r11d, byte [rax + r10]
xor rdx, r11
imul rdx, r9
inc r10
cmp r8, r10
jne 0x140001c6a
xor rdx, 0xff
imul rdx, r9
call fcn.14000c883
test rax, rax
je 0x140001ce9
mov rcx, qword [rax + 0x20]
mov rax, qword [rax + 0x30]
add rcx, 0xffffffffffffffe8
shl rax, 3
lea rdx, [rax + rax*2]
xor eax, eax
test rdx, rdx
je 0x140001ceb
lea r8, [rcx + 0x18]
add rdx, 0xffffffffffffffe8
cmp qword [rcx + 0x28], 0
mov rcx, r8
je 0x140001ca9
mov rax, qword [r8]
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.140036d60
cmp qword [rsi], 0
jne 0x140001cf1
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
jmp 0x140001ceb
xor eax, eax
add rsp, 0x40
pop rsi
ret
lea rcx, str.unexpected_invalid_UTF_8_code_point_home_user_.cargo_registry_src_index.crates.io_6f17d22bba15001f_clap_3.1.0_src_parse_matches_matched_arg.rs
lea r8, str._home_user_.cargo_registry_src_index.crates.io_6f17d22bba15001f_clap_3.1.0_src_parse_matches_arg_matches.rs
mov edx, 0x23
call fcn.1400393a0
ud2
Function at 0x14000b08b
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs r9, 0x100000001b3
mov eax, 0x811c9dc5
xor r10d, r10d
movzx r11d, byte [rdx + r10]
xor rax, r11
imul rax, r9
inc r10
cmp r8, r10
jne 0x14000b09d
xor rax, 0xff
imul rax, r9
xor r9d, r9d
mov qword [rcx], r9
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x20], r9
mov qword [rcx + 0x30], r9
mov qword [rcx + 0x40], r9
mov qword [rcx + 0x50], r9
mov qword [rcx + 0x68], r9
mov qword [rcx + 0x78], rdx
mov qword [rcx + 0x80], r8
mov edx, 8
mov qword [rcx + 0x88], rdx
xorps xmm0, xmm0
movups xmmword [rcx + 0x90], xmm0
mov qword [rcx + 0xa0], rdx
movups xmmword [rcx + 0xa8], xmm0
mov qword [rcx + 0xb8], rdx
movups xmmword [rcx + 0xc0], xmm0
mov qword [rcx + 0xd0], rdx
movups xmmword [rcx + 0xd8], xmm0
mov qword [rcx + 0xe8], rdx
movups xmmword [rcx + 0xf0], xmm0
mov qword [rcx + 0x100], rdx
movups xmmword [rcx + 0x108], xmm0
mov qword [rcx + 0x118], rdx
movups xmmword [rcx + 0x120], xmm0
mov qword [rcx + 0x130], rdx
movups xmmword [rcx + 0x138], xmm0
mov qword [rcx + 0x148], rdx
movups xmmword [rcx + 0x150], xmm0
mov qword [rcx + 0x160], 4
movups xmmword [rcx + 0x168], xmm0
mov qword [rcx + 0x178], rdx
movups xmmword [rcx + 0x180], xmm0
mov qword [rcx + 0x190], rdx
movups xmmword [rcx + 0x198], xmm0
mov qword [rcx + 0x1a8], rdx
movups xmmword [rcx + 0x1b0], xmm0
mov qword [rcx + 0x1c0], rdx
movups xmmword [rcx + 0x1c8], xmm0
mov qword [rcx + 0x1d8], rdx
movups xmmword [rcx + 0x1e0], xmm0
mov qword [rcx + 0x1f0], rax
mov qword [rcx + 0x1f8], r9
mov qword [rcx + 0x208], r9
mov qword [rcx + 0x218], r9
mov qword [rcx + 0x228], r9
mov qword [rcx + 0x238], r9
mov qword [rcx + 0x248], r9
movabs rax, 0x11000000110000
mov qword [rcx + 0x258], rax
mov dword [rcx + 0x260], 0
mov word [rcx + 0x264], 2
ret
Function at 0x14000ca67
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14000ca9d
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14000caa5
mov esi, dword [rdx]
mov r9d, 4
jmp 0x14000caaa
xor r10d, r10d
jmp 0x14000cb58
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14000cacd
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14000cae4
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14000cb04
add r11, r8
jmp 0x14000cc28
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14000cbcc
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14000cb7a
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14000cbde
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x14000cbe4
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14000cc0a
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 0x14000cc24
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003ade0
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 0x14003ae70
cmp r11, r10
ja 0x14003aee6
cmp r10, rdx
ja 0x14003aefa
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14003ae72
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14003ae50
jmp 0x14003aed4
ja 0x14003ae7a
mov r11, r10
cmp rax, r8
jne 0x14003ae14
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 0x14003aeb0
mov rdi, r8
sub ecx, edx
jns 0x14003aecb
jmp 0x14003aed6
cmp r8, rsi
je 0x14003af0b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14003aed6
xor al, 1
cmp rdi, rsi
jne 0x14003ae90
jmp 0x14003aed6
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.140036af0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400360b0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_home_user_.cargo_registry_src_index.crates.io_6f17d22bba15001f_winapi_util_0.1.5_src_win.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140036450
ud2

Function at 0x140045990
Capabilities:
Encode data using xor

Disassembly:
sub rdx, rcx
cmp rdx, 0x20
jb fcn.14003b290
jmp fcn.140035a30
Function at 0x140046910
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 0x14004696b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14004696b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x140046986
cmp eax, 0x42
jne 0x14004696b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140046a36
cmp byte [r9 + r11], 0x5f
jne 0x140046a36
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140046a9e
mov rcx, rsi
xor edx, edx
call fcn.140042400
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.140042400
test al, al
jne 0x140046b31
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400469c2
lea rdx, [0x140087aab]
mov r8d, 1
call fcn.140036130
test al, al
jne 0x140046b31
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14004697a
xor r14d, r14d
lea rbx, [0x140087e60]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1400469f4
cmp byte [rax + rcx], 0x45
je 0x140046b53
sub r14, 1
jb 0x140046a19
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140046a19
mov r8d, 2
mov rdx, rbx
call fcn.140036130
test al, al
jne 0x140046b31
mov rcx, rsi
call fcn.140043c00
test al, al
jne 0x140046b31
mov rax, qword [rsi]
test rax, rax
jne 0x1400469e0
jmp 0x14004697a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140046af8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140046a92
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140046a7c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140046a6b
add dl, 0xa9
jmp 0x140046a7a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140046af8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140046af8
movzx edx, bl
add rax, rdx
jae 0x140046a40
jmp 0x140046af8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140046af8
cmp rax, rcx
jae 0x140046af5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140046b4b
cmp qword [rsi + 0x20], 0
je 0x140046b44
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.140046910
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14004697c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140046b39
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x140087e20]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140036130
test al, al
je 0x140046b39
mov dil, 2
jmp 0x14004697a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14004697a
mov dil, 1
xor r8d, r8d
jmp 0x140046afa
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14004697a
Function at 0x140049f40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov ecx, dword [0x14007c070]
test ecx, ecx
je 0x14004a034
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140049f74
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140049f74
add rdi, 0x10
jmp 0x14004a02a
mov ecx, dword [0x14007c070]
test ecx, ecx
je 0x14004a047
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14004a028
mov rsi, rax
test rax, rax
jne 0x140049ff7
mov qword [rsp + 0x28], 0
lea rax, [0x14007c058]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x1400951f8]
mov ecx, 0x18
mov edx, 8
call fcn.140006dd0
test rax, rax
je 0x14004a06a
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 [0x14007c070]
test ecx, ecx
je 0x14004a05a
dec ecx
mov rdx, rsi
call fcn.14007981c
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 0x14004a02a
test rcx, rcx
je 0x14004a02a
lock dec qword [rcx]
jne 0x14004a02a
call fcn.14004a0c0
jmp 0x14004a02a
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x14007c058]
call fcn.14004a300
mov ecx, eax
jmp 0x140049f56
lea rcx, [0x14007c058]
call fcn.14004a300
mov ecx, eax
jmp 0x140049f84
lea rcx, [0x14007c058]
call fcn.14004a300
mov ecx, eax
jmp 0x140049fef
mov ecx, 8
mov edx, 0x18
call fcn.1400072b0
ud2
Function at 0x14004a300
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x14004a385
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 0x14004a3c6
cmp dword [rsp + 0x2c], 0
je 0x14004a3aa
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14004a3ee
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x140095170]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140095170], rsi
jne 0x14004a360
mov byte [0x140095168], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14004a3bc
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14004a43a
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14004a3af
mov edi, dword [rsp + 0x28]
jmp 0x14004a3bc
mov edi, dword [rsi + 0x18]
jmp 0x14004a3ba
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, [0x14008ade0]
lea r9, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x28]
lea r8, [rsp + 0x30]
call fcn.14004a4a0
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, [0x14008be08]
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.1400352b0
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x14008be08]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.14004a4e0
ud2

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14007c090]
test ecx, ecx
je 0x14004aa8f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14004aa19
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14004aa7e
mov ecx, dword [0x14007c090]
test ecx, ecx
je 0x14004aaa2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14004aa84
mov rsi, rax
test rax, rax
jne 0x14004aa78
movzx eax, byte [0x1400951f8]
mov ecx, 0x10
mov edx, 8
call fcn.140006dd0
test rax, rax
je 0x14004aac5
mov rsi, rax
lea rax, [0x14007c078]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x14007c090]
test ecx, ecx
je 0x14004aab5
dec ecx
mov rdx, rsi
call fcn.14007981c
mov word [rsi + 8], 1
add rsi, 9
jmp 0x14004aa86
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14007c078]
call fcn.14004a300
mov ecx, eax
jmp 0x14004aa05
lea rcx, [0x14007c078]
call fcn.14004a300
mov ecx, eax
jmp 0x14004aa25
lea rcx, [0x14007c078]
call fcn.14004a300
mov ecx, eax
jmp 0x14004aa70
mov ecx, 8
mov edx, 0x10
call fcn.1400072b0
ud2
Function at 0x14004b220
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x14008a678]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x14004b291
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14004b2c7
test eax, eax
js 0x14004b2a2
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14004b2ba
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400495b0
mov rcx, rax
call fcn.1400496b0
mov ecx, 7
int 0x29
ud2

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14007c050]
test ecx, ecx
je 0x14004b80d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14004b780
cmp qword [rax + 8], 0
je 0x14004b780
add rax, 0x10
jmp 0x14004b807
mov ecx, dword [0x14007c050]
test ecx, ecx
je 0x14004b820
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14004b805
mov rsi, rax
test rax, rax
jne 0x14004b7eb
movzx eax, byte [0x1400951f8]
mov ecx, 0x20
mov edx, 8
call fcn.140006dd0
test rax, rax
je 0x14004b843
mov rsi, rax
lea rax, [0x14007c038]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14007c050]
test ecx, ecx
je 0x14004b833
dec ecx
mov rdx, rsi
call fcn.14007981c
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x14004b807
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14007c038]
call fcn.14004a300
mov ecx, eax
jmp 0x14004b765
lea rcx, [0x14007c038]
call fcn.14004a300
mov ecx, eax
jmp 0x14004b790
lea rcx, [0x14007c038]
call fcn.14004a300
mov ecx, eax
jmp 0x14004b7e3
mov ecx, 8
mov edx, 0x20
call fcn.1400072b0
ud2
Function at 0x14004f340
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 dword [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 7
mov byte [rsp + 0x60], 1
lea r8, [rsp + 0x40]
mov rcx, rdx
mov rdx, rax
call fcn.140068010
mov rsi, rdx
test rax, rax
je 0x14004f403
mov eax, esi
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x14004f3f7
test rax, rax
je 0x14004f3f7
mov rax, rsi
dec rsi
mov rbx, qword [rax - 1]
mov r14, qword [rax + 7]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x14004f3e6
cmp qword [r14 + 0x10], 0x11
jb 0x14004f3d5
mov rbx, qword [rbx - 8]
mov rcx, qword [0x140095150]
xor edx, edx
mov r8, rbx
call fcn.1400798d4
mov rcx, qword [0x140095150]
xor edx, edx
mov r8, rsi
call fcn.1400798d4
mov qword [rdi], 0
jmp 0x14004f577
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.140068270
cmp dword [rsp + 0x40], 2
jne 0x14004f495
mov rax, qword [rsp + 0x48]
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x14004f476
test rcx, rcx
je 0x14004f476
lea rbx, [rax - 1]
mov r14, qword [rax - 1]
mov r15, qword [rax + 7]
mov rcx, r14
call qword [r15]
cmp qword [r15 + 8], 0
je 0x14004f465
cmp qword [r15 + 0x10], 0x11
jb 0x14004f454
mov r14, qword [r14 - 8]
mov rcx, qword [0x140095150]
xor edx, edx
mov r8, r14
call fcn.1400798d4
mov rcx, qword [0x140095150]
xor edx, edx
mov r8, rbx
call fcn.1400798d4
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 + 0x78]
test rsi, rsi
je 0x14004f4e7
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 0x14004f563
mov rbx, qword [rsp + 0x40]
jmp 0x14004f4e9
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 0x14004f552
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 0x14004f552
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov qword [rdi], 1
jmp 0x14004f56f
mov qword [rdi], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x14004f56f
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 0x140069f70
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x14008a678]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtReadFile
cmp eax, 0x103
jne 0x140069fda
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x140069fe5
xor eax, eax
jmp 0x140069ff5
cmp eax, 0x103
je 0x14006a03b
test eax, eax
js 0x14006a00a
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
add rsp, 0xa8
pop rdi
pop rsi
ret
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edi, eax
mov ecx, eax
call fcn.14004c9c0
cmp al, 0xb
jne 0x14006a026
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14006a000
shl rdi, 0x20
or rdi, 2
mov qword [rsi + 8], rdi
mov qword [rsi], 1
jmp 0x14006a000
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400495b0
mov rcx, rax
call fcn.1400496b0
mov ecx, 7
int 0x29
ud2

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

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov ecx, dword [0x14007c0b0]
test ecx, ecx
je 0x14006c074
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14006bfb4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x14006bfb4
add rdi, 0x10
jmp 0x14006c06a
mov ecx, dword [0x14007c0b0]
test ecx, ecx
je 0x14006c087
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14006c068
mov rsi, rax
test rax, rax
jne 0x14006c037
mov qword [rsp + 0x28], 0
lea rax, [0x14007c098]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x1400951f8]
mov ecx, 0x18
mov edx, 8
call fcn.140006dd0
test rax, rax
je 0x14006c0aa
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 [0x14007c0b0]
test ecx, ecx
je 0x14006c09a
dec ecx
mov rdx, rsi
call fcn.14007981c
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 0x14006c06a
test rcx, rcx
je 0x14006c06a
lock dec qword [rcx]
jne 0x14006c06a
call fcn.14006c0e0
jmp 0x14006c06a
xor edi, edi
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x14007c098]
call fcn.14004a300
mov ecx, eax
jmp 0x14006bf96
lea rcx, [0x14007c098]
call fcn.14004a300
mov ecx, eax
jmp 0x14006bfc4
lea rcx, [0x14007c098]
call fcn.14004a300
mov ecx, eax
jmp 0x14006c02f
mov ecx, 8
mov edx, 0x18
call fcn.1400072b0
ud2
Function at 0x14006ca10
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140007430
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x14006ca6e
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
cmp qword [rsp + 0x38], 0
je 0x14006cafa
mov rcx, qword [0x140095150]
xor edx, edx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400798d4
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x14006cacb
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14006cade
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x14006cafa
mov rcx, qword [0x140095150]
xor edx, edx
mov r8, rdi
call fcn.1400798d4
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret