joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a20
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x20
mov r13, rcx
mov rbx, rdx
test rdx, rdx
js 0x403b68
mov rcx, rbx
call sym.mnewString
mov r12, rax
test rax, rax
je 0x403ad0
cmp qword [rax], 0
je 0x403ad0
test rbx, rbx
js 0x403ae7
lea rcx, [r12 + 0x10]
mov r9, r13
mov r8, rbx
mov edx, 1
call sym.fread
mov rcx, r13
mov r14, rax
cmp rbx, rax
je 0x403b00
call sym.ferror
mov rcx, r13
test eax, eax
jne 0x403bb9
call sym.fgetc
mov rdx, r13
mov esi, eax
mov ecx, eax
call sym.ungetc
test esi, esi
jns 0x403b15
cmp rbx, r14
jle 0x403b52
test r14, r14
js 0x403ba0
mov rdx, r14
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
jmp sym.setLengthStr
xor ecx, ecx
mov rdx, 0xffffffffffffffff
call sym.raiseIndexError2
test rbx, rbx
jns 0x403a5e
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call sym.raiseRangeErrorI
jmp 0x403a5e
call sym.fgetc
mov rdx, r13
mov ebx, eax
mov ecx, eax
call sym.ungetc
test ebx, ebx
js 0x403b52
mov rcx, r13
call sym.readAllBuffer_systemZio_421
mov rbx, rax
test rax, rax
je 0x403b88
mov rdx, qword [rax]
mov rcx, r12
call sym.resizeString
lea rdx, [rbx + 0x10]
mov r12, rax
mov rax, qword [rax]
lea rcx, [r12 + rax + 0x10]
mov rax, qword [rbx]
lea r8, [rax + 1]
call sym.memcpy
mov rax, qword [rbx]
add qword [r12], rax
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call sym.raiseRangeErrorI
jmp 0x403a3b
xor edx, edx
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
pop r13
pop r14
jmp sym.resizeString
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r14
call sym.raiseRangeErrorI
jmp 0x403ab9
call sym.checkErr_systemZio_141.part.0
nop
nop

Function at 0x403bc0
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
xor ecx, ecx
call qword [dbg.__acrt_iob_func]
cmp r12, rax
je 0x403c18
mov r13, qword [dbg._ftelli64]
mov rcx, r12
call r13
xor edx, edx
mov r8d, 2
mov rcx, r12
mov r14, rax
mov rbx, qword [dbg._fseeki64]
call rbx
mov rcx, r12
call r13
xor r8d, r8d
mov rdx, r14
mov rcx, r12
mov r13, rax
call rbx
test r13, r13
jg 0x403c30
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp sym.readAllBuffer_systemZio_421
mov rdx, r13
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
pop r13
pop r14
jmp sym.readAllFile_systemZio_434

Function at 0x4046a0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x4046c1
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sym.fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sym.fflush

Function at 0x404730
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
call sym.fflush
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x40ac40
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r13, rcx
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov rcx, r13
mov r8, rbx
mov edx, 1
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
jmp sym.fflush

Function at 0x4104b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r12
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x148
cmp qword [0x004f31a0], 0
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rdx
mov byte [rbp - 0x119], 1
je 0x4105a7
mov rax, qword [0x004e91e0]
lea rcx, [rbp - 0x108]
mov rdx, rbp
mov qword [rbp - 0x118], rax
lea rax, [rbp - 0x118]
mov qword [0x004e91e0], rax
call sym._setjmp
cdqe
mov qword [rbp - 0x110], rax
test rax, rax
jne 0x4105c8
xor r12d, r12d
cmp qword [rbp + 0x28], 0
je 0x410578
mov rcx, qword [rbp + 0x28]
mov esi, 7
call sym.strlen
lea r8, [0x004e9300]
lea rcx, [0x004aa020]
cmp rax, 7
mov rbx, rax
cmovge rsi, rax
lea rdx, [rsi + 0x11]
call sym.rawNewObj_system_5697
movq xmm0, rbx
movq xmm1, rsi
mov rdx, qword [rbp + 0x28]
punpcklqdq xmm0, xmm1
lea rcx, [rax + 0x10]
lea r8, [rbx + 1]
mov r12, rax
movups xmmword [rax], xmm0
call sym.memcpy
mov rcx, r12
call qword [0x004f31a0]
mov rax, qword [0x004e91e0]
cmp qword [rbp - 0x110], 0
mov byte [rbp - 0x119], 0
mov rax, qword [rax]
mov qword [0x004e91e0], rax
jne 0x410635
movzx eax, byte [rbp - 0x119]
test al, al
jne 0x410650
add rsp, 0x148
pop rbx
pop rsi
pop r12
pop rbp
ret
mov rax, qword [0x004e91e0]
mov rax, qword [rax]
mov qword [rbp - 0x110], 0
mov qword [0x004e91e0], rax
mov rax, qword [0x004e1fa0]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x410605
add qword [rbx - 0x10], 8
mov rax, qword [0x004e1fa0]
test rax, rax
je 0x410620
mov rsi, qword [rax - 0x10]
lea rcx, [rax - 0x10]
lea rdx, [rsi - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x410620
call sym.addZCT_system_5314.constprop.0
cmp qword [rbp - 0x110], 0
mov qword [0x004e1fa0], rbx
je 0x4105a7
mov rcx, qword [0x004e1fa0]
test rcx, rcx
je 0x410680
call sym.raiseExceptionAux_system_2868
jmp 0x4105a7
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov rcx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x30]
mov edx, 1
mov r12, rax
mov r9, rax
call sym.fwrite
mov rcx, r12
call sym.fflush
jmp 0x4105b6
call sym.sysFatal_system_2900.constprop.0
nop
nop word cs:[rax + rax]

Function at 0x412740
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
test rcx, rcx
je 0x41279b
mov rdx, qword [rcx]
add rcx, 0x10
xor eax, eax
lea r8, [rcx + rdx]
test rdx, rdx
jle 0x41279b
nop word [rax + rax]
movzx edx, byte [rcx]
add rcx, 1
add rdx, rax
mov rax, rdx
shl rax, 0xa
add rax, rdx
mov rdx, rax
shr rdx, 6
xor rax, rdx
cmp r8, rcx
jne 0x412760
lea r9, [rax + rax*8]
mov rax, r9
shr rax, 0xb
xor rax, r9
mov r9, rax
shl r9, 0xf
add r9, rax
mov rax, r9
ret
Function at 0x422a30
Capabilities:
Query environment variable

Disassembly:
push r14
mov eax, 0x10048
push r13
push r12
push rbx
call fcn.004a4e00
sub rsp, rax
mov r12, rcx
mov r13, rdx
test r8d, r8d
je 0x422a80
cmp byte [r13], 0
je 0x422a90
mov rcx, r12
mov rdx, r13
call qword [sym.imp.msvcrt.dll__putenv_s]
mov r12d, eax
test eax, eax
jne 0x422b55
xor eax, eax
add rsp, 0x10048
pop rbx
pop r12
pop r13
pop r14
ret
call sym.getenv
test rax, rax
jne 0x422a6d
jmp 0x422a4f
lea rdx, [0x004b4ba0]
mov rcx, r12
call qword [sym.imp.msvcrt.dll__putenv_s]
test eax, eax
jne 0x422b3f
mov rcx, r12
call sym.getenv
mov r8d, 0x3d00
mov word [rax], r8w
mov rax, qword [sym.imp.msvcrt.dll__wenviron]
mov rax, qword [rax]
cmp qword [rax], 0
je 0x422b2b
lea r14, [rsp + 0x40]
xor edx, edx
mov r8d, 0x10000
mov rcx, r14
call sym.memset
lea rcx, [rsp + 0x38]
mov r9, r12
mov rdx, r14
mov qword [rsp + 0x38], 0
mov r8d, 0x8000
mov qword [rsp + 0x20], 0x7fff
call qword [sym.imp.msvcrt.dll_mbstowcs_s]
test eax, eax
jne 0x422b3f
mov rbx, qword [sym.imp.msvcrt.dll__wgetenv]
mov rcx, r14
call rbx
xor edx, edx
mov rcx, r14
mov word [rax], dx
call rbx
mov ecx, 0x3d
mov word [rax + 2], cx
mov rdx, r13
mov rcx, r12
call qword [0x004f3980]
test eax, eax
jne 0x422a6d
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
mov eax, 0xffffffff
jmp 0x422a6f
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], r12d
mov eax, 0xffffffff
jmp 0x422a6f

Function at 0x4242a0
Capabilities:
Query environment variable

Disassembly:
push r12
sub rsp, 0x20
lea r8, [0x004b4c6d]
mov r12, rdx
test rcx, rcx
je 0x4242c1
lea rax, [rcx + 0x10]
cmp qword [rcx], 0
cmovne r8, rax
mov rcx, r8
call sym.getenv
mov rcx, rax
test rax, rax
je 0x4242e0
add rsp, 0x20
pop r12
jmp sym.cstrToNimstr
mov rcx, r12
add rsp, 0x20
pop r12
jmp sym.copyString

Function at 0x4242f0
Capabilities:
Query environment variable

Disassembly:
push r12
push rbx
sub rsp, 0x28
lea rcx, [0x004b5350]
call sym.getenv
mov rcx, rax
test rax, rax
je 0x424368
call sym.cstrToNimstr
mov rbx, rax
test rbx, rbx
je 0x424377
mov rax, qword [rbx]
lea rcx, [rax + 1]
call sym.rawNewString
lea rdx, [rbx + 0x10]
mov r12, rax
mov rax, qword [rax]
lea rcx, [r12 + rax + 0x10]
mov rax, qword [rbx]
lea r8, [rax + 1]
call sym.memcpy
mov rax, qword [rbx]
add rax, qword [r12]
mov qword [r12], rax
mov edx, 0x5c
mov word [r12 + rax + 0x10], dx
mov rax, r12
add qword [r12], 1
add rsp, 0x28
pop rbx
pop r12
ret
xor ecx, ecx
call sym.copyString
mov rbx, rax
test rbx, rbx
jne 0x424318
mov ecx, 1
call sym.rawNewString
mov r12, rax
mov rax, qword [rax]
jmp 0x42434a

Function at 0x424390
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x38
lea rcx, [0x004b5320]
mov qword [rsp + 0x28], 0
call sym.getenv
mov rcx, rax
test rax, rax
je 0x4243d8
call sym.cstrToNimstr
lea rcx, [rsp + 0x28]
mov edx, 1
mov qword [rsp + 0x28], rax
call sym.normalizePathEnd_pureZos_48
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
xor ecx, ecx
call sym.copyString
jmp 0x4243b6
Function at 0x425a10
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea r8, [0x004b4c6d]
test rcx, rcx
je 0x425a2c
lea rax, [rcx + 0x10]
cmp qword [rcx], 0
cmovne r8, rax
mov rcx, r8
call sym.getenv
test rax, rax
setne al
add rsp, 0x28
ret

Function at 0x4290c0
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
lea rbp, [rdx + 3]
mov r12, rcx
mov rdi, rdx
cmovns rbp, rdx
lea r13, [rdx - 1]
xor ebx, ebx
xor esi, esi
and rbp, 0xfffffffffffffffc
jg 0x429118
jmp 0x429130
mov edx, dword [r12 + rbx]
add rbx, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, esi
rol edx, 0xd
lea esi, [rdx + rdx*4 - 0x19ab949c]
cmp rbp, rbx
jle 0x429138
cmp rdi, rbx
ja 0x4290f0
mov rdx, r13
mov rcx, rbx
call sym.raiseIndexError2
jmp 0x4290f0
xor ebp, ebp
nop word [rax + rax]
mov rax, rdi
sar rax, 0x3f
shr rax, 0x3e
lea r13, [rdi + rax]
and r13d, 3
sub r13, rax
test r13, r13
jle 0x429230
lea r14, [r13 - 1]
lea rbx, [rbp + r14]
cmp rdi, rbx
jbe 0x429200
movzx ebx, byte [r12 + rbx]
test r14, r14
je 0x4291a3
sub r13, 2
lea r14, [rbp + r13]
cmp r14, rdi
jae 0x429218
movzx eax, byte [r12 + r14]
shl ebx, 8
or ebx, eax
test r13, r13
je 0x4291a3
cmp rbp, rdi
jae 0x4291f0
movzx eax, byte [r12 + rbp]
shl ebx, 8
or ebx, eax
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
xor esi, edi
mov eax, esi
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
xor ebx, eax
imul ebx, ebx, 0x85ebca6b
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdx, [rdi - 1]
mov rcx, rbp
call sym.raiseIndexError2
jmp 0x429199
lea rdx, [rdi - 1]
mov rcx, rbx
call sym.raiseIndexError2
jmp 0x429169
lea rdx, [rdi - 1]
mov rcx, r14
call sym.raiseIndexError2
jmp 0x429185
xor ebx, ebx
jmp 0x4291b2

Function at 0x429240
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x38
xor edx, edx
test rcx, rcx
je 0x42924e
mov rdx, qword [rcx]
add rcx, 0x10
add rsp, 0x38
jmp sym.murmurHash_pureZhashes_192

Function at 0x4294f0
Capabilities:
Hash data using murmur3

Disassembly:
mov r8, rcx
mov rcx, rdx
movzx eax, byte [r8 + 0x18]
cmp al, 1
je 0x429510
cmp al, 2
je 0x429520
test al, al
je 0x429518
xor eax, eax
ret
jmp sym.hashIgnoreCase_pureZhashes_353
jmp sym.hash_pureZhashes_279
jmp sym.hashIgnoreStyle_pureZhashes_290
Function at 0x42a5b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [r8]
mov rbx, qword [r8 + 8]
mov rdi, rcx
mov rbp, rdx
test rcx, rcx
je 0x42a5e1
mov rcx, qword [rcx]
lea rdx, [0x004f3c60]
call sym.isObj
test al, al
je 0x42a660
mov rax, qword [rbp]
test rax, rax
je 0x42a630
mov rdx, qword [rax]
cmp rsi, rdx
jae 0x42a620
add rbx, 1
jo 0x42a66a
sub rbx, rsi
jo 0x42a671
test rbx, rbx
js 0x42a640
mov rax, qword [rbp]
mov rcx, qword [rdi + 0x58]
mov r8, rbx
lea rdx, [rax + rsi + 0x10]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.readBuffer_systemZio_144
sub rdx, 1
mov rcx, rsi
call sym.raiseIndexError2
jmp 0x42a5f2
mov rdx, 0xffffffffffffffff
jmp 0x42a624
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call sym.raiseRangeErrorI
jmp 0x42a602
call sym.raiseObjectConversionError
jmp 0x42a5e1
call sym.raiseOverflow
jmp 0x42a5f8
call sym.raiseOverflow
jmp 0x42a5fd

Function at 0x42a680
Capabilities:
Read file on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r12, rdx
mov rsi, r8
test rcx, rcx
je 0x42a6a9
mov rcx, qword [rcx]
lea rdx, [0x004f3c60]
call sym.isObj
test al, al
je 0x42a6e0
test rsi, rsi
js 0x42a6c8
mov rcx, qword [rbx + 0x58]
mov r8, rsi
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.readBuffer_systemZio_144
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rsi
call sym.raiseRangeErrorI
jmp 0x42a6ae
call sym.raiseObjectConversionError
jmp 0x42a6a9
Function at 0x43bd50
Capabilities:
Link many functions at runtime

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov r12, rcx
mov rbx, rdx
mov rsi, r8
test rcx, rcx
je 0x43bdb4
lea rdx, [0x004b7680]
test rbx, rbx
je 0x43bd7e
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr_pureZdynlib_30
test rax, rax
je 0x43bd98
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test rsi, rsi
je 0x43bdb4
cmp qword [rsi], 0
jle 0x43bdb4
lea rdx, [rsi + 0x10]
mov rcx, r12
call sym.symAddr_pureZdynlib_30
test rax, rax
jne 0x43bd8b
mov r12, qword [0x004f48a8]
test r12, r12
je 0x43be08
lea rdx, [0x004b7680]
test rbx, rbx
je 0x43bdd8
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr_pureZdynlib_30
test rax, rax
jne 0x43bd8b
test rsi, rsi
je 0x43be1c
cmp qword [rsi], 0
jle 0x43be1c
lea rdx, [rsi + 0x10]
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.symAddr_pureZdynlib_30
call sym.loadLib_pureZdynlib_6
mov qword [0x004f48a8], rax
mov r12, rax
test rax, rax
jne 0x43bdc0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x43be30
Capabilities:
Link many functions at runtime

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [0x004f48e0]
mov rbx, rcx
mov rsi, rdx
test r12, r12
je 0x43bf10
lea rdx, [0x004b7680]
test rbx, rbx
je 0x43be66
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr_pureZdynlib_30
test rax, rax
je 0x43be80
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test rsi, rsi
je 0x43be9c
cmp qword [rsi], 0
jle 0x43be9c
lea rdx, [rsi + 0x10]
mov rcx, r12
call sym.symAddr_pureZdynlib_30
test rax, rax
jne 0x43be73
mov r12, qword [0x004f48a8]
test r12, r12
je 0x43bef0
lea rdx, [0x004b7680]
test rbx, rbx
je 0x43bec0
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr_pureZdynlib_30
test rax, rax
jne 0x43be73
test rsi, rsi
je 0x43bf04
cmp qword [rsi], 0
jle 0x43bf04
lea rdx, [rsi + 0x10]
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.symAddr_pureZdynlib_30
call sym.loadLib_pureZdynlib_6
mov qword [0x004f48a8], rax
mov r12, rax
test rax, rax
jne 0x43bea8
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor edx, edx
lea rcx, [0x004b7b80]
call sym.loadLibPattern_pureZdynlib_49
mov qword [0x004f48e0], rax
mov r12, rax
test rax, rax
je 0x43be9c
jmp 0x43be4e
Function at 0x43c7d0
Capabilities:
Link many functions at runtime

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [0x004f49d0]
mov rbx, rcx
mov rsi, rdx
test r12, r12
je 0x43c8b0
lea rdx, [0x004b7680]
test rbx, rbx
je 0x43c806
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr_pureZdynlib_30
test rax, rax
je 0x43c820
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test rsi, rsi
je 0x43c83c
cmp qword [rsi], 0
jle 0x43c83c
lea rdx, [rsi + 0x10]
mov rcx, r12
call sym.symAddr_pureZdynlib_30
test rax, rax
jne 0x43c813
mov r12, qword [0x004f48a8]
test r12, r12
je 0x43c890
lea rdx, [0x004b7680]
test rbx, rbx
je 0x43c860
lea rax, [rbx + 0x10]
cmp qword [rbx], 0
cmovne rdx, rax
mov rcx, r12
call sym.symAddr_pureZdynlib_30
test rax, rax
jne 0x43c813
test rsi, rsi
je 0x43c8a4
cmp qword [rsi], 0
jle 0x43c8a4
lea rdx, [rsi + 0x10]
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.symAddr_pureZdynlib_30
call sym.loadLib_pureZdynlib_6
mov qword [0x004f48a8], rax
mov r12, rax
test rax, rax
jne 0x43c848
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor edx, edx
lea rcx, [0x004b7a20]
call sym.loadLibPattern_pureZdynlib_49
mov qword [0x004f49d0], rax
mov r12, rax
test rax, rax
je 0x43c83c
jmp 0x43c7ee

Function at 0x4436f0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdx
test rdx, rdx
je 0x443756
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x443760
mov rax, 0xffffffffffffffff
xor edx, edx
div r10
not rdx
nop dword [rax]
lea rax, [r8 + r9]
xor r9, r8
ror r8, 9
mov r11, r9
xor r8, r9
ror r9, 0x1c
shl r11, 0xe
xor r8, r11
cmp rdx, rax
jb 0x443718
movq xmm0, r8
movq xmm1, r9
xor edx, edx
punpcklqdq xmm0, xmm1
movups xmmword [rcx], xmm0
lea rcx, [r10 + 1]
div rcx
mov r10, rdx
mov rax, r10
ret
lea r10, [r8 + r9]
xor r9, r8
ror r8, 9
mov rax, r9
xor r8, r9
ror r9, 0x1c
shl rax, 0xe
mov qword [rcx + 8], r9
xor r8, rax
mov rax, r10
mov qword [rcx], r8
ret

Function at 0x443790
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rdx
test rdx, rdx
je 0x4437fe
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x443808
mov rax, 0xffffffffffffffff
xor edx, edx
div r10
not rdx
nop word [rax + rax]
lea rax, [r9 + r8]
xor r9, r8
ror r8, 9
mov r11, r9
xor r8, r9
ror r9, 0x1c
shl r11, 0xe
xor r8, r11
cmp rax, rdx
ja 0x4437c0
movq xmm0, r8
movq xmm1, r9
xor edx, edx
punpcklqdq xmm0, xmm1
movups xmmword [rcx], xmm0
lea rcx, [r10 + 1]
div rcx
mov r8, rdx
mov rax, r8
ret
mov rax, r8
mov rdx, r8
add r8, r9
xor rax, r9
ror rdx, 9
mov r10, rax
xor rdx, rax
ror rax, 0x1c
shl r10, 0xe
mov qword [rcx + 8], rax
mov rax, r8
xor rdx, r10
mov qword [rcx], rdx
ret
Function at 0x443840
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
js 0x443860
mov r8d, 0
jne 0x443871
mov rax, r8
add rsp, 0x20
pop rbx
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
mov r8, qword [0x004f4dc0]
mov r9, qword [0x004f4dc8]
cmp rbx, 0xffffffffffffffff
je 0x4438e8
mov rax, 0xffffffffffffffff
xor edx, edx
div rbx
not rdx
nop dword [rax]
lea rax, [r8 + r9]
xor r9, r8
ror r8, 9
mov rcx, r9
xor r8, r9
ror r9, 0x1c
shl rcx, 0xe
xor r8, rcx
cmp rax, rdx
ja 0x443898
lea rcx, [rbx + 1]
movq xmm0, r8
movq xmm1, r9
xor edx, edx
div rcx
punpcklqdq xmm0, xmm1
movups xmmword [0x004f4dc0], xmm0
mov r8, rdx
mov rax, r8
add rsp, 0x20
pop rbx
ret
mov rax, r8
mov rdx, r8
add r8, r9
xor rax, r9
ror rdx, 9
mov rcx, rax
xor rdx, rax
ror rax, 0x1c
shl rcx, 0xe
mov qword [0x004f4dc8], rax
mov rax, r8
xor rdx, rcx
mov qword [0x004f4dc0], rdx
add rsp, 0x20
pop rbx
ret
Function at 0x4a3d80
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x4a3df0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x004e1074]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x4a3f98
mov rax, qword [0x004e1078]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x4a3e3c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x4a3ec7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x4a3e20
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x4a3fd2
mov rax, qword [0x004e1078]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004e1078]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4a3fe1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x4a3ec0
sub eax, 4
and eax, 0xfffffffb
jne 0x4a3f50
add dword [0x004e1074], 1
cmp ebx, 8
jae 0x4a3ef8
test bl, 4
jne 0x4a3fa0
test ebx, ebx
je 0x4a3ee9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x4a3fc0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x4a3ee9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x4a3f2a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x004e1078]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4a3ec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor edi, edi
jmp 0x4a3e47
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x4a3ee9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x4a3ee9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
mov rax, qword [0x004e1078]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
nop
nop dword [rax]