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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14010b29c
add rcx, 0x10
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010b2e9
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010b2d8
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010b2d8
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010b2f4
inc ecx
inc rax
cmp rax, 6
jl 0x14010b2c6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x78]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14010b4a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14048a080]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rdi, rdx
xor esi, esi
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
nop
mov rcx, qword [rsp + 0x50]
mov qword [rbp + 0x108], rcx
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x118], rax
lea rax, fcn.140009110
mov qword [rsp + 0x50], rax
lea rax, [0x1404048f8]
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xf8]
call rax
mov qword [rsp + 0x58], rsi
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x120], rax
lea rax, [0x140403eb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
lea rax, [fcn.140009110]
cmp rdx, rax
je 0x14010b570
lea rcx, [rsp + 0x40]
call rdx
nop
mov rcx, qword [rbp + 0x118]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14010b5a4
lea rcx, [0x14010c6a0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xf8]
call rax
jmp 0x14010b64b
mov r14, qword [rcx + 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14010c320
mov rdi, rax
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010b5d2
mov rsi, qword [rax + 8]
mov r8d, 0x198
mov rdx, rsi
call fcn.140100af0
mov rbx, rax
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.14010c320
lea rax, [0x14010c840]
mov qword [rbx], rax
mov qword [rsp + 0x20], rbx
mov rcx, qword [rdi + 0x108]
test rcx, rcx
je 0x14010b61f
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010b61f
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rdi + 0x30]
call fcn.1400f0e80
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xf8]
call r14
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14010b64b
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 0x108]
mov rdx, qword [rax]
lea rcx, [rbp + 0xf8]
call rdx
nop
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.14028bc60
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14010b960
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14010b9ab
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14010b995
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010b995
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax]
lea rcx, [rbx + 8]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010b9f8
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010b9e7
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010b9e7
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010ba03
inc ecx
inc rax
cmp rax, 6
jl 0x14010b9d5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x68]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14010ba30
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14010ba95
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14010ba67
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010ba67
mov rax, qword [rcx]
call qword [rax + select]
cmp byte [rbx + 0x58], 0
je 0x14010ba7f
lea rcx, [rbx + 0x60]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov byte [rbx + 0x58], 0
mov rax, qword [rbx + 0x20]
mov rdx, qword [rax]
lea rcx, [rbx + 0x10]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010bae3
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010bad2
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010bad2
mov ecx, 4
mov eax, ecx
nop
cmp qword [rdx + rax*8], 0
je 0x14010baee
inc ecx
inc rax
cmp rax, 6
jl 0x14010bac0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xf0]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14010c3a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rbp, rcx
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14010c3e3
lea rcx, [0x14010c830]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x20]
mov rcx, rbp
call rax
jmp 0x14010c4ed
mov r15, qword [rcx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.14010c520
mov rsi, rax
mov qword [rsp + 0xf0], rax
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
test rax, rax
je 0x14010c415
mov rdx, qword [rax + 8]
jmp 0x14010c418
mov rdx, rbx
mov r8d, 0x90
call fcn.140100af0
mov rdi, rax
mov ecx, dword [rsi]
mov dword [rax + 8], ecx
lea rcx, [rax + 0x10]
lea rdx, [rsi + 8]
call fcn.1400d3e20
mov rcx, qword [rsi + 0x38]
mov qword [rdi + 0x40], rcx
mov rax, qword [rsi + 0x40]
mov qword [rdi + 0x48], rax
mov qword [rsi + 0x40], rbx
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 0x48]
mov qword [rsi + 0x48], rbx
mov qword [rdi + 0x50], rax
lea rcx, [rdi + 0x58]
lea rdx, [rsi + 0x50]
call fcn.1400d3e20
lea rax, [0x14010cdc0]
mov qword [rdi], rax
mov qword [rsp + 0xe0], rdi
mov rax, qword [rsi + 0x60]
mov rdx, qword [rax]
lea rcx, [rsi + 0x50]
call rdx
nop
mov rcx, qword [rsi + 0x48]
test rcx, rcx
je 0x14010c49c
mov edx, 0xb8
call fcn.14028bc80
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x14010c4bb
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010c4bb
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rax, qword [rsi + 0x18]
mov rdx, qword [rax]
lea rcx, [rsi + 8]
call rdx
nop
lea rdx, [rsp + 0xe0]
mov rcx, rbp
call r15
nop
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x14010c4ed
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14010c590
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x14010c5db
lea rbx, [rax + 0x38]
mov rcx, qword [rbx + 0xd8]
test rcx, rcx
je 0x14010c5cb
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010c5cb
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, rbx
call fcn.1400f0e80
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010c628
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010c617
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010c617
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010c633
inc ecx
inc rax
cmp rax, 6
jl 0x14010c605
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x198]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret
Function at 0x14010c6f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14010c717
add rcx, 8
call fcn.14010bf50
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010c764
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010c753
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010c753
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010c76f
inc ecx
inc rax
cmp rax, 6
jl 0x14010c741
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x90]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
add rsp, 0x20
pop rdi
ret

Function at 0x14010d200
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rbx, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14010d248
lea rcx, [0x14010d6b0]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
mov rcx, rdi
call rax
jmp 0x14010d355
mov rsi, qword [rcx + 0x10]
mov eax, dword [rdx]
mov dword [rbp - 0x50], eax
add rdx, 8
lea rcx, [rbp - 0x48]
call fcn.1400d3e20
mov rax, qword [rbx + 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rbx + 0x40]
mov qword [rbp - 0x10], rax
xor r14d, r14d
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x38], r14
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x48], r14
mov qword [rbp - 8], rax
lea rax, [rbp - 0x50]
mov qword [rbp + 0x30], rax
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010d2a4
mov rdx, qword [rax + 8]
jmp 0x14010d2a7
mov rdx, r14
mov r8d, 0x60
call fcn.140100af0
mov rbx, rax
mov ecx, dword [rbp - 0x50]
mov dword [rax + 8], ecx
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x48]
call fcn.1400d3e20
mov rcx, qword [rbp - 0x18]
mov qword [rbx + 0x40], rcx
mov rcx, qword [rbp - 0x10]
mov qword [rbx + 0x48], rcx
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], r14
mov rax, qword [rbp - 8]
mov qword [rbp - 8], r14
mov qword [rbx + 0x50], rax
lea rax, [0x14010d6f0]
mov qword [rbx], rax
mov qword [rbp + 0x20], rbx
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14010d30d
mov edx, 0xb8
call fcn.14028bc80
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14010d32c
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010d32c
mov rax, qword [rcx]
call qword [rax + select]
nop
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
lea rcx, [rbp - 0x48]
call rdx
nop
lea rdx, [rbp + 0x20]
mov rcx, rdi
call rsi
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14010d355
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14010d5d0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14010d62d
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x14010d5f9
mov edx, 0xb8
call fcn.14028bc80
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14010d617
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010d617
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rbx + 0x10]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010d67a
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010d669
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010d669
mov ecx, 4
mov eax, ecx
cmp qword [rdx + rax*8], 0
je 0x14010d685
inc ecx
inc rax
cmp rax, 6
jl 0x14010d657
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x60]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14010d870
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
test rbx, rbx
je 0x14010d8d0
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14010d89c
mov edx, 0xb8
call fcn.14028bc80
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x14010d8ba
mov eax, 0xffffffff
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x14010d8ba
mov rax, qword [rcx]
call qword [rax + select]
lea rcx, [rbx + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax]
call rdx
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14010d923
mov ecx, dword [0x1409241a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14010d912
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010d912
mov ecx, 4
mov eax, ecx
nop word [rax + rax]
cmp qword [rdx + rax*8], 0
je 0x14010d92e
inc ecx
inc rax
cmp rax, 6
jl 0x14010d900
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0xb0]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140227ae0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140227b01
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140227b2e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140227b30
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140227b89
test ecx, ecx
jle 0x140227b69
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140227b89
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140227b89
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
mov ah, 0x9b
test byte [rdi], al
loope 0x140731e49
pop rsi
sahf
jnp 0x140731e52
adc ebp, dword [rbp + rcx*2 - 0x69]
invalid
test eax, edx
test eax, 0x649c2df7
ret 0x5eb2
pop rsi
push rdx
invalid
Function at 0x140227bb0
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 0x140227be1
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.0x140227bf8
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 rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140227c1b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140227c1d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140227c59
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140227cee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140227c94
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 rbx, 0xfff
jbe 0x140227cce
nop dword [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]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140227cee
cmp rbx, rax
ja 0x140227ca0
test rbx, rbx
je 0x140227cee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
je 0x140731df2
mov r9b, 0x69
neg byte [0x170205bee]
invalid
Function at 0x140260a80
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140920938], eax
je 0x140260a9c
mov eax, 0x10dd
jmp 0x140260bc3
mov rax, qword [0x140920950]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140260b47
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x140260b12
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x140260b12
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.14025f700
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.14028bc80
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x140260aa8
mov qword [0x140920950], 0
call fcn.140260160
mov rax, qword [0x140920948]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140260bac
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, select
mov rcx, qword [rsp + 0x48]
call fcn.14028bc80
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x140260b63
mov qword [0x140920948], 0
mov dword [0x140920938], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x140011fb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
mov dword [rsp + 0x30], 0x20c2d754
mov rcx, qword [0x140368088]
call fcn.140033cd0
cmp rax, qword [0x14036a0e8]
je 0x140012106
mov rcx, qword [0x1403680e0]
call fcn.140033cd0
lea rcx, [rax + 0x478]
mov dword [rsp + 0x20], 0x40606565
lea rdx, [rsp + 0x20]
mov r8d, 4
call fcn.140009db0
mov rcx, qword [0x1403680e0]
call fcn.140033cd0
movabs rcx, 0x412f829d415029cb
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], 0
lea rcx, [rax + 0x47c]
lea rdx, [rsp + 0x20]
call fcn.140011e20
mov rcx, qword [0x1403680e0]
call fcn.140033cd0
lea rcx, [rax + 0x444]
mov dword [rsp + 0x20], 0x40606565
lea rdx, [rsp + 0x20]
mov r8d, 4
call fcn.140009db0
mov rcx, qword [0x1403680e0]
call fcn.140033cd0
mov qword [rsp + 0x20], 0x415029cb
mov dword [rsp + 0x28], 0
lea rcx, [rax + 0x448]
lea rdx, [rsp + 0x20]
call fcn.140011e20
mov rcx, qword [0x1403680e0]
call fcn.140033cd0
lea rcx, [rax + 0x104]
mov dword [rsp + 0x20], 0x40606565
lea rdx, [rsp + 0x20]
mov r8d, 4
call fcn.140009db0
mov rcx, qword [0x1403680e0]
call fcn.140033cd0
movabs rcx, 0x415029cb00000000
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], 0x415029cb
lea rcx, [rax + 0x108]
lea rdx, [rsp + 0x20]
call fcn.140011e20
mov rcx, qword [0x140368088]
call fcn.140033cd0
mov qword [0x14036a0e8], rax
cmp edi, 2
ja 0x14001211f
shl edi, 3
mov edx, 0x51516
mov ecx, edi
shr edx, cl
mov rcx, rsi
call fcn.140011af0
nop
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x14002f4a0
Capabilities:
Encode data using xor

Disassembly:
push rax
cmp dword [0x140373fcc], 1
je 0x14002f4f3
xor eax, eax
mov r9d, 0xba2e8ba3
nop word cs:[rax + rax]
nop dword [rax]
mov ecx, eax
imul rcx, r9
shr rcx, 0x24
imul ecx, ecx, 0xffffffea
movzx r10d, byte [r8 + rax + 0x16]
add ecx, eax
movsxd rcx, ecx
xor r10b, byte [r8 + rcx]
mov byte [rdx + rax], r10b
add rax, 1
cmp eax, 0x49
jne 0x14002f4c0
mov dword [0x140373fcc], 1
pop rax
ret

Function at 0x14002f500
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rax
cmp dword [0x140373fd8], 1
je 0x14002f572
mov r9, rdx
mov ecx, 0x1d
xor r10d, r10d
movabs r11, 0x1a7b9611a7b9611b
mov rsi, r8
nop word cs:[rax + rax]
nop dword [rax]
mov rax, r10
mul r11
mov rax, r10
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0xffffffffffffffe3
movzx edx, byte [r8 + rcx]
xor dl, byte [rsi + rax]
mov byte [r9 + rcx - 0x1d], dl
add rcx, 1
add rsi, 1
add r10, 1
cmp ecx, 0x22
jne 0x14002f530
mov dword [0x140373fd8], 1
add rsp, 8
pop rsi
ret

Function at 0x14002f580
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rax
cmp dword [0x140373fe8], 1
je 0x14002f5e6
mov r9, rdx
mov ecx, reloc.WS2_32.dll_send
xor r10d, r10d
movabs r11, 0xd79435e50d79435f
mov rsi, r8
nop word cs:[rax + rax]
nop dword [rax]
mov rax, r10
mul r11
shr rdx, 4
imul rax, rdx, 0xffffffffffffffed
movzx edx, byte [r8 + rcx]
xor dl, byte [rsi + rax]
mov byte [r9 + rcx - 0x13], dl
add rcx, 1
add rsi, 1
add r10, 1
cmp ecx, 0x1c
jne 0x14002f5b0
mov dword [0x140373fe8], 1
add rsp, 8
pop rsi
ret

Function at 0x14002f5f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rax
cmp dword [0x140373ffc], 1
je 0x14002f656
mov r9, rdx
mov ecx, socket
xor r10d, r10d
movabs r11, 0x2e8ba2e8ba2e8ba3
mov rsi, r8
nop word cs:[rax + rax]
nop dword [rax]
mov rax, r10
mul r11
shr rdx, 2
imul rax, rdx, 0xffffffffffffffea
movzx edx, byte [r8 + rcx]
xor dl, byte [rsi + rax]
mov byte [r9 + rcx - 0x16], dl
add rcx, 1
add rsi, 1
add r10, 1
cmp ecx, 0x25
jne 0x14002f620
mov dword [0x140373ffc], 1
add rsp, 8
pop rsi
ret

Function at 0x14002f660
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rax
cmp dword [0x140374008], 1
je 0x14002f6d2
mov r9, rdx
mov ecx, reloc.WS2_32.dll_socket
xor r10d, r10d
movabs r11, 0x642c8590b21642c9
mov rsi, r8
nop word cs:[rax + rax]
nop dword [rax]
mov rax, r10
mul r11
mov rax, r10
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0xffffffffffffffe9
movzx edx, byte [r8 + rcx]
xor dl, byte [rsi + rax]
mov byte [r9 + rcx - 0x17], dl
add rcx, 1
add rsi, 1
add r10, 1
cmp ecx, 0x1f
jne 0x14002f690
mov dword [0x140374008], 1
add rsp, 8
pop rsi
ret