joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002eef0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, r8
mov rbx, rdx
mov rax, qword [rcx]
mov rdi, qword [rax]
mov ecx, dword [0x1400d3180]
test ecx, ecx
je 0x14002ef3f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
je 0x14002ef5a
mov rax, qword [rdi]
cmp r14, rax
jne 0x14002ef6a
mov eax, dword [rdi + 8]
cmp eax, 0xffffffff
je 0x14002f03e
inc eax
mov dword [rdi + 8], eax
jmp 0x14002ef83
lea rcx, [0x1400d3168]
call fcn.140052190
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
jne 0x14002ef24
call fcn.1400240e0
mov r14, rax
mov rax, qword [rdi]
cmp r14, rax
je 0x14002ef2c
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 0xc], cl
jne 0x14002f022
mov qword [rdi], r14
mov dword [rdi + 8], 1
cmp qword [rdi + 0x10], 0
jne 0x14002f030
mov qword [rdi + 0x10], 0xffffffffffffffff
lea r9, [rdi + 0x18]
mov ecx, 0xfffffff4
mov rdx, rbx
mov r8, rsi
call fcn.14004d2c0
inc qword [rdi + 0x10]
dec dword [rdi + 8]
jne 0x14002efdc
mov qword [rdi], 0
xor ecx, ecx
xchg byte [rdi + 0xc], cl
cmp cl, 2
jne 0x14002efdc
add rdi, 0xc
mov rcx, rdi
mov rdi, rdx
mov rbx, rax
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov rax, rbx
mov rdx, rdi
movabs r8, 0xffffffff00000003
and r8, rdx
xor r9d, r9d
movabs r10, 0x600000002
cmp r8, r10
mov rcx, rax
cmove rcx, r9
test al, 1
cmove rcx, r9
cmove rsi, rdx
cmp r8, r10
cmovne rsi, rdx
mov rax, rcx
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rdi + 0xc]
call fcn.140051630
jmp 0x14002ef79
lea rcx, [0x1400a15f0]
call fcn.140080590
ud2
lea rcx, [0x1400a22d0]
lea r8, [0x1400a2318]
mov edx, 0x26
call fcn.140083670
mov rsi, rax
inc qword [rdi + 0x10]
mov rcx, rdi
call fcn.1400040e0
mov rcx, rsi
call fcn.14009a440
mov rsi, rax
mov rcx, rdi
call fcn.1400040e0
mov rcx, rsi
call fcn.14009a440
int3
Function at 0x14002f090
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rbx, r8
mov rdi, rdx
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1400d3180]
test ecx, ecx
je 0x14002f0df
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
je 0x14002f0fa
mov rax, qword [rsi]
cmp r14, rax
jne 0x14002f10a
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x14002f27b
inc eax
mov dword [rsi + 8], eax
jmp 0x14002f123
lea rcx, [0x1400d3168]
call fcn.140052190
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
jne 0x14002f0c4
call fcn.1400240e0
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x14002f0cc
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x14002f25f
mov qword [rsi], r14
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x14002f26d
mov qword [rsi + 0x10], 0xffffffffffffffff
lea r9, [rsi + 0x18]
mov rax, rbx
shl rax, 4
xor ecx, ecx
nop word cs:[rax + rax]
cmp rax, rcx
je 0x14002f169
mov r8d, dword [rdi + rcx]
add rcx, 0x10
test r8, r8
je 0x14002f150
mov rdx, qword [rdi + rcx - 8]
jmp 0x14002f171
mov edx, 1
xor r8d, r8d
mov ecx, 0xfffffff4
call fcn.14004d2c0
test al, 1
je 0x14002f220
movabs rcx, 0xffffffff00000003
mov r8, rdx
and r8, rcx
movabs rcx, 0x600000002
cmp r8, rcx
jne 0x14002f222
test rbx, rbx
je 0x14002f1bc
mov eax, ebx
and eax, 3
cmp rbx, 4
jae 0x14002f1c0
xor edx, edx
xor ecx, ecx
jmp 0x14002f1f8
xor edx, edx
jmp 0x14002f220
and rbx, 0xfffffffffffffffc
lea r8, [rdi + 0x30]
xor edx, edx
xor ecx, ecx
nop dword [rax]
mov r9d, dword [r8 - 0x30]
mov r10d, dword [r8 - 0x20]
add r9, rdx
mov r11d, dword [r8 - 0x10]
add r11, r10
add r11, r9
mov edx, dword [r8]
add rdx, r11
add rcx, 4
add r8, 0x40
cmp rbx, rcx
jne 0x14002f1d0
test rax, rax
je 0x14002f220
shl rcx, 4
add rdi, rcx
shl eax, 4
xor ecx, ecx
nop dword [rax]
mov r8d, dword [rdi + rcx]
add rdx, r8
add rcx, 0x10
cmp rax, rcx
jne 0x14002f210
xor eax, eax
inc qword [rsi + 0x10]
dec dword [rsi + 8]
jne 0x14002f254
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x14002f254
add rsi, 0xc
mov rcx, rsi
mov rsi, rdx
mov rdi, rax
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov rax, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rsi + 0xc]
call fcn.140051630
jmp 0x14002f119
lea rcx, [0x1400a1608]
call fcn.140080590
ud2
lea rcx, [0x1400a22d0]
lea r8, [0x1400a2318]
mov edx, 0x26
call fcn.140083670
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call fcn.1400040e0
mov rcx, rdi
call fcn.14009a440
mov rdi, rax
mov rcx, rsi
call fcn.1400040e0
mov rcx, rdi
call fcn.14009a440
int3
Function at 0x14002f2c0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1400d3180]
test ecx, ecx
je 0x14002f319
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
test rax, rax
je 0x14002f334
mov rax, qword [rsi]
cmp rdi, rax
jne 0x14002f344
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x14002f3b5
lea ecx, [rax + 1]
mov dword [rsi + 8], ecx
cmp qword [rsi + 0x10], 0
jne 0x14002f3a7
mov dword [rsi + 8], eax
test eax, eax
jne 0x14002f383
jmp 0x14002f367
lea rcx, [0x1400d3168]
call fcn.140052190
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
test rax, rax
jne 0x14002f2eb
call fcn.1400240e0
mov rdi, rax
mov rax, qword [rsi]
cmp rdi, rax
je 0x14002f2f3
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x14002f38d
mov qword [rsi], rdi
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x14002f3a7
mov dword [rsi + 8], 0
mov qword [rsi], 0
xor eax, eax
xchg byte [rsi + 0xc], al
cmp al, 2
jne 0x14002f383
add rsi, 0xc
mov rcx, rsi
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsi + 0xc]
call fcn.140051630
mov qword [rsi], rdi
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
je 0x14002f360
lea rcx, [0x1400a1620]
call fcn.140080590
ud2
lea rcx, [0x1400a22d0]
lea r8, [0x1400a2318]
mov edx, 0x26
call fcn.140083670
mov rdi, rax
mov rcx, rsi
call fcn.1400040e0
mov rcx, rdi
call fcn.14009a440
int3
Function at 0x14002f3f0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rbx, rdx
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1400d3180]
test ecx, ecx
je 0x14002f43f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
je 0x14002f45a
mov rax, qword [rsi]
cmp r14, rax
jne 0x14002f46a
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x14002f517
inc eax
mov dword [rsi + 8], eax
jmp 0x14002f483
lea rcx, [0x1400d3168]
call fcn.140052190
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
jne 0x14002f424
call fcn.1400240e0
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x14002f42c
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x14002f4fb
mov qword [rsi], r14
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x14002f509
mov qword [rsi + 0x10], 0xffffffffffffffff
lea rcx, [rsi + 0x18]
mov rdx, rbx
mov r8, rdi
call fcn.140031490
inc qword [rsi + 0x10]
dec dword [rsi + 8]
jne 0x14002f4cd
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x14002f4cd
add rsi, 0xc
mov rcx, rsi
mov rsi, rax
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov rax, rsi
movabs rdx, 0xffffffff00000003
and rdx, rax
xor ecx, ecx
movabs r8, 0x600000002
cmp rdx, r8
cmovne rcx, rax
mov rax, rcx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rsi + 0xc]
call fcn.140051630
jmp 0x14002f479
lea rcx, [0x1400a1638]
call fcn.140080590
ud2
lea rcx, [0x1400a22d0]
lea r8, [0x1400a2318]
mov edx, 0x26
call fcn.140083670
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call fcn.1400040e0
mov rcx, rdi
call fcn.14009a440
mov rdi, rax
mov rcx, rsi
call fcn.1400040e0
mov rcx, rdi
call fcn.14009a440
int3
Function at 0x14002f560
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rbx, rdx
mov rax, qword [rcx]
mov rsi, qword [rax]
mov ecx, dword [0x1400d3180]
test ecx, ecx
je 0x14002f5af
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
je 0x14002f5ca
mov rax, qword [rsi]
cmp r14, rax
jne 0x14002f5da
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x14002f687
inc eax
mov dword [rsi + 8], eax
jmp 0x14002f5f3
lea rcx, [0x1400d3168]
call fcn.140052190
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
jne 0x14002f594
call fcn.1400240e0
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x14002f59c
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x14002f66b
mov qword [rsi], r14
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x14002f679
mov qword [rsi + 0x10], 0xffffffffffffffff
lea rcx, [rsi + 0x18]
mov rdx, rbx
mov r8, rdi
call fcn.140031610
inc qword [rsi + 0x10]
dec dword [rsi + 8]
jne 0x14002f63d
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x14002f63d
add rsi, 0xc
mov rcx, rsi
mov rsi, rax
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov rax, rsi
movabs rdx, 0xffffffff00000003
and rdx, rax
xor ecx, ecx
movabs r8, 0x600000002
cmp rdx, r8
cmovne rcx, rax
mov rax, rcx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rsi + 0xc]
call fcn.140051630
jmp 0x14002f5e9
lea rcx, [0x1400a1650]
call fcn.140080590
ud2
lea rcx, [0x1400a22d0]
lea r8, [0x1400a2318]
mov edx, 0x26
call fcn.140083670
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call fcn.1400040e0
mov rcx, rdi
call fcn.14009a440
mov rdi, rax
mov rcx, rsi
call fcn.1400040e0
mov rcx, rdi
call fcn.14009a440
int3
Function at 0x14002f6d0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov rsi, rdx
mov rax, qword [rcx]
mov rbx, qword [rax]
mov ecx, dword [0x1400d3180]
test ecx, ecx
je 0x14002f71c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
test rax, rax
je 0x14002f737
mov rax, qword [rbx]
cmp rdi, rax
jne 0x14002f747
mov eax, dword [rbx + 8]
cmp eax, 0xffffffff
je 0x14002f838
inc eax
mov dword [rbx + 8], eax
jmp 0x14002f760
lea rcx, [0x1400d3168]
call fcn.140052190
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
test rax, rax
jne 0x14002f701
call fcn.1400240e0
mov rdi, rax
mov rax, qword [rbx]
cmp rdi, rax
je 0x14002f709
mov cl, 1
xor eax, eax
lock cmpxchg byte [rbx + 0xc], cl
jne 0x14002f82a
mov qword [rbx], rdi
mov dword [rbx + 8], 1
mov qword [rbp - 8], rbx
lea rax, [rbp - 8]
mov qword [rbp - 0x18], rax
lea rdi, [rbp - 0x10]
mov qword [rbp - 0x10], 0
lea rdx, [0x1400a0258]
lea rcx, [rbp - 0x18]
mov r8, rsi
call fcn.140087310
mov ecx, eax
mov rax, qword [rbp - 0x10]
test cl, cl
je 0x14002f7a9
test rax, rax
je 0x14002f850
mov rcx, qword [rbp - 8]
dec dword [rcx + 8]
jne 0x14002f81f
jmp 0x14002f7ff
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x14002f7f4
lea rsi, [rax - 1]
mov rdi, qword [rax - 1]
mov r14, qword [rax + 7]
mov rax, qword [r14]
test rax, rax
je 0x14002f7cc
mov rcx, rdi
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x14002f7e1
mov r8, qword [r14 + 0x10]
mov rcx, rdi
call fcn.140001750
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140001750
xor eax, eax
mov rcx, qword [rbp - 8]
dec dword [rcx + 8]
jne 0x14002f81f
mov qword [rcx], 0
xor edx, edx
xchg byte [rcx + 0xc], dl
cmp dl, 2
jne 0x14002f81f
add rcx, 0xc
mov rsi, rax
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [rbx + 0xc]
call fcn.140051630
jmp 0x14002f756
lea rcx, [0x1400a22d0]
lea r8, [0x1400a2318]
mov edx, 0x26
call fcn.140083670
lea rax, str.a_formatting_trait_implementation_returned_an_error_when_the_underlying_stream_did_not
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x38], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rdx, [0x1400a1940]
lea rcx, [rbp - 0x48]
call fcn.1400837e0
ud2
Function at 0x14003a110
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x14003a289
mov byte [rbp + 7], 0
mov eax, dword [0x1400d30c8]
cmp eax, 3
jne 0x14003a178
cmp byte [rbp + 7], 0
jne 0x14003a270
mov ecx, dword [0x1400d3180]
test ecx, ecx
je 0x14003a18c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14003a1a4
mov rcx, qword [0x1400d3090]
cmp rax, rcx
jne 0x14003a1b5
mov eax, dword [0x1400d3098]
cmp eax, 0xffffffff
je 0x14003a270
inc eax
jmp 0x14003a1d6
lea rcx, [rbp + 7]
call fcn.14003a88b
cmp byte [rbp + 7], 0
je 0x14003a143
jmp 0x14003a270
lea rcx, [0x1400d3168]
call fcn.140052190
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x14003a159
call fcn.1400240e0
mov rcx, qword [0x1400d3090]
cmp rax, rcx
je 0x14003a165
mov rcx, rax
mov dl, 1
xor eax, eax
lock cmpxchg byte [0x1400d309c], dl
jne 0x14003a270
mov qword [0x1400d3090], rcx
mov eax, 1
mov dword [0x1400d3098], eax
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
mov byte [rbp - 3], 0
mov dword [rbp - 7], 0
cmp qword [0x1400d30a0], 0
jne 0x14003a295
mov qword [0x1400d30a0], 0xffffffffffffffff
lea rcx, [0x1400d30a8]
call fcn.140005c40
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [0x1400d30b8], xmm1
movups xmmword [0x1400d30a8], xmm0
inc qword [0x1400d30a0]
dec dword [0x1400d3098]
jne 0x14003a270
mov qword [0x1400d3090], 0
xor eax, eax
xchg byte [0x1400d309c], al
cmp al, 2
jne 0x14003a270
lea rcx, [0x1400d309c]
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov eax, dword [0x1400d3138]
cmp eax, 3
jne 0x14003a281
call qword [0x1400d3130]
nop
add rsp, 0x48
pop rsi
pop rbp
ret
lea rcx, str.std_src_synconce.rs
call fcn.140083650
lea rcx, [0x1400a1548]
call fcn.140080590
ud2

Function at 0x14003b470
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov r14, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.140076550
mov rdx, qword [rbp - 0x28]
mov rax, rdx
neg rax
jno 0x14003b4f0
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x14003b520
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14003b534
lea rax, str.H__n_
mov qword [rsi + 8], rax
mov qword [rsi], 1
jae 0x14003b554
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.140001750
mov rcx, qword [r14]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x14003b554
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140001750
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x14003be50
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.140099c10
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov rsi, rdx
mov qword [rbp + 0xff8], rcx
mov qword [rbp + 0xfd8], rcx
mov qword [rbp + 0xfe0], rdx
lea rbx, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
xorps xmm6, xmm6
lea r15, [rbp + 0xfec]
lea rdi, [0x140046a90]
lea r12, [rbp + 0xfb0]
mov r8d, 0x1000
lea rcx, [rbp + 0xfd8]
mov rdx, rbx
call fcn.1400468c0
mov r14, rdx
test rax, rax
jne 0x14003bfcc
test r14, r14
je 0x14003bf9d
cmp r14, 0x1000
ja 0x14003c030
xor r13d, r13d
nop word cs:[rax + rax]
cmp r13, r14
ja 0x14003c01c
mov r8d, r14d
sub r8d, r13d
lea rdx, [r13 - 0x50]
add rdx, rbp
mov dword [rbp + 0xfec], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], rdi
mov rcx, rsi
mov r9, r12
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x14003bf98
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rbp + 0xfec], 1
jne 0x14003bf60
cmp dword [rbp + 0xff0], 0
jne 0x14003bf9d
mov eax, dword [rbp + 0xff4]
add r13, rax
cmp r13, r14
jne 0x14003bf00
jmp 0x14003bebc
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rbp + 0xff8]
call sub.KERNEL32.dll_CloseHandle
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x14003bf9d
mov rbx, r14
dec rbx
mov r15, qword [r14 - 1]
mov rdi, qword [r14 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x14003bff2
mov rcx, r15
call rax
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14003c007
mov r8, qword [rdi + 0x10]
mov rcx, r15
call fcn.140001750
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.140001750
jmp 0x14003bf9d
lea r8, str.std_src_syspalwindowspipe.rs
mov rcx, r13
mov rdx, r14
call fcn.14008a090
jmp 0x14003c044
lea r8, str.std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r14
call fcn.14008a020
ud2
Function at 0x14003dbbe
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
cmp byte [rcx + 0x19], 0
je 0x14003dbe4
mov byte [rbp + 0x27], 3
jmp 0x14003dbfd
call fcn.14003e0b0
cmp rax, 1
jbe 0x14003dbf5
mov byte [rbp + 0x27], 1
jmp 0x14003dbfd
call fcn.140034650
mov byte [rbp + 0x27], al
mov rax, qword [rsi + 0x10]
mov qword [rbp - 8], rax
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
call fcn.14003e590
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
mov ecx, dword [0x1400d31a0]
test ecx, ecx
je 0x14003dda7
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jbe 0x14003dc66
lock inc qword [rax - 0x10]
jle 0x14003ddc7
add rax, 0xfffffffffffffff0
lea rcx, [rbp + 0x18]
mov qword [rcx], rax
call fcn.140024c90
test rax, rax
lea rcx, str._unnamed_thread__panicked_at__na_n_
cmovne rcx, rax
push 9
pop rax
cmovne rax, rdx
jmp 0x14003dc75
and qword [rbp + 0x18], 0
push 9
pop rax
lea rcx, str._unnamed_thread__panicked_at__na_n_
lea rdx, [rbp - 0x58]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov qword [rbp - 0x48], rdx
lea rax, [rbp - 8]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x27]
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.14002fcc0
mov rbx, rax
mov rdi, rdx
lea rsi, [rbp + 8]
mov qword [rsi - 8], rax
mov qword [rsi], rdx
test rax, rax
sete al
test rdx, rdx
setne r15b
and r15b, al
je 0x14003dcfa
mov qword [rbp + 0x10], rdi
lea rbx, [rdi + 0x10]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 0x10], cl
jne 0x14003ddba
mov rax, qword [0x1400d3120]
shl rax, 1
test rax, rax
je 0x14003dd17
call fcn.14003e100
mov r14d, eax
xor r14b, 1
jmp 0x14003dd1a
lea rdx, [rbp - 0x18]
and dword [rdx], 0
mov byte [rdx + 4], 0
lea r8, [fcn.140031a10]
lea rcx, [rbp - 0x48]
call fcn.14003de2d
jmp 0x14003dd52
xor r14d, r14d
mov al, byte [rdi + 0x11]
lea rdx, [rdi + 0x18]
lea r8, [fcn.1400318e0]
lea rcx, [rbp - 0x48]
call fcn.14003de2d
mov rcx, rbx
mov edx, r14d
call fcn.140004aa0
mov rcx, qword [rbp + 0x10]
call fcn.14002fcc0
test rax, rax
je 0x14003dd85
mov rbx, qword [rbp]
mov rdi, qword [rbp + 8]
lea rcx, [rbp + 0x18]
call fcn.1400053e0
test rdi, rdi
sete al
or al, bl
or r15b, al
test r15b, 1
jne 0x14003dd74
mov rcx, rsi
call fcn.140003310
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x18], 1
test rdx, rdx
je 0x14003dd4a
lock dec qword [rdx]
jne 0x14003dd4a
lea rcx, [rbp - 0x10]
call fcn.140013600
jmp 0x14003dd4a
lea rcx, [0x1400d3188]
call fcn.140052190
mov ecx, eax
jmp 0x14003dc29
mov rcx, rbx
call fcn.140051630
jmp 0x14003dcdd
ud2
Function at 0x1400401b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x270
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rdi, qword [rdx + 8]
cmp rdi, 0xffffffffffffffff
je 0x1400402a3
mov eax, dword [rdx + 0x10]
movzx ebx, word [rdx + 0x40]
movzx r15d, word [rdx + 0x42]
movzx r14d, word [rdx + 0x44]
mov dword [rdx + 0x10], 0
cmp eax, 1
jne 0x14004021a
mov r12, qword [rdx]
cmp bx, 0x2e
jne 0x1400402bd
test r15w, r15w
je 0x14004021a
mov eax, r15d
xor eax, 0x2e
or ax, r14w
jne 0x1400402bd
mov r14, rdx
lea rbx, [rbp - 0x60]
mov r8d, 0x250
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rdi
mov rdx, rbx
call sub.KERNEL32.dll_FindNextFileW
test eax, eax
je 0x1400402af
mov rbx, qword [r14]
lea r14, [rbp - 0x60]
jmp 0x14004025f
mov rcx, rdi
mov rdx, r14
call sub.KERNEL32.dll_FindNextFileW
test eax, eax
je 0x1400402af
cmp word [rbp - 0x34], 0x2e
jne 0x14004027c
movzx eax, word [rbp - 0x32]
test ax, ax
je 0x140040250
cmp ax, 0x2e
jne 0x14004027c
cmp word [rbp - 0x30], 0
je 0x140040250
lock inc qword [rbx]
jle 0x140040349
lea rcx, [rsi + 0x10]
lea rdx, [rbp - 0x60]
mov r8d, 0x250
call sub.msvcrt.dll_memcpy
mov eax, 8
jmp 0x140040328
mov qword [rsi], 0
jmp 0x140040334
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x12
jne 0x140040311
xor eax, eax
jmp 0x140040331
lock inc qword [r12]
jle 0x140040349
lea rax, [rdx + 0x14]
add rdx, 0x46
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x1c]
movups xmmword [rsi + 0x2c], xmm2
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
lea rcx, [rsi + 0x42]
mov r8d, 0x21e
call sub.msvcrt.dll_memcpy
mov qword [rsi + 8], r12
mov word [rsi + 0x3c], bx
mov word [rsi + 0x3e], r15w
mov word [rsi + 0x40], r14w
mov qword [rsi], 1
jmp 0x140040334
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov qword [rsi + 8], 0
mov eax, 0x10
mov qword [rsi + rax], rbx
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x270
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
ud2

Function at 0x140040ca0
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.14004e410
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x140040d03
movabs rbx, 0x8000000000000000
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call fcn.140050a10
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x140040d0f
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
xor edx, edx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x140040d3a
test rdi, rdi
je 0x140040d65
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140001750
xor eax, eax
jmp 0x140040d06
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x140040d06
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.140001750
jmp 0x140040d03
xor eax, eax
jmp 0x140040d06