joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff8c134a316
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov esi, edx
mov rax, qword [0x7ff8c13b2268]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dx, 0xffff
je 0x7ff8c134a372
mov rdi, rcx
mov word [rsp + 0x56], si
cmp byte [rcx + 0x58], 0
je 0x7ff8c134a382
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x56]
mov edx, 2
mov r8d, 1
call fcn.7ff8c13730c0
mov di, 0xffff
cmp rax, 1
jne 0x7ff8c134a431
xor eax, eax
cmp si, 0xffff
cmove esi, eax
mov edi, esi
jmp 0x7ff8c134a431
lea r15, [rsp + 0x58]
lea r12, [rsp + 0x48]
mov qword [r12], r15
lea rbx, [rsp + 0x56]
lea r13, [rsp + 0x60]
lea r14, [rsp + 0x40]
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov r8, rbx
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rbx
je 0x7ff8c134a42d
mov ebp, eax
cmp eax, 3
je 0x7ff8c134a40c
cmp ebp, 1
ja 0x7ff8c134a42d
mov rbx, qword [rsp + 0x48]
sub rbx, r15
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.7ff8c13730c0
cmp rax, rbx
jne 0x7ff8c134a42d
mov rbx, qword [rsp + 0x40]
cmp ebp, 1
je 0x7ff8c134a39f
jmp 0x7ff8c134a372
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rbx
call fcn.7ff8c13730c0
cmp rax, 1
je 0x7ff8c134a372
mov di, 0xffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.7ff8c1361750
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x7ff8c134a542
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x7ff8c134a579
movabs r9, 0xf000000000000000
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
inc rdx
cmp r8, rdx
jne 0x7ff8c134a553
ret

Function at 0x7ff8c134a678
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x7ff8c134a6b0
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp r8, rdx
jne 0x7ff8c134a689
ret
Function at 0x1800053f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1800053a0
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x180006eb0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x180006ed3
mov rcx, qword [rsp + 0x40]
call fcn.18000a2f0
nop
jmp 0x180006eeb
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x180006eeb
mov rcx, qword [rsp + 0x40]
call fcn.18000a0f0
nop
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x180007600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov dword [rsp + 4], 0x963239fd
mov qword [rsp + 8], 0
jmp 0x18000763d
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 8], rax
jae 0x1800076c2
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov byte [rsp], al
xor edx, edx
mov rax, qword [rsp + 8]
mov ecx, 4
div rcx
mov rax, rdx
shl rax, 3
movzx ecx, al
mov eax, dword [rsp + 4]
shr eax, cl
and eax, 0xff
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
mov eax, dword [rsp + 4]
shl eax, 8
movzx ecx, byte [rsp]
or eax, ecx
mov dword [rsp + 4], eax
jmp 0x180007630
add rsp, 0x28
ret
Function at 0x1800082e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
nop
cmp dword [0x18007a7e4], 0
je 0x180008388
xor eax, eax
jmp 0x180008398
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x68
ret
Function at 0x18000a0f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x18000a120
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x18000a1a2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x18000a16e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x18000a176
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x18000a115
mov qword [rsp + 8], 0xe3
jmp 0x18000a1ba
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x18000a241
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x18000a20b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x18000a213
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x18000a1ad
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x18000a295
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x18000a29d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x18000a2f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x18000a311
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x18000a395
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x18000a360
mov dword [rsp + 4], 0x9908b0df
jmp 0x18000a368
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x18000a304
add rsp, 0x18
ret

Function at 0x18000c110
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 3
jge 0x18000c279
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call fcn.18000aa70
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x50]
call fcn.18000cbf0
nop
lea rcx, [rsp + 0x50]
call fcn.18000c520
movzx eax, al
test eax, eax
jne 0x18000c18b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.180007040
nop
jmp 0x18000c136
mov r8d, 0x40
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.18000d3e0
nop
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
je 0x18000c1d9
lea rcx, [rsp + 0x50]
call fcn.18000afd0
nop
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x50]
call fcn.180007040
mov eax, dword [rsp + 0x24]
jmp 0x18000c27b
movsxd rax, dword [rsp + 0x19c]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18000d980
mov dword [rsp + 0x30], 0
mov r8d, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.18000d3e0
nop
cmp dword [rsp + 0x30], 0x4550
je 0x18000c23c
lea rcx, [rsp + 0x50]
call fcn.18000afd0
nop
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x50]
call fcn.180007040
mov eax, dword [rsp + 0x28]
jmp 0x18000c27b
mov r8d, 0x14
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.18000d3e0
lea rcx, [rsp + 0x50]
call fcn.18000afd0
nop
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x50]
call fcn.180007040
mov eax, dword [rsp + 0x2c]
jmp 0x18000c27b
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x1b8
ret
Function at 0x18000f2f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x80], 0
jg 0x18000f324
xor eax, eax
jmp 0x18000f4d1
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x18000f34c
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.18000f4f0
jmp 0x18000f4d1
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call fcn.1800096a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x18000f3e9
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1800041e0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x70]
call fcn.18000c340
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.18000b050
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.18000be60
nop
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x18000f4c1
mov rcx, qword [rsp + 0x70]
call fcn.18000a3c0
mov qword [rsp + 0x38], 0xfff
cmp qword [rsp + 0x40], 0xfff
jbe 0x18000f489
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.1800435bc
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x28], 0xfff
je 0x18000f487
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x18000f4d1
jmp 0x18000f40f
cmp qword [rsp + 0x40], 0
jbe 0x18000f4c1
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.1800435bc
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x68
ret
Function at 0x18002e330
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x38], 0x61
mov byte [rsp + 0x39], 0x6d
mov byte [rsp + 0x3a], 0x73
mov byte [rsp + 0x3b], 0x69
mov byte [rsp + 0x3c], 0x2e
mov byte [rsp + 0x3d], 0x64
mov byte [rsp + 0x3e], 0x6c
mov byte [rsp + 0x3f], 0x6c
mov byte [rsp + 0x40], 0
mov byte [rsp + 0x48], 0x41
mov byte [rsp + 0x49], 0x6d
mov byte [rsp + 0x4a], 0x73
mov byte [rsp + 0x4b], 0x69
mov byte [rsp + 0x4c], 0x53
mov byte [rsp + 0x4d], 0x63
mov byte [rsp + 0x4e], 0x61
mov byte [rsp + 0x4f], 0x6e
mov byte [rsp + 0x50], 0x42
mov byte [rsp + 0x51], 0x75
mov byte [rsp + 0x52], 0x66
mov byte [rsp + 0x53], 0x66
mov byte [rsp + 0x54], 0x65
mov byte [rsp + 0x55], 0x72
mov byte [rsp + 0x56], 0
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x18002e3f4
xor eax, eax
jmp 0x18002e442
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 1
lea rdx, [0x180076d04]
mov rcx, qword [rsp + 0x20]
call fcn.18000a9f0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x68
ret
Function at 0x18002e460
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x38], 0x6e
mov byte [rsp + 0x39], 0x74
mov byte [rsp + 0x3a], 0x64
mov byte [rsp + 0x3b], 0x6c
mov byte [rsp + 0x3c], 0x6c
mov byte [rsp + 0x3d], 0x2e
mov byte [rsp + 0x3e], 0x64
mov byte [rsp + 0x3f], 0x6c
mov byte [rsp + 0x40], 0x6c
mov byte [rsp + 0x41], 0
mov byte [rsp + 0x48], 0x4e
mov byte [rsp + 0x49], 0x74
mov byte [rsp + 0x4a], 0x54
mov byte [rsp + 0x4b], 0x72
mov byte [rsp + 0x4c], 0x61
mov byte [rsp + 0x4d], 0x63
mov byte [rsp + 0x4e], 0x65
mov byte [rsp + 0x4f], 0x45
mov byte [rsp + 0x50], 0x76
mov byte [rsp + 0x51], 0x65
mov byte [rsp + 0x52], 0x6e
mov byte [rsp + 0x53], 0x74
mov byte [rsp + 0x54], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x18002e517
xor eax, eax
jmp 0x18002e56d
mov dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, 1
lea rdx, [0x180076cec]
mov rcx, qword [rsp + 0x20]
call fcn.18000a9f0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x68
ret

Function at 0x18002e770
Capabilities:
Check for sandbox username or hostname
Get hostname

Disassembly:
sub rsp, 0x48
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0x10
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x18002e803
lea rax, [rsp + 0x28]
lea rcx, str.HAL9TH
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x18002e7c1
inc rax
test dl, dl
jne 0x18002e7ae
xor eax, eax
jmp 0x18002e7c6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x18002e7d1
mov eax, 1
jmp 0x18002e805
lea rax, [rsp + 0x28]
lea rcx, str.JohnDoe
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x18002e7f3
inc rax
test dl, dl
jne 0x18002e7e0
xor eax, eax
jmp 0x18002e7f8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x18002e803
mov eax, 1
jmp 0x18002e805
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18003c9d0
add rsp, 0x48
ret
Function at 0x18004655c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x18004657b
call fcn.1800506fc
jmp 0x180046630
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.1800464c0
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x1800465c6
cmp byte [rbp - 0x38], 0
je 0x1800465fb
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800465fb
call fcn.18004bfd4
test eax, eax
jne 0x1800465e7
cmp byte [rbp - 0x38], al
je 0x1800465df
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1800465fb
cmp byte [rbp - 0x38], 0
je 0x1800465f8
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.180046344
test eax, eax
je 0x180046614
or ebx, 0xffffffff
jmp 0x18004661f
mov rcx, qword [rbp - 0x20]
call fcn.1800506fc
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x18004662e
mov rcx, qword [rbp - 0x20]
call fcn.18004bcd0
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x180046afc
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 0x180046b6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180046b6b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180046b6b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180046b6b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180046b6b
cmp dword [rcx + 0x84], 0xe
jbe 0x180046b6b
cmp dword [rcx + 0xf8], 0
je 0x180046b6b
mov ecx, ebx
call fcn.180046c1c
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.1800469f8
nop
cmp dword [rbp + 0x20], 0
je 0x180046bb9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180046bc4
int3
xor r8d, r8d
xor edx, edx
jmp 0x180046afc
Function at 0x180046cb8
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 0x180046b6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180046b6b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180046b6b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180046b6b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180046b6b
cmp dword [rcx + 0x84], 0xe
jbe 0x180046b6b
cmp dword [rcx + 0xf8], 0
je 0x180046b6b
mov ecx, ebx
call fcn.180046c1c
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.1800469f8
nop
cmp dword [rbp + 0x20], 0
je 0x180046bb9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180046bc4
int3
xor r8d, r8d
xor edx, edx
jmp 0x180046afc
Function at 0x18004e06c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18003c970
sub rsp, rax
mov rax, qword [0x180076dc0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18004c9d8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18004e0bb
mov rax, rbp
jmp 0x18004e1c3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x7b8f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18004f18c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x7b8f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18004e1bf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18004e1bf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18004f18c
test rax, rax
js 0x18004e1bf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18004e1bf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18004e1b1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18004e1b1
cmp byte [rcx], 0xd
jne 0x18004e197
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18004e1a6
cmp byte [rcx + 1], 0xa
jne 0x18004e1a6
inc rcx
jmp 0x18004e1a6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x771f0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18004e179
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18004e1c3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003c9d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x18004e3e4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18004e3fa
mov al, 1
jmp 0x18004e45a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18004e40b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18004e458
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800570b8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18004e458
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18004e458
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18004e458
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18004e45a
xor al, al
add rsp, 0x20
pop rbx
ret