joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d870
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140017cd0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140017cd0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000d8e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14013a0f4]
mov rbx, rcx
test esi, esi
jle 0x14000da10
mov rax, qword [0x14013a0f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000d92b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000d9b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000d910
mov rcx, rbx
call fcn.14000e350
mov rdi, rax
test rax, rax
je 0x14000da32
mov rax, qword [0x14013a0f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000e490
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14013a0f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000da17
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000d9ae
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000d9c0
add dword [0x14013a0f4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14013a0f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000d9ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000d870
nop dword [rax]
xor esi, esi
jmp 0x14000d938
mov rax, qword [0x14013a0f8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000d870
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000d870
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000dfc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14013a160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14013a140]
test rbx, rbx
je 0x14000e01c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000e013
test eax, eax
jne 0x14000e013
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000dff8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000e350
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140108870]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000e370
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000e378
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000e370
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000e3cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000e3c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000e370
add rax, 0x28
cmp rax, r9
jne 0x14000e3b0
xor eax, eax
ret

Function at 0x14000e3d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140108870]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000e3ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000e3f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000e3ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000e490
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140108870]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000e4af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000e4b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000f400
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2d
lea rdx, str._buffer_overflow_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14000f430
mov ecx, 8
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14000f450
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, str._stack_smashing_detected_:_terminated_n
call sub.msvcrt.dll__write
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x14000f480
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x14001a780
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x14013aca0], 1
je 0x14001a7f8
lea rdi, [0x14013aca0]
mov rcx, rdi
call fcn.14001a100
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.140019a00
mov esi, dword [0x14013aca0]
test esi, esi
jne 0x14001a808
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1400fe308], eax
cmp eax, 0xffffffff
je 0x1400fd576
mov dword [0x14013aca0], 1
mov rcx, rbp
call fcn.140019cd0
test rbx, rbx
je 0x14001a7f8
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001a400
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x14001a7d8
mov ecx, 2
call qword [fcn.140017cd0]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001a7d8
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [0x28]
ud2

Function at 0x14001a830
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.14001a510
mov rbx, rax
test rax, rax
je 0x14001a92c
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.140019ff0
cmp eax, 1
je 0x14001a938
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400fd57c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400fe308]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400fd57c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.14001a370
nop
nop

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

Disassembly:
sub rsp, 0x28
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001a960
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.14001a830
Function at 0x14001b110
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, qword [0x140108970]
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x14001b258
cmp eax, 1
je 0x14001b17d
call fcn.14001a100
lea r12, [rax + 8]
mov rdi, rax
mov rcx, r12
call fcn.140019a00
mov r13d, dword [rbx]
test r13d, r13d
je 0x14001b1a0
cmp r13d, 1
jne 0x14001b230
mov rcx, r12
call fcn.140019cd0
test rdi, rdi
je 0x14001b17d
mov rcx, rdi
call fcn.14001a400
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbp]
jne 0x14001b2ab
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x14001a4e0]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.14001a780
mov ecx, dword [0x1400fe308]
mov r13, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r13
test rax, rax
je 0x14001b298
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mfence
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call r13
test rax, rax
je 0x14001b280
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
mfence
call rsi
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call r13
test rax, rax
je 0x14001b268
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x14001b168
mov ecx, 2
call qword [fcn.140017cd0]
mov r9d, r13d
mov r8, rbx
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x14001b168
mov eax, 0x16
jmp 0x14001b17f
call fcn.14001a830
test rax, rax
jne 0x14001b213
jmp 0x1400fd5ae
call fcn.14001a830
test rax, rax
jne 0x14001b1f2
jmp 0x1400fd59f
call fcn.14001a830
test rax, rax
jne 0x14001b1cf
jmp 0x1400fd595
call fcn.14000f450
nop
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2

Function at 0x14001b530
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001b5a8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.14001a000
cmp esi, dword [rbx + 0x48]
jae 0x14001b583
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x14001b583
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.14001a050
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.14001a830
mov rbx, rax
jmp 0x14001b55d
Function at 0x14001b5c0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001b6c0
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.14001a000
cmp esi, dword [rbx + 0x48]
jae 0x14001b640
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.14001a050
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x14001b6cd
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x14001b6cd
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x14001b60f
call fcn.14001a830
mov rbx, rax
jmp 0x14001b5fa
mov rcx, r13
call fcn.14001a050
mov eax, 0xc
jmp 0x14001b62d

Function at 0x14001b750
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001b778
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14001a830
test rax, rax
jne 0x14001b76a
add rsp, 0x28
ret

Function at 0x14001b7e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001b808
add rax, 0x18
add rsp, 0x28
ret
call fcn.14001a830
test rax, rax
jne 0x14001b7fa
jmp 0x14001b7fe

Function at 0x14001b920
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14013aca8]
test eax, eax
jne 0x14001b938
xor eax, eax
add rsp, 0x28
ret
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001b968
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001b92e
test byte [rax + 0x40], 3
je 0x14001b92e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14001b930
call fcn.14001a830
test rax, rax
jne 0x14001b94e
jmp 0x14001b92e

Function at 0x14001b980
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001b9c0
test ebx, ebx
jle 0x14001b9b0
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14001a830
test rax, rax
jne 0x14001b99d
add rsp, 0x20
pop rbx
ret
Function at 0x14001bab0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001bb28
test byte [rbx + 0x40], 0xc
jne 0x14001badf
mov eax, dword [0x14013aca8]
test eax, eax
jne 0x14001baf0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140019a00
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001bb13
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001bb13
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001bb3c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140019cd0
call fcn.14001a830
mov rbx, rax
test rax, rax
jne 0x14001bacf
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001bb5a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140019cd0
call fcn.14001b9d0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001bbe0
call fcn.1400196c0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001bc18
call fcn.14001a780
mov ecx, dword [0x1400fe308]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001bc70
test esi, esi
je 0x14001bbf6
call fcn.14001bab0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001bc50
mov edx, edi
call fcn.140019790
call fcn.14001bab0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001bc60
call fcn.14001bab0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001bab0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001a780
mov ecx, dword [0x1400fe308]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001bbb5
call fcn.14001a830
mov rbx, rax
jmp 0x14001bbb5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001bbce
call fcn.14001a830
jmp 0x14001bbf6
call fcn.14001a830
mov rbx, rax
jmp 0x14001bbb1
Function at 0x14001bb70
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001bb28
test byte [rbx + 0x40], 0xc
jne 0x14001badf
mov eax, dword [0x14013aca8]
test eax, eax
jne 0x14001baf0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140019a00
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001bb13
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001bb13
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001bb3c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140019cd0
call fcn.14001a830
mov rbx, rax
test rax, rax
jne 0x14001bacf
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001bb5a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140019cd0
call fcn.14001b9d0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001bbe0
call fcn.1400196c0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001bc18
call fcn.14001a780
mov ecx, dword [0x1400fe308]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001bc70
test esi, esi
je 0x14001bbf6
call fcn.14001bab0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001bc50
mov edx, edi
call fcn.140019790
call fcn.14001bab0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001bc60
call fcn.14001bab0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001bab0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14001a780
mov ecx, dword [0x1400fe308]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001bbb5
call fcn.14001a830
mov rbx, rax
jmp 0x14001bbb5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001bbce
call fcn.14001a830
jmp 0x14001bbf6
call fcn.14001a830
mov rbx, rax
jmp 0x14001bbb1

Function at 0x14001bc80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14001a780
mov ecx, dword [0x1400fe308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001bcf0
test esi, esi
je 0x14001bcd0
call fcn.14001bab0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001bd00
mov edx, esi
call fcn.140019790
call fcn.14001bab0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001bab0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001bab0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001a830
mov rbx, rax
jmp 0x14001bca1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001bcba
Function at 0x14001f600
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x2e8
mov qword [rsp + 0x2d8], rcx
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x2d0], 0
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x2d0], rax
mov rax, 0xffffffffffffffff
cmp qword [rsp + 0x2d0], rax
jne 0x14001f65e
mov byte [rsp + 0x2e7], 0
jmp 0x14001f7f3
mov dword [rsp + 0x98], 0x238
mov rcx, qword [rsp + 0x2d0]
lea rdx, [rsp + 0x98]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 0
jne 0x14001f694
mov byte [rsp + 0x2e7], 0
jmp 0x14001f7f3
jmp 0x14001f699
mov rcx, qword [rsp + 0x2d0]
lea rdx, [rsp + 0x98]
call sub.KERNEL32.dll_Process32NextW
cmp eax, 0
je 0x14001f7dd
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400bc790
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400bc760
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x80]
call fcn.1400229a0
test al, 1
jne 0x14001f710
jmp 0x14001f7d8
lea rcx, [rsp + 0x88]
call fcn.140024650
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400c9350
lea rax, [rsp + 0x98]
add rax, 0x2c
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea r8, str..exe
call fcn.1400f8300
lea rcx, [rsp + 0x40]
call fcn.140034230
mov rcx, qword [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.msvcrt.dll__wcsicmp]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x40]
call fcn.1400caa10
mov eax, dword [rsp + 0x2c]
cmp eax, 0
jne 0x14001f799
mov byte [rsp + 0x2e7], 1
mov dword [rsp + 0x3c], 1
jmp 0x14001f7a1
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x60]
call fcn.1400caa10
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x14001f7c1
jmp 0x14001f7bc
jmp 0x14001f7f3
jmp 0x14001f7c6
lea rcx, [rsp + 0x88]
call fcn.140021900
jmp 0x14001f6ee
jmp 0x14001f699
mov rcx, qword [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x2e7], 0
mov al, byte [rsp + 0x2e7]
and al, 1
movzx eax, al
add rsp, 0x2e8
ret
Function at 0x140020d80
Capabilities:
Read data from internet
Receive data

Disassembly:
sub rsp, 0x6a8
mov qword [rsp + 0x40], rcx
mov rax, rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x688], rcx
mov qword [rsp + 0x680], rdx
mov qword [rsp + 0x678], r8
mov qword [rsp + 0x670], r9
mov rax, qword [rsp + 0x680]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x66f], 0
mov rdx, qword [rsp + 0x670]
call fcn.1400c9350
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x140020fb8
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x678]
call fcn.140034230
mov rcx, qword [rsp + 0x38]
mov rdx, rax
xor eax, eax
mov r8d, eax
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
mov qword [rsp + 0x28], 0
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rcx, rax
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], rcx
cmp qword [rax + 8], 0
je 0x140020fa9
mov rcx, qword [rsp + 0x670]
call fcn.140034220
mov qword [rsp + 0x470], rax
mov rcx, qword [rsp + 0x670]
call fcn.140033fc0
mov qword [rsp + 0x468], rax
lea rax, [rsp + 0x467]
mov qword [rsp + 0x690], rax
mov rax, qword [rsp + 0x690]
mov qword [rsp + 0x6a0], rax
mov rdx, qword [rsp + 0x470]
mov r8, qword [rsp + 0x468]
lea rcx, [rsp + 0x478]
lea r9, [rsp + 0x467]
call fcn.1400c59f0
lea rcx, [rsp + 0x498]
lea rdx, [rsp + 0x478]
mov r8d, 4
call fcn.1400ab500
lea rcx, [rsp + 0x478]
call fcn.1400c5bf0
lea rax, [rsp + 0x467]
mov qword [rsp + 0x698], rax
mov rcx, qword [rsp + 0x698]
call fcn.1400ae8b0
lea rcx, [rsp + 0x498]
call fcn.1400ab190
test al, 1
jne 0x140020f0b
jmp 0x140020f8d
jmp 0x140020f10
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
lea rdx, [rsp + 0x60]
mov r8d, 0x400
lea r9, [rsp + 0x5c]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, eax
xor eax, eax
cmp ecx, 0
mov byte [rsp + 0x37], al
je 0x140020f4c
cmp dword [rsp + 0x5c], 0
seta al
mov byte [rsp + 0x37], al
mov al, byte [rsp + 0x37]
test al, 1
jne 0x140020f5d
jmp 0x140020f7b
lea rdx, [rsp + 0x60]
mov eax, dword [rsp + 0x5c]
mov r8d, eax
lea rcx, [rsp + 0x498]
call fcn.140085f80
jmp 0x140020f10
lea rcx, [rsp + 0x498]
call fcn.1400ab150
jmp 0x140020f97
mov rcx, qword [rsp + 0x40]
call fcn.1400c7460
lea rcx, [rsp + 0x498]
call fcn.1400abbb0
jmp 0x140020fb3
mov rcx, qword [rsp + 0x40]
call fcn.1400c7460
jmp 0x140020fb8
mov byte [rsp + 0x66f], 1
test byte [rsp + 0x66f], 1
jne 0x140020fd8
mov rcx, qword [rsp + 0x40]
call fcn.1400caa10
mov rax, qword [rsp + 0x48]
add rsp, 0x6a8
ret