joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009a840
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.140085aa0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14009a9d4
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1401cf674]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14009aa0b
lea rdx, [0x1401cf6c4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14009a9f9
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140215008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14009aa01
test r12d, r12d
js 0x14009aa76
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140123e20
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x14009aa1e
mov rdx, qword [r14 + r15]
call fcn.14015f270
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14009a942
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14009a440
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14009a996
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14009a9d4
cmp r15, rbx
je 0x14009a9cc
add r15, 0xffffffffffffffe8
jmp 0x14009a9ba
mov rcx, qword [r15]
call fcn.140123e5c
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14009a9cc
test r15, r15
je 0x14009aa4a
cmp byte [r15 + 0x17], 0
jns 0x14009a9ae
jmp 0x14009a9a6
mov rcx, rbx
call fcn.140123e5c
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401249d0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14009a8f4
xor r15d, r15d
xor ebx, ebx
jmp 0x14009a96f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14009a8f1
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.14016a900
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.14016a900
lea rcx, [rsp + 0x30]
call fcn.14015f5e0
int3
Function at 0x14009da00
Capabilities:
Initialize winsock library

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov rax, qword [0x140204320]
cmp rax, 1
jbe 0x14009da41
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1401249d0
nop
add rsp, 0x1c0
pop rsi
ret
lea rcx, [0x140204320]
call fcn.140096810
test al, al
je 0x14009da98
lea rsi, [rsp + 0x20]
mov r8d, 0x198
mov rcx, rsi
mov dl, 0xaa
call fcn.140127960
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14009da7d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x140204328]
lea rcx, [0x140204320]
xor r8d, r8d
mov r9, rcx
call fcn.1400968d0
jmp 0x14009da27
mov rax, qword [0x140204320]
jmp 0x14009da27
Function at 0x1400a3460
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x1400a35b1
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1401bc9e0]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x140215008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x140215008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x140215008]
test r14, r14
je 0x1400a3543
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400a3533
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.1400f61b0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400a35b5
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x1400a3582
lea rcx, section..text
mov qword [r14], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401249d0
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400a3594
bt eax, 9
jae 0x1400a35d5
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x1400a3582
lea rcx, [0x140004520]
jmp 0x1400a357f
call fcn.1401976e0
lea rax, [0x140197ee0]
test r14, r14
je 0x1400a3582
lea rcx, [0x1401975c0]
jmp 0x1400a357f
Function at 0x1400a3870
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400a3965
cmp qword [rsi], 0
jne 0x1400a3965
cmp dword [rsi + 0x14], 0
jne 0x1400a3965
cmp qword [rsi + 8], 0
jne 0x1400a3965
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x1400a38e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400a394c
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a38dc
mov qword [rsi], r14
call fcn.1400ef4f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x1400a391e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400a3934
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a3916
mov qword [rsi + 8], r14
call fcn.1400ef4f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400ef4f0
mov rcx, qword [rsi + 8]
call fcn.1400d8800
mov qword [rsi + 8], 0
jmp 0x1400a3903
call fcn.1400ef4f0
mov rcx, qword [rsi]
call fcn.1400d8800
mov qword [rsi], 0
jmp 0x1400a38ca
mov rcx, rsi
call fcn.140198e90
mov rax, qword [rsi]
jmp 0x1400a38aa
Function at 0x1400a98d0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x1400a9931
test r12, r12
je 0x1400a9a48
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401249d0
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1400a9996
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x1400a997f
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1401272b0
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
mov r12, r14
jmp 0x1400a98fe
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x1400a9a74
lea rcx, [r15*8]
call fcn.140123e20
mov rdx, r15
and rdx, 0xfffffffffffffffc
mov rcx, r12
sub rcx, rbx
mov r9, r12
lea rdx, [rax + rdx*2]
mov r8, rdx
sub r9, rbx
je 0x1400a9a13
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x1400a9a48
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x1400a99fb
lea r9, [rax + r15*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
mov qword [rcx], r14
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r12
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r12
call fcn.14019a310
mov r12, qword [rsi + 0x10]
jmp 0x1400a98fe
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.14016a900
call fcn.14015f3e0
int3
Function at 0x1400b2910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400b28e0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x140204898]
lea rdx, [0x1400b2780]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400b2a20
cmp dword [0x1402048a0], 0
jne 0x1400b2a10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1402048a4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400b29bc
mov ecx, 1
mov edx, 0x28
call fcn.1400cb0e0
test rax, rax
je 0x1400b2a10
mov r14, rax
mov ecx, dword [0x1402048a4]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400b2a08
lea r15, [0x1402048a8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1402048b0]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401249d0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.1400cb040
mov rcx, rsi
mov rax, rdi
call qword [0x140215008]
xor esi, esi
jmp 0x1400b29ec
call fcn.14013e2b0
int3

Function at 0x1400b2f10
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401f7818]
cmp ecx, 0xffffffff
je 0x1400b2fea
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400b2fea
mov eax, dword [0x140206110]
mov ecx, dword [0x1401f78f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b2ff4
mov rbx, qword [0x140206108]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400b303a
mov rax, qword [0x1402048f0]
inc rax
xor ecx, ecx
lea rdx, [0x140204900]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400b3047
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x140206100]
inc ecx
mov dword [0x140206100], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1402048f0], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x1400b305c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b3060
jmp 0x1400b2f3a
lea rcx, [0x140206110]
call fcn.140123f80
cmp dword [0x140206110], 0xffffffff
jne 0x1400b2f5f
mov ecx, 8
call fcn.140123e20
mov rbx, rax
mov rcx, rax
call fcn.1400d9bb0
mov qword [0x140206108], rbx
lea rcx, [0x140206110]
call fcn.140124018
jmp 0x1400b2f5f
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400b2f77
inc rcx
cmp rcx, 0x100
jne 0x1400b2f8a
jmp 0x1400b2fd0
int3
Function at 0x1400b3060
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140124970
sub rsp, rax
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401f7818]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400b3114
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400b3177
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140127960
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140123e9c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1401272b0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1401249d0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400c2be0
test al, al
je 0x1400b317a
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400b3152
mov eax, 0xffffffff
lock cmpxchg dword [0x1401f7818], ecx
je 0x1400b3098
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401f7818]
mov dword [rsp + 0x2c], ecx
jmp 0x1400b3098
lea rcx, [rsp + 0x2c]
call fcn.1400c2be0
test al, al
je 0x1400b317d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400b317d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400b312b
int3
int3
int3

Function at 0x1400b3190
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401f7818]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x1400b31d9
and rax, 0xfffffffffffffffc
je 0x1400b320c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1400b320c
mov rsi, qword [rax + rcx]
jmp 0x1400b320e
lea rdx, [0x1401d472a]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.1400ef4d0
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.1401907f0
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401249d0
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x1400b3230
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401f7818]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b326e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400b3267
call fcn.1400b3060
jmp 0x1400b324e
Function at 0x1400b3bf0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400b3c00
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x1400b3c21
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400b3c41
cmp byte [r14 + 0x50], 0
jne 0x1400b3cc4
or edi, 0x20000000
test dil, 8
jne 0x1400b3cf4
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400b3c5f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400b3c70
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1400b3cd9
cmp byte [r14 + 0x18], 0
jne 0x1400b3ce7
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400b3d11
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x1400b3ccf
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x1400b3c41
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400b3caf
lea rcx, [r14 + 0x20]
call fcn.1400887d0
mov r15, rax
jmp 0x1400b3c77
mov rcx, r14
call fcn.1400887d0
mov r9, rax
jmp 0x1400b3c81
cmp byte [r14 + 0x68], 0
je 0x1400b3d06
or edi, 0x40000000
jmp 0x1400b3c4b
or edi, 0x10000000
jmp 0x1400b3c4b
cmp ebx, 4
jne 0x1400b3d20
mov edx, 6
jmp 0x1400b3c8e
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400b3d32
mov edx, 7
jmp 0x1400b3c8e
cmp ebx, 1
jne 0x1400b3d41
mov edx, 4
jmp 0x1400b3c8e
xor edx, edx
jmp 0x1400b3c8e
Function at 0x1400b3c00
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400b3c00
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x1400b3c21
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400b3c41
cmp byte [r14 + 0x50], 0
jne 0x1400b3cc4
or edi, 0x20000000
test dil, 8
jne 0x1400b3cf4
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400b3c5f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400b3c70
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1400b3cd9
cmp byte [r14 + 0x18], 0
jne 0x1400b3ce7
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400b3d11
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x1400b3ccf
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x1400b3c41
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400b3caf
lea rcx, [r14 + 0x20]
call fcn.1400887d0
mov r15, rax
jmp 0x1400b3c77
mov rcx, r14
call fcn.1400887d0
mov r9, rax
jmp 0x1400b3c81
cmp byte [r14 + 0x68], 0
je 0x1400b3d06
or edi, 0x40000000
jmp 0x1400b3c4b
or edi, 0x10000000
jmp 0x1400b3c4b
cmp ebx, 4
jne 0x1400b3d20
mov edx, 6
jmp 0x1400b3c8e
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400b3d32
mov edx, 7
jmp 0x1400b3c8e
cmp ebx, 1
jne 0x1400b3d41
mov edx, 4
jmp 0x1400b3c8e
xor edx, edx
jmp 0x1400b3c8e

Function at 0x1400b3d50
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400b3d88
cmp byte [r15 + 0x50], 0
jne 0x1400b3e17
or edi, 0x20000000
test dil, 8
jne 0x1400b3e47
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x1400b3da6
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x1400b3db7
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x1400b3e2c
cmp byte [r15 + 0x18], 0
jne 0x1400b3e3a
xor r9d, r9d
cmp ebx, 4
jne 0x1400b3e08
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x1400b3e22
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400b3e64
mov edx, 7
jmp 0x1400b3dd2
or edi, 0x80000000
jmp 0x1400b3d88
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400b3df3
lea rcx, [r15 + 0x20]
call fcn.1400887d0
mov r14, rax
jmp 0x1400b3dbe
mov rcx, r15
call fcn.1400887d0
mov r9, rax
jmp 0x1400b3dc8
cmp byte [r15 + 0x68], 0
je 0x1400b3e59
or edi, 0x40000000
jmp 0x1400b3d92
or edi, 0x10000000
jmp 0x1400b3d92
mov edx, 1
test ebx, ebx
je 0x1400b3dd2
cmp ebx, 1
jne 0x1400b3e80
mov edx, 4
jmp 0x1400b3dd2
xor edx, edx
jmp 0x1400b3dd2
Function at 0x1400c16f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x30
mov rax, rcx
mov rcx, qword [0x1401e8038]
xor rcx, rsp
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400c1773
cmp byte [rax + 0x90], 0
jne 0x1400c1773
mov sil, 1
cmp byte [rax + 0x91], 0
jne 0x1400c175e
lea rdx, [rsp + 0x27]
mov byte [rdx], 0xaa
mov r8d, 1
mov r9d, 2
call qword [sym.imp.WS2_32.dll_recv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
je 0x1400c1773
cmp esi, 0xffffffff
setne cl
cmp eax, 0x2733
sete sil
or sil, cl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401249d0
mov eax, esi
add rsp, 0x30
pop rsi
ret
xor esi, esi
jmp 0x1400c175e

Function at 0x1400c1780
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0x28]
mov r8d, SysAllocStringByteLen
mov rcx, rbx
mov dl, 0xaa
call fcn.140127960
mov rcx, rbx
call fcn.1400c0800
lea r8, [rsp + 0xa8]
mov rdx, qword [r8 + 8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400c181a
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, rsi
call fcn.14009dd40
xor ecx, ecx
test al, al
mov esi, 0xffffff94
cmovne esi, ecx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401249d0
mov eax, esi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1400c08c0
mov esi, eax
jmp 0x1400c17fd

Function at 0x1400c2be0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400c2bf5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400c3c10
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x140206218]
mov ecx, dword [0x1401f78f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c3c91
lea rcx, [0x140206208]
call fcn.1400b3190
test rax, rax
jne 0x1400c3c7e
mov ecx, 4
call fcn.140123e20
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x140206208]
mov rcx, rbx
call fcn.1400b3190
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400b3230
test rsi, rsi
jne 0x1400c3cd4
lea rcx, [0x140206208]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400b3190
lea rcx, [0x140206218]
call fcn.140123f80
cmp dword [0x140206218], 0xffffffff
jne 0x1400c3c38
xorps xmm0, xmm0
movups xmmword [0x140206208], xmm0
lea rcx, [0x140206208]
lea rdx, [0x14002b2c0]
call fcn.1400b3280
lea rcx, [0x140206218]
call fcn.140124018
jmp 0x1400c3c38
mov rcx, rsi
call fcn.140123e5c
jmp 0x1400c3c7e
Function at 0x1400d2f20
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400d2f68
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400d2f71
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400d2f58
mov qword [rdi], rsi
call fcn.1400ef4f0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400ef4f0
mov rcx, qword [rdi]
call fcn.1400d8800
mov qword [rdi], 0
jmp 0x1400d2f46