joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d4d0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140022234
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140022234
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002d620
cmp rax, 0xffffffffffffffff
je 0x14002d620
xor edi, edi
test rbp, rbp
jle 0x14002d5cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001c62c
mov rbx, rax
test rax, rax
jne 0x14002d558
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002d5c1
mov edx, 0x8000
mov ecx, r14d
call fcn.140019ccc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001fc10
cmp eax, 0xffffffff
je 0x14002d5a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002d568
mov edx, r15d
mov ecx, r14d
call fcn.140019ccc
jmp 0x14002d5c1
cmp byte [rsi + 0x38], dil
je 0x14002d5b8
cmp dword [rsi + 0x34], 5
jne 0x14002d5b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002d5c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001c6a4
jmp 0x14002d634
jns 0x14002d634
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140022234
cmp rax, 0xffffffffffffffff
jne 0x14002d5ec
cmp byte [rsi + 0x30], dil
je 0x14002d634
mov edi, dword [rsi + 0x2c]
jmp 0x14002d634
mov ecx, r14d
call fcn.140026220
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002d634
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14002d634
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002d62d
mov eax, dword [rsi + 0x2c]
jmp 0x14002d632
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140022234
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002e250
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002e278
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002e278
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140027a2d
Capabilities:
Terminate process

Disassembly:
jmp 0x140071680
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140027b9f
Capabilities:
Get geographical location

Disassembly:
jmp 0x14006be20
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14006be5d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400281ee
add rsp, 0x58
ret
Function at 0x140027c5d
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400729d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400729f0
xor al, al
jmp 0x140072a71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140072a03
xor al, al
jmp 0x140072a71
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140072a2d
xor al, al
jmp 0x140072a71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140072a41
xor al, al
jmp 0x140072a71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140072a53
xor al, al
jmp 0x140072a71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140072a6f
xor al, al
jmp 0x140072a71
mov al, 1
add rsp, 0x38
ret
Function at 0x140027e74
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140037e90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [0x140087040]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x140091120]
call fcn.140028211
nop
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.140027875
mov qword [rbp + 0x268], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140027aff
test eax, eax
je 0x140037f43
lea rdx, [rbp + 0x3c]
mov rcx, qword [rbp + 0x420]
call fcn.14002721c
test eax, eax
jne 0x140037f2f
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x18]
jmp 0x140037f53
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140027faa
test eax, eax
jne 0x140037f08
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14007ba70]
call fcn.140027f0a
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.1400278ac
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret

Function at 0x14006fcc0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400282c0
movzx eax, al
test eax, eax
jne 0x14006fce0
mov ecx, 7
call fcn.140027f32
nop
mov byte [rsp + 0x20], 0
call fcn.140027f8c
mov byte [rsp + 0x21], al
cmp dword [0x140087dc8], 1
jne 0x14006fd04
mov ecx, 7
call fcn.140027f32
nop
jmp 0x14006fd5c
cmp dword [0x140087dc8], 0
jne 0x14006fd57
mov dword [0x140087dc8], 1
lea rdx, [0x14007a660]
lea rcx, [0x14007a330]
call fcn.140027870
test eax, eax
je 0x14006fd38
mov eax, 0xff
jmp 0x14006fe61
lea rdx, [0x14007a220]
lea rcx, [section..rdata]
call fcn.140027f73
mov dword [0x140087dc8], 2
jmp 0x14006fd5c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140027ef6
call fcn.140027cee
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14006fdb9
mov rcx, qword [rsp + 0x30]
call fcn.1400276fe
movzx eax, al
test eax, eax
je 0x14006fdb9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140092020]
nop
call fcn.140027dca
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14006fded
mov rcx, qword [rsp + 0x38]
call fcn.1400276fe
movzx eax, al
test eax, eax
je 0x14006fded
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14002817b
nop
call fcn.14006ff10
mov dword [rsp + 0x28], eax
call fcn.140027c5d
movzx eax, al
test eax, eax
jne 0x14006fe0c
mov ecx, dword [rsp + 0x28]
call fcn.14002718b
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14006fe1b
call fcn.1400281b7
nop
xor edx, edx
mov cl, 1
call fcn.14002769a
mov eax, dword [rsp + 0x28]
jmp 0x14006fe61
add rsp, 0x68
ret
Function at 0x14000294c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400027b4

Function at 0x140004a63
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400123c0]
jne 0x14000235a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002356
repz ret
ror rcx, 0x10
jmp 0x1400049bc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400138b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400139a8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140004a41
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400138b0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140004a63
mov rax, qword [rsp + 0x88]
mov qword [0x1400139a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140013948], rax
mov rax, qword [0x1400139a8]
mov qword [0x140013820], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140013930], rax
mov dword [0x140013810], 0xc0000409
mov dword [0x140013814], 1
mov rax, qword [0x1400123c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400123c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400138a8], eax
mov ecx, 1
call fcn.1400072e4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000f470]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400138a8], 0
jne 0x140004aea
mov ecx, 1
call fcn.1400072e4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
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 0x140005d00
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 0x140005d33
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x140005d40
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 0x140006760
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 0x140006792
mov rcx, r12
call sym.checkErr__stdZsyncio_u162.part.0
mov rax, r13
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x140006a20
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 0x140006a41
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 0x14000de80
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 0x14000ded0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x30
mov rax, qword [0x140052170]
mov r12, rcx
mov rbx, rdx
test rax, rax
je 0x14000df68
test rcx, rcx
je 0x14000df48
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 0x14000df23
test byte [r12 + 7], 0x40
je 0x14000dfa0
lea rcx, [0x140044400]
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x14000dfc0
add rsp, 0x30
pop rbx
pop r12
pop r13
ret
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], 0
call rax
jmp 0x14000df23
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, 0x30
pop rbx
pop r12
pop r13
jmp sym.fflush
lea rcx, [0x140044420]
call sym.__emutls_get_address
mov rdx, r12
mov rcx, rax
call sym.rawDealloc__system_u7001
jmp 0x14000df23
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, 0x30
pop rbx
pop r12
pop r13
jmp sym.eqcopy___stdZtypedthreads_u169

Function at 0x1400100b0
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 0x14001013f
lea rcx, [0x140044400]
xor r14d, r14d
lea r12, [rsp + 0x20]
call sym.__emutls_get_address
mov rbp, qword [sym.__acrt_iob_func]
mov rdi, rax
jmp 0x14001010d
add r14, 1
add rbx, 0x10
cmp rsi, r14
je 0x140010146
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_u9005
cmp byte [rdi], 0
je 0x140010100
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 0x140018800
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 0x1400189bf
test rdx, rdx
jle 0x14001887b
mov r13, qword [0x140049080]
mov ebx, dword [rcx]
mov rcx, r13
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x140018898
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 0x1400188a0
cmp rsi, rcx
jle 0x14001887d
mov ebx, dword [rbp + rcx]
add rcx, 4
jmp 0x14001884a
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 0x140018888
mov rax, rsi
and eax, 3
je 0x1400189e7
sub rax, 1
mov r8, rcx
xor edx, edx
add r8, rax
js 0x1400189ff
cmp r8, rax
jb 0x1400189ff
test rdx, rdx
jne 0x1400189b3
cmp r8, rsi
jge 0x1400189a0
test r8, r8
js 0x1400189a0
movzx edx, byte [rbp + r8]
test rax, rax
je 0x140018948
sub rax, 1
mov r9, rcx
xor r10d, r10d
add r9, rax
js 0x140018a09
cmp r9, rax
jb 0x140018a09
mov r8, r9
test r10, r10
jne 0x1400189b3
cmp rsi, r9
jle 0x1400189a0
test r9, r9
js 0x1400189a0
movzx r8d, byte [rbp + r9]
shl edx, 8
or edx, r8d
test rax, rax
je 0x140018948
test rcx, rcx
js 0x14001899d
cmp rsi, rcx
jle 0x14001899d
movzx eax, byte [rbp + rcx]
shl edx, 8
or edx, eax
imul ebx, edx, 0xcc9e2d51
mov r13, qword [0x140049080]
rol ebx, 0xf
mov rcx, r13
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x140018898
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 0x140018888
mov r8, rcx
lea rdx, [rsi - 1]
mov rcx, r8
call sym.raiseIndexError2
xor eax, eax
jmp 0x140018888
call sym.raiseOverflow
xor eax, eax
jmp 0x140018888
sar rdx, 0x3f
shr rdx, 0x3e
lea rax, [rsi + rdx]
and eax, 3
sub rax, rdx
test rax, rax
jle 0x1400189ee
sub rax, 1
xor ecx, ecx
xor r12d, r12d
mov r8, rax
jmp 0x1400188d0
xor ebx, ebx
jmp 0x140018958
mov r13, qword [0x140049080]
xor r12d, r12d
xor ebx, ebx
jmp 0x140018958
mov edx, 1
jmp 0x1400188c7
mov r10d, 1
jmp 0x140018909

Function at 0x140018a20
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x140018a48
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp sym.murmurHash__pureZhashes_u194
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 0x140018de0
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 0x140018ec0
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 0x140018e39
test rax, rax
je 0x140018e50
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test rbp, rbp
jle 0x140018e6b
lea rdx, [rdi + 8]
mov rcx, r13
call sym.symAddr__pureZdynlib_u74
cmp byte [rbx], 0
jne 0x140018e39
test rax, rax
jne 0x140018e39
mov r13, qword [0x1400524f8]
test r13, r13
je 0x140018ee8
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 0x140018e39
test rax, rax
jne 0x140018e39
test rbp, rbp
jle 0x140018ed6
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 [0x1400524f8]
test r13, r13
je 0x140018ee8
cmp byte [rbx], 1
je 0x140018ed6
test r13, r13
jne 0x140018e77
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 0x140018ed6
mov qword [0x1400524f8], rax
jmp 0x140018ecc
Function at 0x1400263d0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov rcx, r8
test rax, rax
je 0x1400263f8
mov r8, qword [rax]
cmp word [r8 + 0x12], 1
jle 0x140026430
mov r8, qword [r8 + 0x18]
cmp dword [r8 + 8], 0xc4705800
jne 0x140026430
test rcx, rcx
js 0x140026410
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 0x140026440
Capabilities:
Read file on windows

Disassembly:
push r12
sub rsp, 0x20
mov r9, qword [r8]
mov rax, rcx
mov rcx, qword [r8 + 8]
test rax, rax
je 0x14002646e
mov r8, qword [rax]
cmp word [r8 + 0x12], 1
jle 0x1400264d0
mov r8, qword [r8 + 0x18]
cmp dword [r8 + 8], 0xc4705800
jne 0x1400264d0
mov r8, qword [rdx]
test r9, r9
js 0x1400264b0
cmp r8, r9
jle 0x1400264b0
add rcx, 1
jo 0x1400264e8
xor r12d, r12d
sub rcx, r9
seto r12b
jo 0x1400264e8
test rcx, rcx
js 0x140026500
mov rdx, qword [rdx + 8]
mov r8, rcx
lea rdx, [rdx + r9 + 8]
mov r9, qword [rax + 0x58]
mov rcx, r9
add rsp, 0x20
pop r12
jmp sym.readBuffer__stdZsyncio_u165
lea rdx, [r8 - 1]
mov rcx, r9
xor r12d, r12d
call sym.raiseIndexError2
mov rax, r12
add rsp, 0x20
pop r12
ret
call sym.raiseObjectConversionError
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop r12
ret
call sym.raiseOverflow
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop r12
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
call sym.raiseRangeErrorI
jmp 0x1400264bf
Function at 0x1400305b0
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 0x1400311e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140052688]
test eax, eax
je 0x14003127a
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 0x14003125e
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 0x140031252
cmp qword [rbp - 0x10], 0
je 0x140031252
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 0x140031218
lea rax, [0x140052660]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14003127b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140031380
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 0x1400313a8
mov eax, 0
jmp 0x1400313f6
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 0x1400313d1
mov eax, 0
jmp 0x1400313f6
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 0x1400313f1
mov eax, 0
jmp 0x1400313f6
mov eax, 1
add rsp, 0x20
pop rbp
ret