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

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.140014d60
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.140014d60
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 0x14000aef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400ea044]
test esi, esi
mov rbx, rcx
jle 0x14000b020
mov rax, qword [0x1400ea048]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000af3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000afc5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000af20
mov rcx, rbx
call fcn.14000b940
test rax, rax
mov rdi, rax
je 0x14000b042
mov rax, qword [0x1400ea048]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000ba80
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400ea048]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b027
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000afbe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000afd0
add dword [0x1400ea044], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1400ea048]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000afbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000ae80
nop dword [rax]
xor esi, esi
jmp 0x14000af48
mov rax, qword [0x1400ea048]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.14000ae80
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.14000ae80
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000b5b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400ea0a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400ea080]
test rbx, rbx
je 0x14000b60c
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 eax, eax
jne 0x14000b603
test rsi, rsi
je 0x14000b603
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000b5e8
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 0x140017710
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400eacc0], 1
je 0x140017788
lea rdi, [0x1400eacc0]
mov rcx, rdi
call fcn.140017010
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.140016920
mov esi, dword [0x1400eacc0]
test esi, esi
jne 0x140017798
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x1400b2168], eax
je 0x1400b15b6
mov dword [0x1400eacc0], 1
mov rcx, rbp
call fcn.140016c10
test rbx, rbx
je 0x140017788
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1400173b0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x140017768
mov ecx, 2
call qword [fcn.140014d60]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x140017768
call sub.msvcrt.dll_abort
nop

Function at 0x1400177c0
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.1400174c0
cmp qword [0x1400ed048], 0
mov rbx, rax
je 0x1400178d8
test rax, rax
je 0x1400178d8
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rbx + 0x70], eax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.140016f10
cmp eax, 1
je 0x1400178e6
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
lea r9, [rbx + 0x28]
mov rcx, rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je fcn.1400b15bc
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x1400b2168]
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 0x1400178ec
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.140017290
nop
jmp fcn.1400b15bc

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

Disassembly:
sub rsp, 0x28
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140017920
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.1400177c0
Function at 0x140018090
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
test rdx, rdx
mov rbx, rcx
mov rsi, rdx
je 0x1400181b8
cmp eax, 1
je 0x1400180eb
call fcn.140017010
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.140016920
mov r12d, dword [rbx]
test r12d, r12d
je 0x140018100
cmp r12d, 1
jne 0x140018190
mov rcx, rbp
call fcn.140016c10
test rdi, rdi
je 0x1400180eb
mov rcx, rdi
call fcn.1400173b0
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x140017490]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.140017710
mov ecx, dword [0x1400b2168]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x1400181f8
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.140017710
mov ecx, dword [0x1400b2168]
call r12
test rax, rax
je 0x1400181e0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.140017710
mov ecx, dword [0x1400b2168]
call r12
test rax, rax
je 0x1400181d0
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x1400180d6
mov ecx, 2
call qword [fcn.140014d60]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x1400180d6
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.1400177c0
test rax, rax
jne 0x140018179
jmp 0x1400b15d5
call fcn.1400177c0
test rax, rax
jne 0x140018155
jmp 0x1400b15ee
call fcn.1400177c0
test rax, rax
jne 0x14001812f
jmp 0x1400b15e4
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x140018480
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.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1400184f8
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.140016f20
cmp esi, dword [rbx + 0x48]
jae 0x1400184d3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x1400184d3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.140016f60
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.1400177c0
mov rbx, rax
jmp 0x1400184ad
Function at 0x140018510
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, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018620
lea r14, [rbx + 0x68]
mov rcx, r14
call fcn.140016f20
cmp esi, dword [rbx + 0x48]
jae 0x1400185a0
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r14
mov byte [rax + rsi], 1
call fcn.140016f60
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 0x50]
lea r15d, [rsi + 1]
movsxd r13, r15d
lea rdx, [r13*8]
call sub.msvcrt.dll_realloc
test rax, rax
mov rdi, rax
je 0x14001862d
mov rcx, qword [rbx + 0x58]
mov rdx, r13
movq xmm6, rdi
call sub.msvcrt.dll_realloc
movq xmm0, rax
test rax, rax
mov r13, rax
punpcklqdq xmm6, xmm0
je 0x14001862d
mov eax, dword [rbx + 0x48]
mov edx, r15d
lea rcx, [rdi + rax*8]
sub edx, eax
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov edx, dword [rbx + 0x48]
mov r8d, r15d
lea rcx, [r13 + rdx]
sub r8d, edx
xor edx, edx
call sub.msvcrt.dll_memset
movaps xmmword [rbx + 0x50], xmm6
mov dword [rbx + 0x48], r15d
jmp 0x140018564
call fcn.1400177c0
mov rbx, rax
jmp 0x14001854f
mov rcx, r14
call fcn.140016f60
mov eax, 0xc
jmp 0x140018582

Function at 0x1400186b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400186d8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.1400177c0
test rax, rax
jne 0x1400186ca
add rsp, 0x28
ret

Function at 0x140018740
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018768
add rax, 0x18
add rsp, 0x28
ret
call fcn.1400177c0
test rax, rax
jne 0x14001875a
jmp 0x14001875e

Function at 0x140018880
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400eacc8]
test eax, eax
jne 0x140018898
xor eax, eax
add rsp, 0x28
ret
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400188c8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14001888e
test byte [rax + 0x40], 3
je 0x14001888e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x140018890
call fcn.1400177c0
test rax, rax
jne 0x1400188ae
jmp 0x14001888e
Function at 0x1400188e0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018920
test ebx, ebx
jle 0x140018910
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.1400177c0
test rax, rax
jne 0x1400188fd
add rsp, 0x20
pop rbx
ret

Function at 0x140018a10
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018a88
test byte [rbx + 0x40], 0xc
jne 0x140018a3f
mov eax, dword [0x1400eacc8]
test eax, eax
jne 0x140018a50
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140016920
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140018a73
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140018a73
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140018a9c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016c10
call fcn.1400177c0
test rax, rax
mov rbx, rax
jne 0x140018a2f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x140018aba
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016c10
call fcn.140018930
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018b40
call fcn.1400166e0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140018b78
call fcn.140017710
mov ecx, dword [0x1400b2168]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018bd0
test esi, esi
je 0x140018b56
call fcn.140018a10
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018bb0
mov edx, edi
call fcn.140016790
call fcn.140018a10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018bc0
call fcn.140018a10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017710
mov ecx, dword [0x1400b2168]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018b15
call fcn.1400177c0
mov rbx, rax
jmp 0x140018b15
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018b2e
call fcn.1400177c0
jmp 0x140018b56
call fcn.1400177c0
mov rbx, rax
jmp 0x140018b11
Function at 0x140018ad0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018a88
test byte [rbx + 0x40], 0xc
jne 0x140018a3f
mov eax, dword [0x1400eacc8]
test eax, eax
jne 0x140018a50
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140016920
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140018a73
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140018a73
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x140018a9c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016c10
call fcn.1400177c0
test rax, rax
mov rbx, rax
jne 0x140018a2f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x140018aba
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016c10
call fcn.140018930
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018b40
call fcn.1400166e0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x140018b78
call fcn.140017710
mov ecx, dword [0x1400b2168]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018bd0
test esi, esi
je 0x140018b56
call fcn.140018a10
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018bb0
mov edx, edi
call fcn.140016790
call fcn.140018a10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018bc0
call fcn.140018a10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a10
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017710
mov ecx, dword [0x1400b2168]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018b15
call fcn.1400177c0
mov rbx, rax
jmp 0x140018b15
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018b2e
call fcn.1400177c0
jmp 0x140018b56
call fcn.1400177c0
mov rbx, rax
jmp 0x140018b11

Function at 0x140018be0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140017710
mov ecx, dword [0x1400b2168]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018c50
test esi, esi
je 0x140018c30
call fcn.140018a10
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018c60
mov edx, esi
call fcn.140016790
call fcn.140018a10
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018a10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018a10
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400177c0
mov rbx, rax
jmp 0x140018c01
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140018c1a
Function at 0x140001c10
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov r14, rcx
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9
mov qword [0x140113aa0], rax
test rax, rax
je 0x140001e3f
mov rax, qword gs:[0x60]
mov r8, qword [rax + 0x18]
add r8, 0x10
mov r8, qword [r8]
mov rsi, qword [r8 + 0x30]
movsxd rax, dword [rsi + 0x3c]
mov edi, dword [rax + rsi + 0x88]
test rdi, rdi
je 0x140001c47
mov edx, dword [rsi + rdi + 0x18]
lea r9, [rsi + 1]
jmp 0x140001c7d
mov ecx, 0x885c48c
cmp ecx, 0x11a70d0b
je 0x140001cb8
sub rdx, 1
jb 0x140001c47
mov eax, dword [rsi + rdi + 0x20]
add rax, rsi
mov ebx, dword [rax + rdx*4]
mov al, byte [rsi + rbx]
test al, al
je 0x140001c70
add rbx, r9
mov ecx, 0x885c48c
nop dword [rax]
movsx eax, al
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rbx]
add rbx, 1
test al, al
jne 0x140001ca0
jmp 0x140001c75
mov eax, dword [rsi + rdi + 0x1c]
mov ecx, dword [rsi + rdi + 0x24]
add rax, rsi
add rcx, rsi
mov edx, edx
movzx ecx, word [rcx + rdx*2]
mov ebx, dword [rax + rcx*4]
add rbx, rsi
lea rdi, [0x140113aa8]
mov r8d, 0x40
mov rcx, rdi
xor edx, edx
call rbx
mov dword [0x140113ad0], 1
mov dword [0x140113ac0], 1
mov dword [0x140113ab0], 0
movabs rax, 0x5000000001
mov qword [0x140113ad4], rax
mov dword [0x140113ae4], 1
mov rcx, qword [0x140113aa0]
mov r9, qword [r14 + 0x50]
mov rax, qword [rcx]
lea rdx, [0x140113ae8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0x80]
mov ecx, eax
mov al, 1
test ecx, ecx
jns 0x140001e41
mov rcx, qword [0x140113ae8]
test rcx, rcx
je 0x140001d7d
mov rax, qword [rcx]
call qword [rax + select]
mov qword [0x140113ae8], 0
mov rcx, qword [0x140113aa0]
test rcx, rcx
je 0x140001d9a
mov rax, qword [rcx]
call qword [rax + select]
mov qword [0x140113aa0], 0
mov rax, qword gs:[0x60]
mov r8, qword [rax + 0x18]
add r8, 0x10
mov r8, qword [r8]
mov rsi, qword [r8 + 0x30]
movsxd rax, dword [rsi + 0x3c]
mov edi, dword [rax + rsi + 0x88]
test rdi, rdi
je 0x140001dab
mov edx, dword [rsi + rdi + 0x18]
lea r9, [rsi + 1]
jmp 0x140001ddd
mov ecx, 0x32301166
cmp ecx, 0xbcb6029d
je 0x140001e18
sub rdx, 1
jb 0x140001dab
mov eax, dword [rsi + rdi + 0x20]
add rax, rsi
mov ebx, dword [rax + rdx*4]
mov al, byte [rsi + rbx]
test al, al
je 0x140001dd0
add rbx, r9
mov ecx, 0x32301166
nop dword [rax]
movsx eax, al
xor eax, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [rbx]
add rbx, 1
test al, al
jne 0x140001e00
jmp 0x140001dd5
mov eax, dword [rsi + rdi + 0x1c]
mov ecx, dword [rsi + rdi + 0x24]
add rax, rsi
add rcx, rsi
mov edx, edx
movzx ecx, word [rcx + rdx*2]
mov ebx, dword [rax + rcx*4]
add rbx, rsi
mov rdx, qword [r14 + 0x70]
mov rcx, qword [r14 + 0x98]
call rbx
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140007bb0
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1f8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x170], 0xfffffffffffffffe
mov ebx, edx
mov rsi, rcx
mov eax, 1
lock xadd dword [0x140113d40], eax
test eax, eax
je 0x140007bed
test bl, bl
jne 0x140007c09
jmp 0x140007cac
lea rdx, [rbp - 0x58]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x140113d44], eax
test bl, bl
je 0x140007cac
mfence
mov edi, dword [0x140113d44]
test edi, edi
je 0x140007cac
mov qword [rbp + 0x158], 0
mov rax, qword [0x140109180]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x140007c5a
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, edi
call qword [rax + 0x30]
mov ecx, 2
test al, al
je 0x140007c5f
mov ecx, 3
mov qword [rbp + 0x168], rcx
mov dword [rbp + 0x158], edi
lea rax, [0x140109178]
mov qword [rbp + 0x160], rax
lea rax, str.C:Users_ntoskrnlDesktop_boost_1_85_0_boost_asio_detail_impl_winsock_init.ipp
mov qword [rbp + 0x140], rax
lea rax, str.throw_on_error
mov qword [rbp + 0x148], rax
movabs rax, 0x500000048
mov qword [rbp + 0x150], rax
test cl, 1
jne 0x140007cbb
mov rax, rsi
add rsp, 0x1f8
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea r8, str.winsock
lea rsi, [rbp - 0x58]
lea rdx, [rbp + 0x158]
mov rcx, rsi
call fcn.14000f510
lea rdx, [rbp + 0x140]
mov rcx, rsi
call fcn.14000f850
int3
Function at 0x14000f390
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rbx, qword [rsp + 0x90]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], r9d
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_WSARecv]
mov r14d, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rax, qword [0x140109180]
shr rax, 1
movabs rbp, 0x595588bd12bf6fe8
cmp rax, rbp
jne 0x14000f3f7
test edi, edi
setne al
jmp 0x14000f40a
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, edi
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov dword [rbx], edi
mov dword [rbx + 4], 0
lea rsi, [0x140109178]
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rax
cmp edi, 0x4d1
jg 0x14000f447
cmp edi, 0x40
je 0x14000f460
cmp edi, 0xea
je 0x14000f4f0
jmp 0x14000f4e6
cmp edi, 0x4d2
je 0x14000f495
cmp edi, 0x2738
je 0x14000f4f0
jmp 0x14000f4e6
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, rbp
je 0x14000f489
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, 0x2746
call qword [rax + 0x30]
test al, al
je 0x14000f4c5
mov eax, 3
mov ecx, 0x2746
jmp 0x14000f4db
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, rbp
je 0x14000f4be
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, 0x274d
call qword [rax + 0x30]
test al, al
je 0x14000f4d1
mov eax, 3
jmp 0x14000f4d6
mov eax, 2
mov ecx, 0x2746
jmp 0x14000f4db
mov eax, 2
mov ecx, 0x274d
mov qword [rbx], rcx
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rax
mov eax, 0xffffffff
test r14d, r14d
jne 0x14000f502
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov eax, dword [rsp + 0x38]
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret