joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002cf20
Capabilities:
Hash data using sha256

Disassembly:
push rdi
sub rsp, 0xd0
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov edi, ecx
cmp cl, 1
je 0x14002cf6a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Invalid_flags
lea rdx, str._libsecp256k1__illegal_argument:__s_n
call fcn.14002ced0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov ecx, 0xc8
mov qword [rsp + 0xe0], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14002cfab
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.Out_of_memory
lea rdx, str._libsecp256k1__internal_consistency_check_failed:__s_n
call fcn.14002ced0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rcx, qword [str.For_this_sample__this_63_byte_string_will_be_used_as_input_data]
lea rdx, [rsp + 0xa0]
mov dword [rsp + 0x30], 0x6a09e667
mov dword [rsp + 0x34], 0xbb67ae85
mov dword [rsp + 0x38], 0x3c6ef372
movups xmm0, xmmword [rcx]
mov eax, dword [rcx + 0x38]
movups xmm1, xmmword [rcx + 0x10]
mov dword [rsp + 0x88], eax
movzx eax, word [rcx + 0x3c]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rcx + 0x20]
mov word [rsp + 0x8c], ax
movzx eax, byte [rcx + 0x3e]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm1, qword [rcx + 0x30]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x3c], 0xa54ff53a
mov dword [rsp + 0x40], 0x510e527f
mov dword [rsp + 0x44], 0x9b05688c
mov dword [rsp + 0x48], 0x1f83d9ab
mov dword [rsp + 0x4c], 0x5be0cd19
mov qword [rsp + 0x90], 0x3f
movsd qword [rsp + 0x80], xmm1
mov byte [rsp + 0x8e], al
call fcn.140031fe0
xor eax, eax
lea r8, [0x14005ffb0]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
movzx edx, byte [rsp + rax + 0xa0]
cmp edx, ecx
jne 0x14002d0e6
inc rax
cmp rax, 0x20
jb 0x14002d070
movups xmm0, xmmword [0x1400600e8]
xor edx, edx
mov rcx, rbx
movups xmmword [rbx + 0xa0], xmm0
movups xmm1, xmmword [0x1400600f8]
movups xmmword [rbx + 0xb0], xmm1
call fcn.14002d820
mov dword [rbx], 1
mov rax, rbx
shr edi, 0xa
and edi, 1
mov dword [rbx + 0xc0], edi
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0xd0
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.self_test_failed
lea rdx, str._libsecp256k1__internal_consistency_check_failed:__s_n
call fcn.14002ced0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
Function at 0x14002de50
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, dword [rdx]
mov r9, rcx
and eax, 0x3ffffff
mov dword [rcx], eax
mov r8d, dword [rdx + 4]
mov eax, dword [rdx]
and r8d, 0xfffff
shr eax, 0x1a
shl r8d, 6
or r8d, eax
mov dword [rcx + 4], r8d
mov ecx, dword [rdx + 8]
mov eax, dword [rdx + 4]
and ecx, 0x3fff
shl ecx, 0xc
shr eax, 0x14
or ecx, eax
mov dword [r9 + 8], ecx
movzx ecx, byte [rdx + 0xc]
mov eax, dword [rdx + 8]
shr eax, 0xe
shl ecx, 0x12
or ecx, eax
mov dword [r9 + 0xc], ecx
mov ecx, dword [rdx + 0x10]
mov eax, dword [rdx + 0xc]
and ecx, 3
shr eax, 8
shl ecx, 0x18
or ecx, eax
mov dword [r9 + 0x10], ecx
mov eax, dword [rdx + 0x10]
shr eax, 2
and eax, 0x3ffffff
mov dword [r9 + 0x14], eax
mov ecx, dword [rdx + 0x14]
mov eax, dword [rdx + 0x10]
and ecx, 0x3fffff
shr eax, 0x1c
shl ecx, 4
or ecx, eax
mov dword [r9 + 0x18], ecx
movzx ecx, word [rdx + 0x18]
mov eax, dword [rdx + 0x14]
shr eax, 0x16
shl ecx, 0xa
or ecx, eax
mov dword [r9 + 0x1c], ecx
mov eax, dword [rdx + 0x1c]
movzx ecx, word [rdx + 0x1a]
and eax, 0x3ff
shl eax, 0x10
or ecx, eax
mov dword [r9 + 0x20], ecx
mov eax, dword [rdx + 0x1c]
shr eax, 0xa
mov dword [r9 + 0x24], eax
ret
Function at 0x1400304e0
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x100
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, r8
mov rdi, rcx
cmp r8, 0x40
ja 0x14003054f
lea rcx, [r11 - 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x40
lea rcx, [rsp + 0x90]
sub r8, rbx
add rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movdqu xmm0, xmmword [rsp + 0xc0]
movdqu xmm1, xmmword [rsp + 0xb0]
jmp 0x1400305bd
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x6a09e667
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
mov qword [rsp + 0x80], 0
call fcn.140034930
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.140031fe0
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqa xmm7, xmmword [str.jjjjjjjjjjjjjjjjp]
lea rcx, [rdi + 0x68]
mov dword [rcx], 0x6a09e667
lea rax, [rsp + 0x90]
mov dword [rcx + 4], 0xbb67ae85
lea rdx, [rcx + 0x20]
mov dword [rcx + 8], 0x3c6ef372
movdqa xmm6, xmm7
xorps xmm6, xmmword [rsp + 0x90]
movdqa xmm5, xmm7
xorps xmm5, xmmword [rsp + 0xa0]
movdqa xmm4, xmm7
mov dword [rcx + 0xc], 0xa54ff53a
xorps xmm4, xmm1
mov dword [rcx + 0x10], 0x510e527f
xorps xmm7, xmm0
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], 0x40
movdqu xmmword [rsp + 0x90], xmm6
movdqu xmmword [rsp + 0xa0], xmm5
movdqu xmmword [rsp + 0xb0], xmm4
movdqu xmmword [rsp + 0xc0], xmm7
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x50], xmm1
call fcn.1400323b0
movdqa xmm3, xmmword [0x1400606b0]
lea rdx, [rdi + 0x20]
mov dword [rdi], 0x6a09e667
movdqa xmm2, xmm3
mov dword [rdi + 4], 0xbb67ae85
movdqa xmm1, xmm3
mov dword [rdi + 8], 0x3c6ef372
movdqa xmm0, xmm3
mov dword [rdi + 0xc], 0xa54ff53a
xorps xmm2, xmm6
mov dword [rdi + 0x10], 0x510e527f
xorps xmm1, xmm5
mov dword [rdi + 0x14], 0x9b05688c
xorps xmm0, xmm4
mov dword [rdi + 0x18], 0x1f83d9ab
xorps xmm3, xmm7
mov dword [rdi + 0x1c], 0x5be0cd19
mov rcx, rdi
mov qword [rdi + 0x60], 0x40
movups xmmword [rdx], xmm2
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm3
call fcn.1400323b0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14002baf0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140030730
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rbp + 0x17], rax
movups xmm1, xmmword [rdx + 0x10]
mov eax, dword [rdx + 0x20]
mov ebx, 0xffffffff
xorps xmm0, xmm0
mov dword [rbp - 0x41], eax
mov eax, dword [rcx + 0x20]
mov r15, rdx
movups xmmword [rsp + 0x34], xmm0
mov r13, rcx
mov dword [rsp + 0x30], 0
movups xmmword [rbp - 0x75], xmm0
mov dword [rbp - 0x11], 1
lea r12d, [rbx + 0x15]
movups xmmword [rbp - 0xd], xmm0
mov dword [rbp - 0x19], eax
movups xmmword [rbp + 3], xmm0
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x51], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x61], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x29], xmm1
movups xmmword [rbp - 0x39], xmm0
nop word [rax + rax]
mov esi, dword [rbp - 0x61]
mov r9d, 1
mov eax, dword [rbp - 0x39]
xor r10d, r10d
xor r11d, r11d
mov edi, r9d
lea r14d, [r9 + 0x1d]
nop dword [rax]
mov r8d, ebx
mov edx, eax
sar r8d, 0x1f
and edx, 1
neg edx
mov ecx, r8d
xor ecx, esi
sub ecx, r8d
and ecx, edx
add eax, ecx
mov ecx, r8d
xor ecx, r9d
sub ecx, r8d
and ecx, edx
add r11d, ecx
mov ecx, r8d
xor ecx, r10d
sub ecx, r8d
and r8d, edx
and ecx, edx
xor ebx, r8d
add edi, ecx
dec ebx
mov ecx, r8d
and ecx, eax
shr eax, 1
add esi, ecx
mov ecx, r8d
and ecx, r11d
and r8d, edi
add r9d, ecx
add r10d, r8d
add r9d, r9d
add r10d, r10d
sub r14, 1
jne 0x1400307e0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x20]
mov r9, r15
mov dword [rsp + 0x24], r10d
lea rdx, [rbp - 0x11]
mov dword [rsp + 0x28], r11d
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x2c], edi
call fcn.140030b60
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x61]
call fcn.140030f90
sub r12, 1
jne 0x1400307c0
mov edx, dword [rbp - 0x41]
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.1400308e0
movups xmm0, xmmword [rsp + 0x30]
mov eax, dword [rbp - 0x69]
movups xmm1, xmmword [rbp - 0x79]
movups xmmword [r13], xmm0
movups xmmword [r13 + 0x10], xmm1
mov dword [r13 + 0x20], eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14002baf0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140031de0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx eax, byte [rdx + 0x1d]
movzx r13d, byte [rdx + 0x1c]
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x1e]
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x1f]
shl r13d, 8
or r13d, eax
mov dword [rcx], r13d
movzx eax, byte [rdx + 0x19]
movzx r12d, byte [rdx + 0x18]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx + 0x1a]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx + 0x1b]
shl r12d, 8
or r12d, eax
mov dword [rcx + 4], r12d
movzx eax, byte [rdx + 0x15]
movzx r15d, byte [rdx + 0x14]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdx + 0x16]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdx + 0x17]
shl r15d, 8
or r15d, eax
mov dword [rcx + 8], r15d
movzx eax, byte [rdx + 0x11]
movzx r14d, byte [rdx + 0x10]
shl r14d, 8
or r14d, eax
movzx eax, byte [rdx + 0x12]
shl r14d, 8
or r14d, eax
movzx eax, byte [rdx + 0x13]
shl r14d, 8
or r14d, eax
mov dword [rcx + 0xc], r14d
movzx eax, byte [rdx + 0xd]
movzx ebp, byte [rdx + 0xc]
shl ebp, 8
or ebp, eax
movzx eax, byte [rdx + 0xe]
shl ebp, 8
or ebp, eax
movzx eax, byte [rdx + 0xf]
shl ebp, 8
or ebp, eax
mov dword [rcx + 0x10], ebp
movzx eax, byte [rdx + 9]
movzx esi, byte [rdx + 8]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 0xa]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 0xb]
shl esi, 8
or esi, eax
mov dword [rcx + 0x14], esi
movzx eax, byte [rdx + 5]
movzx ebx, byte [rdx + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [rdx + 6]
shl ebx, 8
or ebx, eax
movzx eax, byte [rdx + 7]
shl ebx, 8
or ebx, eax
mov dword [rcx + 0x18], ebx
movzx edi, byte [rdx]
movzx eax, byte [rdx + 1]
shl edi, 8
or edi, eax
movzx eax, byte [rdx + 2]
shl edi, 8
or edi, eax
movzx eax, byte [rdx + 3]
shl edi, 8
or edi, eax
mov dword [rcx + 0x1c], edi
call fcn.140031ad0
mov r9, qword [rsp + 0x60]
imul edx, eax, 0x2fc9bebf
imul r8d, eax, 0x402da173
imul ecx, eax, 0x50b75fc4
mov r10d, eax
add rdx, r13
mov dword [r9], edx
shr rdx, 0x20
add r8, rdx
imul edx, eax, 0x45512319
mov rax, qword [rsp + 0x70]
add r8, r12
mov dword [r9 + 4], r8d
shr r8, 0x20
add rcx, r8
add rcx, r15
mov dword [r9 + 8], ecx
shr rcx, 0x20
add rdx, rcx
add rdx, r14
mov dword [r9 + 0xc], edx
shr rdx, 0x20
add rdx, rbp
add rdx, r10
mov dword [r9 + 0x10], edx
shr rdx, 0x20
add rdx, rsi
mov dword [r9 + 0x14], edx
shr rdx, 0x20
add rdx, rbx
mov dword [r9 + 0x18], edx
shr rdx, 0x20
add edx, edi
mov dword [r9 + 0x1c], edx
test rax, rax
je 0x140031fbd
mov dword [rax], r10d
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140032250
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x58
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, rcx
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], 0
call fcn.140034930
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140031fe0
movups xmm0, xmmword [rsp + 0x20]
mov ebx, 0x20
mov dword [r14], 0x6a09e667
movups xmm1, xmmword [rsp + 0x30]
mov qword [r14 + 0x60], rbx
lea rsi, [rsp + 0x20]
mov dword [r14 + 4], 0xbb67ae85
mov dword [r14 + 8], 0x3c6ef372
mov dword [r14 + 0xc], 0xa54ff53a
mov dword [r14 + 0x10], 0x510e527f
mov dword [r14 + 0x14], 0x9b05688c
mov dword [r14 + 0x18], 0x1f83d9ab
mov dword [r14 + 0x1c], 0x5be0cd19
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm1
mov rax, qword [r14 + 0x60]
mov rcx, rax
add rax, rbx
mov qword [r14 + 0x60], rax
and ecx, 0x3f
mov eax, 0x40
sub rax, rcx
cmp rbx, rax
jb 0x14003237f
mov qword [rsp + 0x50], rdi
mov edi, 0x40
mov rdx, rsi
sub rdi, rcx
add rcx, 0x20
add rcx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r14 + 0x20]
mov rcx, r14
add rsi, rdi
sub rbx, rdi
call fcn.1400323b0
xor ecx, ecx
cmp rbx, 0x40
jae 0x140032341
mov rdi, qword [rsp + 0x50]
test rbx, rbx
je 0x140032391
add rcx, 0x20
mov r8, rbx
add rcx, r14
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14002baf0
add rsp, 0x58
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x140034f4c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140034f86
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140034f8b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140034fd4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1401708d0]
cmp byte [rcx + rax], 0
je 0x140034fd4
dec r8
sub rdx, 1
jne 0x140034fba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140050180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14003c80e
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14003c7f1
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14003c7dc

Function at 0x14005a298
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_locale_l1_1_0.dll____lc_locale_name_func
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14005a2ea
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14005a2ea
sub ecx, 1
je 0x14005a2e3
cmp ecx, 1
je 0x14005a2dc
xor eax, eax
jmp 0x14005a2ef
mov eax, 3
jmp 0x14005a2ef
mov eax, 1
jmp 0x14005a2ef
mov eax, 2
add rsp, 0x28
ret
Function at 0x140005690
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r14
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor r14d, r14d
xor eax, eax
lock cmpxchg qword [0x1400085e0], rbx
je 0x1400056e2
cmp rax, rbx
jne 0x1400056d5
mov ebx, 1
mov r14d, ebx
jmp 0x1400056e7
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400056b9
mov ebx, 1
mov eax, dword [0x1400085e8]
cmp eax, ebx
jne 0x1400056fd
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140005766
mov eax, dword [0x1400085e8]
test eax, eax
jne 0x140005760
mov dword [0x1400085e8], ebx
lea r12, [0x1400062e0]
lea rdi, [0x1400062c8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r12
jae 0x140005752
test eax, eax
jne 0x140005756
mov rsi, qword [rdi]
test rsi, rsi
je 0x140005747
mov rcx, rsi
mov rax, qword [0x1400062a0]
call rax
call rsi
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140005724
test eax, eax
je 0x140005766
mov eax, 0xff
jmp 0x140005847
mov dword [0x140008024], ebx
mov eax, dword [0x1400085e8]
cmp eax, ebx
jne 0x14000578d
lea rdx, [0x1400062c0]
lea rcx, [0x1400062b0]
call sub.msvcrt.dll__initterm
mov dword [0x1400085e8], 2
test r14d, r14d
jne 0x14000579b
xor eax, eax
xchg qword [0x1400085e0], rax
cmp qword [0x140008600], 0
je 0x1400057d3
lea rcx, [0x140008600]
call fcn.140005ab0
test eax, eax
je 0x1400057d3
mov rbx, qword [0x140008600]
mov rcx, rbx
mov rax, qword [0x1400062a0]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
mov r8, qword [0x140008038]
mov rdx, qword [0x140008030]
mov ecx, dword [0x140008028]
call fcn.140001008
mov dword [0x140008020], eax
cmp dword [0x140008040], 0
jne 0x140005803
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140008024], 0
jne 0x140005818
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140008020]
jmp 0x140005847
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
sub rsp, 0x28
call fcn.140179000
add rsp, 0x28
jmp 0x140005690

Function at 0x1400059ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400059f8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400059f0
cmp dword [rcx + 0x3c], edx
jl 0x1400059f0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400059f0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400059f8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x18001aac0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18001ab1d
lea rbx, [0x1801a5bd0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001ab04
cmp r10, 2
jb 0x18001ab04
cmp byte [r9], r8b
jne 0x18001ab04
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18001aae0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001ab5f
lea rbx, [0x1801a5bd0]
cmp r8b, 0x23
jne 0x18001ab43
cmp byte [r9], r8b
jne 0x18001ab43
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18001ab30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18001aca0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001acba
mov qword [r8], 0
lea rdx, [0x1801a57c4]
call fcn.18001ab70
mov rbx, rax
test rax, rax
jne 0x18001acda
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18001adb3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001adb3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001adb3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001adb3
cmp rdi, 0xffffffffffffffff
je 0x18001adb3
mov rax, qword [0x1801fdec0]
test rax, rax
je 0x18001ad50
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18001adb3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001ada0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1801fdec0]
test rax, rax
je 0x18001ad95
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001adbc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001adae
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001adbe
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18001d760
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x1801a5bd0]
movsxd rcx, dword [rcx + 0xd0]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1801fdec0]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x18001d7f5
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18002ef30
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1800291e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1801f5340]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1801fdec0]
mov edi, ecx
cmp byte [rbx + 0x4235], 0
jne 0x180029241
cmp byte [rbx + 0x4236], 0
jne 0x180029241
movsx r9d, word [rbx + 0x531a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.18001a980
test dil, 1
je 0x180029368
jmp 0x1800292cc
movss xmm1, dword [rbx + 0x3890]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x531a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1801d2a58]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1801d2a4c]
addss xmm0, dword [rbx + 0xdf4]
addss xmm1, dword [rbx + 0xdf8]
mov qword [rbx + 0x3fa0], rax
mov dword [rbx + 0x3f8c], 1
movss dword [rbx + 0x3f98], xmm0
movss dword [rbx + 0x3f9c], xmm1
movss xmm0, dword [rbx + 0x38ec]
mulss xmm0, dword [0x1801d26f8]
or dword [rbx + 0x3f88], 0x41
movss dword [rbx + 0x3fe8], xmm0
call fcn.18001a980
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180029320
lea r11, [0x1801a5bd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180029303
cmp byte [r8], r9b
jne 0x180029303
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1800292f0
not ecx
call fcn.180022300
test rax, rax
je 0x180029368
cmp byte [rax + 0x96], 0
je 0x180029368
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x531a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x531a]
call fcn.18001a980
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180024a90
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180164660
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18002db50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53c8], 0
lea rbx, [rcx + 0x53d0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18002dbf7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18002dbaa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18002fac0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001b290
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53c8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53d8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801fdeb8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18002dbff
mov rcx, rbx
call fcn.18001b290
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret