joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002b6e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor esi, esi
mov edi, esi
mov dword [rsp + 0x20], esi
mov rbx, qword [0x1800722c8]
mov qword [rsp + 0x48], rsi
mov eax, dword [0x180071c80]
test eax, eax
je 0x18002b72d
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180071c80]
test eax, eax
jne 0x18002b736
call fcn.18000d3d0
test eax, eax
je 0x18002b74c
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18002b750
xor eax, eax
jmp 0x18002b7a9
test rbx, rbx
jne 0x18002b770
lea rcx, str.ImageList_GetImageCount
call fcn.18002b420
mov rbx, rax
test rax, rax
je 0x18002b77b
mov qword [0x1800722c8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
mov ebx, esi
test edi, edi
sete bl
test ebx, ebx
je 0x18002b78e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x18002b7a7
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x18002b7c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor esi, esi
mov edi, esi
mov dword [rsp + 0x20], esi
mov rbx, qword [0x1800722b0]
mov qword [rsp + 0x48], rsi
mov eax, dword [0x180071c80]
test eax, eax
je 0x18002b80d
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180071c80]
test eax, eax
jne 0x18002b816
call fcn.18000d3d0
test eax, eax
je 0x18002b82c
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18002b830
xor eax, eax
jmp 0x18002b889
test rbx, rbx
jne 0x18002b850
lea rcx, str.InitCommonControlsEx
call fcn.18002b420
mov rbx, rax
test rax, rax
je 0x18002b85b
mov qword [0x1800722b0], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
mov ebx, esi
test edi, edi
sete bl
test ebx, ebx
je 0x18002b86e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x18002b887
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1800017a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp edx, 1
jne 0x1800017b8
call fcn.1800010d0
mov eax, 1
add rsp, 0x28
ret
test edx, edx
jne 0x1800019c7
xor ecx, ecx
lea r9, str._b1__t
xor r10d, r10d
lea r11, str.UKaEofeSSqaBS
xor edx, edx
cmp ecx, 0xd
cmovne edx, ecx
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 - 1], al
lea eax, [rdx + 1]
cmp edx, 0xc
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9], al
lea eax, [rcx + 1]
cmp ecx, 0xc
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 1], al
lea eax, [rdx + 1]
cmp edx, 0xc
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 + 2], al
lea eax, [rcx + 1]
cmp ecx, 0xc
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 3], al
lea eax, [rdx + 1]
cmp edx, 0xc
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 + 4], al
lea eax, [rcx + 1]
cmp ecx, 0xc
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 5], al
lea eax, [rdx + 1]
cmp edx, 0xc
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 + 6], al
lea eax, [rcx + 1]
cmp ecx, 0xc
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 7], al
lea eax, [rdx + 1]
cmp edx, 0xc
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 + 8], al
lea eax, [rcx + 1]
cmp ecx, 0xc
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 9], al
lea eax, [rdx + 1]
cmp edx, 0xc
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor edx, edx
xor byte [r9 + 0xa], al
lea r9, [r9 + 0x13]
cmp ecx, 0xc
lea eax, [rcx + 1]
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 - 8], al
lea eax, [rdx + 1]
cmp edx, 0xc
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 - 7], al
lea eax, [rcx + 1]
cmp ecx, 0xc
cmovne edx, eax
xor ecx, ecx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 - 6], al
lea eax, [rdx + 1]
cmp edx, 0xc
cmovne ecx, eax
xor edx, edx
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 - 5], al
lea eax, [rcx + 1]
cmp ecx, 0xc
cmovne edx, eax
xor r8d, r8d
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 - 4], al
lea eax, [rdx + 1]
cmp edx, 0xc
cmovne r8d, eax
xor ecx, ecx
movsxd rax, r8d
movzx eax, byte [rax + r11]
xor byte [r9 - 3], al
lea eax, [r8 + 1]
cmp r8d, 0xc
cmovne ecx, eax
add r10d, 0x13
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 - 2], al
inc ecx
cmp r10d, 0x13
jb 0x1800017d3
lea rcx, str.V8____XE__
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x180003240]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x180003288]
mov edx, 0xffffffff
call rax
mov eax, 1
add rsp, 0x28
ret
Function at 0x4019c6
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0x10]
call fcn.00426440
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
lea rdx, str.open
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
nop
add rsp, 0x30
pop rbp
ret

Function at 0x40bb10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x004cc624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x40bc98
mov rax, qword [0x004cc628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x40bb5c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x40bbe5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x40bb40
mov rcx, rbx
call fcn.0040c7b0
test rax, rax
mov r12, rax
je 0x40bccd
mov rax, qword [0x004cc628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.0040c8e0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x004cc628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40bcb0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40bbde
sub eax, 0x40
and eax, 0xffffffbf
jne 0x40bc40
add dword [0x004cc624], 1
cmp edi, 8
jae 0x40bc13
test dil, 4
jne 0x40bc84
test edi, edi
je 0x40bc08
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40bc9f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x40bc08
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x40bc2c
jmp 0x40bc08
add rsi, qword [0x004cc628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40bbde
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.0049fa00
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x40bc08
xor esi, esi
jmp 0x40bb67
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x40bc08
mov rax, qword [0x004cc628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.0049fa00
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.0049fa00
nop
nop dword [rax]
Function at 0x40c420
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004cc900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004cc8e0]
test rbx, rbx
je 0x40c474
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40c46b
test rsi, rsi
je 0x40c46b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x40c450
lea rcx, [0x004cc900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x40c7b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004a83b0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x40c81d
mov rcx, r8
call fcn.0040c690
test eax, eax
je 0x40c81d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40c81d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x40c814
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x40c81f
add rax, 0x28
cmp rax, r9
jne 0x40c800
xor eax, eax
add rsp, 0x28
ret
Function at 0x469130
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
jmp 0x469158
call r12
cmp dword [rax], 4
jne 0x469176
mov rcx, rbp
call fcn.00469030
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x469150
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x49f0b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x004a2f20]
jmp 0x40d5d0

Function at 0x49fa00
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp fcn.00401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.00417cb0
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.00417cb0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x1406280b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140628237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406280e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406280c7
add dl, dl
jne 0x1406280ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062814e
xor eax, eax
add dl, dl
jne 0x1406280fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140628205
add dl, dl
jne 0x14062810e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062811b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140628128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140628135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140628142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406280d6
mov eax, 1
add dl, dl
jne 0x14062815e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062816b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140628153
sub eax, ebx
mov ebx, 1
jne 0x1406281a4
mov ecx, 1
add dl, dl
jne 0x140628186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140628193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062817b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406280d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406281c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406281cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406281b5
cmp eax, 0x7d00
jae 0x1406281f3
cmp eax, 0x500
jb 0x1406281ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406280d6
cmp eax, 0x7f
ja 0x1406281f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406280d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14062822a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406280d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000dbf0
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 0x14000dca0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
test rcx, rcx
je 0x14000dc80
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 0x14000dc59
test byte [r12 + 7], 0x40
je 0x14000dcd8
lea rcx, [0x140044440]
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x14000dcf8
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 0x14000dc59
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_u7009
jmp 0x14000dc59
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_u169

Function at 0x14000fd80
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 0x14000fe0f
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 0x14000fddd
add r14, 1
add rbx, 0x10
cmp rsi, r14
je 0x14000fe16
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_u8967
cmp byte [rdi], 0
je 0x14000fdd0
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 0x140018380
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 0x14001853b
test rdx, rdx
jle 0x1400183fb
mov r14, qword [0x140049120]
mov ebx, dword [rcx]
mov rcx, r14
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x140018406
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 0x140018420
cmp rsi, rcx
jle 0x1400183fd
mov ebx, dword [r13 + rcx]
add rcx, 4
jmp 0x1400183cb
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 0x140018562
sub rax, 1
mov r8, rcx
xor edx, edx
add r8, rax
js 0x140018579
cmp r8, rax
jb 0x140018579
test rdx, rdx
jne 0x140018531
cmp r8, rsi
jge 0x140018520
test r8, r8
js 0x140018520
movzx edx, byte [r13 + r8]
test rax, rax
je 0x1400184c9
sub rax, 1
mov r9, rcx
xor r10d, r10d
add r9, rax
js 0x140018583
cmp r9, rax
jb 0x140018583
mov r8, r9
test r10, r10
jne 0x140018531
cmp rsi, r9
jle 0x140018520
test r9, r9
js 0x140018520
movzx r8d, byte [r13 + r9]
shl edx, 8
or edx, r8d
test rax, rax
je 0x1400184c9
test rcx, rcx
js 0x14001851d
cmp rsi, rcx
jle 0x14001851d
movzx eax, byte [r13 + rcx]
shl edx, 8
or edx, eax
imul ebx, edx, 0xcc9e2d51
mov r14, qword [0x140049120]
rol ebx, 0xf
mov rcx, r14
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x140018406
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 0x140018406
mov r8, rcx
lea rdx, [rsi - 1]
mov rcx, r8
call sym.raiseIndexError2
jmp 0x140018406
call sym.raiseOverflow
jmp 0x140018406
sar rdx, 0x3f
shr rdx, 0x3e
lea rax, [rsi + rdx]
and eax, 3
sub rax, rdx
test rax, rax
jle 0x140018569
sub rax, 1
xor ecx, ecx
xor ebp, ebp
mov r8, rax
jmp 0x140018450
xor ebx, ebx
jmp 0x1400184d9
mov r14, qword [0x140049120]
xor ebp, ebp
xor ebx, ebx
jmp 0x1400184d9
mov edx, 1
jmp 0x140018447
mov r10d, 1
jmp 0x140018489

Function at 0x140018590
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x1400185b8
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 0x140018900
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 [0x140049120]
call sym.__emutls_get_address
mov rbx, rax
test r13, r13
je 0x140018983
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 0x140018955
test rax, rax
je 0x140018968
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test rbp, rbp
jle 0x140018983
lea rdx, [rdi + 8]
mov rcx, r13
call sym.symAddr__pureZdynlib_u74
cmp byte [rbx], 0
jne 0x140018955
test rax, rax
jne 0x140018955
mov r13, qword [0x1400524f8]
test r13, r13
je 0x1400189e0
cmp byte [rbx], 1
je 0x140018a00
test r13, r13
je 0x140018a00
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 0x140018955
test rax, rax
jne 0x140018955
test rbp, rbp
jle 0x140018a00
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 0x140018a00
mov qword [0x1400524f8], rax
jmp 0x14001898f
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140025da0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov rcx, r8
test rax, rax
je 0x140025dc8
mov r8, qword [rax]
cmp word [r8 + 0x12], 1
jle 0x140025e00
mov r8, qword [r8 + 0x18]
cmp dword [r8 + 8], 0x2444a200
jne 0x140025e00
test rcx, rcx
js 0x140025de0
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 0x140025e50
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 0x140025e7c
mov r8, qword [rax]
cmp word [r8 + 0x12], 1
jle 0x140025ed0
mov r8, qword [r8 + 0x18]
cmp dword [r8 + 8], 0x2444a200
jne 0x140025ed0
mov r8, qword [rdx]
test r9, r9
js 0x140025eb8
cmp r8, r9
jle 0x140025eb8
add rcx, 1
jo 0x140025edc
sub rcx, r9
jo 0x140025edc
test rcx, rcx
js 0x140025ef0
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 0x140025ec4
Function at 0x1400302f0
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 0x140030f22
Capabilities:
Get thread local storage value

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

Function at 0x1400310c0
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 0x1400310e8
mov eax, 0
jmp 0x140031136
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 0x140031111
mov eax, 0
jmp 0x140031136
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 0x140031131
mov eax, 0
jmp 0x140031136
mov eax, 1
add rsp, 0x20
pop rbp
ret