joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c360
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42c606
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42c5fa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x0058f1f1], 0
jne 0x42c3c2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42c40b
xor edx, edx
jmp 0x42c3ee
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041c920
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42c3c6
add rax, 0x1260
call fcn.0042c1e0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42c592
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x42c408
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.004114c0
test rax, rax
jne 0x42c462
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42c408
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42c4a5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42c408
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42c5ed
lea r10, [0x00561650]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42c52b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42c565
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42c408
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42c5e5
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x42c408
cmp rbx, 0x200
ja 0x42c5d7
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00422540
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0042c1e0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.0045c2c0
mov rax, r8
call fcn.0045c240
mov rax, r8
mov ecx, 0x40
call fcn.0045c260
mov edx, 0x200
nop
call fcn.0045c2a0
nop
mov qword [rsp + 8], rax
call fcn.0045e260
mov rax, qword [rsp + 8]
jmp fcn.0042c360
Function at 0x45bc80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4023cf
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408cc0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00459b60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4023a0
cmp byte [0x0058f1f0], 0
je 0x45bc95
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x458c60
jmp 0x4023a0

Function at 0x45bca0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0058f4a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0058f1f0], 0
je 0x45bcd5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0058f760]
aesenc xmm0, xmmword [0x0058f770]
aesenc xmm0, xmmword [0x0058f780]
movq rax, xmm0
ret
jmp 0x408ec0

Function at 0x45bce0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0058f4a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0058f1f0], 0
je 0x45bd16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0058f760]
aesenc xmm0, xmmword [0x0058f770]
aesenc xmm0, xmmword [0x0058f780]
movq rax, xmm0
ret
jmp 0x408f20

Function at 0x45d640
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0058f6e0]
mov qword [rsp + 8], rdx
lea r8d, [0x0058f208]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045bbc0
add rsp, 0x30
ret
Function at 0x140002f10
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140008f80
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140008f80
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002f80
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000f0a4]
mov rbx, rcx
test esi, esi
jle 0x1400030b0
mov rax, qword [0x14000f0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002fcb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003055
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002fb0
mov rcx, rbx
call fcn.1400039d0
mov rdi, rax
test rax, rax
je 0x1400030d2
mov rax, qword [0x14000f0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003b10
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000f0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400030b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000304e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003060
add dword [0x14000f0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000f0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000304e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002f10
nop dword [rax]
xor esi, esi
jmp 0x140002fd8
mov rax, qword [0x14000f0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002f10
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002f10
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003640
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000f100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000f0e0]
test rbx, rbx
je 0x14000369c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003693
test rsi, rsi
je 0x140003693
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003678
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400039d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000bd60]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400039f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400039f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400039f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140003a4d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003a44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400039f0
add rax, 0x28
cmp rax, r9
jne 0x140003a30
xor eax, eax
ret

Function at 0x140003a50
Capabilities:
Parse pe header

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

Function at 0x140003b10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000bd60]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003b2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003b38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x401280
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.004013a0
mov dword [rsp + 0x20], 0
jmp 0x4012ac
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00401620
mov rcx, rax
call fcn.00401340
cmp eax, 0x2fa62ca8
jne 0x4012d9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.004013e0
jmp 0x4012db
jmp 0x4012a2
add rsp, 0x48
ret

Function at 0x401680
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
movsx eax, byte [rsp + 0x10]
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov rcx, qword [rsp + 8]
mov dword [rcx], eax
ret
Function at 0x401770
Capabilities:
Hash data using murmur2

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x14], 0x5bd1e995
mov dword [rsp + 0x18], 0x18
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp], eax
cmp dword [rsp + 0x48], 4
jl 0x40181b
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
mov dword [rsp + 8], eax
imul eax, dword [rsp + 8], 0x5bd1e995
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
imul eax, dword [rsp + 8], 0x5bd1e995
mov dword [rsp + 8], eax
imul eax, dword [rsp], 0x5bd1e995
mov dword [rsp], eax
mov eax, dword [rsp + 8]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x48]
sub eax, 4
mov dword [rsp + 0x48], eax
jmp 0x4017ab
mov dword [rsp + 4], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x10], eax
cmp dword [rsp + 0x10], 1
je 0x401884
cmp dword [rsp + 0x10], 2
je 0x401863
cmp dword [rsp + 0x10], 3
je 0x401842
jmp 0x4018a2
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, dword [rsp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, dword [rsp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
imul eax, dword [rsp + 4], 0x5bd1e995
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 0x18
mov ecx, dword [rsp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
imul eax, dword [rsp + 4], 0x5bd1e995
mov dword [rsp + 4], eax
imul eax, dword [rsp], 0x5bd1e995
mov dword [rsp], eax
mov eax, dword [rsp + 4]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp + 0xc], 0x5bd1e995
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
shr eax, 0x18
mov ecx, dword [rsp + 0xc]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0xc], eax
imul eax, dword [rsp + 0xc], 0x5bd1e995
mov dword [rsp + 0xc], eax
imul eax, dword [rsp], 0x5bd1e995
mov dword [rsp], eax
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
shr eax, 0xd
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x5bd1e995
mov dword [rsp], eax
mov eax, dword [rsp]
shr eax, 0xf
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
add rsp, 0x38
ret
Function at 0x402650
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.004013a0
mov dword [rsp + 0x20], 0
jmp 0x40267c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.00401620
mov rcx, rax
call fcn.00401340
cmp eax, 0xfaba0065
jne 0x4026a9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.004013e0
jmp 0x4026ab
jmp 0x402672
add rsp, 0x48
ret

Function at 0x405270
Capabilities:
Query environment variable

Disassembly:
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x4052a6
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
lea rcx, str._SystemRoot_SysWoW64calc.exe
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov al, 1
jmp 0x4052bf
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
lea rcx, str._SystemRoot__system32calc.exe
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov al, 1
add rsp, 0x28
ret

Function at 0x40abe0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x50], 0
jne 0x40abfd
xor eax, eax
jmp 0x40acfa
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x58], 0
je 0x40ac37
mov r9d, 0x40
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.00406090
movzx eax, al
test eax, eax
jne 0x40ac37
xor eax, eax
jmp 0x40acfa
mov edx, 0x40
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x40ac52
xor eax, eax
jmp 0x40acfa
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x40ac68
xor eax, eax
jmp 0x40acfa
mov dword [rsp + 0x24], 0x400
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x400
jle 0x40ac8a
xor eax, eax
jmp 0x40acfa
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x58], 0
je 0x40accc
mov r9d, 0xf8
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.00406090
movzx eax, al
test eax, eax
jne 0x40accc
xor eax, eax
jmp 0x40acfa
mov edx, 0xf8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x40ace4
xor eax, eax
jmp 0x40acfa
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x40acf5
xor eax, eax
jmp 0x40acfa
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x40bfc0
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx edx, byte [rsp + 0x20]
mov ecx, 0x53b2070f
call fcn.0040bff0
add rsp, 0x30
pop rdi
ret
Function at 0x40eac0
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x40eaee
xor eax, eax
jmp 0x40ebd4
cmp qword [rcx + 0x68], 0
je 0x40eaff
call fcn.0040a3a0
jmp 0x40ebd4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x40eb16
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x40eb18
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x40eb4a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.004103d0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x40ebce
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x40eb81
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x40ebaa
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.0041b414
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x40ebce
cmp rsi, rbx
ja 0x40eb88
test rsi, rsi
je 0x40ebce
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.0041b414
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x40feb4
Capabilities:
Parse pe header

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

Function at 0x41ff1c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x41fd0c
Function at 0x427708
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x42773a
call fcn.0041c0a8
mov dword [rax], 0x16
call fcn.00418b64
jmp 0x427859
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x427859
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x427859
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x427769
lock or dword [rcx + 0x14], 0x10
jmp 0x427859
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x42777d
call fcn.00428d6c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.0042408c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.004284e8
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x427847
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x427812
mov rcx, rsi
call fcn.0042408c
cmp eax, edi
je 0x4277fd
mov rcx, rsi
call fcn.0042408c
cmp eax, 0xfffffffe
je 0x4277fd
mov rcx, rsi
call fcn.0042408c
movsxd rbx, eax
lea r14, [0x00568c10]
mov rcx, rsi
sar rbx, 6
call fcn.0042408c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x427804
lea rdx, [0x00566980]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x427812
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x427836
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x427836
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x427836
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x42785c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x427b84
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.0040f2a0
sub rsp, rax
mov rax, qword [0x00566768]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.0042408c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x427bd3
mov rax, rbp
jmp 0x427cdb
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, [0x00400000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x168c10]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.00428cc0
mov r13, rax
lea rax, [0x00400000]
mov rcx, qword [rax + rbx*8 + 0x168c10]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x427cd7
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 0x427cd7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.00428cc0
test rax, rax
js 0x427cd7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x427cd7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x427cc9
lea r8, [0x00400000]
cmp rcx, rdx
jae 0x427cc9
cmp byte [rcx], 0xd
jne 0x427caf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x427cbe
cmp byte [rcx + 1], 0xa
jne 0x427cbe
inc rcx
jmp 0x427cbe
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x166b50]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x427c91
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x427cdb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.0040fb60
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret