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

Disassembly:
push rsi
xor eax, eax
push rbx
mov r8b, byte [rdx + rax]
mov byte [rcx + rax], r8b
mov r8b, byte [rdx + rax + 1]
mov byte [rcx + rax + 1], r8b
mov r8b, byte [rdx + rax + 2]
mov byte [rcx + rax + 2], r8b
mov r8b, byte [rdx + rax + 3]
mov byte [rcx + rax + 3], r8b
add rax, 4
cmp rax, 0x20
jne 0x303ffb7f4
mov r11d, 8
lea r10, str.cw
lea rbx, [0x304001140]
mov esi, r11d
movzx r9d, byte [rcx + 0x1c]
movzx r8d, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1e]
movzx eax, byte [rcx + 0x1f]
and esi, 7
jne 0x303ffb872
mov sil, byte [r10 + r8]
mov r8b, byte [r10 + rdx]
mov dl, byte [r10 + rax]
mov al, byte [r10 + r9]
mov r9d, r11d
shr r9d, 3
xor sil, byte [rbx + r9]
mov r9d, esi
jmp 0x303ffb887
cmp esi, 4
jne 0x303ffb887
mov r9b, byte [r10 + r9]
mov r8b, byte [r10 + r8]
mov dl, byte [r10 + rdx]
mov al, byte [r10 + rax]
xor r9b, byte [rcx]
xor r8b, byte [rcx + 1]
inc r11d
add rcx, 4
xor dl, byte [rcx - 2]
xor al, byte [rcx - 1]
mov byte [rcx + 0x1c], r9b
mov byte [rcx + 0x1d], r8b
mov byte [rcx + 0x1e], dl
mov byte [rcx + 0x1f], al
cmp r11d, 0x3c
jne 0x303ffb838
pop rbx
pop rsi
ret

Function at 0x303ffb8d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
xor r15d, r15d
push r14
push r13
push r12
mov r12, rcx
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rax, dword [rcx + 0x3c]
mov dword [rsp + 0xa8], edx
mov qword [rsp + 0x38], 0
add rax, rcx
mov qword [rsp + 0x40], 0
mov ebx, dword [rax + 0x88]
mov qword [rsp + 0x48], 0
mov eax, dword [rax + 0x8c]
add rbx, rcx
mov esi, dword [rbx + 0x20]
mov r13d, dword [rbx + 0x1c]
mov dword [rsp + 0x2c], eax
mov r14d, dword [rbx + 0x24]
cmp dword [rbx + 0x18], r15d
jbe 0x303ffb9c5
mov edi, r15d
lea rax, [r12 + rdi*4]
mov ebp, dword [rax + rsi]
add rbp, r12
mov rcx, rbp
call fcn.303ffac60
cmp eax, dword [rsp + 0xa8]
jne 0x303ffb9c9
add rdi, rdi
add rdi, r12
movzx eax, word [rdi + r14]
lea rax, [r12 + rax*4]
mov eax, dword [rax + r13]
add rax, r12
mov qword [rsp + 0x38], rax
cmp rax, rbx
jae 0x303ffb97c
mov rax, qword [rsp + 0x38]
jmp 0x303ffb9d1
mov esi, dword [rsp + 0x2c]
add rsi, r12
add rsi, rbx
cmp rax, rsi
jae 0x303ffb975
mov rcx, rbp
call fcn.303ffdd50
xor r8d, r8d
mov qword [rsp + 0x48], rbp
mov rcx, r12
mov word [rsp + 0x40], ax
inc eax
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x38]
mov word [rsp + 0x42], ax
mov rax, qword [0x3040012a0]
call qword [rax + 0x26e]
test eax, eax
jns 0x303ffb975
xor eax, eax
jmp 0x303ffb9d1
inc r15d
jmp 0x303ffb92d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x303ffcf20
Capabilities:
Enumerate pe sections

Disassembly:
movsxd r8, dword [rcx + 0x3c]
add r8, rcx
movzx eax, word [r8 + 0x14]
mov r10w, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
xor r8d, r8d
cmp r10w, r8w
je 0x303ffcf68
mov r9d, dword [rax + 0xc]
cmp r9d, edx
ja 0x303ffcf5f
mov r11d, dword [rax + 8]
add r11d, r9d
cmp r11d, edx
jbe 0x303ffcf5f
add edx, dword [rax + 0x14]
sub edx, r9d
lea rax, [rdx + rcx]
ret
inc r8d
add rax, 0x28
jmp 0x303ffcf39
xor eax, eax
ret
Function at 0x303ffd030
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
mov r12, rcx
push rbp
mov rdx, r12
push rdi
push rsi
xor esi, esi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x303ffd030
mov rdx, r12
mov ebx, eax
add rbx, r12
mov ecx, dword [rbx + 0x20]
call 0x303ffd030
mov ecx, dword [rbx + 0x24]
mov rdx, r12
mov ebp, eax
call 0x303ffd030
mov r15d, dword [rbx + 0x18]
add rbp, r12
mov edi, eax
add rdi, r12
lea r14, [rsi + rsi]
add r14, rdi
cmp r15, rsi
je 0x303ffabf1
mov ecx, dword [rbp + rsi*4]
mov rdx, r12
call 0x303ffd030
mov r13d, eax
add r13, r12
mov rcx, r13
call fcn.303ffac60
cmp eax, 0xa6caa1c5
jne 0x303ffabdd
mov ecx, dword [rbx + 0x1c]
mov rdx, r12
call 0x303ffd030
movzx edx, word [r14]
mov eax, eax
add rax, r12
mov ecx, dword [rax + rdx*4]
add rsp, 0x28
mov rdx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x303ffd030
mov rcx, r13
inc rsi
call fcn.303ffac60
cmp eax, 0xffe885ef
jne 0x303ffab81
jmp 0x303ffabae
add rsp, 0x28
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp dword [rdx + 0x14], eax
ja 0x303ffd07a
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x303ffd078
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x303ffd070
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp r10d, eax
jbe 0x303ffd070
add eax, dword [rdx + 0x14]
sub eax, r8d
ret
inc ecx
add rdx, 0x28
jmp 0x303ffd04e
xor eax, eax
ret
Function at 0x303ffdfd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
mov r14, rdx
mov edx, 0x180024b6
push r13
push r12
xor r12d, r12d
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
sub rsp, 0x178
mov rbp, qword [0x3040012a0]
lea rdi, [rsp + 0x7c]
mov rcx, qword [rbp + 0x70e]
call fcn.303ffb8d0
mov ecx, 0x3d
mov byte [rsp + 0x6b], 0xbb
mov r8, rax
xor eax, eax
mov word [rsp + 0x69], 0x4900
rep stosd dword [rdi], eax
lea rax, [r8 + 0x12]
mov rcx, rbx
mov qword [rsp + 0x6c], 0
mov qword [rsp + 0x50], rax
movsxd rax, dword [rbx + 0x3c]
mov qword [rsp + 0x74], 0
mov edx, dword [rbx + rax + 0x88]
call fcn.303ffcf20
mov rsi, rax
mov eax, dword [rax + 0x18]
mov edx, dword [rsi + 0x1c]
mov dword [rsp + 0x34], eax
call fcn.303ffcf20
mov edx, dword [rsi + 0x20]
mov qword [rsp + 0x38], rax
call fcn.303ffcf20
mov edx, dword [rsi + 0x24]
mov qword [rsp + 0x40], rax
call fcn.303ffcf20
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
xor edx, edx
mov qword [rsp + 0x48], rax
mov r8d, 0x10000
or rcx, 0xffffffffffffffff
call qword [rbp + 0xfe]
test rax, rax
je 0x303ffe1c8
mov dword [rsp + 0x30], 0
mov rbp, rax
lea r15, [rsp + 0x6c]
mov esi, dword [rsp + 0x34]
cmp dword [rsp + 0x30], esi
jae 0x303ffe1c8
cmp r12d, 0x3ff
ja 0x303ffe1c8
mov rax, qword [rsp + 0x40]
mov edi, dword [rsp + 0x30]
mov rcx, rbx
mov edx, dword [rax + rdi*4]
call fcn.303ffcf20
cmp word [rax], 0x775a
mov rsi, rax
jne 0x303ffe1bf
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + rdi*2]
mov rdi, qword [rsp + 0x38]
mov edx, dword [rdi + rax*4]
call fcn.303ffcf20
mov r9d, 3
mov edx, 0x40
lea r8, [0x30400111a]
mov rcx, rax
mov r13, rax
call fcn.303ff9d80
add rax, 3
mov qword [rsp + 0x58], rax
je 0x303ffe1bf
mov rcx, rsi
mov rdi, r15
call fcn.303ffdd50
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rcx, r15
mov word [rsp + 0x6c], 0x744e
mov rsi, r13
call fcn.303ffac60
mov edx, r12d
mov rcx, qword [rsp + 0x58]
shl rdx, 4
mov eax, eax
mov qword [r14 + rdx + 8], rax
mov eax, r12d
sub rcx, r13
inc r12d
shl eax, 6
sub rcx, 0xd
lea r8, [rbp + rax]
mov rdi, r8
rep movsb byte [rdi], byte [rsi]
mov cx, word [rsp + 0x69]
mov rdi, qword [rsp + 0x50]
mov dword [rbp + rax + 0x12], 0xc3e3ff41
mov word [rbp + rax + 7], cx
mov cl, byte [rsp + 0x6b]
mov qword [rbp + rax + 0xa], rdi
mov byte [rbp + rax + 9], cl
mov rcx, r15
mov qword [r14 + rdx], r8
mov r8d, 0x104
xor edx, edx
call fcn.303ffbb80
inc dword [rsp + 0x30]
jmp 0x303ffe0b9
add rsp, 0x178
mov eax, r12d
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14003bae0]
mov dword [rax], 1
mov rax, qword [0x14003baf0]
mov dword [rax], 1
mov rax, qword [0x14003bb00]
mov dword [rax], 1
mov rax, qword [0x14003bad0]
mov dword [rax], 1
mov rax, qword [0x14003b980]
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 0x140005b40
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 0x140005b73
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x140005b80
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 0x140005bd0
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, [0x140038330]
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 0x140005d48
mov rcx, qword [0x14003b960]
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 0x140005ce0
mov rcx, r13
call sym.ferror
test eax, eax
je 0x140005ca3
mov rcx, r13
call sym.checkErr__stdZsyncio_u162.part.0
cmp byte [rsi], 0
je 0x140005d90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140005cc0
test byte [rcx + 7], 0x40
je 0x140005d80
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 0x140005cac
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 0x140005d48
mov r8, rbx
add r8, 1
jo 0x140005d5d
test r8, r8
js 0x140005d68
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 0x140005d5d
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jg 0x140005c68
nop dword [rax]
xor ecx, ecx
lea rdx, [rbx - 1]
call sym.raiseIndexError2
mov rcx, qword [rsp + 0x48]
jmp 0x140005cb1
call sym.raiseOverflow
jmp 0x140005d33
mov r8, r15
xor edx, edx
mov rcx, rbp
call sym.raiseRangeErrorI
jmp 0x140005d33
call sym.deallocShared
jmp 0x140005cc0
test r12, r12
js 0x140005e08
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 0x140005cb1
mov r8, rbx
add r8, 1
jo 0x140005e4b
test r8, r8
js 0x140005e26
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 0x140005e4b
mov qword [rsp + 0x30], rbx
mov rcx, qword [rsp + 0x48]
jmp 0x140005cb1
movabs r8, 0x7fffffffffffffff
mov rcx, r12
xor edx, edx
call sym.raiseRangeErrorI
mov rcx, qword [rsp + 0x48]
jmp 0x140005cb1
movabs rcx, 0x8000000000000000
xor edx, edx
movabs r8, 0x7fffffffffffffff
call sym.raiseRangeErrorI
mov rcx, qword [rsp + 0x48]
jmp 0x140005cb1
call sym.raiseOverflow
jmp 0x140005cac
Function at 0x140005e60
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 0x140005f50
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 0x140005fa0
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 0x140005ee2
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x140005f70
mov rcx, qword [0x14003b960]
call sym.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x140005f2e
mov rcx, r13
call sym.fgetc
mov rdx, r13
mov ecx, eax
mov esi, eax
call sym.ungetc
cmp byte [rbx], 0
jne 0x140005f2e
test esi, esi
jns 0x140005fb0
cmp r12, r15
jle 0x140005f2e
test r15, r15
js 0x140005f80
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 0x140005f2e
mov rcx, r13
call sym.checkErr__stdZsyncio_u162.part.0
jmp 0x140005ee2
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, r15
call sym.raiseRangeErrorI
jmp 0x140005f2e
sub rdx, 1
xor ecx, ecx
call sym.raiseIndexError2
jmp 0x140005f2e
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 0x14000600f
lea rcx, [rsp + 0x30]
mov rdx, rsi
call sym.prepareAdd
test rsi, rsi
jle 0x14000600f
mov r8, rsi
add r8, 1
jo 0x140006031
test r8, r8
js 0x140006040
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 0x140006031
mov qword [rsp + 0x30], rsi
test r12, r12
je 0x140005f2e
test byte [r12 + 7], 0x40
jne 0x140005f2e
mov rcx, r12
call sym.deallocShared
jmp 0x140005f2e
call sym.raiseOverflow
jmp 0x14000600f
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call sym.raiseRangeErrorI
jmp 0x14000600f

Function at 0x140006310
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 0x14000d260
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 0x14000d2b0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x40
mov rax, qword [0x140044150]
mov r12, rcx
mov rbx, rdx
test rax, rax
je 0x14000d360
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
test rcx, rcx
je 0x14000d340
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 [0x140044150]
test r12, r12
je 0x14000d319
test byte [r12 + 7], 0x40
je 0x14000d398
lea rcx, [0x140037400]
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x14000d3b8
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 0x14000d319
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, [0x140037420]
call sym.__emutls_get_address
mov rdx, r12
mov rcx, rax
call sym.rawDealloc__system_u7002
jmp 0x14000d319
mov byte [rax], 0
lea rcx, [0x140037300]
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 0x14000e210
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
test rax, rax
jle 0x14000e270
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 0x14000e230
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 0x14000e670
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, [0x140044120]
mov rsi, rdx
mov rbx, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rsi, rsi
jle 0x14000e6ff
lea rcx, [0x140037400]
xor r14d, r14d
lea r12, [rsp + 0x20]
call sym.__emutls_get_address
mov rbp, qword [sym.__acrt_iob_func]
mov rdi, rax
jmp 0x14000e6cd
add r14, 1
add rbx, 0x10
cmp rsi, r14
je 0x14000e706
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_u8960
cmp byte [rdi], 0
je 0x14000e6c0
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, [0x140038401]
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 0x140014260
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 0x14001441b
test rdx, rdx
jle 0x1400142db
mov r14, qword [0x14003b960]
mov ebx, dword [rcx]
mov rcx, r14
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x1400142e6
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 0x140014300
cmp rsi, rcx
jle 0x1400142dd
mov ebx, dword [r13 + rcx]
add rcx, 4
jmp 0x1400142ab
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 0x140014442
sub rax, 1
mov r8, rcx
xor edx, edx
add r8, rax
js 0x140014459
cmp r8, rax
jb 0x140014459
test rdx, rdx
jne 0x140014411
cmp r8, rsi
jge 0x140014400
test r8, r8
js 0x140014400
movzx edx, byte [r13 + r8]
test rax, rax
je 0x1400143a9
sub rax, 1
mov r9, rcx
xor r10d, r10d
add r9, rax
js 0x140014463
cmp r9, rax
jb 0x140014463
mov r8, r9
test r10, r10
jne 0x140014411
cmp rsi, r9
jle 0x140014400
test r9, r9
js 0x140014400
movzx r8d, byte [r13 + r9]
shl edx, 8
or edx, r8d
test rax, rax
je 0x1400143a9
test rcx, rcx
js 0x1400143fd
cmp rsi, rcx
jle 0x1400143fd
movzx eax, byte [r13 + rcx]
shl edx, 8
or edx, eax
imul ebx, edx, 0xcc9e2d51
mov r14, qword [0x14003b960]
rol ebx, 0xf
mov rcx, r14
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x1400142e6
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 0x1400142e6
mov r8, rcx
lea rdx, [rsi - 1]
mov rcx, r8
call sym.raiseIndexError2
jmp 0x1400142e6
call sym.raiseOverflow
jmp 0x1400142e6
sar rdx, 0x3f
shr rdx, 0x3e
lea rax, [rsi + rdx]
and eax, 3
sub rax, rdx
test rax, rax
jle 0x140014449
sub rax, 1
xor ecx, ecx
xor ebp, ebp
mov r8, rax
jmp 0x140014330
xor ebx, ebx
jmp 0x1400143b9
mov r14, qword [0x14003b960]
xor ebp, ebp
xor ebx, ebx
jmp 0x1400143b9
mov edx, 1
jmp 0x140014327
mov r10d, 1
jmp 0x140014369

Function at 0x140014470
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x140014498
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 0x140023c40
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 0x140024872
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140044448]
test eax, eax
je 0x14002490a
lea rax, [0x140044420]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140044450]
mov qword [rbp - 8], rax
jmp 0x1400248ee
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 0x1400248e2
cmp qword [rbp - 0x10], 0
je 0x1400248e2
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 0x1400248a8
lea rax, [0x140044420]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14002490b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140024a10
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 0x140024a38
mov eax, 0
jmp 0x140024a86
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 0x140024a61
mov eax, 0
jmp 0x140024a86
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 0x140024a81
mov eax, 0
jmp 0x140024a86
mov eax, 1
add rsp, 0x20
pop rbp
ret