joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023690
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14007b620], eax
jle 0x14002380d
lea rcx, [0x14007b620]
call fcn.14002c6cc
cmp dword [0x14007b620], 0xffffffff
jne 0x14002380d
mov ecx, 0x40
call fcn.14002c5ac
mov rbx, rax
mov qword [rsp + 0x20], rax
lea rcx, [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
mov dword [rbx + 0xc], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x90]
cmp eax, 1
ja 0x14002372f
mov eax, 2
jmp 0x14002373d
cmp eax, 0xa
jbe 0x14002373b
mov eax, 0xa
jmp 0x14002373d
dec eax
mov dword [rbx + 8], eax
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rsp + 0x40]
mov edx, 0x40000000
test eax, eax
cmove rcx, rdx
mov qword [rbx], 0xa000000
xorps xmm1, xmm1
test rcx, rcx
js 0x140023779
cvtsi2sd xmm1, rcx
jmp 0x14002378e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, qword [str.ffffff]
mov eax, dword [rbx + 8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm1, xmm0
xor ecx, ecx
movsd xmm0, qword [0x140069d18]
comisd xmm1, xmm0
jb 0x1400237cc
subsd xmm1, xmm0
comisd xmm1, xmm0
jae 0x1400237cc
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm1
add rax, rcx
and rax, 0xffffffffff800000
cmp rax, 0x800000
jae 0x1400237eb
mov qword [rbx], 0x1800000
jmp 0x1400237fa
mov edx, 0xff800000
cmp rax, rdx
cmova rax, rdx
mov qword [rbx], rax
mov qword [0x14007b628], rbx
lea rcx, [0x14007b620]
call fcn.14002c660
mov rax, qword [0x14007b628]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14002c2f0
add rsp, 0xb0
pop rbx
ret
Function at 0x140024a60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
push rsi
push r15
sub rsp, 0x90
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, r8
mov r15, rdx
mov rsi, rcx
cmp r8, 0x400
jbe 0x140024a97
mov eax, 0xffffffca
jmp 0x140024c48
mov eax, dword [rcx + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
cmp dword [rcx + 0x10], eax
jg 0x140024ab7
cmp dword [rcx + 0x14], 0
je 0x140024acc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.140024920
test eax, eax
jne 0x140024c48
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x78], r13
mov r13d, 0x10
mov qword [rsp + 0x70], r14
test rbp, rbp
je 0x140024bf6
mov r14d, 1
lea rbx, [rsi + 0x28]
sub r14, rsi
nop word [rax + rax]
lea rax, [rsi + 0xf]
add byte [rax], 1
jne 0x140024b25
dec rax
lea rcx, [r14 + rax]
test rcx, rcx
jg 0x140024b14
mov ecx, 0x2000000
call fcn.140016f70
test eax, eax
je 0x140024b48
mov rcx, rbx
shr rcx, 2
and ecx, 3
je 0x140024b48
mov eax, 4
sub eax, ecx
jmp 0x140024b4a
xor eax, eax
mov rcx, qword [rbx + 8]
mov edi, eax
cmp rdi, rcx
je 0x140024b78
mov eax, dword [rbx]
add rcx, 4
inc eax
shl eax, 4
movsxd r8, eax
lea rdx, [rbx + rcx*4]
lea rcx, [rbx + 0x10]
lea rcx, [rcx + rdi*4]
call fcn.140051150
mov qword [rbx + 8], rdi
mov ecx, 0x2000000
call fcn.140016f70
test eax, eax
je 0x140024bba
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rsi]
lea rcx, [rbx + rax*4]
mov eax, dword [rbx]
xorps xmm0, xmmword [rcx + 0x10]
add rcx, 0x20
sub eax, 1
je 0x140024bad
aesenc xmm0, xmmword [rcx]
add rcx, r13
add eax, 0xffffffff
jne 0x140024ba0
aesenclast xmm0, xmmword [rcx]
movdqu xmmword [rsp + 0x20], xmm0
jmp 0x140024bd0
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.140020590
mov edx, eax
test eax, eax
jne 0x140024c0c
cmp rbp, r13
lea rdx, [rsp + 0x20]
mov rdi, rbp
mov rcx, r15
cmova rdi, r13
mov r8, rdi
call fcn.140051150
add r15, rdi
sub rbp, rdi
jne 0x140024b10
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140024750
mov edx, eax
test eax, eax
jne 0x140024c0c
inc dword [rsi + 0x10]
mov r14, qword [rsp + 0x70]
lea rdi, [rsp + 0x30]
mov r12, qword [rsp + 0x80]
xor eax, eax
mov rbx, qword [rsp + 0xc8]
mov ecx, 0x30
rep stosb byte [rdi], al
mov rcx, r13
lea rdi, [rsp + 0x20]
mov r13, qword [rsp + 0x78]
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x88]
mov eax, edx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002c2f0
add rsp, 0x90
pop r15
pop rsi
pop rbp
ret
Function at 0x140024fd0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov r8, rcx
test rcx, rcx
je case.0x14002500f.6
mov rax, qword [rcx]
test rax, rax
je case.0x14002500f.6
mov eax, dword [rax]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x14002500f.6
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x2525c]
add rcx, rdx
jmp rcx
mov rax, qword [r8 + 8]
xor ecx, ecx
mov qword [rax], rcx
mov dword [rax + 8], 0x67452301
mov dword [rax + 0xc], 0xefcdab89
mov dword [rax + 0x10], 0x98badcfe
mov dword [rax + 0x14], 0x10325476
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, qword [r8 + 8]
xor ecx, ecx
mov qword [rax], rcx
mov dword [rax + 8], 0x67452301
mov dword [rax + 0xc], 0xefcdab89
mov dword [rax + 0x10], 0x98badcfe
mov dword [rax + 0x14], 0x10325476
mov dword [rax + 0x18], 0xc3d2e1f0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, qword [r8 + 8]
xor ecx, ecx
mov qword [rax + 0x40], rcx
mov dword [rax + 0x48], 0xc1059ed8
mov dword [rax + 0x4c], 0x367cd507
mov dword [rax + 0x50], 0x3070dd17
mov dword [rax + 0x54], 0xf70e5939
mov dword [rax + 0x58], 0xffc00b31
mov dword [rax + 0x5c], 0x68581511
mov dword [rax + 0x60], 0x64f98fa7
mov dword [rax + 0x64], 0xbefa4fa4
mov dword [rax + 0x68], 1
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, qword [r8 + 8]
xor ecx, ecx
mov qword [rax + 0x40], rcx
mov dword [rax + 0x48], 0x6a09e667
mov dword [rax + 0x4c], 0xbb67ae85
mov dword [rax + 0x50], 0x3c6ef372
mov dword [rax + 0x54], 0xa54ff53a
mov dword [rax + 0x58], 0x510e527f
mov dword [rax + 0x5c], 0x9b05688c
mov dword [rax + 0x60], 0x1f83d9ab
mov qword [rax + 0x64], 0x5be0cd19
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [r8 + 8]
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.14002b440
mov rcx, qword [r8 + 8]
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.14002b440
mov eax, dword [0x140073cc8]
lea rcx, [0x140073cc8]
mov rbx, qword [r8 + 8]
test eax, eax
je 0x140025156
cmp eax, 1
je 0x140025163
mov eax, dword [rcx + 8]
add rcx, 8
test eax, eax
jne 0x140025146
mov ecx, 0xffffff8a
mov eax, ecx
add rsp, 0x20
pop rbx
ret
movzx eax, word [rcx + 6]
xor edx, edx
shr ax, 3
mov r8d, 0xc8
mov word [rbx + 0xcc], ax
movzx eax, word [rcx + 4]
mov rcx, rbx
shr ax, 3
mov word [rbx + 0xce], ax
call fcn.140050d90
xor ecx, ecx
mov dword [rbx + 0xc8], ecx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov eax, dword [0x140073cc8]
lea rcx, [0x140073cc8]
mov rbx, qword [r8 + 8]
test eax, eax
je 0x140025156
cmp eax, 2
je 0x140025163
mov eax, dword [rcx + 8]
add rcx, 8
test eax, eax
jne 0x1400251b6
mov ecx, 0xffffff8a
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov eax, dword [0x140073cc8]
lea rcx, [0x140073cc8]
mov rbx, qword [r8 + 8]
test eax, eax
je 0x140025156
nop dword [rax]
cmp eax, 3
je 0x140025163
mov eax, dword [rcx + 8]
add rcx, 8
test eax, eax
jne 0x1400251f0
mov ecx, 0xffffff8a
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov eax, dword [0x140073cc8]
lea rcx, [0x140073cc8]
mov rbx, qword [r8 + 8]
test eax, eax
je 0x140025156
nop word [rax + rax]
cmp eax, 4
je 0x140025163
mov eax, dword [rcx + 8]
add rcx, 8
test eax, eax
jne 0x140025230
mov ecx, 0xffffff8a
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov eax, 0xffffaf00
add rsp, 0x20
pop rbx
ret
Function at 0x1400252a0
Capabilities:
Hash data using sha1

Disassembly:
push rdi
sub rsp, 0xa0
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, r9
mov r11, r8
mov r10, rdx
test rcx, rcx
je case.0x1400252ee.6
mov eax, dword [rcx]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x1400252ee.6
cdqe
lea rdx, [0x140000000]
mov eax, dword [rdx + rax*4 + 0x2546c]
add rax, rdx
jmp rax
mov r8, rdi
mov rdx, r11
mov rcx, r10
call fcn.140028ed0
jmp 0x140025450
xorps xmm0, xmm0
mov dword [rsp + 0x38], 0x67452301
xor eax, eax
mov dword [rsp + 0x3c], 0xefcdab89
mov rdx, r10
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x40], 0x98badcfe
movups xmmword [rsp + 0x4c], xmm0
mov dword [rsp + 0x44], 0x10325476
movups xmmword [rsp + 0x5c], xmm0
mov dword [rsp + 0x48], 0xc3d2e1f0
movups xmmword [rsp + 0x6c], xmm0
movups xmmword [rsp + 0x7c], xmm0
call fcn.140028320
mov edx, eax
test eax, eax
jne 0x14002536b
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140028400
mov edx, eax
xor eax, eax
lea rdi, [rsp + 0x30]
mov ecx, 0x5c
rep stosb byte [rdi], al
mov eax, edx
jmp 0x140025450
mov r8, rdi
mov rdx, r11
mov rcx, r10
call fcn.14002b280
jmp 0x140025450
mov r9d, 1
mov r8, rdi
mov rdx, r11
mov rcx, r10
call fcn.140026470
jmp 0x140025450
xor r9d, r9d
mov r8, rdi
mov rdx, r11
mov rcx, r10
call fcn.140026470
jmp 0x140025450
mov r9d, 1
mov r8, rdi
mov rdx, r11
mov rcx, r10
call fcn.14002c140
jmp 0x140025450
xor r9d, r9d
mov r8, rdi
mov rdx, r11
mov rcx, r10
call fcn.14002c140
jmp 0x140025450
movzx eax, byte [rcx + 4]
mov rdx, r10
mov ecx, 1
mov qword [rsp + 0x20], rax
call fcn.1400298e0
jmp 0x140025450
movzx eax, byte [rcx + 4]
mov rdx, r10
mov ecx, 2
mov qword [rsp + 0x20], rax
call fcn.1400298e0
jmp 0x140025450
movzx eax, byte [rcx + 4]
mov rdx, r10
mov ecx, 3
mov qword [rsp + 0x20], rax
call fcn.1400298e0
jmp 0x140025450
movzx eax, byte [rcx + 4]
mov rdx, r10
mov ecx, 4
mov qword [rsp + 0x20], rax
call fcn.1400298e0
jmp 0x140025450
mov eax, 0xffffaf00
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14002c2f0
add rsp, 0xa0
pop rdi
ret
Function at 0x140028ed0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x29], 0
xorps xmm0, xmm0
mov dword [rbp - 0x21], 0x67452301
mov rsi, r8
mov dword [rbp - 0x1d], 0xefcdab89
mov rdi, rdx
mov dword [rbp - 0x19], 0x98badcfe
mov rbx, rcx
mov dword [rbp - 0x15], 0x10325476
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
test rdx, rdx
je 0x140028f78
mov dword [rbp - 0x29], edx
cmp rdx, 0x40
jb 0x140028f64
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140028570
mov edx, eax
test eax, eax
jne 0x140029039
add rbx, 0x40
sub rdi, 0x40
cmp rdi, 0x40
jae 0x140028f40
test rdi, rdi
je 0x140028f78
mov r8, rdi
lea rcx, [rbp - 0x11]
mov rdx, rbx
call fcn.140051150
mov ecx, dword [rbp - 0x29]
lea rdi, [rbp - 0x11]
and ecx, 0x3f
xor edx, edx
mov byte [rbp + rcx - 0x11], 0x80
inc ecx
mov eax, ecx
add rdi, rax
cmp ecx, 0x38
ja 0x140028fa8
mov r8d, 0x38
sub r8d, ecx
mov rcx, rdi
call fcn.140050d90
jmp 0x140028fe1
mov r8d, 0x40
sub r8d, ecx
mov rcx, rdi
call fcn.140050d90
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x29]
call fcn.140028570
mov edx, eax
test eax, eax
jne 0x14002902c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp + 0x1f], rax
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
mov ecx, dword [rbp - 0x29]
mov eax, dword [rbp - 0x25]
lea edx, [rax*8]
mov eax, ecx
shr eax, 0x1d
or edx, eax
lea eax, [rcx*8]
mov dword [rbp + 0x2b], edx
lea rcx, [rbp - 0x29]
lea rdx, [rbp - 0x11]
mov dword [rbp + 0x27], eax
call fcn.140028570
mov edx, eax
test eax, eax
jne 0x14002902c
mov eax, dword [rbp - 0x21]
mov dword [rsi], eax
mov eax, dword [rbp - 0x1d]
mov dword [rsi + 4], eax
mov eax, dword [rbp - 0x19]
mov dword [rsi + 8], eax
mov eax, dword [rbp - 0x15]
mov dword [rsi + 0xc], eax
lea rdi, [rbp - 0x29]
xor eax, eax
mov ecx, 0x58
rep stosb byte [rdi], al
xor eax, eax
lea rdi, [rbp - 0x29]
mov ecx, 0x58
rep stosb byte [rdi], al
mov eax, edx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14002c2f0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x140029630
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp r8, 8
jb 0x140029751
mov r9d, dword [rcx + 0xc8]
mov r8d, 8
mov eax, r9d
and eax, 7
sub r8d, eax
je 0x1400296e2
test r8d, r8d
jle 0x1400296bc
mov eax, r8d
sub rdi, rax
nop word [rax + rax]
mov eax, r9d
dec r8d
shr rax, 3
and r9d, 7
shl r9d, 3
lea rdx, [rbx + rax*8]
movzx eax, byte [rsi]
movzx ecx, r9b
shl rax, cl
inc rsi
xor qword [rdx], rax
mov r9d, dword [rbx + 0xc8]
inc r9d
mov dword [rbx + 0xc8], r9d
test r8d, r8d
jg 0x140029680
movzx ecx, word [rbx + 0xce]
xor edx, edx
mov eax, r9d
div ecx
mov dword [rbx + 0xc8], edx
test edx, edx
jne 0x1400296dc
mov rcx, rbx
call fcn.140029070
cmp rdi, 8
jb 0x140029751
mov qword [rsp + 0x30], rbp
mov rbp, rdi
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rdi, rax
nop word [rax + rax]
mov ecx, dword [rbx + 0xc8]
mov rdx, qword [rsi]
mov eax, ecx
shr rax, 3
and ecx, 7
shl ecx, 3
add rsi, 8
shl rdx, cl
xor qword [rbx + rax*8], rdx
xor edx, edx
mov eax, dword [rbx + 0xc8]
movzx ecx, word [rbx + 0xce]
add eax, 8
div ecx
mov dword [rbx + 0xc8], edx
test edx, edx
jne 0x140029746
mov rcx, rbx
call fcn.140029070
sub rbp, 1
jne 0x140029700
mov rbp, qword [rsp + 0x30]
test rdi, rdi
je 0x1400297b1
nop word [rax + rax]
mov ecx, dword [rbx + 0xc8]
lea rsi, [rsi + 1]
mov eax, ecx
dec rdi
shr rax, 3
and ecx, 7
lea rdx, [rbx + rax*8]
shl ecx, 3
movzx eax, byte [rsi - 1]
shl rax, cl
xor qword [rdx], rax
xor edx, edx
mov eax, dword [rbx + 0xc8]
movzx ecx, word [rbx + 0xce]
inc eax
div ecx
mov dword [rbx + 0xc8], edx
test edx, edx
jne 0x1400297ac
mov rcx, rbx
call fcn.140029070
test rdi, rdi
jne 0x140029760
mov rbx, qword [rsp + 0x38]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002b280
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x29], 0
xorps xmm0, xmm0
mov dword [rbp - 0x21], 0x67452301
mov rsi, r8
mov dword [rbp - 0x1d], 0xefcdab89
mov rdi, rdx
mov dword [rbp - 0x19], 0x98badcfe
mov rbx, rcx
mov dword [rbp - 0x15], 0x10325476
mov dword [rbp - 0x11], 0xc3d2e1f0
movups xmmword [rbp - 0xd], xmm0
movups xmmword [rbp + 3], xmm0
movups xmmword [rbp + 0x13], xmm0
movups xmmword [rbp + 0x23], xmm0
test rdx, rdx
je 0x14002b338
mov dword [rbp - 0x29], edx
cmp rdx, 0x40
jb 0x14002b324
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140029ae0
mov edx, eax
test eax, eax
jne 0x14002b40d
add rbx, 0x40
sub rdi, 0x40
cmp rdi, 0x40
jae 0x14002b300
test rdi, rdi
je 0x14002b338
mov r8, rdi
lea rcx, [rbp - 0xd]
mov rdx, rbx
call fcn.140051150
mov ecx, dword [rbp - 0x29]
lea rdi, [rbp - 0xd]
and ecx, 0x3f
xor edx, edx
mov byte [rbp + rcx - 0xd], 0x80
inc ecx
mov eax, ecx
add rdi, rax
cmp ecx, 0x38
ja 0x14002b368
mov r8d, 0x38
sub r8d, ecx
mov rcx, rdi
call fcn.140050d90
jmp 0x14002b3a1
mov r8d, 0x40
sub r8d, ecx
mov rcx, rdi
call fcn.140050d90
lea rdx, [rbp - 0xd]
lea rcx, [rbp - 0x29]
call fcn.140029ae0
mov edx, eax
test eax, eax
jne 0x14002b400
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0xd], xmm0
mov qword [rbp + 0x23], rax
movups xmmword [rbp + 3], xmm0
movups xmmword [rbp + 0x13], xmm0
mov ecx, dword [rbp - 0x29]
mov eax, dword [rbp - 0x25]
lea edx, [rax*8]
mov eax, ecx
lea ecx, [rcx*8]
shr eax, 0x1d
or edx, eax
bswap edx
bswap ecx
mov dword [rbp + 0x2b], edx
lea rdx, [rbp - 0xd]
mov dword [rbp + 0x2f], ecx
lea rcx, [rbp - 0x29]
call fcn.140029ae0
mov edx, eax
test eax, eax
jne 0x14002b400
mov eax, dword [rbp - 0x21]
bswap eax
mov dword [rsi], eax
mov eax, dword [rbp - 0x1d]
bswap eax
mov dword [rsi + 4], eax
mov eax, dword [rbp - 0x19]
bswap eax
mov dword [rsi + 8], eax
mov eax, dword [rbp - 0x15]
bswap eax
mov dword [rsi + 0xc], eax
mov eax, dword [rbp - 0x11]
bswap eax
mov dword [rsi + 0x10], eax
lea rdi, [rbp - 0x29]
xor eax, eax
mov ecx, 0x5c
rep stosb byte [rdi], al
xor eax, eax
lea rdi, [rbp - 0x29]
mov ecx, 0x5c
rep stosb byte [rdi], al
mov eax, edx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14002c2f0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002b440
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
cmp edx, 1
jbe 0x14002b450
mov eax, 0xffffff8b
ret
xor eax, eax
movabs r8, 0xcbbb9d5dc1059ed8
mov qword [rcx], rax
test edx, edx
mov qword [rcx + 8], rax
movabs rax, 0x6a09e667f3bcc908
cmovne rax, r8
movabs r8, 0x629a292a367cd507
mov qword [rcx + 0x10], rax
movabs rax, 0xbb67ae8584caa73b
cmovne rax, r8
movabs r8, 0x9159015a3070dd17
mov qword [rcx + 0x18], rax
movabs rax, 0x3c6ef372fe94f82b
cmovne rax, r8
movabs r8, 0x152fecd8f70e5939
mov qword [rcx + 0x20], rax
movabs rax, 0xa54ff53a5f1d36f1
cmovne rax, r8
movabs r8, 0x67332667ffc00b31
mov qword [rcx + 0x28], rax
movabs rax, 0x510e527fade682d1
cmovne rax, r8
movabs r8, 0x8eb44a8768581511
mov qword [rcx + 0x30], rax
movabs rax, 0x9b05688c2b3e6c1f
cmovne rax, r8
movabs r8, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x38], rax
movabs rax, 0x1f83d9abfb41bd6b
cmovne rax, r8
movabs r8, 0x47b5481dbefa4fa4
mov qword [rcx + 0x40], rax
movabs rax, 0x5be0cd19137e2179
cmovne rax, r8
mov qword [rcx + 0x48], rax
xor eax, eax
mov dword [rcx + 0xd0], edx
ret
Function at 0x14002cf8c
Capabilities:
Parse pe header

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

Function at 0x14003b200
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003affc
Function at 0x140045500
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140045530
xor eax, eax
jmp 0x1400455f3
mov rbp, rbx
cmp word [rax], si
je 0x140045555
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14004553c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140045538
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140045420
movsxd r14, eax
test eax, eax
jne 0x140045593
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140045529
mov rcx, r14
call fcn.14003f524
mov rdi, rax
test rax, rax
jne 0x1400455ac
xor ecx, ecx
call fcn.14003f4e8
jmp 0x140045588
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140045420
test eax, eax
jne 0x1400455dd
mov rcx, rdi
call fcn.14003f4e8
jmp 0x1400455e7
xor ecx, ecx
call fcn.14003f4e8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400487c4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14003f8fc
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140048865
cmp ebx, dword [rsp + 0x30]
je 0x14004885e
test esi, esi
je 0x14004885e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140048839
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140048846
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140048823
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14004884a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140048867
mov eax, 1
jmp 0x140048867
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004b29c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14004b2b2
mov al, 1
jmp 0x14004b312
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14004b2c3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14004b310
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400460e0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004b310
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004b310
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14004b310
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14004b312
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14004f338
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400759e0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14004f38f
cmp word [rdx], r13w
jne 0x14004f38f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14004f394
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14004f4b9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14004f4da
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14004f3cd
mov rdx, r9
mov word [rbx], cx
jmp 0x14004f3f4
cmp r9, r8
jae 0x14004f404
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14004f3ae
jmp 0x14004f4b9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004f4ae
cmp dword [rsp + 0x80], esi
je 0x14004f4ae
lea r8, [0x1400759e0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14004f486
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14004f456
mov word [rbx], r13w
jmp 0x14004f4b6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14004f463
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14004f4b6
cmp word [rsp + 0x70], r13w
jne 0x14004f493
cmp rbx, r14
je 0x14004f450
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14004f1ec
cmp word [rsp + 0x70], r13w
je 0x14004f4b9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400759e0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14004f4b3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14004f4b9