joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14013fdd0]
mov dword [rax], 1
mov rax, qword [0x14013fde0]
mov dword [rax], 1
mov rax, qword [0x14013fdf0]
mov dword [rax], 1
mov rax, qword [0x14013fdc0]
mov dword [rax], 1
mov rax, qword [0x14013fbd0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140009000
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sym.fread
mov r12, rax
cmp rbx, rax
je 0x140009033
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x140009040
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
mov rcx, r13
call sym.checkErr__stdZsyncio_u162.part.0
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret

Function at 0x140009a70
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12, rcx
mov rcx, rdx
mov edx, 1
mov r9, r12
call sym.fwrite
mov rcx, r12
mov r13, rax
call sym.ferror
test eax, eax
je 0x140009aa2
mov rcx, r12
call sym.checkErr__stdZsyncio_u162.part.0
mov rax, r13
add rsp, 0x28
pop r12
pop r13
ret
Function at 0x14000a030
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, [0x1401214c0]
mov r14, rcx
mov r13, rdx
lea rcx, [rsp + 0x20]
mov edx, 0xfa0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
call sym.mnewString
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
test rbx, rbx
jle 0x14000a1a8
mov rcx, qword [0x14013fba0]
lea rdi, [rsp + 0x30]
movabs r15, 0x7fffffffffffffff
movabs rbp, 0x8000000000000000
call sym.__emutls_get_address
mov rsi, rax
nop dword [rax]
mov rax, qword [rsp + 0x48]
mov r9, r13
mov r8d, 0xfa0
mov edx, 1
lea rcx, [rax + 8]
call sym.fread
mov r12, rax
cmp rax, 0xfa0
je 0x14000a140
mov rcx, r13
call sym.ferror
test eax, eax
je 0x14000a103
mov rcx, r13
call sym.checkErr__stdZsyncio_u162.part.0
cmp byte [rsi], 0
je 0x14000a1f0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000a120
test byte [rcx + 7], 0x40
je 0x14000a1e0
movdqa xmm0, xmmword [rsp + 0x30]
mov rax, r14
movups xmmword [r14], xmm0
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi], 0
jne 0x14000a10c
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call sym.prepareAdd
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rbx, rbx
jle 0x14000a1a8
mov r8, rbx
add r8, 1
jo 0x14000a1bd
test r8, r8
js 0x14000a1c8
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rdx, 8
lea rcx, [rcx + rax + 8]
call sym.memcpy
add rbx, qword [rsp + 0x30]
jo 0x14000a1bd
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jg 0x14000a0c8
nop dword [rax]
xor ecx, ecx
lea rdx, [rbx - 1]
call sym.raiseIndexError2
mov rcx, qword [rsp + 0x48]
jmp 0x14000a111
call sym.raiseOverflow
jmp 0x14000a193
mov r8, r15
xor edx, edx
mov rcx, rbp
call sym.raiseRangeErrorI
jmp 0x14000a193
call sym.deallocShared
jmp 0x14000a120
test r12, r12
js 0x14000a268
lea rcx, [rsp + 0x40]
mov rdx, r12
call sym.setLengthStrV2
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call sym.prepareAdd
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
test rbx, rbx
jle 0x14000a111
mov r8, rbx
add r8, 1
jo 0x14000a2ab
test r8, r8
js 0x14000a286
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
lea r9, [rdx + rax + 8]
lea rdx, [rcx + 8]
mov rcx, r9
call sym.memcpy
add rbx, qword [rsp + 0x30]
jo 0x14000a2ab
mov qword [rsp + 0x30], rbx
mov rcx, qword [rsp + 0x48]
jmp 0x14000a111
movabs r8, 0x7fffffffffffffff
mov rcx, r12
xor edx, edx
call sym.raiseRangeErrorI
mov rcx, qword [rsp + 0x48]
jmp 0x14000a111
movabs rcx, 0x8000000000000000
xor edx, edx
movabs r8, 0x7fffffffffffffff
call sym.raiseRangeErrorI
mov rcx, qword [rsp + 0x48]
jmp 0x14000a111
call sym.raiseOverflow
jmp 0x14000a10c
Function at 0x14000a2c0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r14, rcx
mov r13, rdx
mov r12, r8
test r8, r8
js 0x14000a3b0
lea rdi, [rsp + 0x20]
mov rdx, r8
mov rcx, rdi
call sym.mnewString
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rdx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
test rdx, rdx
jle 0x14000a400
mov rax, qword [rsp + 0x38]
mov r9, r13
mov r8, r12
mov edx, 1
lea rcx, [rax + 8]
call sym.fread
mov r15, rax
cmp r12, rax
je 0x14000a342
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x14000a3d0
mov rcx, qword [0x14013fba0]
call sym.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x14000a38e
mov rcx, r13
call sym.fgetc
mov rdx, r13
mov ecx, eax
mov esi, eax
call sym.ungetc
cmp byte [rbx], 0
jne 0x14000a38e
test esi, esi
jns 0x14000a410
cmp r12, r15
jle 0x14000a38e
test r15, r15
js 0x14000a3e0
lea rcx, [rsp + 0x30]
mov rdx, r15
call sym.setLengthStrV2
movdqa xmm0, xmmword [rsp + 0x30]
mov rax, r14
movups xmmword [r14], xmm0
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r12
call sym.raiseRangeErrorI
jmp 0x14000a38e
mov rcx, r13
call sym.checkErr__stdZsyncio_u162.part.0
jmp 0x14000a342
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r15
call sym.raiseRangeErrorI
jmp 0x14000a38e
sub rdx, 1
xor ecx, ecx
call sym.raiseIndexError2
jmp 0x14000a38e
mov rdx, r13
mov rcx, rdi
call sym.readAllBuffer__stdZsyncio_u511
cmp byte [rbx], 0
mov rsi, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
jne 0x14000a46f
lea rcx, [rsp + 0x30]
mov rdx, rsi
call sym.prepareAdd
test rsi, rsi
jle 0x14000a46f
mov r8, rsi
add r8, 1
jo 0x14000a491
test r8, r8
js 0x14000a4a0
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
lea rcx, [rdx + rax + 8]
lea rdx, [r12 + 8]
call sym.memcpy
add rsi, qword [rsp + 0x30]
jo 0x14000a491
mov qword [rsp + 0x30], rsi
test r12, r12
je 0x14000a38e
test byte [r12 + 7], 0x40
jne 0x14000a38e
mov rcx, r12
call sym.deallocShared
jmp 0x14000a38e
call sym.raiseOverflow
jmp 0x14000a46f
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call sym.raiseRangeErrorI
jmp 0x14000a46f

Function at 0x14000a9d0
Capabilities:
Write file on windows

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

Function at 0x140010a60
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 [sym.__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 0x140010ab0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x40
mov rax, qword [0x14014e170]
mov r12, rcx
mov rbx, rdx
test rax, rax
je 0x140010b60
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
test rcx, rcx
je 0x140010b40
call sym.strlen
lea r13, [rsp + 0x20]
mov rdx, r12
mov rcx, r13
mov r8, rax
call sym.toNimStr
mov r12, qword [rsp + 0x28]
mov rcx, r13
call qword [0x14014e170]
test r12, r12
je 0x140010b19
test byte [r12 + 7], 0x40
je 0x140010b98
lea rcx, [0x140120440]
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x140010bb8
add rsp, 0x40
pop rbx
pop r12
pop r13
ret
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], 0
call rax
jmp 0x140010b19
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov rcx, r12
mov r8, rbx
mov edx, 1
mov r13, rax
mov r9, rax
call sym.fwrite
mov rcx, r13
add rsp, 0x40
pop rbx
pop r12
pop r13
jmp sym.fflush
lea rcx, [0x140120460]
call sym.__emutls_get_address
mov rdx, r12
mov rcx, rax
call sym.rawDealloc__system_u6951
jmp 0x140010b19
mov byte [rax], 0
lea rcx, [0x140120380]
call sym.__emutls_get_address
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x40
pop rbx
pop r12
pop r13
jmp sym.eqcopy___stdZtypedthreads_u169

Function at 0x140011fe0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
test rax, rax
jle 0x140012040
lea r8, [rax + rdx + 8]
lea rcx, [rdx + 8]
xor eax, eax
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 0x140012000
lea rax, [rax + rax*8]
mov rdx, rax
shr rdx, 0xb
xor rdx, rax
mov rax, rdx
shl rax, 0xf
add rax, rdx
ret
xor eax, eax
ret

Function at 0x1400157d0
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r13, [0x14014e140]
mov rsi, rdx
mov rbx, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rsi, rsi
jle 0x14001585f
lea rcx, [0x140120440]
xor r14d, r14d
lea r12, [rsp + 0x20]
call sym.__emutls_get_address
mov rbp, qword [sym.__acrt_iob_func]
mov rdi, rax
jmp 0x14001582d
add r14, 1
add rbx, 0x10
cmp rsi, r14
je 0x140015866
mov ecx, 1
call rbp
movdqu xmm0, xmmword [rbx]
xor r8d, r8d
mov rdx, r12
mov rcx, rax
movaps xmmword [rsp + 0x20], xmm0
call sym.writeWindows__system_u8909
cmp byte [rdi], 0
je 0x140015820
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rbp, qword [sym.__acrt_iob_func]
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x140121621]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rbp
mov rcx, rax
call sym.fflush
mov rcx, r13
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14003d610
Capabilities:
Encode data using base64

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [rcx]
mov rdi, qword [rcx + 8]
test rsi, rsi
je 0x14003d760
xor edx, edx
lea rax, [rdi + 8]
test rdi, rdi
cmove rax, rdx
test rsi, rsi
jle 0x14003d855
lea rcx, [rax + rsi]
xor ebx, ebx
jmp 0x14003d669
mov rdx, rbx
add rdx, 1
jo 0x14003d8ea
add rax, 1
cmp rcx, rax
je 0x14003d677
mov rbx, rdx
cmp byte [rax], 0x3d
jne 0x14003d650
test rbx, rbx
jns 0x14003d760
lea r13, [rsp + 0x30]
lea rdx, [rsi + 1]
mov rcx, r13
call sym.rawNewString
mov rbx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov r8, rsi
add r8, 1
mov rbp, rbx
lea r14, [rbx + r12 + 8]
jo 0x14003d8c0
test r8, r8
js 0x14003d880
lea rdx, [rdi + 8]
mov rcx, r14
call sym.memcpy
add rbx, rsi
jo 0x14003d8c0
lea r14, [rbx + r12 + 8]
mov rbp, rbx
mov eax, 0x3d
mov word [r14], ax
mov rax, rbp
add rax, 1
jo 0x14003d8dd
test rax, rax
lea rcx, [r12 + 8]
lea rax, [0x14012c190]
cmove rcx, rax
call qword [sym.imp.msvcrt.dll__putenv]
test eax, eax
je 0x14003d72e
call sym.osLastError__stdZoserrors_u125
mov rcx, qword [0x14013fba0]
mov r14d, eax
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x14003d72e
mov rdx, r13
mov ecx, r14d
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call sym.raiseOSError__stdZoserrors_u122
test r12, r12
je 0x14003d846
test byte [r12 + 7], 0x40
jne 0x14003d846
mov rcx, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.deallocShared
mov edx, 8
mov ecx, 0x48
lea r14, str.OSError
call sym.nimNewObj
lea rcx, [rsp + 0x30]
lea rdx, [rsi + 0x12]
mov r12, rax
mov rax, qword [0x14013faa0]
mov qword [r12 + 0x10], r14
mov qword [r12], rax
call sym.rawNewString
mov rbp, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
movabs rdx, 0x2064696c61766e69
movabs rcx, 0x746f67202c79656b
lea rax, [rbp + r13 + 8]
mov rbx, rbp
mov qword [rax], rdx
add rbx, 0x12
mov edx, 0x203a
mov qword [rax + 8], rcx
mov word [rax + 0x10], dx
mov byte [rax + 0x12], 0
jo 0x14003d8d0
test rsi, rsi
jle 0x14003d810
mov r8, rsi
add r8, 1
jo 0x14003d8f4
test r8, r8
js 0x14003d8a0
lea rcx, [rbx + r13 + 8]
lea rdx, [rdi + 8]
call sym.memcpy
add rsi, rbx
jo 0x14003d8f4
mov rbx, rsi
mov qword [r12 + 0x18], rbx
mov rdx, r14
mov rcx, r12
lea r9, str.envvars.nim
mov qword [r12 + 0x20], r13
lea r8, str.delEnv
mov qword [r12 + 8], 0
mov qword [rsp + 0x20], 0x97
call sym.raiseExceptionEx
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea r13, [rsp + 0x30]
lea rdx, [rsi + 1]
mov rcx, r13
call sym.rawNewString
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
lea r14, [rbp + r12 + 8]
jmp 0x14003d6cd
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call sym.raiseRangeErrorI
jmp 0x14003d6cd
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call sym.raiseRangeErrorI
jmp 0x14003d810
call sym.raiseOverflow
jmp 0x14003d6cd
call sym.raiseOverflow
mov rbx, rbp
jmp 0x14003d7db
call sym.raiseOverflow
mov rax, rbp
jmp 0x14003d6e3
call sym.raiseOverflow
jmp 0x14003d66e
call sym.raiseOverflow
jmp 0x14003d810
Function at 0x14003f690
Capabilities:
Hash data using murmur3

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rdi, [rdx + 3]
test rdx, rdx
mov rbp, rcx
mov rsi, rdx
cmovns rdi, rdx
and rdi, 0xfffffffffffffffc
jle 0x14003f84f
test rdx, rdx
jle 0x14003f70b
mov r13, qword [0x14013fba0]
mov ebx, dword [rcx]
mov rcx, r13
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x14003f728
xor r12d, r12d
mov ecx, 4
imul eax, ebx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
rol eax, 0xd
lea r12d, [rax + rax*4 - 0x19ab949c]
cmp rcx, rdi
jge 0x14003f730
cmp rsi, rcx
jle 0x14003f70d
mov ebx, dword [rbp + rcx]
add rcx, 4
jmp 0x14003f6da
xor ecx, ecx
lea rdx, [rsi - 1]
call sym.raiseIndexError2
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor eax, eax
jmp 0x14003f718
mov rax, rsi
and eax, 3
je 0x14003f877
sub rax, 1
mov r8, rcx
xor edx, edx
add r8, rax
js 0x14003f88f
cmp r8, rax
jb 0x14003f88f
test rdx, rdx
jne 0x14003f843
cmp r8, rsi
jge 0x14003f830
test r8, r8
js 0x14003f830
movzx edx, byte [rbp + r8]
test rax, rax
je 0x14003f7d8
sub rax, 1
mov r9, rcx
xor r10d, r10d
add r9, rax
js 0x14003f899
cmp r9, rax
jb 0x14003f899
mov r8, r9
test r10, r10
jne 0x14003f843
cmp rsi, r9
jle 0x14003f830
test r9, r9
js 0x14003f830
movzx r8d, byte [rbp + r9]
shl edx, 8
or edx, r8d
test rax, rax
je 0x14003f7d8
test rcx, rcx
js 0x14003f82d
cmp rsi, rcx
jle 0x14003f82d
movzx eax, byte [rbp + rcx]
shl edx, 8
or edx, eax
imul ebx, edx, 0xcc9e2d51
mov r13, qword [0x14013fba0]
rol ebx, 0xf
mov rcx, r13
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x14003f728
imul ebx, ebx, 0x1b873593
xor r12d, esi
xor r12d, ebx
mov eax, r12d
shr eax, 0x10
xor eax, r12d
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
jmp 0x14003f718
mov r8, rcx
lea rdx, [rsi - 1]
mov rcx, r8
call sym.raiseIndexError2
xor eax, eax
jmp 0x14003f718
call sym.raiseOverflow
xor eax, eax
jmp 0x14003f718
sar rdx, 0x3f
shr rdx, 0x3e
lea rax, [rsi + rdx]
and eax, 3
sub rax, rdx
test rax, rax
jle 0x14003f87e
sub rax, 1
xor ecx, ecx
xor r12d, r12d
mov r8, rax
jmp 0x14003f760
xor ebx, ebx
jmp 0x14003f7e8
mov r13, qword [0x14013fba0]
xor r12d, r12d
xor ebx, ebx
jmp 0x14003f7e8
mov edx, 1
jmp 0x14003f757
mov r10d, 1
jmp 0x14003f799

Function at 0x14003f8b0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x14003f8d8
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp sym.murmurHash__pureZhashes_u192
lea r9, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, r9
call sym.raiseIndexError4
xor eax, eax
add rsp, 0x28
ret
Function at 0x14003fad0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov rcx, r8
test rax, rax
je 0x14003faf8
mov r8, qword [rax]
cmp word [r8 + 0x12], 1
jle 0x14003fb30
mov r8, qword [r8 + 0x18]
cmp dword [r8 + 8], 0x2444a200
jne 0x14003fb30
test rcx, rcx
js 0x14003fb10
mov r9, qword [rax + 0x58]
mov r8, rcx
mov rcx, r9
add rsp, 0x28
jmp sym.readBuffer__stdZsyncio_u165
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
xor eax, eax
add rsp, 0x28
ret
call sym.raiseObjectConversionError
xor eax, eax
add rsp, 0x28
ret

Function at 0x14003fb80
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov r9, qword [r8]
mov rax, rcx
mov rcx, qword [r8 + 8]
test rax, rax
je 0x14003fbac
mov r8, qword [rax]
cmp word [r8 + 0x12], 1
jle 0x14003fc00
mov r8, qword [r8 + 0x18]
cmp dword [r8 + 8], 0x2444a200
jne 0x14003fc00
mov r8, qword [rdx]
test r9, r9
js 0x14003fbe8
cmp r8, r9
jle 0x14003fbe8
add rcx, 1
jo 0x14003fc0c
sub rcx, r9
jo 0x14003fc0c
test rcx, rcx
js 0x14003fc20
mov rdx, qword [rdx + 8]
mov r8, rcx
lea rdx, [rdx + r9 + 8]
mov r9, qword [rax + 0x58]
mov rcx, r9
add rsp, 0x28
jmp sym.readBuffer__stdZsyncio_u165
lea rdx, [r8 - 1]
mov rcx, r9
call sym.raiseIndexError2
xor eax, eax
add rsp, 0x28
ret
call sym.raiseObjectConversionError
xor eax, eax
add rsp, 0x28
ret
call sym.raiseOverflow
xor eax, eax
add rsp, 0x28
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
jmp 0x14003fbf4
Function at 0x140063750
Capabilities:
Link many functions at runtime

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r12, qword [rdx]
mov rsi, qword [rdx + 8]
mov rbp, qword [r8]
mov rdi, qword [r8 + 8]
mov r13, rcx
mov rcx, qword [0x14013fba0]
call sym.__emutls_get_address
mov rbx, rax
test r13, r13
je 0x140063830
test r12, r12
lea rax, [0x140135180]
lea rdx, [rsi + 8]
mov rcx, r13
cmove rdx, rax
call sym.symAddr__pureZdynlib_u74
cmp byte [rbx], 0
jne 0x1400637a9
test rax, rax
je 0x1400637c0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test rbp, rbp
jle 0x1400637db
lea rdx, [rdi + 8]
mov rcx, r13
call sym.symAddr__pureZdynlib_u74
cmp byte [rbx], 0
jne 0x1400637a9
test rax, rax
jne 0x1400637a9
mov r13, qword [0x14014e6b0]
test r13, r13
je 0x140063858
test r12, r12
lea rax, [0x140135180]
lea rdx, [rsi + 8]
mov rcx, r13
cmove rdx, rax
call sym.symAddr__pureZdynlib_u74
cmp byte [rbx], 0
jne 0x1400637a9
test rax, rax
jne 0x1400637a9
test rbp, rbp
jle 0x140063846
lea rdx, [rdi + 8]
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.symAddr__pureZdynlib_u74
mov r13, qword [0x14014e6b0]
test r13, r13
je 0x140063858
cmp byte [rbx], 1
je 0x140063846
test r13, r13
jne 0x1400637e7
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call sym.loadLib__pureZdynlib_u6
cmp byte [rbx], 0
mov r13, rax
jne 0x140063846
mov qword [0x14014e6b0], rax
jmp 0x14006383c
Function at 0x140108200
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140108e32
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14014e988]
test eax, eax
je 0x140108eca
lea rax, [0x14014e960]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14014e990]
mov qword [rbp - 8], rax
jmp 0x140108eae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140108ea2
cmp qword [rbp - 0x10], 0
je 0x140108ea2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140108e68
lea rax, [0x14014e960]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140108ecb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140108fd0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140108ff8
mov eax, 0
jmp 0x140109046
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140109021
mov eax, 0
jmp 0x140109046
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140109041
mov eax, 0
jmp 0x140109046
mov eax, 1
add rsp, 0x20
pop rbp
ret