joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023f40
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x50
mov rsi, rcx
mov rbx, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor ebp, ebp
lea r9, [rsp + 0x78]
mov qword [rsp + 0x30], rbp
mov r8d, ebx
mov qword [rsp + 0x28], rbp
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x78], ebp
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x80]
test eax, eax
mov dword [rsp + 0x40], eax
lea rax, [0x1402b2d00]
setne byte [rsp + 0x44]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
mov edx, dword [rcx]
cmp edx, 0x40
jne 0x140023fd2
mov dword [rsp + 0x40], 0x2746
jmp 0x140023fe2
cmp edx, 0x4d2
jne 0x140023ff4
mov dword [rsp + 0x40], 0x274d
mov byte [rsp + 0x44], 1
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
test ebx, ebx
je 0x140023fff
mov eax, 0xffffffff
jmp 0x140024019
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], ebp
mov byte [rsp + 0x44], bpl
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400243b0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, qword [rcx + 8]
lea rax, [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov dword [rsp + 0x68], eax
lea r8d, [rax + 1]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add rsp, 0x50
pop rbx
ret
Function at 0x140025350
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x28]
xor r14d, r14d
test rax, rax
mov rbp, rcx
mov ecx, dword [0x140312328]
mov rsi, r8
mov rdi, rdx
lea rbx, [rax + 0x28]
cmove rbx, r14
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400253a4
cmp qword [rax], rbx
je 0x1400253cd
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140025396
mov rcx, qword [rdi]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi]
cmp byte [rax + 0x60], r14b
je 0x140025418
mov qword [rsi + 0x20], r14
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x140025401
mov qword [rcx + 0x20], rsi
jmp 0x140025405
mov rcx, qword [rdi]
mov rbx, qword [rax + 8]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rbx, rbx
je 0x1400253b1
mov rax, qword [rdi]
cmp byte [rax + 0x60], r14b
jne 0x1400253b1
mov byte [rax + 0x60], 1
mov rcx, qword [rdi]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x14002545f
mov qword [rax + 0x68], rsi
mov qword [rax + 0x70], rsi
mov rcx, qword [rdi]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14002545d
mov byte [rax + 0x60], 1
mov rcx, qword [rdi]
add rcx, 0x38
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov qword [rsi + 0x20], r14
mov rcx, qword [rax + 0x80]
test rcx, rcx
je 0x140025442
mov qword [rcx + 0x20], rsi
jmp 0x140025446
mov qword [rax + 0x78], rsi
mov qword [rax + 0x80], rsi
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rdi]
lock inc dword [rcx + 0x30]
call fcn.1400235c0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140030590
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x140304470]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x140312280], eax
inc eax
cmp eax, 1
jne 0x1400305dd
lea ecx, [rax + 1]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x140312284], eax
test dil, dil
je 0x1400305f0
xor eax, eax
lock xadd dword [0x140312284], eax
test eax, eax
jne 0x140030614
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140219010
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
mov dword [rsp + 0x20], eax
lea rdx, str.winsock
lea rax, [0x1402b2d00]
mov byte [rsp + 0x24], 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.1400226b0
int3

Function at 0x1400312c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x1400312f0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140031318
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003131a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140031373
test ecx, ecx
jle 0x140031353
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140031373
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140031373
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
xor ah, byte [rax]
or dword [0x175878f02], esp
Function at 0x1400313a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400313d1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400313e8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140031410
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140031412
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140031444
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x1400314e1
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140031482
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rdi, 0xfff
jbe 0x1400314c1
nop dword [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x140031502
cmp rdi, rax
ja 0x140031490
test rbx, rbx
je 0x1400314e1
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x1400314e4
Function at 0x140031920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140304470]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14003194d
xor eax, eax
jmp 0x140031aa2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140031978
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140031978
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140031aa2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140031a95
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400319bb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400319e6
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140031a9a
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140031a55
sub eax, 1
je 0x140031a55
cmp eax, 2
jne 0x140031a95
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140031a9a
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140031a83
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140031a95
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x140031a9a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140219010
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140032580
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400325b4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400325a0
ret
Function at 0x140033e60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140304470]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140033f33
cmp byte [rcx + 0x71], 0
je 0x140033f33
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140033f2f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140033ef4
sub eax, 1
je 0x140033ef8
cmp eax, 2
jne 0x140033f2f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140219010
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140033f26
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140033f2f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140033edc
xor al, al
jmp 0x140033edc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140219010
add rsp, 0x60
pop rbx
ret

Function at 0x140040f00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov ecx, dword [0x140312328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor esi, esi
test rax, rax
je 0x140040f50
mov rax, qword [rax + 8]
test rax, rax
je 0x140040f50
mov rdx, qword [rax]
test rdx, rdx
je 0x140040f50
mov qword [rax], rsi
movzx eax, byte [rdx]
cmp al, 0x12
jb 0x140040f48
mov byte [rdx + 0x48], al
jmp 0x140040f61
mov rcx, rdx
call fcn.140219624
mov ecx, 0x49
call fcn.1402192c8
mov rdx, rax
mov byte [rax + 0x48], reloc.WS2_32.dll_select
mov qword [rdx + 0x20], rsi
lea rax, [0x14004bad0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rsi
mov dword [rdx + 0x30], esi
mov rax, qword [rbx]
mov qword [rdx + 0x38], rax
mov qword [rbx], rsi
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400235c0
Function at 0x140040fb0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rcx + 0x18]
mov r8, qword [rax + 0x10]
lea rbx, [r8 + 0x28]
xor ebp, ebp
test r8, r8
cmove rbx, rbp
mov ecx, dword [0x140312328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140040ffe
cmp qword [rax], rbx
je 0x140041057
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140040ff0
call fcn.1400456a0
mov qword [rax + 0x20], rbp
lea rcx, [0x14004bad0]
mov qword [rax + 0x28], rcx
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 0x30], ebp
mov rcx, qword [rdi]
mov qword [rax + 0x38], rcx
mov qword [rdi], rbp
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 0x10]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.1400235c0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp qword [rax + 8], rbp
je 0x140040ffe
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
mov qword [rdi], rbp
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14004daa0
nop
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004108c
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x140041042

Function at 0x1400456a0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140312328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400456e4
mov rax, qword [rax + 8]
test rax, rax
je 0x1400456e4
mov rcx, qword [rax]
test rcx, rcx
je 0x1400456e4
mov qword [rax], 0
movzx eax, byte [rcx]
cmp al, 0x12
jb 0x1400456df
mov byte [rcx + 0x48], al
mov rax, rcx
add rsp, 0x28
ret
call fcn.140219624
mov ecx, 0x49
call fcn.1402192c8
mov byte [rax + 0x48], reloc.WS2_32.dll_select
add rsp, 0x28
ret
Function at 0x140053ba0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140053bf2
nop dword [rax]
cmp qword [rax], rbx
je 0x140053d3a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140053be0
mov qword [rbp + 0x27], rdi
mov rdx, rdi
mov ecx, 0x58
call fcn.1400227f0
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x140054070]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x48], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140025350
mov qword [rbp + 0x37], r15
mov qword [rbp + 0x2f], r15
test al, al
je 0x140053d1d
mov rax, qword [rsi]
mov qword [rbp - 0x39], rax
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x39]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rdi, qword [r14 + 0x28]
mov qword [rbp + 0x17], rdi
mov rax, qword [rsi]
mov qword [rbp + 0x1f], rax
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rbx + 0x48]
movups xmmword [rbp - 0x11], xmm1
lea rax, [rbp - 0x21]
mov qword [rbp - 1], rax
test rbx, rbx
je 0x140053cd7
mov qword [rbp + 0xf], r15
lea r8, [rbp - 0x21]
lea edx, [r15 + 0x58]
mov rcx, rbx
call fcn.140022880
mov ebx, r15d
mov qword [rbp + 7], rbx
test rdi, rdi
je 0x140053ceb
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x21]
call fcn.140054110
nop
nop
test rbx, rbx
je 0x140053d02
lea r8, [rbp - 0x21]
mov edx, 0x58
mov rcx, rbx
call fcn.140022880
nop
lea rcx, [rbp + 0x17]
call fcn.140025130
nop
mov rdx, qword [rbp - 0x29]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140053bf2
nop
mov rdx, rdi
mov rcx, rdi
call fcn.140054110
nop
nop
jmp 0x140053d1d
Function at 0x140053d60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140053db2
nop dword [rax]
cmp qword [rax], rbx
je 0x140053f1a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140053da0
mov qword [rbp + 0x27], rdi
mov rdx, rdi
mov ecx, 0x78
call fcn.1400227f0
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x140053f80]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x48], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x58], xmm0
movups xmm0, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x68], xmm0
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140025350
mov qword [rbp + 0x37], r15
mov qword [rbp + 0x2f], r15
test al, al
je 0x140053efd
mov rax, qword [rsi]
mov qword [rbp - 0x59], rax
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x51], rax
lea rdx, [rbp - 0x59]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rdi, qword [r14 + 0x28]
mov qword [rbp - 0x29], rdi
mov rax, qword [rsi]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
movups xmm0, xmmword [rbx + 0x38]
movaps xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rbx + 0x48]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbx + 0x58]
movaps xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rbx + 0x68]
movaps xmmword [rbp + 0x17], xmm0
lea rax, [rbp - 0x19]
mov qword [rbp - 0x41], rax
test rbx, rbx
je 0x140053eb7
mov qword [rbp - 0x31], r15
lea r8, [rbp - 0x19]
lea edx, [r15 + 0x78]
mov rcx, rbx
call fcn.140022880
mov ebx, r15d
mov qword [rbp - 0x39], rbx
test rdi, rdi
je 0x140053ecb
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.140054140
nop
nop
test rbx, rbx
je 0x140053ee2
lea r8, [rbp - 0x19]
mov edx, 0x78
mov rcx, rbx
call fcn.140022880
nop
lea rcx, [rbp - 0x29]
call fcn.140025130
nop
mov rdx, qword [rbp - 0x49]
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140053db2
nop
mov rdx, rdi
mov rcx, rdi
call fcn.140054140
nop
nop
jmp 0x140053efd
Function at 0x140055590
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140304470]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov edx, 0x208
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140055762
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140054a60
nop
mov qword [rsp + 0x50], r14
movdqa xmm0, xmmword [0x1402c5790]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov qword [rsp + 0x30], r14
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rdx
mov ecx, 7
mov qword [rsp + 0x40], rcx
mov eax, dword [str.cmd.exe]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1402b8654]
mov word [rsp + 0x34], ax
movzx eax, byte [0x1402b8656]
mov byte [rsp + 0x36], al
mov byte [rsp + 0x37], r14b
lea rbx, [rsp + 0x30]
add rbx, rcx
lea rdi, [rsp + 0x30]
call fcn.1400c9920
mov r9, rax
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.1400c8a50
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400556b2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400556ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400556ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
nop
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14005a020
mov dword [rsp + 0x20], 2
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400c9590
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14005571a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055715
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055715
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
movdqa xmm0, xmmword [0x1402c5790]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
lea rcx, [rsp + 0x70]
call fcn.14005a170
mov rax, rsi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140219010
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400550e0
int3