joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010e9b0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
cmp r8, 0xffffffffffffffff
je 0x14010ebcb
mov rbx, r8
mov r15, r8
inc r15
js 0x14010ebd7
mov rdi, r9
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1401ba120]
xor ecx, ecx
mov rdx, r15
call fcn.14010f230
test rax, rax
je 0x14010ebdc
mov r12, rax
mov rcx, rax
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
cmp rbx, 0xf
ja 0x14010ea48
test rbx, rbx
je 0x14010eaef
xor eax, eax
nop word cs:[rax + rax]
cmp byte [r14 + rax], 0
je 0x14010eb56
inc rax
cmp rbx, rax
jne 0x14010ea30
jmp 0x14010eaef
lea rax, [r14 + 7]
and rax, 0xfffffffffffffff8
sub rax, r14
jne 0x14010eaa0
lea rcx, [rbx - 0x10]
xor eax, eax
movdqa xmm0, xmmword [0x14013c230]
movabs rdx, 0x8080808080808080
nop dword [rax]
movdqu xmm1, xmmword [r14 + rax]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r8, xmm2
test r8, rdx
jne 0x14010eacc
add rax, 0x10
cmp rax, rcx
jbe 0x14010ea70
jmp 0x14010eacc
cmp rax, rbx
cmovae rax, rbx
xor ecx, ecx
nop dword [rax]
cmp byte [r14 + rcx], 0
je 0x14010eb56
inc rcx
cmp rax, rcx
jne 0x14010eab0
lea rcx, [rbx - 0x10]
cmp rax, rcx
jbe 0x14010ea5b
cmp rax, rbx
je 0x14010eaef
nop word cs:[rax + rax]
cmp byte [r14 + rax], 0
je 0x14010eb56
inc rax
cmp rbx, rax
jne 0x14010eae0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x40]
call fcn.140012f00
mov rbx, rax
mov r14, rdx
pxor xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x38], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x40]
lea r9, [rbp - 8]
mov rcx, rax
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x14010eb87
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14010eb9b
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, r12
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp fcn.1401336c4
mov rcx, qword [rdi]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rbx], 0
test r14, r14
je 0x14010ebbb
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, rbx
call fcn.1401336c4
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.oOptLHV9Mc1SjLIeqJ2AMDNEUXWsT0
call fcn.140019f10
call fcn.140012d20
mov ecx, 1
mov rdx, r15
call fcn.140012d00
int3
Function at 0x140111f90
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov eax, 1
test rcx, rcx
jne 0x140112112
mov eax, dword [0x1401ba0f0]
cmp eax, 4
jne 0x14011211d
mov r14, rdx
cmp word [rdx], 0
mov eax, 2
mov edi, 0x17
cmove edi, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140112028
cmp word [r14], 0
je 0x140112099
movups xmm0, xmmword [r14 + 4]
mov eax, dword [r14 + 0x14]
mov edx, dword [r14 + 0x18]
movzx ecx, word [r14 + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1401120b0
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x140112041
mov ebx, eax
cmp eax, 0x2726
jne 0x140112102
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x1401120fb
mov rsi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
jne 0x140111ffb
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov rcx, rsi
call fcn.1401334fc
jmp 0x140112102
mov eax, dword [r14 + 2]
movzx ecx, word [r14 + 6]
xorps xmm0, xmm0
mov r8d, 0x10
mov r9w, 2
rol cx, 8
mov word [rbp - 0x1c], r9w
mov word [rbp - 0x1a], cx
mov dword [rbp - 0x18], eax
movups xmmword [rbp - 0x14], xmm0
mov dword [rbp - 4], edx
lea rdx, [rbp - 0x1c]
mov rcx, rsi
call sub.ws2_32.dll_bind
cmp eax, 0xffffffff
je 0x1401120df
xor eax, eax
mov rdx, rsi
jmp 0x140112112
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call fcn.1401334fc
mov rdx, rdi
jmp 0x14011210d
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rdx, rbx
mov eax, 1
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov rsi, rdx
call fcn.14010e960
mov rdx, rsi
jmp 0x140111fbc
Function at 0x140114d20
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140114d62
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140114d6a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140114d7b
jmp 0x140114d92
xor r10d, r10d
jmp 0x140114e1d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140114d92
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140114da9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140114dc9
add r11, r8
jmp 0x140114efb
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140114e92
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140114e40
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140114eb0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140114ec2
jmp 0x140114edd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140114edd
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140114ef7
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140114f10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov esi, dword [0x140136198]
test esi, esi
je 0x140115010
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140115058
je 0x14011500c
movups xmm0, xmmword [0x1401711e8]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1401711d8]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x1401711c8]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1401711b8]
movaps xmmword [rsp + 0x20], xmm0
movabs rax, 0x2000000000000
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], esi
movzx eax, byte [0x1401ba120]
mov edx, 0x50
xor ecx, ecx
call fcn.14010f230
test rax, rax
je 0x140115060
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movaps xmm3, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140115055
mov rax, qword [rdi + 8]
cmp rax, 2
je 0x140115044
test rax, rax
je 0x140115031
mov rax, qword [rdi + 0x10]
lock dec qword [rax]
jne 0x140115044
mov rcx, qword [rdi + 0x10]
call fcn.1401126b0
jmp 0x140115044
xor eax, eax
jmp 0x140115058
lea rcx, [0x140136180]
call fcn.1400e96f0
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140114f38
jmp 0x140115058
mov rax, qword [rdi + 0x10]
lock dec qword [rax]
jne 0x140115044
mov rcx, qword [rdi + 0x10]
call fcn.140112670
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, rdi
call fcn.1401336c4
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x50
call fcn.140012d60
ud2
Function at 0x140118bf0
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, qword [rcx + 0x10]
mov rbx, qword [rcx + 0x18]
cmp rbx, 0xffffffffffffffff
je 0x140118d66
mov rdi, r8
mov r15, qword [rdx]
cmp r9, 0x7fffffff
mov r12d, 0x7fffffff
cmovb r12, r9
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x40], rax
lea r14, [rsp + 0x28]
mov qword [rsp + 0x38], r12
jmp 0x140118c4d
lea r14, [rsp + 0x28]
mov rcx, r14
call fcn.140112800
mov rcx, r14
mov rdx, rsi
mov r8, r15
mov r9b, 1
call fcn.140118390
movzx eax, byte [rsp + 0x31]
cmp al, 3
je 0x140118d82
mov r13, qword [rsp + 0x28]
cmp al, 2
je 0x140118d9c
movzx r14d, byte [rsp + 0x30]
mov rcx, rbx
mov rdx, rdi
mov r8d, r12d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x140118da6
call sub.ws2_32.dll_WSAGetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbp
call fcn.1400607d0
cmp al, 0xd
jne 0x140118d0e
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x140118d0e
mov rcx, qword [r9]
mov rax, qword [r9 + 8]
lock inc qword [rax]
jle 0x140118dbf
mov r12, r15
mov r15, rbx
mov rbx, rdi
add rcx, 0x10
mov rdx, qword [r9 + 8]
mov r8, qword [r9 + 0x10]
movzx r9d, byte [r9 + 0x18]
call fcn.14005f560
mov rdi, rax
test rax, rax
je 0x140118d00
mov rcx, rbp
call fcn.14001e500
mov rbp, rdi
mov rdi, rbx
mov rbx, r15
mov r15, r12
mov r12, qword [rsp + 0x38]
mov rcx, rbp
call fcn.14001e710
cmp al, 0xd
jne 0x140118d95
mov qword [rsp + 0x28], rbp
and r13d, 0x23
mov rax, qword [rsi + 0x90]
mov ecx, r14d
shl ecx, 0x10
xor r13, 0x2f
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp r14b, dl
jne 0x140118c40
mov edx, eax
and edx, r13d
or rdx, rcx
lock cmpxchg qword [rsi + 0x90], rdx
jne 0x140118d40
jmp 0x140118c40
mov r8, qword [rdx]
lea rcx, [rsp + 0x28]
mov rdx, rsi
mov r9b, 1
call fcn.140118390
movzx eax, byte [rsp + 0x31]
cmp al, 3
jne 0x140118d8c
mov eax, 2
mov rbp, r13
jmp 0x140118dab
cmp al, 2
jne 0x140118dc1
mov rbp, qword [rsp + 0x28]
mov eax, 1
jmp 0x140118dab
mov eax, 1
mov rbp, r13
jmp 0x140118dab
movsxd rbp, eax
xor eax, eax
mov rdx, rbp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rcx, str.YedZxBvomMtva1lSqVS5YJ5ySNxaU4Yfh4ewB2wF6SyMR7ZtD1AKcVpIjwQ9OBdVyCbvnaTGrC1su8YimLvfT7Bv4TGv2pLzQKy
call fcn.140019f10
mov rsi, rax
mov rcx, rbp
call fcn.14001e500
mov rcx, rsi
call fcn.140133bd0
call fcn.14001a1a0
int3
Function at 0x140119010
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, dword [0x1401361b8]
test esi, esi
je 0x1401190f3
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1401190eb
je 0x1401190e9
movzx eax, byte [0x1401ba120]
mov edx, 0x20
xor ecx, ecx
call fcn.14010f230
test rax, rax
je 0x140119114
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov dword [rax + 0x18], 0
mov word [rax + 0x1c], 0
movzx eax, byte [0x1401ba120]
mov edx, 0x10
xor ecx, ecx
call fcn.14010f230
test rax, rax
je 0x140119123
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x1401190e4
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x1401190d3
mov rcx, qword [rdi]
call fcn.14004fe30
mov rcx, qword [0x1401ba0e0]
xor edx, edx
mov r8, rdi
call fcn.1401336c4
mov rax, rsi
jmp 0x1401190eb
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401361a0]
call fcn.1400e96f0
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140119038
jmp 0x1401190eb
mov ecx, 8
mov edx, 0x20
call fcn.140012d60
mov ecx, 8
mov edx, 0x10
call fcn.140012d60
ud2
Function at 0x140124550
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x140124570
test al, 1
je 0x14012466f
test al, 2
jne 0x140124687
test al, 8
jne 0x1401245b2
mov dword [rsp + 0x38], 2
mov rdi, qword [rsi + 0x30]
call fcn.140114f10
test rax, rax
je 0x1401245cc
mov r14, qword [rax + 0x30]
mov qword [rax + 0x30], rdi
jmp 0x1401245cf
test al, 0x10
je 0x1401245fa
mov rax, qword [rsi + 0x68]
test rax, rax
je 0x140124720
mov rcx, qword [rsi + 0x70]
call qword [rax + 0x10]
jmp 0x1401245fa
xor r14d, r14d
lea rbx, [rsi + 0x38]
mov rcx, rbx
call fcn.1401218e0
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
call fcn.140114f10
test rax, rax
je 0x1401245fa
mov qword [rax + 0x30], r14
mov rax, qword [rsi + 0x78]
test rax, rax
je 0x140124625
mov r8, qword [rsi + 0x80]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
lea rdx, [rsp + 0x27]
call qword [r8 + 0x28]
mov qword [rsp + 0x28], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x14012469f
jne 0x140124661
mov rcx, rsi
call fcn.140121810
mov r8, qword [rsi - 8]
mov rcx, qword [0x1401ba0e0]
xor edx, edx
call fcn.1401336c4
nop
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401729a0]
mov edx, 0x23
call fcn.140018100
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401729e0]
mov edx, 0x25
call fcn.140018100
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rax, [fcn.1400175a0]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 2
mov qword [rsp + 0xa8], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 2
lea rdx, [0x140172a28]
lea rcx, [rsp + 0x88]
call fcn.140017480
lea rax, str.waker_missing
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
lea rdx, str.005ycQaYKbzl4O3p6rmUd75C1BogKW5lnoOZjMtjNUpP2ieYXiD8ISQgeg9ntxMV5jdA0lmi3whVh79rMgqK17tqh3Wbo4nwA3FEF
lea rcx, [rsp + 0x38]
call fcn.140017480
ud2
Function at 0x140134cd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call fcn.140135ac0
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 [rbp - 8]
mov ecx, 2
call fcn.140135ac0
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 0x140134d40
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x1401ba1b4]
mov rbx, rcx
test esi, esi
jle 0x140134e70
mov rax, qword [0x1401ba1b8]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140134d8b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140134e13
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140134d70
mov rcx, rbx
call fcn.1401357f0
mov rdi, rax
test rax, rax
je 0x140134e92
mov rax, qword [0x1401ba1b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140135930
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1401ba1b8]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140134e77
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140134e0c
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140134e20
add dword [0x1401ba1b4], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1401ba1b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140134e0c
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140134cd0
nop word [rax + rax]
xor esi, esi
jmp 0x140134d98
mov rax, qword [0x1401ba1b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140134cd0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140134cd0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140135420
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x1401ba220]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401ba200]
test rbx, rbx
je 0x140135485
mov r12, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x14013547c
test eax, eax
jne 0x14013547c
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140135460
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1401357f0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140135870
Capabilities:
Parse pe header

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

Function at 0x140135930
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14019b050]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14013594f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140135958
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001c60
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001caa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001caa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001caa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001caa
cmp dword [rcx + 0x84], 0xe
jbe 0x140001caa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001cac
xor al, al
add rsp, 0x28
ret
Function at 0x4142e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41446b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433be0
xorps xmm15, xmm15
mov r14, qword [0x0097ffd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414345
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414354
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414373
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414383
cmp rbx, 0x1000
jae 0x41434b
jmp 0x4143ed
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414395
xor edx, edx
jmp 0x4143e4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433be0
xorps xmm15, xmm15
mov r14, qword [0x0097ffd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x414379
jmp 0x414368
call fcn.00474340
xorps xmm15, xmm15
mov r14, qword [0x0097ffd0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004388e0
lea rax, [0x006f75e2]
mov ebx, 0x18
nop dword [rax]
call fcn.00439160
mov rax, qword [rsp + 0x38]
call fcn.00438ea0
lea rax, [0x006f7f1c]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00439160
mov rax, qword [rsp + 0x30]
call fcn.00438ea0
call fcn.00438b20
call fcn.00438940
lea rax, [0x006fc4bb]
mov ebx, 0x21
call fcn.0046a940
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00470bc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004142e0