joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006deb7
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x348
mov rbx, rdx
mov qword [rsp + 0x50], rcx
movzx eax, byte [rdx + 0x378]
test eax, eax
mov qword [rsp + 0x58], r8
je 0x14006df08
cmp eax, 3
jne case.default.0x14006df06
mov r15, r8
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x14013be68]
movsxd rax, dword [rcx + rax*4]
invalid
add rax, rcx
jmp rax
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
and qword [rbx + 0x20], 0
mov qword [rbx + 0x40], rax
jmp 0x14006df3a
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.28_srcclientconnecthttp.rs
Function at 0x1400800f8
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.14008023f
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.140088318
mov rbx, rdx
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi + 8]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x14008019b
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14000ac5b
mov rbx, qword [rsp + 0x40]
jmp 0x140080169
test eax, eax
jne 0x1400801bd
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400801e5
movabs rax, 0xde00000002
jmp 0x1400801c5
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call fcn.140088678
jmp 0x1400801f9
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.1400671dc
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140084f50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14000d150
cmp rax, rcx
je 0x140084f75
cmp rdx, 4
jae 0x140084f78
xor eax, eax
xor r8d, r8d
jmp 0x140085010
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400b6650]
movdqa xmm3, xmmword [0x1400b6660]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140084fa0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140085027
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140085010
ret

Function at 0x140088977
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx

Function at 0x1400891a8
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and byte [rcx - 0x7d], cl
and dword [rax], 0
and byte [rax], al
invalid
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
invalid
jne 0x1400891d2
mov rdx, qword [rsp + 0x20]
jmp 0x1400891da
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x14008e324
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14008e351
xor eax, eax
jmp 0x14008e356
call fcn.1400397f4
nop
add rsp, 0x38
ret
Function at 0x140098d50
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140143320]
mov ecx, 0x10
mov edx, 8
call fcn.140009e70
test rax, rax
je 0x140098e27
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140098ec0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140098e19
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x140098df6
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140009f00
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.140009f00
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400b1180
ud2

Function at 0x140098ff0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140099033
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140095590]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400b1400
ud2

Function at 0x14009c3e0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14009c415
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14009c41a
call fcn.140098ff0
nop
add rsp, 0x38
ret

Function at 0x1400a2340
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400a2347
test al, 1
je 0x1400a2366
test al, 2
jne 0x1400a237e
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140114b48]
mov edx, 0x23
call fcn.1400b15c0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140114b88]
mov edx, 0x25
call fcn.1400b15c0
int3
Function at 0x1400a2dd5
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400a1c7e
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
add byte [rax], al
add bh, bh
adc eax, 0x136b8
Function at 0x1400a3075
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xc0]
lea rbp, [rsp + 0x3a]
lea r13, [rsp + 0x52]
xor ecx, ecx
Function at 0x1400b05e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b062a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b062a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b062a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b062a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b062a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b062c
xor al, al
add rsp, 0x28
ret
Function at 0x1fc313130
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, rdx
test rdx, rdx
jle 0x1fc31319f
mov rbp, qword [fcn.1fc3a4eb0]
mov r12, qword [0x1fc3cd8d0]
mov rbx, rcx
xor esi, esi
lea r13, [rsp + 0x20]
jmp 0x1fc31316d
add rsi, 1
add rbx, 0x10
cmp rsi, rdi
je 0x1fc3131a6
mov ecx, 1
call rbp
movdqu xmm0, xmmword [rbx]
xor r8d, r8d
mov rdx, r13
mov rcx, rax
movups xmmword [rsp + 0x20], xmm0
call fcn.1fc312fe0
cmp byte [r12], 0
je 0x1fc313160
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rbp, qword [fcn.1fc3a4eb0]
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x1fc3a717c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1fc3a55d8
Function at 0x1fc3134e0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
lea rax, [0x1fc3a71a0]
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x20]
mov edx, 0xfa0
mov qword [rsp + 0x38], rax
lea r12, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
call fcn.1fc31ba10
mov rax, qword [rsp + 0x20]
mov rbp, qword [0x1fc3cd8d0]
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
test rbx, rbx
jle 0x1fc3136a0
nop word [rax + rax]
mov rax, qword [rsp + 0x48]
mov r9, rsi
mov r8d, 0xfa0
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
mov rbx, rax
cmp rax, 0xfa0
je 0x1fc313638
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
je 0x1fc313597
mov rcx, rsi
call fcn.1fc312d40
cmp byte [rbp], 0
jne 0x1fc3136f8
test rbx, rbx
js 0x1fc3136e0
lea rsi, [rsp + 0x40]
mov rdx, rbx
mov rcx, rsi
call fcn.1fc316df0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1fc316ba0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jle 0x1fc313616
mov r8, rbx
mov rax, qword [rsp + 0x48]
add r8, 1
jo 0x1fc313702
test r8, r8
js 0x1fc31370c
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea rcx, [rcx + rdx + 8]
lea rdx, [rax + 8]
call fcn.1fc3a5638
add rbx, qword [rsp + 0x30]
jo 0x1fc313702
mov qword [rsp + 0x30], rbx
mov rcx, rsi
call fcn.1fc315cd0
movdqu xmm0, xmmword [rsp + 0x30]
mov rax, rdi
movups xmmword [rdi], xmm0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp byte [rbp], 0
jne 0x1fc3136f8
mov rdx, qword [rsp + 0x40]
mov rcx, r12
call fcn.1fc316ba0
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rbx, rbx
jle 0x1fc3136a0
mov r8, rbx
add r8, 1
jo 0x1fc3136b5
test r8, r8
js 0x1fc3136c0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rdx, 8
lea rcx, [rcx + rax + 8]
call fcn.1fc3a5638
add rbx, qword [rsp + 0x30]
jo 0x1fc3136b5
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jg 0x1fc313558
nop
lea rdx, [rbx - 1]
xor ecx, ecx
lea rsi, [rsp + 0x40]
call fcn.1fc31ac40
jmp 0x1fc313616
call fcn.1fc315e70
jmp 0x1fc313690
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.1fc316500
jmp 0x1fc313690
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.1fc316500
nop dword [rax]
lea rsi, [rsp + 0x40]
jmp 0x1fc313616
call fcn.1fc315e70
jmp 0x1fc313616
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.1fc316500
jmp 0x1fc313616
Function at 0x1fc313730
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], 0
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov qword [rsp + 0x38], 0
test r8, r8
js 0x1fc313830
lea r13, [rsp + 0x20]
mov rdx, r8
mov rcx, r13
call fcn.1fc31ba10
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 0x1fc313890
mov rax, qword [rsp + 0x38]
mov r9, rsi
mov r8, rbx
mov edx, 1
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
mov rbp, rax
cmp rbx, rax
je 0x1fc3137c3
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x1fc313850
mov r14, qword [0x1fc3cd8d0]
cmp byte [r14], 0
jne 0x1fc31380b
mov rcx, rsi
call sub.msvcrt.dll_fgetc
mov rdx, rsi
mov ecx, eax
mov r12d, eax
call sub.msvcrt.dll_ungetc
cmp byte [r14], 0
jne 0x1fc31380b
test r12d, r12d
jns 0x1fc3138a0
cmp rbx, rbp
jle 0x1fc31380b
test rbp, rbp
js 0x1fc313870
lea rcx, [rsp + 0x30]
mov rdx, rbp
call fcn.1fc316df0
movdqu xmm0, xmmword [rsp + 0x30]
mov rax, rdi
movups xmmword [rdi], xmm0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.1fc316500
jmp 0x1fc31380b
mov rcx, rsi
call fcn.1fc312d40
mov r14, qword [0x1fc3cd8d0]
cmp byte [r14], 0
je 0x1fc3137d0
jmp 0x1fc31380b
movabs r8, 0x7fffffffffffffff
xor edx, edx
mov rcx, rbp
call fcn.1fc316500
jmp 0x1fc31380b
sub rdx, 1
xor ecx, ecx
call fcn.1fc31ac40
jmp 0x1fc31380b
mov qword [rsp + 0x40], 0
mov rdx, rsi
mov rcx, r13
mov qword [rsp + 0x48], 0
call fcn.1fc3134e0
movdqu xmm1, xmmword [rsp + 0x20]
cmp byte [r14], 0
movups xmmword [rsp + 0x40], xmm1
jne 0x1fc31391e
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1fc316ba0
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jle 0x1fc31391e
mov r8, rbx
mov rdx, qword [rsp + 0x48]
add r8, 1
jo 0x1fc31392d
test r8, r8
js 0x1fc313938
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rdx, 8
lea rcx, [rcx + rax + 8]
call fcn.1fc3a5638
add rbx, qword [rsp + 0x30]
jo 0x1fc31392d
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
call fcn.1fc315cd0
jmp 0x1fc31380b
call fcn.1fc315e70
jmp 0x1fc31391e
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.1fc316500
jmp 0x1fc31391e
Function at 0x1fc313ca0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rax, [0x1fc3a717b]
pxor xmm0, xmm0
mov rbp, qword [rcx]
mov r13, qword [rcx + 8]
test rbp, rbp
mov qword [rsp + 0xb8], rdx
lea rdx, [r13 + 8]
lea r12, [rsp + 0x30]
mov rdi, r8
cmove rdx, rax
mov rcx, r12
movups xmmword [rsp + 0x40], xmm0
lea r15, [rsp + 0x40]
movups xmmword [rsp + 0x50], xmm0
lea r14, [rsp + 0x50]
call fcn.1fc312bb0
mov rbx, qword [0x1fc3cd8d0]
movdqu xmm1, xmmword [rsp + 0x30]
cmp byte [rbx], 0
movups xmmword [rsp + 0x40], xmm1
jne 0x1fc313da8
lea rdx, [0x1fc3a718b]
mov rcx, r12
call fcn.1fc312bb0
movdqu xmm2, xmmword [rsp + 0x30]
cmp byte [rbx], 0
movups xmmword [rsp + 0x50], xmm2
jne 0x1fc313da8
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.msvcrt.dll__wfopen]
mov rcx, r14
mov rsi, rax
call fcn.1fc312b90
cmp byte [rbx], 0
jne 0x1fc313da8
mov rcx, r15
call fcn.1fc312b90
cmp byte [rbx], 0
jne 0x1fc313da8
test rsi, rsi
je 0x1fc313dd0
test rdi, rdi
jle 0x1fc313ea0
mov rcx, qword [rsp + 0xb8]
mov r9, rsi
mov r8, rdi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x1fc313dc0
movzx edi, byte [rbx]
mov rcx, rsi
mov byte [rbx], 0
call sub.msvcrt.dll_fclose
cmp byte [rbx], 0
jne 0x1fc313da8
mov byte [rbx], dil
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call fcn.1fc312d40
jmp 0x1fc313d92
mov edx, 8
mov ecx, 0x40
lea rsi, [0x1fc3a7163]
call fcn.1fc317080
mov rcx, r12
lea rdx, [rbp + 0xd]
mov rbx, rax
mov rax, qword [0x1fc3cd680]
mov qword [rbx + 0x10], rsi
mov qword [rbx], rax
call fcn.1fc316e60
mov rdi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
movabs rcx, 0x6f20746f6e6e6163
movabs rdx, 0x203a6e65706f20
mov r12, rdi
lea rax, [rdi + r14 + 8]
add r12, 0xd
mov qword [rax], rcx
mov qword [rax + 6], rdx
jo 0x1fc313ef0
test rbp, rbp
jle 0x1fc313ed3
mov r8, rbp
add r8, 1
jo 0x1fc313ee0
test r8, r8
js 0x1fc313eb8
lea rcx, [r12 + r14 + 8]
lea rdx, [r13 + 8]
call fcn.1fc3a5638
add rbp, r12
jo 0x1fc313ee0
mov qword [rbx + 0x18], rbp
mov rdx, rsi
mov rcx, rbx
lea r9, str.io.nim
mov qword [rbx + 0x20], r14
lea r8, str.writeFile
mov qword [rbx + 8], 0
mov qword [rsp + 0x20], 0x381
call fcn.1fc318e40
jmp 0x1fc313da8
lea rdx, [rdi - 1]
xor ecx, ecx
call fcn.1fc31ac40
movzx edi, byte [rbx]
jmp 0x1fc313d95
movabs r8, 0x7fffffffffffffff
xor edx, edx
movabs rcx, 0x8000000000000000
call fcn.1fc316500
mov rbp, r12
jmp 0x1fc313e68
call fcn.1fc315e70
jmp 0x1fc313ed3
call fcn.1fc315e70
mov r12, rdi
jmp 0x1fc313e3a

Function at 0x1fc3141b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x1fc3141cf
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1fc3a55d8
Function at 0x1fc320e80
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
test rax, rax
jle 0x1fc320ee0
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 0x1fc320ea0
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 0x1fc323480
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r8, rdx
sar rdx, 0x3f
mov r10, rcx
shr rdx, 0x3e
mov r11, r8
lea rax, [r8 + rdx]
and eax, 3
sub rax, rdx
sub r11, rax
cmp r8, 3
jle 0x1fc323622
mov rax, qword [0x1fc3cd8d0]
mov edx, dword [rcx]
cmp byte [rax], 0
jne 0x1fc323601
xor r9d, r9d
mov ecx, 4
jmp 0x1fc3234e1
cmp r8, rcx
jle 0x1fc3235f8
mov edx, dword [r10 + rcx]
add rcx, 4
imul eax, edx, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r9d
rol eax, 0xd
lea r9d, [rax + rax*4 - 0x19ab949c]
cmp r11, rcx
jg 0x1fc3234d0
mov rax, r8
and eax, 3
je 0x1fc323638
lea rbx, [rax - 1]
xor edx, edx
mov r11, rbx
add r11, rcx
js 0x1fc32363c
cmp r11, rcx
jb 0x1fc32363c
test rdx, rdx
jne 0x1fc32361b
cmp r8, r11
jle 0x1fc32360d
test r11, r11
js 0x1fc32360d
movzx edx, byte [r10 + r11]
test rbx, rbx
je 0x1fc3235ac
sub rax, 2
xor esi, esi
mov rbx, rax
add rbx, rcx
js 0x1fc323646
cmp rbx, rcx
jb 0x1fc323646
mov r11, rbx
test rsi, rsi
jne 0x1fc32361b
cmp r8, rbx
jle 0x1fc32360d
test rbx, rbx
js 0x1fc32360d
movzx r11d, byte [r10 + rbx]
shl edx, 8
or edx, r11d
test rax, rax
je 0x1fc3235ac
test rcx, rcx
js 0x1fc32360a
cmp r8, rcx
jle 0x1fc32360a
movzx eax, byte [r10 + rcx]
shl edx, 8
or edx, eax
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
mov rax, qword [0x1fc3cd8d0]
cmp byte [rax], 0
jne 0x1fc323601
imul edx, edx, 0x1b873593
xor r9d, r8d
xor r9d, edx
mov eax, r9d
shr eax, 0x10
xor eax, r9d
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 0x1fc323603
lea rdx, [r8 - 1]
call fcn.1fc31ac40
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov r11, rcx
lea rdx, [r8 - 1]
mov rcx, r11
call fcn.1fc31ac40
jmp 0x1fc323601
call fcn.1fc315e70
jmp 0x1fc323601
test rax, rax
jle 0x1fc323650
lea rbx, [rax - 1]
xor ecx, ecx
xor r9d, r9d
mov r11, rbx
jmp 0x1fc323533
xor edx, edx
jmp 0x1fc3235c1
mov edx, 1
jmp 0x1fc32352a
mov esi, 1
jmp 0x1fc32356a
xor r9d, r9d
xor edx, edx
jmp 0x1fc3235b5

Function at 0x1fc323660
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
test rdx, rdx
js 0x1fc323688
lea rcx, [rax + 8]
test rax, rax
cmove rcx, rax
add rsp, 0x28
jmp fcn.1fc323480
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.1fc31d5c0
xor eax, eax
add rsp, 0x28
ret
Function at 0x1fc337a10
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, qword [rcx]
mov rdi, qword [rcx + 8]
mov rsi, rbx
cmp rdi, rbx
jl 0x1fc337ad0
mov rax, qword [0x1fc3cd8d0]
movzx eax, byte [rax]
sub rdi, rbx
jne 0x1fc337a50
test al, al
jne 0x1fc337b3c
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov rcx, qword [0x1fc3d9130]
mov r8, qword [0x1fc3d9138]
cmp rdi, 0xffffffffffffffff
je 0x1fc337b38
test al, al
jne 0x1fc337b3c
mov rax, 0xffffffffffffffff
xor edx, edx
div rdi
lea rax, [r8 + rcx]
xor r8, rcx
ror rcx, 9
mov rsi, rdx
mov r9, r8
xor rcx, r8
ror r8, 0x1c
shl r9, 0xe
xor rcx, r9
add rsi, rax
jb 0x1fc337a7c
lea r9, [rdi + 1]
xor edx, edx
div r9
mov qword [0x1fc3d9130], rcx
mov qword [0x1fc3d9138], r8
lea rsi, [rbx + rdx]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
movdqu xmm0, xmmword [0x1fc3ac240]
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
call fcn.1fc311dc0
mov rax, qword [0x1fc3cd8d0]
cmp byte [rax], 0
jne 0x1fc337b3c
sub rdi, rbx
je 0x1fc337a41
mov rcx, qword [0x1fc3d9130]
mov r8, qword [0x1fc3d9138]
cmp rdi, 0xffffffffffffffff
jne 0x1fc337a70
lea rdx, [rcx + r8]
xor r8, rcx
ror rcx, 9
mov rax, r8
xor rcx, r8
ror r8, 0x1c
shl rax, 0xe
xor rcx, rax
jmp 0x1fc337aa9
test al, al
je 0x1fc337b14
xor esi, esi
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
Function at 0x1fc35b0d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rbx
test rdx, rdx
lea r11, [rdx + 7]
mov r9, rdx
mov eax, r8d
cmovns r11, rdx
sar r11, 3
cmp rdx, 7
jle 0x1fc35b1ce
mov rdx, qword [0x1fc3cd8d0]
cmp byte [rdx], 0
jne 0x1fc35b1cb
xor r10d, r10d
lea r8, [0x1fc3b0060]
nop dword [rax + rax]
mov ebx, dword [rcx + r10*8 + 4]
xor eax, dword [rcx + r10*8]
add r10, 1
mov edx, ebx
movzx esi, bl
shr edx, 0x18
mov edx, dword [r8 + rdx*4]
xor edx, dword [r8 + rsi*4 + 0xc00]
movzx esi, al
xor edx, dword [r8 + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor edx, dword [r8 + rsi*4 + 0x1000]
movzx esi, bh
shr ebx, 0x10
movzx ebx, bl
mov esi, esi
xor edx, dword [r8 + rsi*4 + 0x800]
xor edx, dword [r8 + rbx*4 + 0x400]
movzx ebx, ah
shr eax, 0x10
movzx eax, al
mov ebx, ebx
xor edx, dword [r8 + rbx*4 + 0x1800]
xor edx, dword [r8 + rax*4 + 0x1400]
mov eax, edx
cmp r11, r10
jg 0x1fc35b110
lea rdx, [r11*8]
cmp r9, 7
mov r8d, 8
cmovle rdx, r8
cmp r9, rdx
jle 0x1fc35b1cb
add rdx, rcx
lea r8, [0x1fc3b0060]
add rcx, r9
nop
movzx r9d, byte [rdx]
add rdx, 1
xor r9d, eax
shr eax, 8
movzx r9d, r9b
xor eax, dword [r8 + r9*4]
cmp rdx, rcx
jne 0x1fc35b1b0
pop rbx
pop rsi
ret
xor edx, edx
jmp 0x1fc35b19c