joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4287d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, qword [0x005abc40]
mov eax, dword [rdx + 0x60]
mov r15, qword [rdx + 0x28]
mov rbx, qword [rdx + 0x20]
mov r13, qword [rdx]
mov rsi, rax
mov r14, rcx
mov rbp, rdx
mov dword [rsp + 0x90], r8d
lea rax, [rax + rax*2]
test r15, r15
lea r12, [rdi + rax*8]
je 0x42883c
mov rcx, r15
call fcn.00424970
mov rcx, r15
mov qword [rsp + 0x28], rax
call fcn.004230c0
mov r8d, dword [rsp + 0x90]
add rbx, rax
test r8d, r8d
jne 0x4288b8
mov rdx, qword [rbp + 0x10]
mov eax, dword [r12 + 0x14]
add rdx, r13
sub rbx, rdx
mov rdx, r12
mov rcx, rbx
jns 0x428867
jmp 0x4288a7
mov edx, eax
mov esi, eax
lea rdx, [rdx + rdx*2]
lea rdx, [rdi + rdx*8]
mov eax, dword [rdx + 0x14]
test eax, eax
je 0x428870
cmp qword [rdx], rcx
jl 0x428858
movzx eax, byte [rdx + 0x10]
movzx edx, byte [r12 + 0x10]
sub eax, edx
je 0x428881
mov dword [rbp + 0x60], esi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, eax
mov esi, eax
lea rdx, [rdx + rdx*2]
lea rdx, [rdi + rdx*8]
mov eax, dword [rdx + 0x14]
test eax, eax
je 0x428870
cmp qword [rdx + 8], rcx
jg 0x428898
jmp 0x428870
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x5a]
xor al, byte [rbp + 0x5a]
test al, 1
je 0x42883c
mov rcx, r15
call fcn.004216a0
movsxd r8, dword [rsp + 0x90]
cmp r14, rax
jne 0x42883c
test r8d, r8d
js 0x428911
mov rax, qword [rsp + 0x28]
movzx ecx, word [rbp + 0x58]
cmp word [rax + 0x58], cx
je 0x428911
cmp rbx, r13
jae 0x42883c
mov rax, qword [rbp + 0x38]
mov rbx, qword [rax]
add rbx, r8
jmp 0x42883c
add rbx, r8
jmp 0x42883c
Function at 0x4481e0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r10d, dword [rcx + 0x18]
mov rbx, r8
mov rsi, rdx
xor edx, edx
mov r8, qword [rcx]
mov eax, dword [rbx + 0x10]
mov rdi, rcx
div r10d
lea rdx, [r8 + rdx*8]
mov rax, qword [rdx]
test rax, rax
jne 0x44383f
jmp 0x4438d5
mov rdx, rax
mov rax, qword [rax]
test rax, rax
je 0x4438d5
cmp rbx, rax
jne 0x443830
mov rax, qword [rbx]
test rsi, rsi
mov qword [rdx], rax
mov qword [rbx + 8], rsi
je 0x4438b8
movzx ecx, byte [rsi]
lea r9, [rsi + 1]
test ecx, ecx
je 0x4438a1
xor eax, eax
mov edx, ecx
add r9, 1
shl edx, 0x11
add edx, ecx
movzx ecx, byte [r9 - 1]
add eax, edx
mov edx, eax
shr edx, 2
xor eax, edx
test ecx, ecx
jne 0x443860
sub r9, rsi
sub r9d, 1
mov edx, r9d
shl edx, 0x11
add edx, r9d
add eax, edx
xor edx, edx
mov ecx, eax
shr ecx, 2
xor ecx, eax
mov eax, ecx
div r10d
lea r8, [r8 + rdx*8]
mov rax, qword [r8]
mov dword [rbx + 0x10], ecx
mov qword [rbx], rax
mov qword [r8], rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rcx, str..._.._.._src_binutils_2.32_bfd_hash.c
mov edx, 0x1b6
call fcn.0043f7a0
mov r10d, dword [rdi + 0x18]
mov r8, qword [rdi]
jmp 0x443853
lea r8, str.bfd_hash_rename
mov edx, 0x244
lea rcx, str..._.._.._src_binutils_2.32_bfd_hash.c
call fcn.0043f7c0
nop
nop
mov rax, rdx
add rcx, 0x60
mov rdx, r8
mov qword [rax], r8
lea r8, [rax - 0x18]
jmp 0x443800

Function at 0x4498b0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rbx
sub rsp, 0x28
test rcx, rcx
mov rbx, rcx
mov rsi, rdx
je 0x4498f8
lea rdx, str.default
mov rcx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x449910
test rsi, rsi
je 0x449930
and byte [rsi + 0x43], 0xfb
mov rcx, rbx
call fcn.00449710
test rax, rax
je 0x4498ee
mov qword [rsi + 8], rax
add rsp, 0x28
pop rbx
pop rsi
ret
lea rcx, str.GNUTARGET
call sub.msvcrt.dll_getenv
test rax, rax
mov rbx, rax
jne 0x4498c1
nop dword [rax]
mov rax, qword [0x004fcc10]
test rax, rax
je 0x449940
test rsi, rsi
je 0x4498ee
or byte [rsi + 0x43], 4
mov qword [rsi + 8], rax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.00449710
mov rax, qword [0x004fcc20]
mov rax, qword [rax]
jmp 0x44991c
Function at 0x47fa10
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
movzx edx, byte [rcx]
lea r8, [rcx + 1]
test dl, dl
je 0x47fa36
mov ecx, eax
add r8, 1
shl ecx, 5
add eax, ecx
add eax, edx
movzx edx, byte [r8 - 1]
test dl, dl
jne 0x47fa20
ret
Function at 0x4a35a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, r8
mov r8, qword [r9 + 8]
mov r11, rcx
mov r10, rdx
mov ecx, dword [r9 + 0x40]
mov rdx, qword [rsp + 0x60]
mov rax, qword [r8 + 8]
shr rax, cl
test eax, eax
je 0x4a36b0
mov eax, eax
cmp rax, qword [r9 + 0x28]
jb 0x4a3650
sub rax, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x38]
mov r9, qword [rcx + rax*8]
test r9, r9
jne 0x4a35f4
jmp 0x4a369b
mov r9, qword [r9 + 0x28]
movzx eax, byte [r9 + 0x18]
sub eax, 6
cmp al, 1
jbe 0x4a35f0
movzx ecx, byte [r9 + 0x5d]
or byte [r9 + 0x5c], 0x20
test cl, 0x20
je 0x4a3626
mov rax, r9
nop word [rax + rax]
mov rax, qword [rax + 0x68]
test byte [rax + 0x5d], 0x20
jne 0x4a3618
or byte [rax + 0x5c], 0x20
test rdx, rdx
je 0x4a3690
and ecx, 0x10
je 0x4a3690
mov rcx, qword [r9 + 0x78]
movzx eax, byte [rcx + 0x24]
shr al, 3
xor eax, 1
and eax, 1
mov dword [rdx], eax
mov rax, rcx
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rax
shl rcx, 5
add rcx, qword [r9 + 0x18]
movzx esi, byte [rcx + 0x14]
shr sil, 4
test sil, sil
jne 0x4a35d3
mov qword [rsp + 0x60], rcx
xor r9d, r9d
mov rdx, r11
mov rcx, r10
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp rax
mov qword [rsp + 0x60], 0
jmp 0x4a3674
mov rax, qword [r11 + 0x20]
lea rcx, str._F_P:_corrupt_input:__pB_n
mov rdx, qword [r10 + 0xf0]
call qword [rax + 0x58]
xor ecx, ecx
jmp 0x4a3643
Function at 0x4a36c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x90
or byte [rdx + 0x24], 8
mov rbx, rdx
mov rdx, qword [rdx + 0xe0]
mov rsi, rcx
mov rdi, r8
mov rdx, qword [rdx + 0xc0]
test rdx, rdx
je 0x4a36fb
test byte [rdx + 0x24], 8
je 0x4a3870
mov rax, qword [rbx + 0xf0]
test byte [rbx + 0x20], 4
mov rax, qword [rax + 0xf0]
mov rbp, qword [rax + 0x350]
je 0x4a37e8
mov eax, dword [rbx + 0x88]
test eax, eax
je 0x4a37e8
cmp rbx, rbp
je 0x4a3840
lea r13, [rsp + 0x40]
mov r8, rbx
mov rdx, rsi
mov rcx, r13
call fcn.00497160
test eax, eax
je 0x4a386b
mov r12, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
cmp r12, r14
jb 0x4a3772
jmp 0x4a3930
add r12, 0x18
cmp r12, r14
mov qword [rsp + 0x48], r12
jae 0x4a3930
mov r9, r13
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.004a3950
test eax, eax
jne 0x4a3760
xor r13d, r13d
xor r12d, r12d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x4a37b4
mov rdx, qword [rbx + 0xe0]
cmp rcx, qword [rdx + 0x98]
je 0x4a37b4
mov dword [rsp + 0x3c], eax
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x4a37fa
mov rdx, qword [rbx + 0xf0]
mov rdx, qword [rdx + 0xf0]
cmp rcx, qword [rdx + 0xa8]
je 0x4a37fa
mov dword [rsp + 0x3c], eax
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0x3c]
jmp 0x4a37fa
test rbp, rbp
mov r12d, 1
mov eax, 1
setne r13b
mov rdx, qword [rbx + 0xe0]
test r13b, r13b
mov rcx, rdx
jne 0x4a3847
mov rdx, qword [rcx + 0xd0]
test rdx, rdx
je 0x4a3825
test r12b, r12b
je 0x4a3825
test byte [rdx + 0x24], 8
mov eax, 1
je 0x4a3890
add rsp, 0x90
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdx, qword [rbx + 0xe0]
cmp qword [rdx + 0xc8], 0
mov rcx, rdx
je 0x4a3880
lea r12, [rsp + 0x40]
mov r8, rbp
mov rdx, rsi
mov rcx, r12
call fcn.00497160
test eax, eax
jne 0x4a38a8
xor eax, eax
jmp 0x4a3825
call fcn.004a36c0
test eax, eax
jne 0x4a36fb
jmp 0x4a386b
mov r12d, 1
mov eax, 1
jmp 0x4a3809
mov r8, rdi
mov rcx, rsi
call fcn.004a36c0
test eax, eax
setne al
movzx eax, al
jmp 0x4a3825
mov qword [rsp + 0x20], r12
mov rcx, rsi
mov r9, rdi
mov r8, rbp
mov rdx, rbx
call fcn.004a8e20
mov rcx, qword [rsp + 0x40]
test eax, eax
setne al
setne r12b
movzx eax, al
test rcx, rcx
je 0x4a38f1
mov rdx, qword [rbp + 0xe0]
cmp rcx, qword [rdx + 0x98]
je 0x4a38f1
mov dword [rsp + 0x3c], eax
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x4a391f
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0xf0]
cmp rcx, qword [rdx + 0xa8]
je 0x4a391f
mov dword [rsp + 0x3c], eax
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rbx + 0xe0]
jmp 0x4a3809
test rbp, rbp
mov r12d, 1
mov eax, 1
setne r13b
jmp 0x4a378d
Function at 0x4c1f20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [rcx + 8]
mov rax, qword [rax + 0x368]
mov rdi, rcx
mov rbx, rdx
mov rsi, r8
lea rcx, [rdx + 0x10]
movzx ebp, byte [rax + 0x38d]
mov rax, qword [rdx]
and ebp, 1
mov qword [r8], rax
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
mov rax, qword [rdi + 8]
call qword [rax + 0x98]
lea rcx, [rbx + 0x12]
mov word [rsi + 0x30], ax
mov rax, qword [rdi + 8]
call qword [rax + 0x98]
lea rcx, [rbx + 0x14]
mov word [rsi + 0x32], ax
mov rax, qword [rdi + 8]
call qword [rax + pe_nt_image_headers64]
lea rcx, [rbx + 0x18]
test bpl, bpl
mov dword [rsi + 0x28], eax
mov rax, qword [rdi + 8]
je 0x4c2050
call qword [rax + 0x88]
mov qword [rsi + 0x10], rax
mov rax, qword [rdi + 8]
lea rcx, [rbx + 0x1c]
call qword [rax + pe_nt_image_headers64]
lea rcx, [rbx + 0x20]
mov qword [rsi + 0x18], rax
mov rax, qword [rdi + 8]
call qword [rax + pe_nt_image_headers64]
lea rcx, [rbx + 0x24]
mov qword [rsi + 0x20], rax
mov rax, qword [rdi + 8]
call qword [rax + pe_nt_image_headers64]
lea rcx, [rbx + 0x28]
mov dword [rsi + 0x2c], eax
mov rax, qword [rdi + 8]
call qword [rax + 0x98]
lea rcx, [rbx + 0x2a]
mov dword [rsi + 0x34], eax
mov rax, qword [rdi + 8]
call qword [rax + 0x98]
lea rcx, [rbx + 0x2c]
mov dword [rsi + 0x38], eax
mov rax, qword [rdi + 8]
call qword [rax + 0x98]
lea rcx, [rbx + 0x2e]
mov dword [rsi + 0x3c], eax
mov rax, qword [rdi + 8]
call qword [rax + 0x98]
lea rcx, [rbx + 0x30]
mov dword [rsi + 0x40], eax
mov rax, qword [rdi + 8]
call qword [rax + 0x98]
lea rcx, [rbx + 0x32]
mov dword [rsi + 0x44], eax
mov rax, qword [rdi + 8]
call qword [rax + 0x98]
mov dword [rsi + 0x48], eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [rax + pe_nt_image_headers64]
jmp 0x4c1fa0

Function at 0x4cd390
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
mov r8d, 1
mov rdx, rcx
lea rcx, [0x005c9f00]
jmp fcn.00443660
Function at 0x4cdf00
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov eax, dword [rcx + 0x44]
mov ebp, dword [rcx + 0x40]
test eax, eax
mov rsi, rcx
mov rdi, rdx
movd xmm6, r8d
mov ebx, r9d
jne 0x4ce018
xor r13d, r13d
test ebp, ebp
je 0x4cdf60
mov r9d, ebp
xor r13d, r13d
add r9, rdx
nop
movzx ecx, byte [rdx]
add rdx, 1
mov eax, ecx
shl eax, 0x11
add eax, ecx
add eax, r13d
mov r13d, eax
shr r13d, 2
xor r13d, eax
cmp rdx, r9
jne 0x4cdf40
xor edx, edx
mov eax, r13d
div dword [rsi + 0x18]
mov rax, qword [rsi]
mov r12, qword [rax + rdx*8]
test r12, r12
je 0x4cdfd0
mov r14d, ebp
jmp 0x4cdf89
mov r12, qword [r12]
test r12, r12
je 0x4cdfd0
cmp dword [r12 + 0x10], r13d
jne 0x4cdf80
cmp dword [r12 + 0x18], ebp
jne 0x4cdf80
mov rcx, qword [r12 + 8]
mov r8, r14
mov rdx, rdi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x4cdf80
movd eax, xmm6
cmp dword [r12 + 0x1c], eax
jae 0x4cdffa
test ebx, ebx
je 0x4ce123
mov qword [r12 + 0x18], 0
jmp 0x4cdfd7
xor r12d, r12d
test ebx, ebx
je 0x4cdffa
mov r8d, r13d
mov rdx, rdi
mov rcx, rsi
call fcn.004434c0
test rax, rax
mov r12, rax
je 0x4cdffa
movd xmm0, ebp
punpckldq xmm0, xmm6
movq qword [rax + 0x18], xmm0
movaps xmm6, xmmword [rsp + 0x20]
mov rax, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp ebp, 1
je 0x4ce0c2
lea r12d, [rbp - 1]
mov r9d, ebp
xor r11d, r11d
add r12, 1
add r9, rdx
xor ecx, ecx
test ebp, ebp
je 0x4ce0a0
mov r10, rdx
xor r11d, r11d
xor ecx, ecx
mov rdx, r10
xor eax, eax
jmp 0x4ce05b
add eax, 1
add rdx, 1
cmp eax, ebp
je 0x4ce0a0
cmp byte [rdx], 0
je 0x4ce050
cmp eax, ebp
je 0x4ce0a0
mov rdx, r10
nop word [rax + rax]
movzx r13d, byte [rdx]
add rdx, 1
mov eax, r13d
shl eax, 0x11
add eax, r13d
add eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, eax
cmp rdx, r9
jne 0x4ce070
add r10, r12
add r11d, 1
add r9, r12
jmp 0x4ce040
mov eax, r11d
shl eax, 0x11
add eax, r11d
add r11d, 1
add eax, ecx
imul ebp, r11d
mov r13d, eax
shr r13d, 2
xor r13d, eax
jmp 0x4cdf60
movzx r13d, byte [rdx]
lea r8, [rdx + 1]
test r13d, r13d
je 0x4cdf60
mov rdx, r8
xor eax, eax
nop dword [rax + rax]
mov ecx, r13d
shl ecx, 0x11
add ecx, r13d
add eax, ecx
mov ecx, eax
shr ecx, 2
xor eax, ecx
mov rcx, rdx
movzx r13d, byte [rdx]
add rdx, 1
test r13d, r13d
jne 0x4ce0e0
sub ecx, r8d
lea ebp, [rcx + 1]
mov edx, ebp
shl edx, 0x11
add edx, ebp
add ebp, 1
add eax, edx
mov r13d, eax
shr r13d, 2
xor r13d, eax
jmp 0x4cdf60
xor r12d, r12d
jmp 0x4cdffa
Function at 0x4ec920
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x4ec9a0
Capabilities:
Parse pe header

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

Function at 0x4eca60
Capabilities:
Parse pe header

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

Function at 0x4ecc40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
mov rbx, rcx
call sub.msvcrt.dll__errno
test rbx, rbx
mov dword [rax], 0
je 0x4ecd80
cmp byte [rbx], 0
je 0x4ecd48
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ecd90
test al, 0x10
je 0x4ecd48
lea rdi, [rsp + 0x20]
mov rdx, rbx
mov r8d, 0x104
mov rcx, rdi
call sub.msvcrt.dll__fullpath
mov rcx, rdi
call sub.msvcrt.dll_strlen
lea rcx, [rax + 0x24b]
mov rsi, rax
call sub.msvcrt.dll_malloc
test rax, rax
mov rbx, rax
je 0x4ecd9f
lea rbp, [rsi + 1]
mov rdx, rdi
lea rcx, [rax + 0x244]
mov r8, rbp
call sub.msvcrt.dll_memcpy
cmp byte [rbx + 0x244], 0
mov rcx, rax
je 0x4eccf0
movzx eax, byte [rbx + rsi + 0x243]
cmp al, 0x5c
je 0x4eccf0
cmp al, 0x2f
jne 0x4ecd68
lea rdx, [rbx + 0x130]
mov eax, 0x2a
mov word [rcx + rsi], ax
mov rdi, rdx
xor eax, eax
mov ecx, 0x20
mov qword [rbx + 0x238], 0xffffffffffffffff
mov dword [rbx + 0x240], 0
mov qword [rbx + 0x128], 0
rep stosq qword [rdi], rax
mov rax, rbx
mov dword [rdi], 0
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [rax], 0x14
mov rax, rbx
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov edx, 0x5c
mov word [rcx + rsi], dx
mov rsi, rbp
jmp 0x4eccf0
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [rax], 0xe
jmp 0x4ecd55
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [rax], 2
jmp 0x4ecd55
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [rax], 0xc
jmp 0x4ecd55
Function at 0x4ed3f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
mov ebx, edx
je 0x4ed440
cmp edx, 7
ja 0x4ed440
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ed44d
xor edx, edx
test al, 0x10
jne 0x4ed41d
test al, 1
je 0x4ed41d
and ebx, 2
mov edx, ebx
jne 0x4ed42a
mov eax, edx
add rsp, 0x20
pop rbx
ret
cmp eax, 5
jne 0x4ed440
call sub.msvcrt.dll__errno
mov dword [rax], 0xd
or edx, 0xffffffff
jmp 0x4ed41d
call sub.msvcrt.dll__errno
mov dword [rax], 0x16
jmp 0x4ed435
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
ja 0x4ed425
cmp eax, 1
jbe 0x4ed440
call sub.msvcrt.dll__errno
mov dword [rax], 2
jmp 0x4ed435
Function at 0x414c40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414dcb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c36b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414ca5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414cb4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414cd3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414ce3
cmp rbx, 0x1000
jae 0x414cab
jmp 0x414d4d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414cf5
xor edx, edx
jmp 0x414d44
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c36b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x414cd9
jmp 0x414cc8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c36b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004c9959]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004c9d98]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004cbdf0]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x414e00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415026
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c36b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414e73
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414e82
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414ea5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x414eb5
cmp rbx, 0x1000
jae 0x414e79
nop
jmp 0x414f38
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x414ecd
xor esi, esi
jmp 0x414f2a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c36b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x414eab
jmp 0x414e96
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c36b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414fc0
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004c9db1]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004c9d98]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004c6c66]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x414f60
call sym.runtime.printlock
lea rax, [0x004c9db1]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004c9d98]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004cb6b9]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS
Function at 0x41cda0
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x005c3492], 0
jne 0x41ce87
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x41ce7a
lea rbx, [0x00595878]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x41ce60
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call sym.runtime.panicIndexU
lea rax, [0x004cd8f2]
mov ebx, 0x2c
call sym.runtime.throw
nop
int3

Function at 0x41f160
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41f266
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x41f1a3
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x41f25b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call sym.runtime._scavengeIndex_.find
test rax, rax
je 0x41f25b
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [sym.runtime._pageAlloc_.scavenge.func1]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005c36b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x41f249
xor eax, eax
jmp 0x41f253
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x41f191
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp sym.runtime._pageAlloc_.scavenge