joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032900
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 [0x1400d8180]
test ecx, ecx
je 0x14003294f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
je 0x14003296a
mov rax, qword [rdi]
cmp r14, rax
jne 0x14003297a
mov eax, dword [rdi + 8]
cmp eax, 0xffffffff
je 0x140032a4e
inc eax
mov dword [rdi + 8], eax
jmp 0x140032993
lea rcx, [0x1400d8168]
call fcn.140055ba0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
jne 0x140032934
call fcn.140027af0
mov r14, rax
mov rax, qword [rdi]
cmp r14, rax
je 0x14003293c
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 0xc], cl
jne 0x140032a32
mov qword [rdi], r14
mov dword [rdi + 8], 1
cmp qword [rdi + 0x10], 0
jne 0x140032a40
mov qword [rdi + 0x10], 0xffffffffffffffff
lea r9, [rdi + 0x18]
mov ecx, 0xfffffff4
mov rdx, rbx
mov r8, rsi
call fcn.140050cd0
inc qword [rdi + 0x10]
dec dword [rdi + 8]
jne 0x1400329ec
mov qword [rdi], 0
xor ecx, ecx
xchg byte [rdi + 0xc], cl
cmp cl, 2
jne 0x1400329ec
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.140055040
jmp 0x140032989
lea rcx, [0x1400a6370]
call fcn.140083fa0
ud2
lea rcx, [0x1400a7050]
lea r8, str.vp_n_
mov edx, 0x26
call fcn.140087080
mov rsi, rax
inc qword [rdi + 0x10]
mov rcx, rdi
call fcn.140007af0
mov rcx, rsi
call fcn.14009de50
mov rsi, rax
mov rcx, rdi
call fcn.140007af0
mov rcx, rsi
call fcn.14009de50
int3
Function at 0x140032aa0
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 [0x1400d8180]
test ecx, ecx
je 0x140032aef
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
je 0x140032b0a
mov rax, qword [rsi]
cmp r14, rax
jne 0x140032b1a
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x140032c8b
inc eax
mov dword [rsi + 8], eax
jmp 0x140032b33
lea rcx, [0x1400d8168]
call fcn.140055ba0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
jne 0x140032ad4
call fcn.140027af0
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x140032adc
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x140032c6f
mov qword [rsi], r14
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x140032c7d
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 0x140032b79
mov r8d, dword [rdi + rcx]
add rcx, 0x10
test r8, r8
je 0x140032b60
mov rdx, qword [rdi + rcx - 8]
jmp 0x140032b81
mov edx, 1
xor r8d, r8d
mov ecx, 0xfffffff4
call fcn.140050cd0
test al, 1
je 0x140032c30
movabs rcx, 0xffffffff00000003
mov r8, rdx
and r8, rcx
movabs rcx, 0x600000002
cmp r8, rcx
jne 0x140032c32
test rbx, rbx
je 0x140032bcc
mov eax, ebx
and eax, 3
cmp rbx, 4
jae 0x140032bd0
xor edx, edx
xor ecx, ecx
jmp 0x140032c08
xor edx, edx
jmp 0x140032c30
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 0x140032be0
test rax, rax
je 0x140032c30
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 0x140032c20
xor eax, eax
inc qword [rsi + 0x10]
dec dword [rsi + 8]
jne 0x140032c64
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x140032c64
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.140055040
jmp 0x140032b29
lea rcx, [0x1400a6388]
call fcn.140083fa0
ud2
lea rcx, [0x1400a7050]
lea r8, str.vp_n_
mov edx, 0x26
call fcn.140087080
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call fcn.140007af0
mov rcx, rdi
call fcn.14009de50
mov rdi, rax
mov rcx, rsi
call fcn.140007af0
mov rcx, rdi
call fcn.14009de50
int3
Function at 0x140032cd0
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 [0x1400d8180]
test ecx, ecx
je 0x140032d29
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
test rax, rax
je 0x140032d44
mov rax, qword [rsi]
cmp rdi, rax
jne 0x140032d54
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x140032dc5
lea ecx, [rax + 1]
mov dword [rsi + 8], ecx
cmp qword [rsi + 0x10], 0
jne 0x140032db7
mov dword [rsi + 8], eax
test eax, eax
jne 0x140032d93
jmp 0x140032d77
lea rcx, [0x1400d8168]
call fcn.140055ba0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
test rax, rax
jne 0x140032cfb
call fcn.140027af0
mov rdi, rax
mov rax, qword [rsi]
cmp rdi, rax
je 0x140032d03
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x140032d9d
mov qword [rsi], rdi
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x140032db7
mov dword [rsi + 8], 0
mov qword [rsi], 0
xor eax, eax
xchg byte [rsi + 0xc], al
cmp al, 2
jne 0x140032d93
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.140055040
mov qword [rsi], rdi
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
je 0x140032d70
lea rcx, [0x1400a63a0]
call fcn.140083fa0
ud2
lea rcx, [0x1400a7050]
lea r8, str.vp_n_
mov edx, 0x26
call fcn.140087080
mov rdi, rax
mov rcx, rsi
call fcn.140007af0
mov rcx, rdi
call fcn.14009de50
int3
Function at 0x140032e00
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 [0x1400d8180]
test ecx, ecx
je 0x140032e4f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
je 0x140032e6a
mov rax, qword [rsi]
cmp r14, rax
jne 0x140032e7a
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x140032f27
inc eax
mov dword [rsi + 8], eax
jmp 0x140032e93
lea rcx, [0x1400d8168]
call fcn.140055ba0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
jne 0x140032e34
call fcn.140027af0
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x140032e3c
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x140032f0b
mov qword [rsi], r14
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x140032f19
mov qword [rsi + 0x10], 0xffffffffffffffff
lea rcx, [rsi + 0x18]
mov rdx, rbx
mov r8, rdi
call fcn.140034ea0
inc qword [rsi + 0x10]
dec dword [rsi + 8]
jne 0x140032edd
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x140032edd
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.140055040
jmp 0x140032e89
lea rcx, [0x1400a63b8]
call fcn.140083fa0
ud2
lea rcx, [0x1400a7050]
lea r8, str.vp_n_
mov edx, 0x26
call fcn.140087080
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call fcn.140007af0
mov rcx, rdi
call fcn.14009de50
mov rdi, rax
mov rcx, rsi
call fcn.140007af0
mov rcx, rdi
call fcn.14009de50
int3
Function at 0x140032f70
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 [0x1400d8180]
test ecx, ecx
je 0x140032fbf
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
je 0x140032fda
mov rax, qword [rsi]
cmp r14, rax
jne 0x140032fea
mov eax, dword [rsi + 8]
cmp eax, 0xffffffff
je 0x140033097
inc eax
mov dword [rsi + 8], eax
jmp 0x140033003
lea rcx, [0x1400d8168]
call fcn.140055ba0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov r14, rax
test rax, rax
jne 0x140032fa4
call fcn.140027af0
mov r14, rax
mov rax, qword [rsi]
cmp r14, rax
je 0x140032fac
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi + 0xc], cl
jne 0x14003307b
mov qword [rsi], r14
mov dword [rsi + 8], 1
cmp qword [rsi + 0x10], 0
jne 0x140033089
mov qword [rsi + 0x10], 0xffffffffffffffff
lea rcx, [rsi + 0x18]
mov rdx, rbx
mov r8, rdi
call fcn.140035020
inc qword [rsi + 0x10]
dec dword [rsi + 8]
jne 0x14003304d
mov qword [rsi], 0
xor ecx, ecx
xchg byte [rsi + 0xc], cl
cmp cl, 2
jne 0x14003304d
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.140055040
jmp 0x140032ff9
lea rcx, [0x1400a63d0]
call fcn.140083fa0
ud2
lea rcx, [0x1400a7050]
lea r8, str.vp_n_
mov edx, 0x26
call fcn.140087080
mov rdi, rax
inc qword [rsi + 0x10]
mov rcx, rsi
call fcn.140007af0
mov rcx, rdi
call fcn.14009de50
mov rdi, rax
mov rcx, rsi
call fcn.140007af0
mov rcx, rdi
call fcn.14009de50
int3
Function at 0x1400330e0
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 [0x1400d8180]
test ecx, ecx
je 0x14003312c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
test rax, rax
je 0x140033147
mov rax, qword [rbx]
cmp rdi, rax
jne 0x140033157
mov eax, dword [rbx + 8]
cmp eax, 0xffffffff
je 0x140033248
inc eax
mov dword [rbx + 8], eax
jmp 0x140033170
lea rcx, [0x1400d8168]
call fcn.140055ba0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
test rax, rax
jne 0x140033111
call fcn.140027af0
mov rdi, rax
mov rax, qword [rbx]
cmp rdi, rax
je 0x140033119
mov cl, 1
xor eax, eax
lock cmpxchg byte [rbx + 0xc], cl
jne 0x14003323a
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, [0x1400a4fd8]
lea rcx, [rbp - 0x18]
mov r8, rsi
call fcn.14008ad20
mov ecx, eax
mov rax, qword [rbp - 0x10]
test cl, cl
je 0x1400331b9
test rax, rax
je 0x140033260
mov rcx, qword [rbp - 8]
dec dword [rcx + 8]
jne 0x14003322f
jmp 0x14003320f
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x140033204
lea rsi, [rax - 1]
mov rdi, qword [rax - 1]
mov r14, qword [rax + 7]
mov rax, qword [r14]
test rax, rax
je 0x1400331dc
mov rcx, rdi
call rax
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x1400331f1
mov r8, qword [r14 + 0x10]
mov rcx, rdi
call fcn.140003a50
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140003a50
xor eax, eax
mov rcx, qword [rbp - 8]
dec dword [rcx + 8]
jne 0x14003322f
mov qword [rcx], 0
xor edx, edx
xchg byte [rcx + 0xc], dl
cmp dl, 2
jne 0x14003322f
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.140055040
jmp 0x140033166
lea rcx, [0x1400a7050]
lea r8, str.vp_n_
mov edx, 0x26
call fcn.140087080
lea rax, str.Xf_n_
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, [0x1400a66c0]
lea rcx, [rbp - 0x48]
call fcn.1400871f0
ud2
Function at 0x140037610
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rcx, qword [rcx]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x140037645
movsxd rdx, eax
xor eax, eax
add rsp, 0x20
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14003db20
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 0x14003dc99
mov byte [rbp + 7], 0
mov eax, dword [0x1400d80c8]
cmp eax, 3
jne 0x14003db88
cmp byte [rbp + 7], 0
jne 0x14003dc80
mov ecx, dword [0x1400d8180]
test ecx, ecx
je 0x14003db9c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14003dbb4
mov rcx, qword [0x1400d8090]
cmp rax, rcx
jne 0x14003dbc5
mov eax, dword [0x1400d8098]
cmp eax, 0xffffffff
je 0x14003dc80
inc eax
jmp 0x14003dbe6
lea rcx, [rbp + 7]
call fcn.14003e29b
cmp byte [rbp + 7], 0
je 0x14003db53
jmp 0x14003dc80
lea rcx, [0x1400d8168]
call fcn.140055ba0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x14003db69
call fcn.140027af0
mov rcx, qword [0x1400d8090]
cmp rax, rcx
je 0x14003db75
mov rcx, rax
mov dl, 1
xor eax, eax
lock cmpxchg byte [0x1400d809c], dl
jne 0x14003dc80
mov qword [0x1400d8090], rcx
mov eax, 1
mov dword [0x1400d8098], 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 [0x1400d80a0], 0
jne 0x14003dca5
mov qword [0x1400d80a0], 0xffffffffffffffff
lea rcx, [0x1400d80a8]
call fcn.140009650
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [0x1400d80b8], xmm1
movups xmmword [0x1400d80a8], xmm0
inc qword [0x1400d80a0]
dec dword [0x1400d8098]
jne 0x14003dc80
mov qword [0x1400d8090], 0
xor eax, eax
xchg byte [0x1400d809c], al
cmp al, 2
jne 0x14003dc80
lea rcx, [0x1400d809c]
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
mov eax, dword [0x1400d8138]
cmp eax, 3
jne 0x14003dc91
call qword [0x1400d8130]
nop
add rsp, 0x48
pop rsi
pop rbp
ret
lea rcx, str.std_src_synconce.rs
call fcn.140087060
lea rcx, [0x1400a62c8]
call fcn.140083fa0
ud2
Function at 0x14003ee80
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.140079f60
mov rdx, qword [rbp - 0x28]
mov rax, rdx
neg rax
jno 0x14003ef00
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 0x14003ef30
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14003ef44
lea rax, [0x1400a71f8]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jae 0x14003ef64
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.140003a50
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 0x14003ef64
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140003a50
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x14003f860
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.14009d620
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, [0x14004a4a0]
lea r12, [rbp + 0xfb0]
mov r8d, 0x1000
lea rcx, [rbp + 0xfd8]
mov rdx, rbx
call fcn.14004a2d0
mov r14, rdx
test rax, rax
jne 0x14003f9dc
test r14, r14
je 0x14003f9ad
cmp r14, 0x1000
ja 0x14003fa40
xor r13d, r13d
nop word cs:[rax + rax]
cmp r13, r14
ja 0x14003fa2c
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 0x14003f9a8
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rbp + 0xfec], 1
jne 0x14003f970
cmp dword [rbp + 0xff0], 0
jne 0x14003f9ad
mov eax, dword [rbp + 0xff4]
add r13, rax
cmp r13, r14
jne 0x14003f910
jmp 0x14003f8cc
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 0x14003f9ad
mov rbx, r14
dec rbx
mov r15, qword [r14 - 1]
mov rdi, qword [r14 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x14003fa02
mov rcx, r15
call rax
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14003fa17
mov r8, qword [rdi + 0x10]
mov rcx, r15
call fcn.140003a50
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.140003a50
jmp 0x14003f9ad
lea r8, str.std_src_syspalwindowspipe.rs
mov rcx, r13
mov rdx, r14
call fcn.14008daa0
jmp 0x14003fa54
lea r8, str.std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r14
call fcn.14008da30
ud2
Function at 0x1400415ce
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 0x1400415f4
mov byte [rbp + 0x27], 3
jmp 0x14004160d
call fcn.140041ac0
cmp rax, 1
jbe 0x140041605
mov byte [rbp + 0x27], 1
jmp 0x14004160d
call fcn.140038060
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.140041fa0
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
mov ecx, dword [0x1400d81a0]
test ecx, ecx
je 0x1400417b7
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jbe 0x140041676
lock inc qword [rax - 0x10]
jle 0x1400417d7
add rax, 0xfffffffffffffff0
lea rcx, [rbp + 0x18]
mov qword [rcx], rax
call fcn.1400286a0
test rax, rax
lea rcx, str._unnamed_thread__panicked_at__n
cmovne rcx, rax
push 9
pop rax
cmovne rax, rdx
jmp 0x140041685
and qword [rbp + 0x18], 0
push 9
pop rax
lea rcx, str._unnamed_thread__panicked_at__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.1400336d0
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 0x14004170a
mov qword [rbp + 0x10], rdi
lea rbx, [rdi + 0x10]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 0x10], cl
jne 0x1400417ca
mov rax, qword [0x1400d8120]
shl rax, 1
test rax, rax
je 0x140041727
call fcn.140041b10
mov r14d, eax
xor r14b, 1
jmp 0x14004172a
lea rdx, [rbp - 0x18]
and dword [rdx], 0
mov byte [rdx + 4], 0
lea r8, [fcn.140035420]
lea rcx, [rbp - 0x48]
call fcn.14004183d
jmp 0x140041762
xor r14d, r14d
mov al, byte [rdi + 0x11]
lea rdx, [rdi + 0x18]
lea r8, [fcn.1400352f0]
lea rcx, [rbp - 0x48]
call fcn.14004183d
mov rcx, rbx
mov edx, r14d
call fcn.1400084b0
mov rcx, qword [rbp + 0x10]
call fcn.1400336d0
test rax, rax
je 0x140041795
mov rbx, qword [rbp]
mov rdi, qword [rbp + 8]
lea rcx, [rbp + 0x18]
call fcn.140008df0
test rdi, rdi
sete al
or al, bl
or r15b, al
test r15b, 1
jne 0x140041784
mov rcx, rsi
call fcn.140006d20
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 0x14004175a
lock dec qword [rdx]
jne 0x14004175a
lea rcx, [rbp - 0x10]
call fcn.140017010
jmp 0x14004175a
lea rcx, [0x1400d8188]
call fcn.140055ba0
mov ecx, eax
jmp 0x140041639
mov rcx, rbx
call fcn.140055040
jmp 0x1400416ed
ud2
Function at 0x140043bc0
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 0x140043cb3
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 0x140043c2a
mov r12, qword [rdx]
cmp bx, 0x2e
jne 0x140043ccd
test r15w, r15w
je 0x140043c2a
mov eax, r15d
xor eax, 0x2e
or ax, r14w
jne 0x140043ccd
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 0x140043cbf
mov rbx, qword [r14]
lea r14, [rbp - 0x60]
jmp 0x140043c6f
mov rcx, rdi
mov rdx, r14
call sub.KERNEL32.dll_FindNextFileW
test eax, eax
je 0x140043cbf
cmp word [rbp - 0x34], 0x2e
jne 0x140043c8c
movzx eax, word [rbp - 0x32]
test ax, ax
je 0x140043c60
cmp ax, 0x2e
jne 0x140043c8c
cmp word [rbp - 0x30], 0
je 0x140043c60
lock inc qword [rbx]
jle 0x140043d59
lea rcx, [rsi + 0x10]
lea rdx, [rbp - 0x60]
mov r8d, 0x250
call sub.msvcrt.dll_memcpy
mov eax, 8
jmp 0x140043d38
mov qword [rsi], 0
jmp 0x140043d44
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x12
jne 0x140043d21
xor eax, eax
jmp 0x140043d41
lock inc qword [r12]
jle 0x140043d59
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 0x140043d44
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 0x1400446b0
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.140051e20
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x140044713
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.140054420
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x14004471f
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 0x14004474a
test rdi, rdi
je 0x140044775
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140003a50
xor eax, eax
jmp 0x140044716
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x140044716
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.140003a50
jmp 0x140044713
xor eax, eax
jmp 0x140044716