joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401aa180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, r8
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, dword [0x14039dea0]
mov r8, qword gs:[0x58]
mov rax, qword [r8 + rax*8]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], 0x200000
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov byte [rsp + 0x78], 1
mov dword [rsp + 0x7c], edx
mov dword [rsp + 0x80], 0
mov rax, qword [rcx + 8]
mov rcx, qword [rax + 7]
cmp rcx, 2
jl 0x1401aa222
lea rcx, [rsp + 0x30]
mov dl, 1
call fcn.1401a5aa0
mov dword [rsp + 0x58], eax
jmp 0x1401aa23e
mov dword [rsp + 0x58], 0x200000
mov rax, qword [rax + 7]
sar rax, 1
inc rax
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x78], 0
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401a5d20
mov rdi, rax
mov rcx, rbx
call fcn.1401a7200
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x98]
test al, al
je 0x1401aa293
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x90]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 7]
sar rcx, 1
cmp qword [rax], rcx
jne 0x1401aa293
mov byte [rsp + 0x80], 1
mov qword [rsi], rdi
mov rbx, qword [rsp + 0x68]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x98]
cmp byte [rsp + 0x80], 0
setne cl
test rbx, rbx
sete dl
and dl, cl
and dl, al
mov byte [rsi + 0x10], dl
movzx eax, byte [rsp + 0x81]
mov byte [rsi + 0x11], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
call fcn.1401a9660
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 8], rcx
mov qword [rsi + 0x28], rbx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14025dfe0
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401bb100
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x14039dea0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rax, qword [rsi + 0x20]
mov rbx, qword [rax + 0x2f0]
mov rdx, qword [0x140394c80]
mov r8d, 4
mov rcx, rdi
call fcn.1400ef000
mov qword [rsp + 0x40], rax
mov rcx, rdi
call fcn.1400f8be0
mov qword [rsp + 0x48], rax
mov rcx, rbx
call fcn.1400f8c00
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov r13d, 1
lea rbp, [0x14031c240]
lea rdi, [rsp + 0x40]
lea rbx, [rsp + 0x28]
lea r12, [0x14039b150]
jmp 0x1401bb1d2
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8 + 0x27]
mov qword [r14 + 8], rax
mov qword [r12 + r13*8], r14
inc r13
cmp r13, 0x27b
je 0x1401bb220
mov ecx, 0x5c
call fcn.14011b080
mov r14, rax
mov r15, qword [rbp + r13*8]
mov rcx, r15
call fcn.14026f4d0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rax
mov rcx, r15
mov rdx, rax
call fcn.14016fa50
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401bd630
cmp rax, 0xffffffffffffffff
jne 0x1401bb1b0
mov rax, qword [0x140394c80]
jmp 0x1401bb1be
lea r13, [0x14039a950]
xor ebp, ebp
lea rdi, [rsp + 0x27]
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x28]
jmp 0x1401bb272
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8 + 0x27]
mov qword [r15 + 8], rax
mov rax, qword [r15 + 8]
mov qword [r13], rax
mov qword [r12 + rbp*8 + 0x13d8], r15
inc rbp
add r13, 8
cmp rbp, 0x100
je 0x1401bb2be
mov byte [rsp + 0x27], bpl
mov ecx, 0x5c
call fcn.14011b080
mov r15, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], 1
mov edx, 1
mov rcx, rdi
call fcn.14016fa50
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov rdx, r14
call fcn.1401bd630
cmp rax, 0xffffffffffffffff
jne 0x1401bb240
mov rax, qword [0x140394c80]
jmp 0x1401bb24e
mov rax, qword [rsi + 0x20]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], 0
mov rcx, qword [rcx + 8]
mov qword [rax + 0x2f0], rcx
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401bb2f5
mov rcx, qword [0x140394c80]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14025dfe0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401c0e10
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.1400297f0
test rax, rax
je 0x1401c0edd
mov rcx, rsi
call fcn.1400297f0
mov rbx, qword [rax + 0x6a8]
mov rdi, qword [rsi + 0x50]
test rbx, rbx
je 0x1401c0e63
mov rcx, rsi
call fcn.1400297f0
mov rcx, qword [rax + 0x690]
mov rcx, qword [rcx + 0x3a0]
mov rdx, rax
call fcn.1401d50c0
cmp eax, 4
jne 0x1401c0e75
test rbx, rbx
setne r8b
mov rcx, rdi
mov rdx, rsi
call fcn.14012a180
mov rcx, rsi
call fcn.1400297f0
mov rdi, rax
mov eax, 1
cmp dword [rdi + 0xbb8], 1
je 0x1401c0eb1
cmp qword [rdi + 0x788], 0
setle al
cmp qword [rdi + 0x790], 0
setg cl
and cl, al
movzx eax, cl
shl rax, 4
or rax, 5
xor ecx, ecx
lock cmpxchg qword [rdi + 0x710], rcx
je 0x1401c0f84
mov rax, qword [rdi + 0x690]
mov rcx, qword [rax + 0x3a0]
mov rdx, rdi
call fcn.1401d5020
jmp 0x1401c0f84
mov rdi, qword [rsi + 0x50]
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.14012a180
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call fcn.1401c1020
mov rdi, rax
mov dword [rax + 0x750], 1
mov rax, qword [rax + 0x690]
mov rcx, qword [rax + 0x370]
test rcx, rcx
je 0x1401c0f55
call fcn.1401d3e00
mov qword [rdi + 0x6b8], rax
mov qword [rdi + 0x40], recv
mov rax, qword [rdi + 0x690]
mov rcx, qword [rax + 0x378]
call fcn.1401d3e00
mov qword [rdi + 0x6c0], rax
mov rax, qword [rdi + 0x690]
mov rcx, qword [rax + 0x3b0]
call fcn.1401d3a40
mov qword [rdi + 0x6b0], rax
mov rax, qword [rsi + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rdi + 0x60], rax
mov qword [rsi + 8], rdi
mov rdx, qword [rsi + 0x50]
mov rcx, rdi
call fcn.1401c2930
mov qword [rsi], rdi
mov qword [rdi + 0x6c8], 3
mov qword [rdi + 0x708], 0
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c0fc7
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x1401c0fcf
mov rcx, rsi
call fcn.140048340
mov rsi, rax
test rax, rax
jne 0x1401c0fcf
call fcn.14018d030
mov rsi, rax
mov qword [rdi + 0x10], rsi
mov qword [rsi + 0x60], rdi
mov rcx, rdi
call fcn.14018d140
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14018ce70
Function at 0x1401c1510
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov r9d, r8d
mov edi, edx
xor edx, edx
xor r8d, r8d
call fcn.1401c1020
mov rsi, rax
test rax, rax
je 0x1401c15fe
mov dword [rsi + 0x750], edi
mov rax, qword [rsi + 0x690]
mov rcx, qword [rax + 0x370]
test rcx, rcx
je 0x1401c157f
call fcn.1401d3e00
mov qword [rsi + 0x6b8], rax
mov qword [rsi + 0x40], recv
mov rax, qword [rsi + 0x690]
mov rcx, qword [rax + 0x378]
call fcn.1401d3e00
mov qword [rsi + 0x6c0], rax
mov rax, qword [rsi + 0x690]
mov rcx, qword [rax + 0x3b0]
cmp edi, 1
jne 0x1401c1592
call fcn.1401d3a40
jmp 0x1401c1597
call fcn.1401d3b00
mov qword [rsi + 0x6b0], rax
mov qword [rsi + 0x6c8], 3
mov qword [rsi + 0x708], 0
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c15de
mov rdi, rax
cmp byte [rax + 8], 0
jne 0x1401c15e6
mov rcx, rdi
call fcn.140048340
mov rdi, rax
test rax, rax
jne 0x1401c15e6
call fcn.14018d030
mov rdi, rax
mov qword [rsi + 0x10], rdi
mov qword [rdi + 0x60], rsi
mov rcx, rsi
call fcn.14018d140
mov rcx, rdi
call fcn.14018ce70
test rsi, rsi
setne al
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1401c1730
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov edi, edx
mov rbx, rcx
mov r14, qword [rcx + 0x398]
cmp qword [0x1403991e0], 0
sete sil
mov rcx, r14
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rcx, r14
mov edx, esi
call fcn.1401c3830
mov rsi, rax
mov qword [rax + 0x688], 0
mov qword [rax + 0x690], rbx
mov qword [rax + 0xca0], 0
mov eax, 0x80
xchg qword [rsi + 0x710], rax
mov dword [rsi + 0xbb8], 0
mov rcx, r14
call fcn.14009c4b0
mov dword [rsi + 0x750], edi
mov qword [rsi + 0x6c8], 3
mov qword [rsi + 0x708], 0
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c17e7
mov rdi, rax
cmp byte [rax + 8], 0
jne 0x1401c17ef
mov rcx, rdi
call fcn.140048340
mov rdi, rax
test rax, rax
jne 0x1401c17ef
call fcn.14018d030
mov rdi, rax
mov qword [rsi + 0x10], rdi
mov qword [rdi + 0x60], rsi
mov rcx, rsi
call fcn.14018d140
mov rcx, rdi
call fcn.14018ce70
mov al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1401c30f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c311c
cmp byte [rax + 8], 0
jne 0x1401c3121
mov rcx, rax
call fcn.140048340
test rax, rax
jne 0x1401c3121
call fcn.14018d030
mov rax, qword [rax + 0x68]
test rax, rax
je 0x1401c3133
cmp qword [rax + 0x10], rsi
sete al
jmp 0x1401c3135
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x1401c3140
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c317f
cmp byte [rax + 8], 0
jne 0x1401c3184
mov rcx, rax
call fcn.140048340
test rax, rax
jne 0x1401c3184
call fcn.14018d030
mov rbx, qword [rax + 0x68]
test rbx, rbx
je 0x1401c322c
lea rdi, [rsi + 8]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov byte [rbx + 0x28], 1
mov rax, qword [rsi + 0x98]
test rax, rax
je 0x1401c3244
inc rax
mov qword [rsi + 0x98], rax
lea r14, [rsi + 0x48]
cmp qword [rsi + 0x48], r14
jne 0x1401c3244
cmp qword [rsi + 0x68], 0
je 0x1401c3244
mov ecx, 0x30
call fcn.14025e260
mov rbx, rax
mov qword [rax + 0x10], rsi
mov rax, qword [0x1403161a0]
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], 0
mov byte [rbx + 0x28], 0
mov qword [rbx], r14
mov rax, qword [rsi + 0x50]
mov qword [rbx + 8], rax
mov qword [rsi + 0x50], rbx
mov qword [rax], rbx
inc qword [rsi + 0x28]
mov rcx, rdi
call fcn.14009c4b0
lea rcx, str.DartWorker
lea rdx, [0x1401c36c0]
mov r8, rbx
call fcn.14018d290
test eax, eax
jne 0x1401c3262
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14025dfe0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14025dfe0
mov rcx, rdi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14009c4b0
lea rcx, str..._.._runtime_vm_thread_pool.cc
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], 0x12b
lea rdx, str.Could_not_start_worker_thread:_result___d.
lea rcx, [rsp + 0x20]
mov r8d, eax
call fcn.140023950
int3

Function at 0x1401c3290
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c32be
cmp byte [rax + 8], 0
jne 0x1401c32c3
mov rcx, rax
call fcn.140048340
test rax, rax
jne 0x1401c32c3
call fcn.14018d030
mov rbx, qword [rax + 0x68]
test rbx, rbx
je 0x1401c3307
lea rdi, [rsi + 8]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
cmp byte [rbx + 0x28], 0
je 0x1401c32f8
mov byte [rbx + 0x28], 0
mov rax, qword [rsi + 0x98]
test rax, rax
je 0x1401c32f8
dec rax
mov qword [rsi + 0x98], rax
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14009c4b0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401c5d60
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edx, dword [0x1403993b8]
cmp edx, 0x10000001
jb 0x1401c5d97
lea rcx, str.warning:_value_specified_for___old_gen_heap_size__d_is_larger_than_the_physically_addressable_range__using_0_unlimited__instead.__n
call fcn.14018df20
mov dword [0x1403993b8], 0
mov edx, dword [0x1403993a8]
cmp edx, 0x10000001
jb 0x1401c5dc1
lea rcx, str.warning:_value_specified_for___new_gen_semi_max_size__d_is_larger_than_the_physically_addressable_range__using__lld_instead.__n
mov r8d, reloc.WS2_32.dll_recv
call fcn.14018df20
mov dword [0x1403993a8], 0x10
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x14039cd58], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14025dfe0
nop
add rsp, 0x58
ret

Function at 0x1401c5e00
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rbx, rcx
lea rsi, [rdx + rcx]
sub rsi, qword [0x14039cd58]
cmp byte [0x140399180], 0
mov ebp, 0x40
mov eax, 4
cmovne ebp, eax
test r8b, r8b
cmove ebp, eax
xor r15d, r15d
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x2000
mov r9d, ebp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1401c5ebc
mov r14, rax
add rax, rdi
dec rax
neg rdi
and rdi, rax
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x1000
mov r9d, ebp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp rax, rdi
je 0x1401c5e93
mov rcx, r14
mov rdx, rsi
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor r15d, r15d
jmp 0x1401c5ebc
test rdi, rdi
je 0x1401c5e8e
mov ecx, 0x30
call fcn.14025e260
mov r15, rax
mov qword [rax], rdi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], rsi
mov rax, r15
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401e7bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea rax, vtable.icu_68::Locale.0
mov qword [rcx], rax
lea rax, [rcx + 0x30]
mov qword [rcx + 0x28], rax
mov qword [rcx + 0xd0], 0
xor edx, edx
xor r8d, r8d
jmp fcn.1401e74e0

Function at 0x1401f6480
Capabilities:
Get geographical location

Disassembly:
push rsi
sub rsp, 0x90
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x2c], 0
mov rsi, qword [0x14039d848]
test rsi, rsi
jne 0x1401f65d4
lea rsi, [0x14039d850]
xor ecx, ecx
mov edx, 0x5c
mov r8, rsi
mov r9d, 0x55
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x1401f65ba
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x7d], 0
mov eax, 1
jmp 0x1401f6519
mov byte [rsp + rax + 0x30], 0x2d
add rax, 2
movzx ecx, word [rsi + rax*2 - 2]
cmp cx, 0x5f
jne 0x1401f6530
mov byte [rsp + rax + 0x2f], 0x2d
jmp 0x1401f6538
mov byte [rsp + rax + 0x2f], cl
test cl, cl
je 0x1401f655a
cmp rax, 0x55
je 0x1401f6552
movzx ecx, word [rsi + rax*2]
cmp cx, 0x5f
je 0x1401f6510
mov byte [rsp + rax + 0x30], cl
test cl, cl
jne 0x1401f6515
jmp 0x1401f655a
mov byte [rsp + 0x84], 0
mov ecx, 0x41
call fcn.1401dee00
test rax, rax
je 0x1401f65ba
mov rsi, rax
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rdx, rax
mov r8d, 0x40
call fcn.14020b570
cmp dword [rsp + 0x2c], 0
jle 0x1401f6595
mov rcx, rsi
call fcn.1401deed0
jmp 0x1401f65ba
cdqe
mov byte [rsi + rax], 0
mov qword [0x14039d848], rsi
mov byte [0x14039d8fa], 1
lea rdx, [0x1401f61d0]
mov ecx, reloc.WS2_32.dll_socket
call fcn.140204720
mov rsi, qword [0x14039d848]
test rsi, rsi
jne 0x1401f65d4
lea rsi, [0x14032cbc4]
mov qword [0x14039d848], rsi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14025dfe0
mov rax, rsi
add rsp, 0x90
pop rsi
ret
Function at 0x140212450
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x14021246b
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.140207390
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140212519
mov r14, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140212519
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x140212544
mov qword [rdi + 0x28], rbx
mov al, 1
jmp 0x140212461
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x14021245f
mov dword [rsi], 7
jmp 0x14021245f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14021245f
Function at 0x14021b480
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c0
mov ebp, r9d
mov r15d, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
test r8d, r8d
jle 0x14021b4ef
mov rbx, qword [rdi + 0x28]
test rbx, rbx
je 0x14021b52a
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.14025dfe0
mov rcx, rbx
mov rdx, rsi
mov r8d, r15d
mov r9d, ebp
add rsp, 0x1c0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1401dbf40
xor ebx, ebx
test r15d, r15d
js 0x14021b51a
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.14025dfe0
mov eax, ebx
add rsp, 0x1c0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rsi
call fcn.14026f4d0
mov r15, rax
test r15d, r15d
je 0x14021b4f6
mov rbx, qword [rdi + 0x58]
test rbx, rbx
je 0x14021b565
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.14025dfe0
mov rcx, rbx
mov rdx, rsi
mov r8d, r15d
mov r9d, ebp
add rsp, 0x1c0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.14021f930
mov r8, qword [rdi + 0x50]
test r8, r8
je 0x14021b5c8
cmp dword [r8 + 8], 0
je 0x14021b5c8
cmp ebp, 1
mov r9d, reloc.WS2_32.dll_shutdown
sbb r9d, 0
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.14021d360
cmp dword [rsp + 0x130], 0
je 0x14021b5be
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r8d, r15d
mov r9d, ebp
call fcn.14021f930
mov ebx, eax
mov rcx, rdi
call fcn.14021dbd0
jmp 0x14021b4f6
lea rcx, [rsp + 0x38]
call fcn.14021dbd0
xor r12d, r12d
test ebp, ebp
setne r12b
lea r14, [rsp + 0x34]
mov ebx, r15d
nop dword [rax]
movsxd rax, ebx
lea rcx, [rax - 1]
mov dword [rsp + 0x34], ecx
movzx r9d, byte [rsi + rax - 1]
test r9b, r9b
jns 0x14021b60b
mov byte [rsp + 0x20], 0xfd
mov rcx, rsi
xor edx, edx
mov r8, r14
call fcn.14022e7a0
mov r9d, eax
mov rax, rdi
nop
mov rcx, qword [rax + 0x28]
test rcx, rcx
jne 0x14021b650
mov rdx, rax
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x14021b610
xor eax, eax
cmp r9d, 0x10ffff
jg 0x14021b659
mov rcx, qword [rdx + 0x10]
cmp dword [rcx], r9d
jg 0x14021b644
mov edx, dword [rdx + 0x1c]
lea eax, [rdx - 1]
cmp edx, 2
jge 0x14021b676
and al, 1
jmp 0x14021b659
mov rax, qword [rcx]
mov edx, r9d
call qword [rax + ioctlsocket]
movsx eax, al
cmp r12d, eax
jne 0x14021b4f6
mov ebx, dword [rsp + 0x34]
test ebx, ebx
jg 0x14021b5e0
jmp 0x14021b4f6
lea r8d, [rdx - 2]
cmp dword [rcx + r8*4], r9d
jle 0x14021b644
cmp edx, 2
je 0x14021b644
mov r8d, eax
shr r8d, 1
xor edx, edx
jmp 0x14021b69f
mov edx, r8d
lea r8d, [rax + rdx]
sar r8d, 1
cmp r8d, edx
je 0x14021b644
movsxd r10, r8d
cmp dword [rcx + r10*4], r9d
jle 0x14021b690
mov eax, r8d
jmp 0x14021b693
Function at 0x140227390
Capabilities:
Inspect section memory permissions

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [rsp + 0x50]
mov qword [rcx + 8], r8
mov ecx, dword [r8]
mov dword [rsi + 0x20], ecx
lea r10, [0x140376ed8]
mov qword [rsi + 0x10], r10
test r9d, r9d
js 0x1402273e4
mov r10d, r9d
shr r10d, 2
mov r11d, 6
cmp byte [rdx], 1
jne 0x1402273db
xor r11d, r11d
cmp byte [rdx + 1], 0
setne r11b
lea r11d, [r11 + r11*4]
inc r11d
cmp r10d, r11d
jb 0x140227506
mov r10d, ecx
and r10d, 0xf0000000
cmp r10d, 0x20000000
je 0x140227409
and ecx, 0xe0000000
cmp ecx, 0x40000000
jne 0x140227506
movzx r10d, byte [rdx]
cmp r10b, 1
jne 0x14022741d
cmp byte [rdx + 1], 0
je 0x1402274c1
movzx ecx, byte [r8 + 4]
cmp ecx, 4
jbe 0x140227506
test r9d, r9d
js 0x140227452
lea r11d, [rcx*4 + 4]
cmp r11d, r9d
ja 0x140227506
mov r11d, dword [r8 + 0x10]
shl r11d, 2
cmp r11d, r9d
jg 0x140227506
mov r9d, dword [r8 + 8]
lea r11d, [rcx + 1]
cmp r9d, r11d
jg 0x1402274ce
cmp r10b, 3
jae 0x1402274e0
cmp ecx, 6
jb 0x1402274f3
mov r9d, dword [r8 + 0x18]
mov edx, r9d
and dl, 1
mov byte [rsi + 0x38], dl
mov r10d, r9d
shr r10b, 1
mov edx, r9d
shr dl, 2
and dl, 1
mov r11d, r9d
shl r11d, 0xc
and r11d, 0xf000000
or dword [rsi + 0x30], r11d
shr r9d, 0x10
and r10b, 1
mov byte [rsi + 0x39], r10b
mov byte [rsi + 0x3a], dl
mov dword [rsi + 0x34], r9d
jne 0x140227501
test dl, dl
je 0x1402274ba
cmp ecx, 8
jb 0x140227506
cmp ecx, 7
jb 0x1402274c8
jmp 0x140227526
mov dword [rsi + 0x24], 0x10000
mov byte [rsi + 0x3b], 1
jmp 0x140227520
shl r9d, 2
mov dword [rsi + 0x24], r9d
movzx r10d, byte [rdx]
cmp r10b, 3
jb 0x140227465
mov edx, dword [r8 + 4]
shr edx, 8
mov dword [rsi + 0x30], edx
cmp ecx, 6
jae 0x14022746e
cmp byte [rsi + 0x39], 0
jne 0x140227506
cmp byte [rsi + 0x3a], 0
jne 0x140227506
jmp 0x1402274c8
cmp ecx, 7
ja 0x140227526
mov dword [rax], 3
mov rcx, qword [rsi]
test rcx, rcx
je 0x140227520
call fcn.140207480
mov qword [rsi], 0
add rsp, 0x20
pop rsi
ret
movsxd rax, dword [r8 + 8]
cmp dword [r8 + 0x1c], eax
jle 0x1402274c8
lea rax, [r8 + rax*4]
mov qword [rsi + 0x10], rax
jmp 0x1402274c8
Function at 0x14023e200
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14023e228
cmp byte [rax + 8], 0
jne 0x14023e232
mov rcx, rax
call fcn.140048340
test rax, rax
jne 0x14023e232
call fcn.14018d030
test rax, rax
je 0x14023e23e
mov rcx, rax
add rsp, 0x28
jmp fcn.14018ce60
nop
add rsp, 0x28
ret

Function at 0x14023e250
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14023e278
cmp byte [rax + 8], 0
jne 0x14023e282
mov rcx, rax
call fcn.140048340
test rax, rax
jne 0x14023e282
call fcn.14018d030
test rax, rax
je 0x14023e28e
mov rcx, rax
add rsp, 0x28
jmp fcn.14018ce70
nop
add rsp, 0x28
ret

Function at 0x140240e50
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x14039dea0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
test rax, rax
je 0x140240e95
mov ecx, 0x230
add rcx, qword [rax + 0x720]
jmp 0x140240ea9
mov ecx, dword [0x140396dc8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
test rax, rax
je 0x140240ee9
movabs rax, 0x7ffffffffffffff8
cmp rsi, rax
jge 0x140240f02
add rsi, 7
and rsi, 0xfffffffffffffff8
mov rdi, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, rdi
cmp rax, rsi
jge 0x140240edc
mov rdx, rsi
call fcn.1401c6570
mov rdi, rax
jmp 0x140240eeb
lea rax, [rdi + rsi]
mov qword [rcx], rax
add qword [rcx + 0x10], rsi
jmp 0x140240eeb
xor edi, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14025dfe0
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rax, str..._.._runtime_vm_zone.h
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x107
lea rdx, str.Zone::Alloc:_size_is_too_large:_size_lld
lea rcx, [rsp + 0x20]
mov r8, rsi
call fcn.140023950
int3

Function at 0x14025c140
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14025c16c
cmp byte [rax + 8], 0
jne 0x14025c176
mov rcx, rax
call fcn.140048340
test rax, rax
jne 0x14025c176
call fcn.14018d030
test rax, rax
je 0x14025c186
mov rcx, rax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14018cde0
nop
add rsp, 0x20
pop rsi
ret