joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005d570
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x10
mov r11, rcx
movaps xmmword [rsp], xmm6
movdqu xmm6, xmmword [rdx]
lea rdi, str.cw
pshufd xmm0, xmm6, 0x55
mov rbx, rdx
movd eax, xmm0
movdqu xmm5, xmmword [r11]
pshufd xmm0, xmm6, 0xff
mov r9d, eax
shr rax, 0x10
movzx r8d, al
mov eax, r9d
shr rax, 0x18
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
movzx r10d, byte [r8 + rdi]
movzx eax, byte [rax + rdi]
pxor xmm4, xmmword [r11]
shl eax, 8
or r10d, eax
mov eax, r9d
shr rax, 8
movzx ecx, al
shl r10d, 8
movzx eax, byte [rcx + rdi]
or r10d, eax
movzx eax, r9b
shl r10d, 8
movzx ecx, byte [rax + rdi]
or r10d, ecx
movd eax, xmm0
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r10d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
mov eax, r10d
or r8d, ecx
ror eax, 8
xor eax, 1
mov ecx, r8d
ror ecx, 8
xor ecx, 1
movd xmm0, r8d
movd xmm2, eax
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, ecx
pxor xmm0, xmm4
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pxor xmm0, xmm5
pshufd xmm1, xmm3, 0xff
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x55
movd eax, xmm0
movdqu xmmword [r11], xmm1
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movzx r9d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
movdqa xmm5, xmm6
or r9d, eax
pshufd xmm0, xmm1, 0xff
shl r9d, 8
mov eax, edx
shr rax, 8
movzx ecx, al
pslldq xmm5, 4
movdqa xmm4, xmm5
pslldq xmm5, 4
pxor xmm4, xmm6
movaps xmm6, xmmword [rsp]
movzx eax, byte [rcx + rdi]
or r9d, eax
movzx eax, dl
shl r9d, 8
movzx ecx, byte [rax + rdi]
movd eax, xmm0
or r9d, ecx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 0x18
movd xmm3, r9d
movzx r8d, byte [rcx + rdi]
movzx eax, byte [rax + rdi]
shl eax, 8
or r8d, eax
mov eax, edx
shr rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rdi]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + rdi]
or r8d, ecx
mov ecx, r9d
mov eax, r8d
ror eax, 8
ror ecx, 8
movd xmm0, r8d
punpckldq xmm3, xmm0
movdqa xmm0, xmm5
movd xmm1, eax
pxor xmm0, xmm4
movd xmm2, ecx
punpckldq xmm2, xmm1
punpckldq xmm3, xmm2
pslldq xmm5, 4
pshufd xmm1, xmm3, 0xaa
pxor xmm0, xmm5
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov rbx, qword [rsp + 0x20]
add rsp, 0x10
pop rdi
ret
Function at 0x14006332c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140088008]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x40]
call fcn.14002c100
mov rdx, rbx
mov rcx, rdi
call fcn.1400634a0
mov dword [rbx + 0x50], eax
mov r8d, eax
cmp eax, 0xffffffff
jne 0x140063380
lea eax, [r8 - 6]
jmp 0x140063479
cmp dword [rdi], 1
jl 0x1400633e4
mov edx, dword [rdi + 0x10]
shr edx, 8
and edx, 0xf
mov dword [rbx + 0xd4], edx
mov eax, dword [rdi + 0x10]
shr eax, 4
and eax, 0xf
mov dword [rbx + 0xd8], eax
mov eax, dword [rdi + 0x10]
and eax, 0xf
mov dword [rbx + 0xdc], eax
mov eax, dword [rdi + 0x10]
mov ecx, eax
shr ecx, 0x10
shr eax, 0x14
and ecx, 0xf
movzx r9d, al
cmp r8d, 1
jne 0x1400633cc
cmp edx, 0xf
jb 0x1400633cf
add edx, r9d
mov dword [rbx + 0xe0], edx
shl ecx, 4
add ecx, dword [rbx + 0xd8]
mov dword [rbx + 0xe4], ecx
mov eax, dword [rdi + 0x200]
sub eax, 0x8000000
cmp eax, 4
jl 0x140063457
movups xmm2, xmmword [rdi + 0x220]
xor ecx, ecx
mov byte [rsp + 0x80], 0
movups xmm1, xmmword [rdi + 0x230]
movups xmm0, xmmword [rdi + 0x240]
movd eax, xmm2
movaps xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
cmp al, 0x20
jne 0x140063439
lea rax, [rsp + 0x50]
inc rax
inc ecx
cmp byte [rax], 0x20
je 0x14006342f
movsxd rax, ecx
lea rdx, [rsp + 0x50]
add rdx, rax
lea rcx, [rbx + 0x10]
mov r8d, 0x40
call fcn.14002e080
mov byte [rbx + 0x40], 0
mov rdx, rbx
mov rcx, rdi
call fcn.14006371c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0xf0], eax
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140028de0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret
Function at 0x140064050
Capabilities:
Parse pe header

Disassembly:
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140088008]
xor rax, rsp
mov qword [rbp], rax
mov r11d, 2
mov dword [rsp], shutdown
mov r8, rcx
mov dword [rsp + 4], 0x3a
xor ecx, ecx
mov dword [rsp + 8], reloc.WS2_32.dll_shutdown
mov r9, rdx
mov dword [rsp + 0xc], gethostname
lea edx, [r11 + 8]
mov dword [rsp + 0x10], 0x19
lea eax, [rdx + 1]
mov dword [rsp + 0x14], 0x3b
lea r10d, [r11 + 7]
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x80], eax
mov eax, dword [r8 + 0x200]
mov dword [rsp + 0x18], 0x1e
mov dword [rsp + 0x1c], reloc.WS2_32.dll_gethostname
mov dword [rsp + 0x20], 0x1f
mov dword [rsp + 0x24], gethostname
mov dword [rbp - 0x70], 1
mov dword [rbp - 0x6c], 0x3f
mov dword [rbp - 0x68], r11d
mov dword [rbp - 0x64], 0x40
mov dword [rbp - 0x60], 5
mov dword [rbp - 0x5c], 0x41
mov dword [rbp - 0x58], 6
mov dword [rbp - 0x54], 0x43
mov dword [rbp - 0x50], 7
mov dword [rbp - 0x4c], 0x42
mov dword [rbp - 0x48], 8
mov dword [rbp - 0x44], 0x44
mov dword [rbp - 0x40], r10d
mov dword [rbp - 0x3c], 0x45
mov dword [rbp - 0x38], edx
mov dword [rbp - 0x34], 0x46
mov dword [rbp - 0x2c], 0x53
mov dword [rbp - 0x28], recv
mov dword [rbp - 0x24], 0x48
mov dword [rbp - 0x20], reloc.WS2_32.dll_listen
mov dword [rbp - 0x1c], 0x49
mov dword [rbp - 0x18], reloc.WS2_32.dll_recv
mov dword [rbp - 0x14], 0x55
mov dword [rbp - 0x10], reloc.WS2_32.dll_setsockopt
mov dword [rbp - 0xc], 0x56
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], 0x4a
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x3c], 0x4b
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x44], 0x4c
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 0x4d
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x54], 0x4e
mov dword [rsp + 0x58], 5
mov dword [rsp + 0x5c], 0x4f
mov dword [rsp + 0x60], 6
mov dword [rsp + 0x64], 0x50
mov dword [rsp + 0x68], 7
mov dword [rsp + 0x6c], 0x51
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x74], 0x5a
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x7c], 0x5b
mov dword [rbp - 0x7c], 0x5c
mov dword [rbp - 0x78], recv
mov dword [rbp - 0x74], 0x5d
cmp eax, 0x80000001
jb 0x140064289
mov r10d, dword [r8 + 0x21c]
mov edx, ecx
mov eax, dword [rsp + rdx*8]
bt r10d, eax
jae 0x140064251
movsxd rax, dword [rsp + rdx*8 + 4]
mov byte [rax + r9 + 0x54], 1
inc rdx
cmp rdx, 5
jl 0x14006423d
mov r10d, dword [r8 + 0x218]
mov rdx, rcx
mov eax, dword [rbp + rdx*8 - 0x70]
bt r10d, eax
jae 0x140064279
movsxd rax, dword [rbp + rdx*8 - 0x6c]
mov byte [rax + r9 + 0x54], 1
inc rdx
cmp rdx, 0xd
jl 0x140064264
mov eax, dword [r8 + 0x200]
cmp eax, 0x80000007
jb 0x1400642bb
mov edx, dword [r8 + 0x27c]
mov eax, dword [rsp + rcx*8 + 0x30]
bt edx, eax
jae 0x1400642ab
movsxd rax, dword [rsp + rcx*8 + 0x34]
mov byte [rax + r9 + 0x54], 1
inc rcx
cmp rcx, 0xc
jl 0x140064297
mov eax, dword [r8 + 0x200]
cmp eax, 0x8000001a
jb 0x1400642e0
mov byte [r9 + 0x16c], 1
mov eax, dword [r8 + 0x3a0]
and eax, 1
inc eax
shl eax, 6
mov dword [r9 + 0x168], eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140028de0
add rsp, 0x110
pop rbp
ret
Function at 0x14000d984
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140017850], eax
call fcn.14000d6d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140017850], 0
jne case.default.0x14000d9da
mov ecx, 1
call fcn.14000d6d0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
fcomi st(0)
scasd eax, dword [rdi]
cmp eax, 0x8bb7cb8b
scasb al, byte [rdi]
xchg ebx, eax
invalid
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400491f0]
mov dword [rax], 1
mov rax, qword [0x140049200]
mov dword [rax], 1
mov rax, qword [0x140049210]
mov dword [rax], 1
mov rax, qword [0x1400491e0]
mov dword [rax], 1
mov rax, qword [0x1400490a0]
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 0x140005cc0
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 0x140005cf3
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x140005d00
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
mov rcx, r13
call sym.checkErr__stdZsyncio_u165.part.0
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret

Function at 0x140006730
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 0x140006762
mov rcx, r12
call sym.checkErr__stdZsyncio_u165.part.0
mov rax, r13
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x1400069f0
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 0x140006a11
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 0x14000dbb0
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 0x14000dc00
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x40
mov rax, qword [0x140052170]
mov r12, rcx
mov rbx, rdx
test rax, rax
je 0x14000dcb0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
test rcx, rcx
je 0x14000dc90
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 [0x140052170]
test r12, r12
je 0x14000dc69
test byte [r12 + 7], 0x40
je 0x14000dce8
lea rcx, [0x140044440]
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x14000dd08
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 0x14000dc69
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, [0x140044460]
call sym.__emutls_get_address
mov rdx, r12
mov rcx, rax
call sym.rawDealloc__system_u6988
jmp 0x14000dc69
mov byte [rax], 0
lea rcx, [0x140044340]
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_u171

Function at 0x14000fde0
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, [0x140052140]
mov rsi, rdx
mov rbx, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rsi, rsi
jle 0x14000fe6f
lea rcx, [0x140044440]
xor r14d, r14d
lea r12, [rsp + 0x20]
call sym.__emutls_get_address
mov rbp, qword [sym.__acrt_iob_func]
mov rdi, rax
jmp 0x14000fe3d
add r14, 1
add rbx, 0x10
cmp rsi, r14
je 0x14000fe76
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_u8944
cmp byte [rdi], 0
je 0x14000fe30
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, [0x140045521]
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 0x1400183f0
Capabilities:
Hash data using murmur3

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [rdx + 3]
test rdx, rdx
mov r13, rcx
mov rsi, rdx
cmovns rdi, rdx
and rdi, 0xfffffffffffffffc
jle 0x1400185ab
test rdx, rdx
jle 0x14001846b
mov r14, qword [0x140049080]
mov ebx, dword [rcx]
mov rcx, r14
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x140018476
xor ebp, ebp
mov ecx, 4
imul eax, ebx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, ebp
rol eax, 0xd
lea ebp, [rax + rax*4 - 0x19ab949c]
cmp rcx, rdi
jge 0x140018490
cmp rsi, rcx
jle 0x14001846d
mov ebx, dword [r13 + rcx]
add rcx, 4
jmp 0x14001843b
xor ecx, ecx
lea rdx, [rsi - 1]
call sym.raiseIndexError2
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rax, rsi
and eax, 3
je 0x1400185d2
sub rax, 1
mov r8, rcx
xor edx, edx
add r8, rax
js 0x1400185e9
cmp r8, rax
jb 0x1400185e9
test rdx, rdx
jne 0x1400185a1
cmp r8, rsi
jge 0x140018590
test r8, r8
js 0x140018590
movzx edx, byte [r13 + r8]
test rax, rax
je 0x140018539
sub rax, 1
mov r9, rcx
xor r10d, r10d
add r9, rax
js 0x1400185f3
cmp r9, rax
jb 0x1400185f3
mov r8, r9
test r10, r10
jne 0x1400185a1
cmp rsi, r9
jle 0x140018590
test r9, r9
js 0x140018590
movzx r8d, byte [r13 + r9]
shl edx, 8
or edx, r8d
test rax, rax
je 0x140018539
test rcx, rcx
js 0x14001858d
cmp rsi, rcx
jle 0x14001858d
movzx eax, byte [r13 + rcx]
shl edx, 8
or edx, eax
imul ebx, edx, 0xcc9e2d51
mov r14, qword [0x140049080]
rol ebx, 0xf
mov rcx, r14
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x140018476
imul ebx, ebx, 0x1b873593
xor ebp, esi
xor ebp, ebx
mov edx, ebp
shr edx, 0x10
xor edx, ebp
imul edx, edx, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov r12d, eax
shr r12d, 0x10
xor r12d, eax
jmp 0x140018476
mov r8, rcx
lea rdx, [rsi - 1]
mov rcx, r8
call sym.raiseIndexError2
jmp 0x140018476
call sym.raiseOverflow
jmp 0x140018476
sar rdx, 0x3f
shr rdx, 0x3e
lea rax, [rsi + rdx]
and eax, 3
sub rax, rdx
test rax, rax
jle 0x1400185d9
sub rax, 1
xor ecx, ecx
xor ebp, ebp
mov r8, rax
jmp 0x1400184c0
xor ebx, ebx
jmp 0x140018549
mov r14, qword [0x140049080]
xor ebp, ebp
xor ebx, ebx
jmp 0x140018549
mov edx, 1
jmp 0x1400184b7
mov r10d, 1
jmp 0x1400184f9

Function at 0x140018600
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x140018628
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 0x140018970
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 [0x140049080]
call sym.__emutls_get_address
mov rbx, rax
test r13, r13
je 0x1400189f3
test r12, r12
lea rax, [0x1400460a0]
lea rdx, [rsi + 8]
mov rcx, r13
cmove rdx, rax
call sym.symAddr__pureZdynlib_u74
cmp byte [rbx], 0
jne 0x1400189c5
test rax, rax
je 0x1400189d8
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test rbp, rbp
jle 0x1400189f3
lea rdx, [rdi + 8]
mov rcx, r13
call sym.symAddr__pureZdynlib_u74
cmp byte [rbx], 0
jne 0x1400189c5
test rax, rax
jne 0x1400189c5
mov r13, qword [0x1400524f8]
test r13, r13
je 0x140018a50
cmp byte [rbx], 1
je 0x140018a70
test r13, r13
je 0x140018a70
test r12, r12
lea rax, [0x1400460a0]
lea rdx, [rsi + 8]
mov rcx, r13
cmove rdx, rax
call sym.symAddr__pureZdynlib_u74
cmp byte [rbx], 0
jne 0x1400189c5
test rax, rax
jne 0x1400189c5
test rbp, rbp
jle 0x140018a70
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
call sym.loadLib__pureZdynlib_u6
cmp byte [rbx], 0
mov r13, rax
jne 0x140018a70
mov qword [0x1400524f8], rax
jmp 0x1400189ff
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140025c70
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov rcx, r8
test rax, rax
je 0x140025c98
mov r8, qword [rax]
cmp word [r8 + 0x12], 1
jle 0x140025cd0
mov r8, qword [r8 + 0x18]
cmp dword [r8 + 8], 0x2444a200
jne 0x140025cd0
test rcx, rcx
js 0x140025cb0
mov r9, qword [rax + 0x58]
mov r8, rcx
mov rcx, r9
add rsp, 0x28
jmp sym.readBuffer__stdZsyncio_u168
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 0x140025d20
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 0x140025d4c
mov r8, qword [rax]
cmp word [r8 + 0x12], 1
jle 0x140025da0
mov r8, qword [r8 + 0x18]
cmp dword [r8 + 8], 0x2444a200
jne 0x140025da0
mov r8, qword [rdx]
test r9, r9
js 0x140025d88
cmp r8, r9
jle 0x140025d88
add rcx, 1
jo 0x140025dac
sub rcx, r9
jo 0x140025dac
test rcx, rcx
js 0x140025dc0
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_u168
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 0x140025d94
Function at 0x140030330
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 0x140030f62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140052688]
test eax, eax
je 0x140030ffa
lea rax, [0x140052660]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140052690]
mov qword [rbp - 8], rax
jmp 0x140030fde
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 0x140030fd2
cmp qword [rbp - 0x10], 0
je 0x140030fd2
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 0x140030f98
lea rax, [0x140052660]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140030ffb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140031100
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 0x140031128
mov eax, 0
jmp 0x140031176
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 0x140031151
mov eax, 0
jmp 0x140031176
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 0x140031171
mov eax, 0
jmp 0x140031176
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14003117c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400311fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400311f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400311f1
mov rax, qword [rbp - 8]
jmp 0x14003120f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400311c4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140038ca4
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x140038dee
mov rcx, qword [rbp + 0x10]
call sym.pthread_spin_destroy
cmp eax, 1
jne 0x140038de1
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov word [rbp - 8], 0
mov byte [rbp - 6], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x140038d97
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x140038dad
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x140038d93
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x140038dcc
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sym.abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x140038def
nop
add rsp, 0x90
pop rbp
ret