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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov eax, dword [0x1400810c8]
cmp eax, 3
jne 0x14004aecc
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x14004aef2
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x14004ad78
xor edx, edx
nop word cs:[rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14004ae34
inc rdx
cmp rax, rdx
jne 0x14004ad60
jmp 0x14004ae97
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x14004adae
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14004ae34
inc rdx
cmp rcx, rdx
jne 0x14004ad90
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x14004adb2
jmp 0x14004ae00
lea rdx, [rdi - 0xf]
movabs r8, 0x8080808080808080
movabs r9, 0x101010101010100
nop word cs:[rax + rax]
mov r10, qword [rbp + rcx - 0x60]
mov r11, qword [rbp + rcx - 0x58]
mov rbx, r9
sub rbx, r11
or rbx, r11
mov r11, r9
sub r11, r10
or r11, r10
and r11, r8
and r11, rbx
cmp r11, r8
jne 0x14004ae00
add rcx, 0x10
cmp rcx, rdx
jbe 0x14004add0
sub rax, rcx
je 0x14004ae97
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x14004ae31
inc rdx
cmp rax, rdx
jne 0x14004ae20
jmp 0x14004ae97
add rdx, rcx
cmp rdx, rdi
jne 0x14004ae97
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x14004aeab
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14004aec3
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14004af04
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x14004af04
mov rbx, rdx
call fcn.14004b280
mov rdx, rbx
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
jbe 0x14004ad35
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.14004b2f0
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004b2f0
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 0x14004b507
mov rbx, r8
mov r15, r8
inc r15
js 0x14004b513
mov rdi, r9
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140081100]
xor ecx, ecx
mov rdx, r15
call fcn.140057e30
test rax, rax
je 0x14004b518
mov r12, rax
mov rcx, rax
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
cmp rbx, 0x10
jae 0x14004b388
test rbx, rbx
je 0x14004b42f
xor eax, eax
nop word cs:[rax + rax]
cmp byte [r14 + rax], 0
je 0x14004b492
inc rax
cmp rbx, rax
jne 0x14004b370
jmp 0x14004b42f
lea rax, [r14 + 7]
and rax, 0xfffffffffffffff8
sub rax, r14
jne 0x14004b3e1
lea rcx, [rbx - 0x10]
xor eax, eax
movabs rdx, 0x8080808080808080
movabs r8, 0x101010101010100
nop
mov r9, qword [r14 + rax]
mov r10, qword [r14 + rax + 8]
mov r11, r8
sub r11, r10
or r11, r10
mov r10, r8
sub r10, r9
or r10, r9
and r10, rdx
and r10, r11
cmp r10, rdx
jne 0x14004b40c
add rax, 0x10
cmp rax, rcx
jbe 0x14004b3b0
jmp 0x14004b40c
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [r14 + rcx], 0
je 0x14004b492
inc rcx
cmp rax, rcx
jne 0x14004b3f0
lea rcx, [rbx - 0x10]
cmp rax, rcx
jbe 0x14004b39b
cmp rax, rbx
je 0x14004b42f
nop word cs:[rax + rax]
cmp byte [r14 + rax], 0
je 0x14004b492
inc rax
cmp rbx, rax
jne 0x14004b420
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x40]
call fcn.14000e3c0
mov rbx, rax
mov r14, rdx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps 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 0x14004b4c3
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14004b4d7
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, qword [0x1400810e8]
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.1400615a4
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 0x14004b4f7
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbx
call fcn.1400615a4
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, [0x14006d5e8]
call fcn.1400112f0
call fcn.14000e2d0
mov ecx, 1
mov rdx, r15
call fcn.14000e2b0
int3
Function at 0x14004b670
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
test cl, 1
mov eax, 0x17
mov ebx, 2
cmovne ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor edi, edi
mov ecx, ebx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14004b749
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x2739
je 0x14004b6d3
mov esi, eax
cmp eax, 0x2726
jne 0x14004b73c
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x14004b735
mov rsi, rax
xor edi, edi
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
jne 0x14004b749
call sub.kernel32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rsi
call sub.ws2_32.dll_closesocket
mov edi, 1
mov rsi, rbx
jmp 0x14004b749
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, 1
mov rax, rdi
mov rdx, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x140052d70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
movabs r15, 0x8000000000000000
lea rcx, [rbp - 0x28]
call fcn.1400464e0
mov rax, qword [rbp - 0x28]
mov r14, qword [rbp - 0x20]
mov rcx, rax
neg rcx
jo 0x140052dd1
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], rcx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.140052c80
mov rdi, qword [rbp - 0x10]
mov r14, qword [rbp - 8]
cmp rdi, r15
jne 0x140052e39
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x140052e29
lea rdi, [r14 - 1]
mov rbx, qword [r14 - 1]
mov r14, qword [r14 + 7]
mov rax, qword [r14]
test rax, rax
je 0x140052df5
mov rcx, rbx
call rax
cmp qword [r14 + 8], 0
je 0x140052e18
cmp qword [r14 + 0x10], 0x11
jb 0x140052e07
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbx
call fcn.1400615a4
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
mov qword [rsi], r15
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov rbx, qword [rbp]
mov rcx, r14
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x140052e57
mov qword [rsi], rdi
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rbx
jmp 0x140052e2c
mov qword [rsi], r15
test rdi, rdi
je 0x140052e2c
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.1400615a4
Function at 0x140054b90
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rdi, r8
mov r14, rdx
mov rbx, rcx
movzx eax, byte [0x140081100]
mov edx, 0x10
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x140054c67
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140054d30]
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x140054c59
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, qword [r14]
test rax, rax
je 0x140054c11
mov rcx, rdi
call rax
cmp qword [r14 + 8], 0
je 0x140054c34
cmp qword [r14 + 0x10], 0x11
jb 0x140054c23
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rdi
call fcn.1400615a4
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rsi
call fcn.1400615a4
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 8
mov edx, 0x10
call fcn.14000e310
ud2
Function at 0x140055160
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1078
call fcn.140061370
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xfe0], xmm6
mov rsi, rdx
mov rdi, rcx
lea rcx, [rbp - 0x50]
mov r8d, 0x1000
xor edx, edx
call sub.msvcrt.dll_memset
xorps xmm6, xmm6
lea r13, [rbp + 0xfd4]
lea rbx, [0x14004bf10]
lea r14, [rbp + 0xfb0]
mov dword [rbp + 0xfd4], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, rdi
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, r14
call sub.kernel32.dll_ReadFileEx
test eax, eax
je 0x140055240
nop dword [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rbp + 0xfd4], 1
jne 0x140055200
mov eax, dword [rbp + 0xfd8]
mov r15d, dword [rbp + 0xfdc]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
test eax, eax
cmovne r15, rcx
jne 0x140055253
jmp 0x140055296
call sub.kernel32.dll_GetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rcx, r15
mov eax, ecx
and eax, 3
shr rcx, 0x20
cmp eax, 2
jne 0x140055280
call fcn.140026350
cmp al, 0xb
mov eax, 0
cmove r15, rax
je 0x140055296
jmp 0x140055364
cmp rcx, 0xb
mov eax, 0
cmove r15, rax
cmp ecx, 0xb
jne 0x140055364
test r15, r15
je 0x140055339
cmp r15, 0x1000
ja 0x1400553d8
xor r12d, r12d
nop
cmp r15, r12
jb 0x1400553c4
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xfd4], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov r9, r14
call sub.kernel32.dll_WriteFileEx
test eax, eax
je 0x140055334
nop
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rbp + 0xfd4], 1
jne 0x140055300
cmp dword [rbp + 0xfd8], 0
jne 0x140055339
mov eax, dword [rbp + 0xfdc]
add r12, rax
cmp r12, r15
jne 0x1400552b0
jmp 0x1400551b7
call sub.kernel32.dll_GetLastError
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
mov rcx, rsi
call sub.kernel32.dll_CloseHandle
movaps xmm6, xmmword [rbp + 0xfe0]
add rsp, 0x1078
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, r15d
and eax, 3
cmp eax, 1
jne 0x140055339
lea rbx, [r15 - 1]
mov r14, qword [r15 - 1]
mov r12, qword [r15 + 7]
mov rax, qword [r12]
test rax, rax
je 0x140055389
mov rcx, r14
call rax
cmp qword [r12 + 8], 0
je 0x1400553ae
cmp qword [r12 + 0x10], 0x11
jb 0x14005539d
mov r14, qword [r14 - 8]
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r14
call fcn.1400615a4
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbx
call fcn.1400615a4
jmp 0x140055339
lea r8, str.std_src_syspalwindowspipe.rs
mov rcx, r12
mov rdx, r15
call fcn.140011020
jmp 0x1400553ec
lea r8, str.std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call fcn.14000f4f0
ud2
Function at 0x1400578b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x1400579a2
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x140057968
sub r8, rdx
add rdx, qword [rbx + 8]
mov rax, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
mov dword [rbp - 0x28], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x140057924
mov eax, dword [rbp - 0x28]
mov ecx, 2
test rax, rax
jne 0x14005793a
jmp 0x140057947
call sub.kernel32.dll_GetLastError
cmp eax, 0x6d
je 0x140057947
cmp eax, 0x3e5
jne 0x140057958
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14005794b
mov byte [rsi + 1], 0
xor eax, eax
mov byte [rsi], al
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14005794d
test r8, r8
mov ecx, 0x10
mov eax, 1
cmove rax, rcx
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.140029020
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400578e1
mov qword [rbp - 0x28], 0
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400579c0
int3
Function at 0x140067010
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140067dd0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140067dd0
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 0x140067080
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140081b94]
mov rbx, rcx
test esi, esi
jle 0x1400671b0
mov rax, qword [0x140081b98]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400670cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140067155
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400670b0
mov rcx, rbx
call fcn.140067af0
mov rdi, rax
test rax, rax
je 0x1400671d2
mov rax, qword [0x140081b98]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140067c30
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140081b98]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400671b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14006714e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140067160
add dword [0x140081b94], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140081b98]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14006714e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140067010
nop dword [rax]
xor esi, esi
jmp 0x1400670d8
mov rax, qword [0x140081b98]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140067010
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140067010
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140067760
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140081c00]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140081be0]
test rbx, rbx
je 0x1400677bc
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400677b3
test eax, eax
jne 0x1400677b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140067798
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140067af0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140077180]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140067b10
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140067b18
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140067b10
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140067b6d
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 0x140067b64
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140067b10
add rax, 0x28
cmp rax, r9
jne 0x140067b50
xor eax, eax
ret

Function at 0x140067b70
Capabilities:
Parse pe header

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

Function at 0x140067c30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140077180]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140067c4f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140067c58
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140068630
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0xa0
mov rbx, rcx
mov dword [rsp + 0x60], 0x40
lea rcx, [rsp + 0x60]
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400686e0
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x70]
movdqu xmm0, xmmword [rsp + 0x68]
sub rdx, rax
mov rax, qword [rsp + 0x80]
shr rdx, 0xa
psrlq xmm0, 0xa
sub rax, rcx
mov qword [rsp + 0x48], rdx
shr rax, 0xa
movups xmmword [rsp + 0x20], xmm0
pxor xmm0, xmm0
cmp rax, rdx
movups xmmword [rsp + 0x30], xmm0
cmova rax, rdx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movdqu xmm1, xmmword [rsp + 0x20]
movdqu xmm2, xmmword [rsp + 0x30]
movdqu xmm3, xmmword [rsp + 0x40]
mov qword [rbx + 0x30], rax
mov rax, rbx
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x10], xmm2
movups xmmword [rbx + 0x20], xmm3
add rsp, 0xa0
pop rbx
ret
mov qword [rsp + 0x50], 0
pxor xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
jmp 0x1400686ae
Function at 0x14459e6a9
Capabilities:
Encrypt data using aes mixcolumns step

Disassembly:
sub eax, 0xa4125203
call fcn.1445cfc20
call fcn.144629af2

Function at 0x14459f7be
Capabilities:
Authenticate hmac

Disassembly:
lea rdx, [rbx*8 - 0x4d486c54]
xor sil, cl
shl bp, 0x6d
sbb r8d, eax
lea rcx, [rsp + rcx + 0x10]
rol bx, 0x48
and word [rsp + rbp*2 - 0xfff7], bx
mov r8d, dword [rax + rcx - 0x72a20005]
shl rbx, 0xf9
xadd qword [rsp + rbp - 0x7ff8], rbx
mov dword [r10 + rax - 0x72a20011], r8d
lea r10, [rax + r10 - 0x72a20011]
adc dx, 0x79b2
pop rcx
pop rbx
jge fcn.14459f190
mov eax, 0x663e08b8
mov edi, eax
add dil, al
mov eax, dword [rdi + r11 - 0x663e0870]
push rdi
xor eax, esi
sub word [rsp + rdi - 0x663e086f], di
ja 0x14461d9e2
lea rcx, [rdi*4 + 0x590a04b2]
jmp 0x1445f6079

Function at 0x1445a0724
Capabilities:
Authenticate hmac

Disassembly:
inc ebp
mov ecx, dword [r10 + rdi]
mov edx, dword [r10 + rdi*8 + 4]
js 0x1445ca7ee

Function at 0x1445a203d
Capabilities:
Authenticate hmac

Disassembly:
mov ecx, dword [r10 + rbx*2 - 0x592a6f52]
lea r8, [rbx + rbx*2 + 0x186772b]
or eax, ecx
mov ecx, ebx
movzx ebp, r8b
mov edi, ebp
not eax
shl r8w, 0xa1
mov dword [r10 + rbx*2 - 0x592a6f52], eax
sar r8w, cl
or r8d, 0x64a19b99
mov ebp, dword [rbx + r11 - 0x2c9537ab]
dec ecx
xor ebp, esi
rol rdi, cl
lea ebp, [rbp + rcx*4 + 0x285edc6b]
setae r8b
rol ebp, 1
xadd r8d, edi
neg r8
xor ebp, 0x5d9f318b
sar edi, 0x6a
call fcn.1445cbd2d
mov edx, ebx
rol r8b, 1
lea rdi, [rbx + rax*2 + 0x128dc8bb]
and cx, bx
dec r8b
not r8b
dec r8b
and rbx, 0xffffffffa733c78c
shl bx, 0x4e
xor sil, r8b
and rcx, 0xfffffffffd9b4b0e
sub cx, ax
add r8, rsp
xadd bl, dh
dec rcx
shr rax, cl
or al, byte [r8 + rcx - 0x993a46e]
xchg di, bx
dec rcx
mov word [r10 + rcx - 0x993a46f], ax
or cl, ch
lea rbp, [rdi + rdi*4 + 0x6426b990]
movzx ebp, byte [rcx + r11 - 0x993a4ec]
xor bpl, sil
not bpl
sub di, bx
neg bpl
xchg dl, cl
sub di, 0x63b1
xor bpl, 0x94
inc ebx
neg bpl
jmp 0x14462a9a2
bswap ebx
sal rdi, 0x90
xor ebx, 0xa70431bc
pop r8
lea ebx, [rcx + rbx - 0x43312255]
mov qword [rsp + rcx*2 - 0x96], rsi
lea r8, [rdx*2 - 0x1f6ceaf2]
xor dword [rsp + rcx - 0x47], ebx
push rax
mov rsi, qword [rsp + rcx - 0x3f]
pop rbp
mov qword [rsp + rcx*2 - 0x9e], r8
movsxd rbx, ebx
shr dl, 0x21
seto dil
add r9, rbx
push rdx
lea rax, [r10 + rcx*4 - 0x13a]
mov ebx, 0xf2f8099
sal rdi, cl
mov qword [r10 + rcx*4 - 0x142], rax
lea r10, [r10 + rbx*2 - 0x1e5f0138]
movzx eax, word [rsp + rbx*2 - 0x1e5f0126]
jne 0x1445b41ce
pop rdi
pop rdi
pop rcx
jne fcn.14459f190
inc edx
sub r8b, 0xb7
add di, 0xed9a
and r8, qword [rsp + rbp*2 - 0x16824]
ror edx, 1
xor edx, 0xe435331c
mov qword [rsp + rbp*8 - 0x5a090], rsi
sub rdi, rbx
jl 0x1445ff9d1
shl r8d, 5
pop rsi
movzx edx, cl
dec r8
movsxd rdi, edi
lea rax, [rbp + rdx*8 + 0x2c07469d]
sal r8w, cl
call fcn.144634511
mov eax, dword [r10]
mov ebx, 0x2c9537ab
jb 0x1445a1dc0
Function at 0x1445a4276
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
rol rcx, 6
mov qword [rsp + rdx*2 + 0x5143bcfc], 0x749ea13c
neg rcx
xchg word [rsp + rdx*2 + 0x5143bd02], di
xor rsi, rcx
mov qword [rdx + r10 + 0x28a1de78], rcx
xchg r8, rbp
lea r10, [r10 + rdx*2 + 0x5143bcf6]
neg eax
pop rdi
pop rbp
jne fcn.14459f190

Function at 0x1445a42b1
Capabilities:
Authenticate hmac
Parse pe header

Disassembly:
push 0xffffffffa01fdd2f
lea rsp, [rsp + 0x10]
jne 0x1446179b4
mov rax, qword [rbp + riz]
push 0x7f29fbb9
sub rsp, 0x18
jmp 0x1445b0299
call fcn.1445dff52
lea edi, [rdi + rcx*4 - 0x59fc004]
ror edi, 1
sub r8w, bx
sub bx, cx
sbb edi, 0xc10f621a
xadd eax, ebx
call fcn.14459dc2f
mov ax, word [r10]
mov r8w, word [r10 + 2]
or ax, r8w
mov ecx, 0xd02d3ae
call fcn.1445e0167
mov ebx, 0x1aa2148b
mov r8d, 0x99bd42a5
movzx edx, word [r11 + rbx - 0x1aa2148b]
call fcn.1445df50a
neg edi
add rcx, rax
call fcn.1445a5d66
jmp 0x1445af701
mov rax, qword [rbp + rbx*8]
jmp 0x1445d901b