joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027ac0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movzx eax, byte [rdx + 0x19]
mov r14, r8
movzx ebx, byte [rdx + 0x18]
mov rdi, rcx
movzx r11d, byte [rdx + 0x10]
movzx r10d, byte [rdx + 8]
movzx r9d, byte [rdx]
shl rbx, 8
or rbx, rax
shl r11, 8
movzx eax, byte [rdx + 0x1a]
shl r10, 8
shl rbx, 8
or rbx, rax
shl r9, 8
movzx eax, byte [rdx + 0x1b]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1c]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1d]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1e]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x1f]
shl rbx, 8
or rbx, rax
movzx eax, byte [rdx + 0x11]
or r11, rax
movzx eax, byte [rdx + 0x12]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x13]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x14]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x15]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x16]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 0x17]
shl r11, 8
or r11, rax
movzx eax, byte [rdx + 9]
or r10, rax
movzx eax, byte [rdx + 0xa]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xb]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xc]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xd]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xe]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 0xf]
shl r10, 8
or r10, rax
movzx eax, byte [rdx + 1]
or r9, rax
movzx eax, byte [rdx + 2]
shl r9, 8
or r9, rax
movzx eax, byte [rdx + 3]
shl r9, 8
or r9, rax
movzx eax, byte [rdx + 4]
shl r9, 8
or r9, rax
movzx eax, byte [rdx + 5]
xor ecx, ecx
shl r9, 8
mov esi, ecx
or r9, rax
movabs r8, 0xbfd25e8cd0364141
movzx eax, byte [rdx + 6]
shl r9, 8
or r9, rax
movzx eax, byte [rdx + 7]
shl r9, 8
mov edx, ecx
or r9, rax
mov eax, ecx
cmp r9, 0xffffffffffffffff
setb dl
cmp r10, 0xfffffffffffffffe
setb al
or edx, eax
cmp r10, 0xfffffffffffffffe
mov eax, edx
not eax
seta sil
and esi, eax
mov eax, ecx
cmp rbx, r8
movabs r8, 0xbaaedce6af48a03b
setae al
cmp r11, r8
seta cl
or eax, ecx
mov ecx, 1
cmp r11, r8
cmovb edx, ecx
not edx
and eax, edx
or esi, eax
movabs rax, 0x402da1732fc9bebf
mov ecx, esi
imul rcx, rax
mov edx, esi
mov r8d, esi
lea rax, [rbx + rcx]
cmp rax, rcx
mov qword [rdi], rax
movabs rax, 0x4551231950b75fc4
mov rcx, r11
adc rcx, 0
imul rdx, rax
cmp rcx, r11
lea rax, [rdx + rcx]
mov rcx, r10
adc rcx, 0
mov qword [rdi + 8], rax
cmp rax, rdx
adc rcx, 0
cmp rcx, r10
adc r9, 0
lea rax, [rcx + rsi]
cmp rax, r8
mov qword [rdi + 0x10], rax
adc r9, 0
mov qword [rdi + 0x18], r9
test r14, r14
je 0x140027cea
mov dword [r14], esi
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
Function at 0x14002cfc0
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rdx]
lea rax, [rsp + 0x20]
mov rbx, rcx
movups xmm1, xmmword [rdx + 0x10]
add rcx, 0x68
movdqa xmm9, xmmword [0x14001a730]
xorps xmm2, xmm2
movdqa xmm8, xmm9
movdqa xmm7, xmm9
pxor xmm8, xmm0
pxor xmm7, xmm1
mov dword [rcx], 0x6a09e667
lea rdx, [rcx + 0x20]
mov dword [rcx + 4], 0xbb67ae85
movdqa xmm6, xmm9
mov dword [rcx + 8], 0x3c6ef372
pxor xmm6, xmm2
mov dword [rcx + 0xc], 0xa54ff53a
pxor xmm9, xmm2
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], 0x40
movdqu xmmword [rsp + 0x20], xmm8
movdqu xmmword [rsp + 0x30], xmm7
movdqu xmmword [rsp + 0x40], xmm6
movdqu xmmword [rsp + 0x50], xmm9
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x50], xmm1
call fcn.14002a6d0
movdqa xmm3, xmmword [0x14001a770]
lea rdx, [rbx + 0x20]
mov dword [rbx], 0x6a09e667
movdqa xmm2, xmm3
mov dword [rbx + 4], 0xbb67ae85
movdqa xmm1, xmm3
mov dword [rbx + 8], 0x3c6ef372
movdqa xmm0, xmm3
mov dword [rbx + 0xc], 0xa54ff53a
pxor xmm2, xmm8
mov dword [rbx + 0x10], 0x510e527f
pxor xmm1, xmm7
mov dword [rbx + 0x14], 0x9b05688c
pxor xmm0, xmm6
mov dword [rbx + 0x18], 0x1f83d9ab
pxor xmm3, xmm9
mov dword [rbx + 0x1c], 0x5be0cd19
mov rcx, rbx
mov qword [rbx + 0x60], 0x40
movups xmmword [rdx], xmm2
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm3
call fcn.14002a6d0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140048740
lea r11, [rsp + 0xb0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbx
ret
Function at 0x14002e240
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ecx, 0xd0
call fcn.14005323c
mov rbx, rax
test rax, rax
je 0x14002e3d2
movaps xmm0, xmmword [0x140019e00]
lea rdx, [rsp + 0xa0]
mov eax, dword [0x140019e38]
lea rcx, [rsp + 0x30]
movaps xmm1, xmmword [0x140019e10]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [0x140019e20]
mov dword [rsp + 0x88], eax
movzx eax, word [0x140019e3c]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x140019e30]
mov word [rsp + 0x8c], ax
movzx eax, byte [0x140019e3e]
movsd qword [rsp + 0x80], xmm0
mov dword [rsp + 0x30], 0x6a09e667
mov dword [rsp + 0x34], 0xbb67ae85
mov dword [rsp + 0x38], 0x3c6ef372
mov dword [rsp + 0x3c], 0xa54ff53a
mov dword [rsp + 0x40], 0x510e527f
mov dword [rsp + 0x44], 0x9b05688c
mov dword [rsp + 0x48], 0x1f83d9ab
mov dword [rsp + 0x4c], 0x5be0cd19
mov qword [rsp + 0x90], 0x3f
movaps xmmword [rsp + 0x60], xmm1
mov byte [rsp + 0x8e], al
call fcn.14002ccf0
xor eax, eax
lea r8, [0x1400196e0]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
movzx edx, byte [rsp + rax + 0xa0]
cmp edx, ecx
jne 0x14002e3ac
inc rax
cmp rax, 0x20
jb 0x14002e340
movups xmm0, xmmword [0x140019998]
xor edx, edx
mov rcx, rbx
movups xmmword [rbx + 0xa8], xmm0
movups xmm1, xmmword [0x140019720]
movups xmmword [rbx + 0xb8], xmm1
call fcn.14002d7e0
mov dword [rbx], 1
mov rax, rbx
mov dword [rbx + 0xc8], 0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140048740
add rsp, 0xd0
pop rbx
ret
mov ecx, 2
call fcn.140053148
mov rcx, rax
lea r8, [0x140019e40]
lea rdx, [0x140019db0]
call fcn.140023a10
call fcn.1400531d0
int3
mov ecx, 2
call fcn.140053148
mov rcx, rax
lea r8, [0x140019de8]
lea rdx, [0x140019db0]
call fcn.140023a10
call fcn.1400531d0
int3

Function at 0x14002ecc0
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
sub rsp, 0xa0
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, rcx
mov dword [rsp + 0x20], 0x6a09e667
movzx ecx, byte [r8 + 0x1f]
mov eax, 1
and cl, 1
mov dword [rsp + 0x24], 0xbb67ae85
or cl, 2
mov dword [rsp + 0x28], 0x3c6ef372
mov byte [rsp + 0x40], cl
mov ebx, 0x20
mov ecx, eax
mov dword [rsp + 0x2c], 0xa54ff53a
add rax, rbx
mov dword [rsp + 0x30], 0x510e527f
and ecx, 0x3f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov rsi, rdx
mov dword [rsp + 0x3c], 0x5be0cd19
mov qword [r11 - 0x38], rax
mov eax, 0x40
sub rax, rcx
cmp rbx, rax
jb 0x14002eda5
mov qword [r11 + 0x20], rdi
nop dword [rax + rax]
lea rax, [rsp + 0x40]
mov edi, 0x40
sub rdi, rcx
mov rdx, rsi
mov r8, rdi
add rcx, rax
call fcn.14004e490
lea rdx, [rsp + 0x40]
add rsi, rdi
lea rcx, [rsp + 0x20]
sub rbx, rdi
call fcn.14002a6d0
xor ecx, ecx
cmp rbx, 0x40
jae 0x14002ed60
mov rdi, qword [rsp + 0xd8]
test rbx, rbx
je 0x14002edb8
lea rax, [rsp + 0x40]
mov r8, rbx
add rcx, rax
mov rdx, rsi
call fcn.14004e490
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.14002ccf0
mov eax, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140048740
add rsp, 0xa0
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002fa50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x50], 0x260028
mov dword [rbp - 0x4c], 0x760025
mov dword [rbp - 0x48], 0x910058
mov dword [rbp - 0x44], 0x43004d
mov dword [rbp - 0x40], 0x25005b
mov dword [rbp - 0x3c], 0x7c003b
mov dword [rbp - 0x38], 0xe50056
mov dword [rbp - 0x34], 0x3a
mov dword [rbp - 0x30], 0x500015
mov dword [rbp - 0x2c], 0x6c005b
mov dword [rbp - 0x28], 0xad0048
mov dword [rbp - 0x24], 0xd000c
mov dword [rbp - 0x20], 0x140014
mov dword [rbp - 0x1c], 0x5c002a
mov dword [rbp - 0x18], 0xbc006b
mov r8d, 0x6d
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x2c8
mov eax, dword [rdx + rcx]
mov ebx, 0x250
add rbx, rcx
test al, 1
jne 0x14002fb85
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rbx + 0x3e], 1
lea rax, [rbx + 0x3c]
lea rcx, [rbp - 0x14]
cmp rbx, rcx
ja 0x14002fb4c
lea rcx, [rbp - 0x50]
cmp rax, rcx
jb 0x14002fb4c
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx + 0x20], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rbx + 0x30], xmm1
mov eax, dword [rbp - 0x18]
mov dword [rbx + 0x38], eax
mov word [rbx + 0x3c], r8w
jmp 0x14002fb78
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx + 0x20], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rbx + 0x30], xmm1
mov eax, dword [rbp - 0x18]
mov dword [rbx + 0x38], eax
mov word [rbx + 0x3c], r8w
lea rcx, [0x140067c00]
call fcn.140048870
nop
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140048740
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x140040ec0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x10
cmp byte [rcx + 0x7e], 0
mov rbp, rcx
je 0x140041051
mov qword [rsp + 0x20], rbx
lea rax, [rcx + 4]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r12
mov r12d, 0xff
mov qword [rsp + 8], r14
mov r14d, 2
mov qword [rsp], r15
movabs r15, 0xc59f7d31b1dfcd87
nop word [rax + rax]
lea ecx, [r14 + 0xfe]
mov rsi, r15
and cl, 7
lea rax, [rax + 0x2a]
shl cl, 3
mov rdi, r15
shr rsi, cl
mov rbx, r15
lea ecx, [r14 + 0xff]
and si, r12w
xor word [rax - 0x2e], si
and cl, 7
xor word [rax - 0x1e], si
mov r11, r15
xor word [rax - 0xe], si
mov r10, r15
shl cl, 3
mov r9, r15
shr rdi, cl
mov r8, r15
movzx ecx, r14b
and di, r12w
xor word [rax - 0x2c], di
and cl, 7
xor word [rax - 0x1c], di
mov rdx, r15
xor word [rax - 0xc], di
shl cl, 3
shr rbx, cl
lea ecx, [r14 + 1]
and cl, 7
and bx, r12w
xor word [rax - 0x2a], bx
xor word [rax - 0x1a], bx
xor word [rax - 0xa], bx
shl cl, 3
shr r11, cl
lea ecx, [r14 + 2]
and cl, 7
and r11w, r12w
xor word [rax - 0x28], r11w
xor word [rax - 0x18], r11w
xor word [rax - 8], r11w
shl cl, 3
shr r10, cl
lea ecx, [r14 + 3]
and cl, 7
and r10w, r12w
xor word [rax - 0x26], r10w
xor word [rax - 0x16], r10w
xor word [rax - 6], r10w
shl cl, 3
shr r9, cl
lea ecx, [r14 + 0xfc]
and cl, 7
and r9w, r12w
xor word [rax - 0x24], r9w
xor word [rax - 0x14], r9w
shl cl, 3
shr r8, cl
lea ecx, [r14 + 0xfd]
and cl, 7
and r8w, r12w
xor word [rax - 0x22], r8w
add r14, 0x15
xor word [rax - 0x12], r8w
shl cl, 3
shr rdx, cl
and dx, r12w
lea rcx, [r14 - 2]
xor word [rax - 0x20], dx
xor word [rax - 0x10], dx
cmp rcx, 0x3f
jb 0x140040f10
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov byte [rbp + 0x7e], 0
add rsp, 0x10
pop rbp
ret
Function at 0x1400492c4
Capabilities:
Parse pe header

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

Function at 0x140053660
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400534cb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400534cb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400534cb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400534cb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400534cb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400534cb
cmp dword [rcx + 0xf8], 0
je 0x1400534cb
mov ecx, ebx
call fcn.14005357c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140053358
nop
cmp dword [rbp + 0x20], 0
je 0x140053519
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140053524
int3
xor r8d, r8d
xor edx, edx
jmp 0x14005345c
Function at 0x140059cf4
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 0x140059d24
xor eax, eax
jmp 0x140059de7
mov rbp, rbx
cmp word [rax], si
je 0x140059d49
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140059d30
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140059d2c
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.140059c14
movsxd r14, eax
test eax, eax
jne 0x140059d87
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140059d1d
mov rcx, r14
call fcn.140054f08
mov rdi, rax
test rax, rax
jne 0x140059da0
xor ecx, ecx
call fcn.140054ecc
jmp 0x140059d7c
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.140059c14
test eax, eax
jne 0x140059dd1
mov rcx, rdi
call fcn.140054ecc
jmp 0x140059ddb
xor ecx, ecx
call fcn.140054ecc
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 0x14005ce28
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005ce3e
mov al, 1
jmp 0x14005ce9e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005ce4f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005ce9c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14005a4f8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005ce9c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005ce9c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005ce9c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005ce9e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14005eba4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140053244
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14005ec2e
cmp byte [rbp - 0x21], r15b
je 0x14005ec29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14005ec64
call fcn.14005739c
test eax, eax
jne 0x14005ec50
cmp byte [rbp - 0x21], r15b
je 0x14005ec48
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14005ec64
cmp byte [rbp - 0x21], r15b
je 0x14005ec61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140058360
test eax, eax
jne 0x14005ed04
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140053244
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14005eca3
cmp byte [rbp - 0x21], r15b
je 0x14005ecd8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14005ecd8
call fcn.14005739c
test eax, eax
jne 0x14005ecc4
cmp byte [rbp - 0x21], r15b
je 0x14005ecbd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14005ecd8
cmp byte [rbp - 0x21], r15b
je 0x14005ecd5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140058360
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14005ed04
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14005ed07
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14005ed15
mov rcx, rdi
call fcn.140054ecc
cmp byte [rbp + 0x3f], r15b
je 0x14005ed24
mov rcx, qword [rbp + 0x27]
call fcn.140054ecc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140061330
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140061358
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140061358
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1800010f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
jne 0x180001122
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x180004ec0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x1800108b0
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x1800108ed
test rdx, rdx
je 0x1800108ed
mov rax, qword [rax]
cmp rax, r9
jne 0x1800108d0
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret

Function at 0x180005710
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov esi, ecx
movsxd rbx, edx
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rdi, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceFrequency
mov r14d, 0x1e
mov rdx, rbx
imul rdx, qword [rsp + 0x50]
movabs rax, 0x431bde82d7b634db
imul rdx
mov rbp, rdx
sar rbp, 0x12
mov rax, rbp
shr rax, 0x3f
add rbp, rax
add rbp, rdi
cmp esi, r14d
cmovb r14d, esi
xor edi, edi
test r14d, r14d
jle 0x1800057b2
mov ebx, 1
test ebx, ebx
jle 0x180005798
mov eax, ebx
nop dword [rax]
pause
sub rax, 1
jne 0x180005790
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x50], rbp
jg 0x1800057b2
inc edi
rol ebx, 1
cmp edi, r14d
jl 0x180005783
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1800057d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword gs:[0x58]
movzx edi, dl
mov r8d, dword [0x18039b864]
mov rsi, rcx
mov rbx, qword [rax + r8*8]
mov eax, 0x108
cmp byte [rax + rbx], 0
jne 0x180005816
call fcn.18006e908
mov r14d, 0x10
add r14, rbx
mov rcx, r14
call fcn.180008730
xor r12d, r12d
lea rcx, [rsi + 0x10]
test al, al
cmove r14, r12
call fcn.180010bd0
mov qword [0x1803949d0], r14
test dil, dil
je 0x180005855
mov rcx, qword [0x180394c90]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
mov eax, dword [0x1803949c8]
or eax, 2
mov dword [0x1803949c8], eax
call sub.KERNEL32.dll_FlushProcessWriteBuffers
xor dil, dil
mov r15d, r12d
mov esi, r12d
movabs r13, 0x431bde82d7b634db
nop dword [rax]
mov ebp, esi
mov esi, r12d
call fcn.180009090
mov rcx, rax
call fcn.1800090f0
mov r8b, 1
lea rcx, [rsp + 0x20]
lea rdx, [rax + 0x10]
call fcn.180010990
call fcn.180009090
mov rcx, rax
call fcn.1800090f0
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1800058f5
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
cmp rbx, r14
je 0x1800058c0
mov rcx, rbx
call fcn.180007e70
test al, al
jne 0x1800058c0
inc esi
test dil, dil
jne 0x1800058c0
mov rcx, rbx
call fcn.180008410
jmp 0x1800058c0
lea rcx, [rsp + 0x20]
call fcn.180010bb0
test esi, esi
je 0x1800059b0
cmp esi, ebp
jl 0x180005937
test dil, dil
je 0x180005937
mov edx, 0x64
mov ecx, r15d
call fcn.180005710
inc r15d
xor dil, dil
test r15b, 0x7f
jne 0x180005880
call sub.KERNEL32.dll_SwitchToThread
jmp 0x180005880
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceFrequency
mov rax, qword [rsp + 0x70]
mov edi, r12d
lea rcx, [rax + rax*4]
mov rax, r13
imul rcx
mov rbp, rdx
sar rbp, 0x12
mov rax, rbp
shr rax, 0x3f
add rbp, rax
add rbp, rbx
mov ebx, 1
nop dword [rax + rax]
test ebx, ebx
jle 0x18000598e
mov eax, ebx
pause
sub rax, 1
jne 0x180005986
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x70], rbp
jg 0x1800059a8
inc edi
rol ebx, 1
cmp edi, 0x1e
jl 0x180005980
mov dil, 1
jmp 0x180005880
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret