joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401bae00
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 [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x1403aea80]
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 + 0x300]
mov rdx, qword [0x1403a4da0]
mov r8d, 4
mov rcx, rdi
call fcn.1400eea40
mov qword [rsp + 0x40], rax
mov rcx, rdi
call fcn.1400f86a0
mov qword [rsp + 0x48], rax
mov rcx, rbx
call fcn.1400f86c0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov r13d, 1
lea rbp, [0x140328fe0]
lea rdi, [rsp + 0x40]
lea rbx, [rsp + 0x28]
lea r12, [0x1403abbc0]
jmp 0x1401baed2
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, 0x2a5
je 0x1401baf20
mov ecx, 0x5c
call fcn.1401197b0
mov r14, rax
mov r15, qword [rbp + r13*8]
mov rcx, r15
call fcn.140274e70
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rax
mov rcx, r15
mov rdx, rax
call fcn.14016f030
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401bd350
cmp rax, 0xffffffffffffffff
jne 0x1401baeb0
mov rax, qword [0x1403a4da0]
jmp 0x1401baebe
lea r13, [0x1403ab3c0]
xor ebp, ebp
lea rdi, [rsp + 0x27]
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x28]
jmp 0x1401baf72
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 + 0x1528], r15
inc rbp
add r13, 8
cmp rbp, 0x100
je 0x1401bafbe
mov byte [rsp + 0x27], bpl
mov ecx, 0x5c
call fcn.1401197b0
mov r15, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], 1
mov edx, 1
mov rcx, rdi
call fcn.14016f030
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov rdx, r14
call fcn.1401bd350
cmp rax, 0xffffffffffffffff
jne 0x1401baf40
mov rax, qword [0x1403a4da0]
jmp 0x1401baf4e
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 + 0x300], rcx
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401baff5
mov rcx, qword [0x1403a4da0]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140262cb0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401c0ab0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.140029aa0
test rax, rax
je 0x1401c0b7c
mov rcx, rsi
call fcn.140029aa0
mov rbx, qword [rax + 0x6b0]
mov rdi, qword [rsi + 0x50]
test rbx, rbx
je 0x1401c0b03
mov rcx, rsi
call fcn.140029aa0
mov rcx, qword [rax + 0x698]
mov rcx, qword [rcx + 0x3a0]
mov rdx, rax
call fcn.1401d5510
cmp eax, 4
jne 0x1401c0b15
test rbx, rbx
setne r8b
mov rcx, rdi
mov rdx, rsi
call fcn.140128f90
mov rcx, rsi
call fcn.140029aa0
mov rdi, rax
mov eax, 1
cmp dword [rdi + 0xbc0], 1
je 0x1401c0b50
cmp qword [rdi + 0x790], 0
setle al
cmp qword [rdi + 0x798], 0
setg cl
and cl, al
movzx eax, cl
shl eax, 4
or rax, 5
xor ecx, ecx
lock cmpxchg qword [rdi + 0x718], rcx
je 0x1401c0c23
mov rax, qword [rdi + 0x698]
mov rcx, qword [rax + 0x3a0]
mov rdx, rdi
call fcn.1401d5470
jmp 0x1401c0c23
mov rdi, qword [rsi + 0x50]
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.140128f90
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call fcn.1401c0c70
mov rdi, rax
mov dword [rax + 0x758], 1
mov rax, qword [rax + 0x698]
mov rcx, qword [rax + 0x370]
test rcx, rcx
je 0x1401c0bf4
call fcn.1401d4210
mov qword [rdi + 0x6c0], rax
mov qword [rdi + 0x40], send
mov rax, qword [rdi + 0x698]
mov rcx, qword [rax + 0x378]
call fcn.1401d4210
mov qword [rdi + 0x6c8], rax
mov rax, qword [rdi + 0x698]
mov rcx, qword [rax + 0x3b0]
call fcn.1401d3d10
mov qword [rdi + 0x6b8], 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.1401c2700
mov qword [rsi], rdi
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1401c0d60
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx + 0x6d0], 3
mov qword [rcx + 0x710], 0
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c0da4
cmp byte [rax + 8], 0
jne 0x1401c0da9
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x1401c0da9
call fcn.14018c690
mov qword [rsi + 0x10], rax
mov qword [rax + 0x58], rsi
mov rcx, rsi
call fcn.14018c7a0
mov rax, qword [0x1403a9c20]
test rax, rax
je 0x1401c0e32
cmp qword [rsi + 0x690], rax
je 0x1401c0e32
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c0df2
cmp byte [rax + 8], 0
jne 0x1401c0df7
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x1401c0df7
call fcn.14018c690
mov rbx, qword [rax + 0x50]
add rbx, qword [rax + 0x48]
lea rdi, [rsi + 0x770]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
test qword [rsi + 0x38], 3
jne 0x1401c0e1c
mov qword [rsi + 0x38], rbx
mov qword [rsi + 0x6a0], rbx
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14009cef0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401c0d60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.140029aa0
test rax, rax
je 0x1401c0b7c
mov rcx, rsi
call fcn.140029aa0
mov rbx, qword [rax + 0x6b0]
mov rdi, qword [rsi + 0x50]
test rbx, rbx
je 0x1401c0b03
mov rcx, rsi
call fcn.140029aa0
mov rcx, qword [rax + 0x698]
mov rcx, qword [rcx + 0x3a0]
mov rdx, rax
call fcn.1401d5510
cmp eax, 4
jne 0x1401c0b15
test rbx, rbx
setne r8b
mov rcx, rdi
mov rdx, rsi
call fcn.140128f90
mov rcx, rsi
call fcn.140029aa0
mov rdi, rax
mov eax, 1
cmp dword [rdi + 0xbc0], 1
je 0x1401c0b50
cmp qword [rdi + 0x790], 0
setle al
cmp qword [rdi + 0x798], 0
setg cl
and cl, al
movzx eax, cl
shl eax, 4
or rax, 5
xor ecx, ecx
lock cmpxchg qword [rdi + 0x718], rcx
je 0x1401c0c23
mov rax, qword [rdi + 0x698]
mov rcx, qword [rax + 0x3a0]
mov rdx, rdi
call fcn.1401d5470
jmp 0x1401c0c23
mov rdi, qword [rsi + 0x50]
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.140128f90
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call fcn.1401c0c70
mov rdi, rax
mov dword [rax + 0x758], 1
mov rax, qword [rax + 0x698]
mov rcx, qword [rax + 0x370]
test rcx, rcx
je 0x1401c0bf4
call fcn.1401d4210
mov qword [rdi + 0x6c0], rax
mov qword [rdi + 0x40], send
mov rax, qword [rdi + 0x698]
mov rcx, qword [rax + 0x378]
call fcn.1401d4210
mov qword [rdi + 0x6c8], rax
mov rax, qword [rdi + 0x698]
mov rcx, qword [rax + 0x3b0]
call fcn.1401d3d10
mov qword [rdi + 0x6b8], 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.1401c2700
mov qword [rsi], rdi
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1401c0d60
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx + 0x6d0], 3
mov qword [rcx + 0x710], 0
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c0da4
cmp byte [rax + 8], 0
jne 0x1401c0da9
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x1401c0da9
call fcn.14018c690
mov qword [rsi + 0x10], rax
mov qword [rax + 0x58], rsi
mov rcx, rsi
call fcn.14018c7a0
mov rax, qword [0x1403a9c20]
test rax, rax
je 0x1401c0e32
cmp qword [rsi + 0x690], rax
je 0x1401c0e32
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c0df2
cmp byte [rax + 8], 0
jne 0x1401c0df7
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x1401c0df7
call fcn.14018c690
mov rbx, qword [rax + 0x50]
add rbx, qword [rax + 0x48]
lea rdi, [rsi + 0x770]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
test qword [rsi + 0x38], 3
jne 0x1401c0e1c
mov qword [rsi + 0x38], rbx
mov qword [rsi + 0x6a0], rbx
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14009cef0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401c1280
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.1401c0c70
mov rsi, rax
test rax, rax
je 0x1401c135d
mov dword [rsi + 0x758], edi
mov rax, qword [rsi + 0x698]
mov rcx, qword [rax + 0x370]
test rcx, rcx
je 0x1401c12ef
call fcn.1401d4210
mov qword [rsi + 0x6c0], rax
mov qword [rsi + 0x40], send
mov rax, qword [rsi + 0x698]
mov rcx, qword [rax + 0x378]
call fcn.1401d4210
mov qword [rsi + 0x6c8], rax
mov rax, qword [rsi + 0x698]
mov rcx, qword [rax + 0x3b0]
cmp edi, 1
jne 0x1401c1302
call fcn.1401d3d10
jmp 0x1401c1307
call fcn.1401d3dd0
mov qword [rsi + 0x6b8], rax
mov qword [rsi + 0x6d0], 3
mov qword [rsi + 0x710], 0
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c1348
cmp byte [rax + 8], 0
jne 0x1401c134d
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x1401c134d
call fcn.14018c690
mov qword [rsi + 0x10], rax
mov qword [rax + 0x58], rsi
mov rcx, rsi
call fcn.14018c7a0
test rsi, rsi
setne al
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1401c1480
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 [0x1403a9c20], 0
sete sil
mov rcx, r14
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rcx, r14
mov edx, esi
call fcn.1401c35d0
mov rsi, rax
mov qword [rax + 0x690], 0
mov qword [rax + 0x698], rbx
mov qword [rax + 0xca8], 0
mov eax, 0x80
xchg qword [rsi + 0x718], rax
mov dword [rsi + 0xbc0], 0
mov rcx, r14
call fcn.14009cef0
mov dword [rsi + 0x758], edi
mov qword [rsi + 0x6d0], 3
mov qword [rsi + 0x710], 0
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c1531
cmp byte [rax + 8], 0
jne 0x1401c1536
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x1401c1536
call fcn.14018c690
mov qword [rsi + 0x10], rax
mov qword [rax + 0x58], rsi
mov rcx, rsi
call fcn.14018c7a0
mov al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1401c2eb0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c2edc
cmp byte [rax + 8], 0
jne 0x1401c2ee1
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x1401c2ee1
call fcn.14018c690
mov rax, qword [rax + 0x60]
test rax, rax
je 0x1401c2ef3
cmp qword [rax + 0x10], rsi
sete al
jmp 0x1401c2ef5
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x1401c2f00
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c2f3f
cmp byte [rax + 8], 0
jne 0x1401c2f44
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x1401c2f44
call fcn.14018c690
mov rbx, qword [rax + 0x60]
test rbx, rbx
je 0x1401c2fec
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 0x1401c3004
inc rax
mov qword [rsi + 0x98], rax
lea r14, [rsi + 0x48]
cmp qword [rsi + 0x48], r14
jne 0x1401c3004
cmp qword [rsi + 0x68], 0
je 0x1401c3004
mov ecx, 0x30
call fcn.140262f30
mov rbx, rax
mov qword [rax + 0x10], rsi
mov rax, qword [0x140322e78]
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.14009cef0
lea rcx, str.DartWorker
lea rdx, [0x1401c3460]
mov r8, rbx
call fcn.14018c8f0
test eax, eax
jne 0x1401c3022
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140262cb0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140262cb0
mov rcx, rdi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14009cef0
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.140023df0
int3

Function at 0x1401c3050
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1403a4f00]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401c307e
cmp byte [rax + 8], 0
jne 0x1401c3083
mov rcx, rax
call fcn.140049860
test rax, rax
jne 0x1401c3083
call fcn.14018c690
mov rbx, qword [rax + 0x60]
test rbx, rbx
je 0x1401c30c7
lea rdi, [rsi + 8]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
cmp byte [rbx + 0x28], 0
je 0x1401c30b8
mov byte [rbx + 0x28], 0
mov rax, qword [rsi + 0x98]
test rax, rax
je 0x1401c30b8
dec rax
mov qword [rsi + 0x98], rax
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14009cef0
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401c5bd0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edx, dword [0x1403a9df8]
cmp edx, 0x10000001
jb 0x1401c5c07
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.14018d690
mov dword [0x1403a9df8], 0
mov edx, dword [0x1403a9de8]
cmp edx, 0x10000001
jb 0x1401c5c31
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.14018d690
mov dword [0x1403a9de8], 0x10
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x1403ad918], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140262cb0
nop
add rsp, 0x58
ret

Function at 0x1401c5c70
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 [0x1403ad918]
cmp byte [0x1403a9bc0], 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 0x1401c5d24
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 0x1401c5d03
mov rcx, r14
mov rdx, rsi
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor r15d, r15d
jmp 0x1401c5d24
test rdi, rdi
je 0x1401c5cfe
mov ecx, 0x20
call fcn.140262f30
mov r15, rax
mov qword [rax], rdi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rsi
mov rax, r15
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401eaf00
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.1401ea830

Function at 0x1401f9970
Capabilities:
Get geographical location

Disassembly:
push rsi
sub rsp, 0x90
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x2c], 0
mov rsi, qword [0x1403ae408]
test rsi, rsi
jne 0x1401f9ac4
lea rsi, [0x1403ae410]
xor ecx, ecx
mov edx, 0x5c
mov r8, rsi
mov r9d, 0x55
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x1401f9aaa
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 0x1401f9a09
mov byte [rsp + rax + 0x30], 0x2d
add rax, 2
movzx ecx, word [rsi + rax*2 - 2]
cmp cx, 0x5f
jne 0x1401f9a20
mov byte [rsp + rax + 0x2f], 0x2d
jmp 0x1401f9a28
mov byte [rsp + rax + 0x2f], cl
test cl, cl
je 0x1401f9a4a
cmp rax, 0x55
je 0x1401f9a42
movzx ecx, word [rsi + rax*2]
cmp cx, 0x5f
je 0x1401f9a00
mov byte [rsp + rax + 0x30], cl
test cl, cl
jne 0x1401f9a05
jmp 0x1401f9a4a
mov byte [rsp + 0x84], 0
mov ecx, 0x41
call fcn.1401e2190
test rax, rax
je 0x1401f9aaa
mov rsi, rax
lea rcx, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rdx, rax
mov r8d, 0x40
call fcn.14020ece0
cmp dword [rsp + 0x2c], 0
jle 0x1401f9a85
mov rcx, rsi
call fcn.1401e2260
jmp 0x1401f9aaa
cdqe
mov byte [rsi + rax], 0
mov qword [0x1403ae408], rsi
mov byte [0x1403ae4ba], 1
lea rdx, [0x1401f96b0]
mov ecx, reloc.WS2_32.dll_socket
call fcn.140207d30
mov rsi, qword [0x1403ae408]
test rsi, rsi
jne 0x1401f9ac4
lea rsi, [0x140339d44]
mov qword [0x1403ae408], rsi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140262cb0
mov rax, rsi
add rsp, 0x90
pop rsi
ret
Function at 0x140215af0
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x140215b0b
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rsi, rdx
mov rbx, r8
mov r14, rcx
call fcn.14020aa20
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rsi
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140215bb9
mov rdi, 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 rsi, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140215bb9
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [r14 + 8], rax
test rax, rax
je 0x140215be4
mov qword [r14 + 0x28], rsi
mov al, 1
jmp 0x140215b01
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x140215aff
mov dword [rbx], 7
jmp 0x140215aff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140215aff
Function at 0x14021c3c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
test r8d, r8d
jle 0x14021c411
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14021c44f
mov eax, edi
lea r8, [rsi + rax*2]
mov rdx, rsi
call fcn.1401de4d0
mov r14, rax
sub r14, rsi
shr r14, 1
jmp 0x14021c418
xor r14d, r14d
test edi, edi
js 0x14021c43b
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140262cb0
mov eax, r14d
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rsi
mov edi, r9d
call fcn.14022de70
mov r9d, edi
mov edi, eax
test eax, eax
je 0x14021c418
mov r14, qword [rbx + 0x58]
test r14, r14
je 0x14021c48b
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
mov ebx, r9d
call fcn.140262cb0
mov rcx, r14
mov rdx, rsi
mov r8d, edi
mov r9d, ebx
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140221360
mov r8, qword [rbx + 0x50]
test r8, r8
je 0x14021c4f6
cmp dword [r8 + 8], 0
je 0x14021c4f6
mov ebp, r9d
cmp r9d, 1
mov r9d, 0x2a
sbb r9d, 0
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140220aa0
cmp dword [rsp + 0x114], 0
je 0x14021c4e9
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
mov r8d, edi
mov r9d, ebp
call fcn.140221360
mov r14d, eax
mov rcx, rbx
call fcn.140221300
jmp 0x14021c418
lea rcx, [rsp + 0x20]
call fcn.140221300
mov r9d, ebp
xor ebp, ebp
test r9d, r9d
setne bpl
xor r14d, r14d
nop word cs:[rax + rax]
lea r15d, [r14 + 1]
movsxd rax, r14d
movzx edx, word [rsi + rax*2]
mov eax, edx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x14021c554
cmp r15d, edi
je 0x14021c554
movsxd rax, r15d
movzx eax, word [rsi + rax*2]
mov ecx, eax
and ecx, 0xfc00
cmp ecx, 0xdc00
jne 0x14021c554
lea r15d, [r14 + 2]
shl edx, 0xa
add edx, eax
add edx, 0xfca02400
mov rax, rbx
nop word [rax + rax]
mov rcx, qword [rax + 0x28]
test rcx, rcx
jne 0x14021c5a0
mov r8, rax
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x14021c560
xor eax, eax
cmp edx, 0x10ffff
jg 0x14021c5a6
mov rcx, qword [r8 + 0x10]
cmp dword [rcx], edx
jg 0x14021c595
mov r8d, dword [r8 + 0x1c]
lea eax, [r8 - 1]
cmp r8d, 2
jge 0x14021c5c2
and al, 1
jmp 0x14021c5a6
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
movsx eax, al
cmp ebp, eax
jne 0x14021c418
mov r14d, r15d
cmp r15d, edi
jl 0x14021c510
jmp 0x14021c418
cmp r8, 2
je 0x14021c595
cmp dword [rcx + r8*4 - 8], edx
jle 0x14021c595
mov r9d, eax
shr r9d, 1
xor r8d, r8d
jmp 0x14021c5ef
mov r8d, r9d
lea r9d, [rax + r8]
sar r9d, 1
cmp r9d, r8d
je 0x14021c595
movsxd r10, r9d
cmp dword [rcx + r10*4], edx
jle 0x14021c5e0
mov eax, r9d
jmp 0x14021c5e3
Function at 0x14021ebc0
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 [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
test r8d, r8d
jle 0x14021ec2f
mov rbx, qword [rdi + 0x28]
test rbx, rbx
je 0x14021ec6a
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140262cb0
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.1401df240
xor ebx, ebx
test r15d, r15d
js 0x14021ec5a
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140262cb0
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.140274e70
mov r15, rax
test r15d, r15d
je 0x14021ec36
mov rbx, qword [rdi + 0x58]
test rbx, rbx
je 0x14021eca5
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140262cb0
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.140222fe0
mov r8, qword [rdi + 0x50]
test r8, r8
je 0x14021ed08
cmp dword [r8 + 8], 0
je 0x14021ed08
cmp ebp, 1
mov r9d, reloc.WS2_32.dll_shutdown
sbb r9d, 0
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.140220aa0
cmp dword [rsp + 0x130], 0
je 0x14021ecfe
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r8d, r15d
mov r9d, ebp
call fcn.140222fe0
mov ebx, eax
mov rcx, rdi
call fcn.140221300
jmp 0x14021ec36
lea rcx, [rsp + 0x38]
call fcn.140221300
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 0x14021ed4b
mov byte [rsp + 0x20], 0xfd
mov rcx, rsi
xor edx, edx
mov r8, r14
call fcn.140232140
mov r9d, eax
mov rax, rdi
nop
mov rcx, qword [rax + 0x28]
test rcx, rcx
jne 0x14021ed90
mov rdx, rax
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x14021ed50
xor eax, eax
cmp r9d, 0x10ffff
jg 0x14021ed99
mov rcx, qword [rdx + 0x10]
cmp dword [rcx], r9d
jg 0x14021ed84
mov edx, dword [rdx + 0x1c]
lea eax, [rdx - 1]
cmp edx, 2
jge 0x14021edb6
and al, 1
jmp 0x14021ed99
mov rax, qword [rcx]
mov edx, r9d
call qword [rax + ioctlsocket]
movsx eax, al
cmp r12d, eax
jne 0x14021ec36
mov ebx, dword [rsp + 0x34]
test ebx, ebx
jg 0x14021ed20
jmp 0x14021ec36
cmp rdx, 2
je 0x14021ed84
cmp dword [rcx + rdx*4 - 8], r9d
jle 0x14021ed84
mov r8d, eax
shr r8d, 1
xor edx, edx
jmp 0x14021eddf
mov edx, r8d
lea r8d, [rax + rdx]
sar r8d, 1
cmp r8d, edx
je 0x14021ed84
movsxd r10, r8d
cmp dword [rcx + r10*4], r9d
jle 0x14021edd0
mov eax, r8d
jmp 0x14021edd3