joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f0340
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140139f00]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400f038c
mov eax, 0x1b
jmp 0x1400f045e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400f03d0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1400f045e
mov rcx, rbp
call fcn.14006f8c0
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1400f043a
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400f044a
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400f045c
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f2510
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400f1210
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1400f1275
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1400f1220
ret

Function at 0x1400f13c4
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 0x1400f13fe
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f1403
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 0x1400f144c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400f144c
dec r8
sub rdx, 1
jne 0x1400f1432
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400f2d0c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f2d56
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f2d56
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f2d56
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f2d56
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f2d56
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400f2d58
xor al, al
add rsp, 0x28
ret
Function at 0x140884c20
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140884da7
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 0x140884c51
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140884c37
add dl, dl
jne 0x140884c5e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140884cbe
xor eax, eax
add dl, dl
jne 0x140884c6d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140884d75
add dl, dl
jne 0x140884c7e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140884c8b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140884c98
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140884ca5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140884cb2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140884c46
mov eax, 1
add dl, dl
jne 0x140884cce
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140884cdb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140884cc3
sub eax, ebx
mov ebx, 1
jne 0x140884d14
mov ecx, 1
add dl, dl
jne 0x140884cf6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140884d03
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140884ceb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140884c46
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140884d30
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140884d3d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140884d25
cmp eax, 0x7d00
jae 0x140884d63
cmp eax, 0x500
jb 0x140884d5e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140884c46
cmp eax, 0x7f
ja 0x140884d66
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140884c46
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140884d9a
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 0x140884c46
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140008750
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
sub rsp, 0x98
mov rax, qword [0x140041010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rcx, qword [0x140042fb8]
cmp dword [rcx + 0xccbb10], 1
jne 0x140008920
mov r9d, 0xa
mov qword [r11 - 8], rdi
add rcx, 0xccaae0
mov qword [r11 + 8], rbx
lea rdx, str.K_0_0_c_c
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
xor edi, edi
cmp dword [rdx + 0xccbb10], 1
jne 0x1400087f8
mov rbx, qword [rdx + 0xe35f20]
cmp dword [rbx + 8], 1
je 0x1400087f8
add rdx, 0xccaae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], dil
jne 0x1400087d2
mov rcx, qword [rbx + 0xe00028]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], edi
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x1f4
call fcn.14000b7a0
movsxd r8, eax
test eax, eax
je 0x140008910
mov rbx, qword [0x140042fb8]
mov edx, edi
mov rcx, qword [rbx + 0xe35f20]
jle 0x140008859
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140008859
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140008852
mov dword [rcx + 0xe0001c], edi
inc edx
cmp edx, r8d
jl 0x140008832
xorps xmm0, xmm0
mov byte [r8 + rbx + 0x5b0ae0], dil
movups xmmword [rsp + 0x60], xmm0
lea r11, [rbx + 0x5b0ae6]
mov r10, rdi
movups xmmword [rsp + 0x70], xmm0
nop dword [rax + rax]
mov r8d, edi
mov r9d, edi
mov rax, rdi
nop dword [rax]
movzx edx, byte [rax + r11]
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x1400088aa
movsx ecx, cl
lea edx, [r8 + r8*4]
lea r8d, [rcx + rdx*2]
jmp 0x1400088b5
cmp dl, 0x2d
jne 0x1400088c0
mov r9d, 1
inc rax
cmp rax, 0x10
jl 0x140008890
jmp 0x1400088c8
cmp dl, 0x2c
jne 0x1400088c8
inc rax
add r11, rax
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r11]
cmovne eax, r8d
mov dword [rsp + r10*4 + 0x40], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x1400088f0
sub cl, 0x2c
cmp cl, 1
ja 0x1400088fc
inc r10
cmp r10, 0x1000
jl 0x140008880
cmp dword [rsp + 0x6c], 0x128e0
jl 0x140008910
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0xe35eb0], eax
mov rbx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400138e0
add rsp, 0x98
ret
Function at 0x140009200
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x140041010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r9, qword [0x140042fb8]
lea rdx, str.RAMP__d__d_r_n
movsd xmm6, qword [0x14003ccc0]
movsd xmm0, qword [r9 + 0x18]
lea rcx, [r9 + 0xccaae0]
mov r9d, dword [r9 + 0x50]
mulsd xmm0, xmm6
cvttsd2si r8d, xmm0
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
xor edi, edi
cmp dword [rdx + 0xccbb10], 1
jne 0x1400092b6
mov rbx, qword [rdx + 0xe35f20]
cmp dword [rbx + 8], 1
je 0x1400092b6
add rdx, 0xccaae0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x140009290
mov rcx, qword [rbx + 0xe00028]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], edi
mov r8d, 0x1f4
call fcn.14000b7a0
movsxd r8, eax
test eax, eax
jg 0x1400092d2
mov eax, 0xffffffff
jmp 0x140009400
mov rbx, qword [0x140042fb8]
mov edx, edi
mov byte [r8 + rbx + 0x5b0ae0], dil
mov rcx, qword [rbx + 0xe35f20]
mov r9d, dword [rcx + 0xe00018]
mov eax, dword [rcx + 0xe0001c]
cmp r9d, eax
je 0x140009318
inc eax
mov dword [rcx + 0xe0001c], eax
cmp eax, 0x700000
jb 0x140009311
mov dword [rcx + 0xe0001c], edi
inc edx
cmp edx, r8d
jl 0x1400092f1
xorps xmm0, xmm0
lea r11, [rbx + 0x5b0ae5]
movups xmmword [rsp + 0x40], xmm0
mov r10, rdi
movups xmmword [rsp + 0x50], xmm0
nop
mov r8d, edi
mov r9d, edi
mov rdx, rdi
nop dword [rax]
movzx ecx, byte [rdx + r11]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140009359
movsx eax, al
lea ecx, [r8 + r8*4]
lea r8d, [rax + rcx*2]
jmp 0x140009364
cmp cl, 0x2d
jne 0x14000936f
mov r9d, 1
inc rdx
cmp rdx, 0x10
jl 0x140009340
jmp 0x140009377
cmp cl, 0x2c
jne 0x140009377
inc rdx
add r11, rdx
mov eax, r8d
neg eax
cmp r9d, 1
movzx ecx, byte [r11]
cmovne eax, r8d
mov dword [rsp + r10*4 + 0x40], eax
lea eax, [rcx - 0x30]
cmp al, 9
jbe 0x14000939f
sub cl, 0x2c
cmp cl, 1
ja 0x1400093ab
inc r10
cmp r10, 0x1000
jl 0x140009330
movd xmm0, dword [rsp + 0x48]
movd xmm1, dword [rsp + 0x58]
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x4c]
cvtdq2pd xmm0, xmm0
mov dword [rbx + 0x10], eax
xor eax, eax
mov dword [rbx + 0x14], ecx
mov dword [rbx + 0xe35eb0], ecx
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm6
divsd xmm1, xmm6
movsd qword [rbx + 0xccbb48], xmm0
movd xmm0, dword [rsp + 0x54]
cvtdq2pd xmm0, xmm0
movsd qword [rbx + 0xccbb18], xmm1
divsd xmm0, xmm6
movsd qword [rbx + 8], xmm0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400138e0
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rdi
ret
Function at 0x140009430
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x140041010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r9d, 0xa
lea rdx, str.DELSAMPLE_0_0_c_c
lea rcx, [rsp + 0x80]
lea r8d, [r9 + 3]
call fcn.1400010b0
mov rdi, qword [0x140042fb8]
xor ebx, ebx
cmp dword [rdi + 0xccbb10], 1
jne 0x1400094ce
mov rdi, qword [rdi + 0xe35f20]
cmp dword [rdi + 8], 1
je 0x1400094ce
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1400094a0
mov rcx, qword [rdi + 0xe00028]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rdi + 0xe00020], ebx
call fcn.14000ceb0
mov rcx, qword [0x140042fb8]
test eax, eax
jne 0x1400095e2
mov qword [rsp + 0xe0], rsi
add rcx, 0x5b0ae0
movabs rsi, 0x100100002401
mov edx, ebx
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0x2c
ja 0x14000950d
bt rsi, rax
jb 0x14000951a
inc rcx
inc edx
cmp edx, 0x100
jl 0x140009500
lea rdx, [rsp + 0x38]
mov r8d, ebx
lea rdi, [rcx + 1]
movzx ecx, byte [rdi]
cmp cl, 0x2c
ja 0x140009534
bt rsi, rcx
jb 0x14000954a
mov byte [rdx], cl
inc rdi
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140009526
jmp 0x14000954c
mov byte [rdx], bl
lea rcx, [rsp + 0x38]
call fcn.14001c530
lea rdx, [rsp + 0x38]
inc rdi
mov r8d, ebx
movzx ecx, byte [rdi]
cmp cl, 0x2c
ja 0x14000956f
bt rsi, rcx
jb 0x140009585
mov byte [rdx], cl
inc rdi
inc rdx
inc r8d
cmp r8d, 0x100
jl 0x140009561
jmp 0x140009587
mov byte [rdx], bl
lea rcx, [rsp + 0x38]
call fcn.14001c530
lea rax, [rsp + 0x58]
sub rdi, rax
lea rcx, [rsp + 0x58]
nop
movzx edx, byte [rdi + rcx + 1]
cmp dl, 0x2c
ja 0x1400095b0
bt rsi, rdx
jb 0x1400095c1
mov byte [rcx], dl
inc ebx
inc rcx
cmp ebx, 0x100
jl 0x1400095a0
jmp 0x1400095c4
mov byte [rcx], 0
lea rcx, [rsp + 0x58]
call fcn.14001c530
mov rcx, qword [0x140042fb8]
mov rsi, qword [rsp + 0xe0]
mov dword [rcx + 0x6c], eax
jmp 0x1400095f0
mov eax, dword [rcx + 0xccbbd4]
test eax, eax
cmovg ebx, eax
mov dword [rcx + 0x6c], ebx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400138e0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x1400099e0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x1a0
mov rax, qword [0x140041010]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rax, qword [0x140042fb8]
lea rcx, [rsp + 0x70]
mov dword [rax + 0xccbb8c], 0
call fcn.14001b69c
lea rcx, [rsp + 0x70]
call fcn.14001ba08
mov r8, qword [0x140042fb8]
mov rbx, rax
movups xmm0, xmmword [rax]
cmp dword [r8 + 0xccbb74], 0
movups xmmword [r8 + 0xe35ec0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r8 + 0xe35ed0], xmm1
mov ecx, dword [rax + 0x20]
mov dword [r8 + 0xe35ee0], ecx
je 0x140009bff
add r8, 0x5b03e0
lea rdx, str._sLogFile
lea rcx, [rsp + 0x90]
call fcn.1400010b0
lea rcx, [rsp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
cmp eax, 1
je 0x140009a97
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rax, qword [0x140042fb8]
cmp dword [rax + 0xccbbb4], 0
jne 0x140009b07
cmp dword [rax + 0xccbb78], 2
jne 0x140009b07
mov edx, dword [rbx + 0x10]
lea rcx, [rax + 0x5b04e0]
mov eax, dword [rbx]
lea r8, [rsp + 0x90]
mov r9d, dword [rbx + 0x14]
inc edx
mov dword [rsp + 0x48], 0x2e
add r9d, 0x76c
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str._slog__04d__02d_02d__02d_02d_02d_RAW_cbin
call fcn.1400010b0
jmp 0x140009bac
cmp dword [rax + 0xe35ee8], 1
lea rcx, [0x14003b7f8]
lea rdx, [0x14003b7f4]
cmovne rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
lea r10, [rsp + 0x78]
mov r8d, dword [rbx + 0x10]
mov r9d, dword [rbx + 0x14]
inc r8d
mov dword [rsp + 0x60], 0x2e
add r9d, 0x76c
movsd xmm0, qword [rax + 0x18]
lea rcx, [rax + 0x5b04e0]
mov eax, dword [rax + 0x5c]
mulsd xmm0, qword [0x14003ccc0]
mov qword [rsp + 0x58], r10
mov dword [rsp + 0x50], eax
mov eax, dword [rbx]
cvttsd2si edx, xmm0
mov dword [rsp + 0x48], edx
lea rdx, str._slog__04d__02d_02d__02d_02d_02d_R_05d_Th_02d__s_ccsv
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
lea r8, [rsp + 0x90]
call fcn.1400010b0
mov rax, qword [0x140042fb8]
xorps xmm0, xmm0
mov dword [rax + 0xe35ebc], 1
movups xmmword [rax + 0x5b0350], xmm0
movups xmmword [rax + 0x5b0360], xmm0
movups xmmword [rax + 0x5b0370], xmm0
movups xmmword [rax + 0x5b0380], xmm0
movups xmmword [rax + 0x5b0390], xmm0
movups xmmword [rax + 0x5b03a0], xmm0
movups xmmword [rax + 0x5b03b0], xmm0
movups xmmword [rax + 0x5b03c0], xmm0
movups xmmword [rax + 0x5b03d0], xmm0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400138e0
add rsp, 0x1a0
pop rbx
ret
Function at 0x14000cf80
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140041010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r8, qword [0x140042fb8]
cmp dword [r8 + 0xe35f5c], 0
je 0x14000d044
lea rcx, [r8 + 0xccaae0]
mov dword [rsp + 0x20], 0xa
mov r8d, dword [r8 + 0xe35f58]
lea rdx, str.AVERAGE__d_c_c
mov r9d, InitCommonControls
call fcn.1400010b0
mov rdx, qword [0x140042fb8]
cmp dword [rdx + 0xccbb10], 1
jne 0x14000d034
mov qword [rsp + 0x40], rbx
mov rbx, qword [rdx + 0xe35f20]
cmp dword [rbx + 8], 1
je 0x14000d02f
add rdx, 0xccaae0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14000d000
mov rcx, qword [rbx + 0xe00028]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbx + 0xe00020], 0
mov rbx, qword [rsp + 0x40]
call fcn.14000ceb0
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400138e0
add rsp, 0x48
ret
Function at 0x14000e3a0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003b918]
add rcx, 0x5b06e0
call fcn.140017c34
mov rbx, rax
test rax, rax
jne 0x14000e3ce
add rsp, 0x20
pop rbx
ret
mov rcx, qword [0x140042fb8]
mov edx, 0x80
add rcx, 0x5b0ae0
mov qword [rsp + 0x30], rdi
mov r9, rbx
lea r8d, [rdx - 0x7f]
call fcn.14001fe1c
mov rcx, qword [0x140042fb8]
xor edi, edi
add rcx, 0x5b0ae0
mov r9, rbx
lea edx, [rdi + 0x20]
lea r8d, [rdi + 1]
call fcn.14001fe1c
cmp eax, 1
jl 0x14000e48d
mov r8, qword [0x140042fb8]
mov r9, rbx
movzx ecx, byte [r8 + 0x5b0ae8]
movzx eax, byte [r8 + 0x5b0ae9]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x5b0aea]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8 + 0x5b0aeb]
shl ecx, 8
or ecx, eax
sub ecx, 0x20
movsxd rdx, ecx
lea rcx, [r8 + 0x5b0b00]
mov r8d, 1
call fcn.14001fe1c
mov rcx, qword [0x140042fb8]
mov edx, 0x20
add rcx, 0x5b0ae0
mov r9, rbx
inc edi
lea r8d, [rdx - 0x1f]
call fcn.14001fe1c
cmp eax, 1
jge 0x14000e416
mov rcx, rbx
call fcn.1400181b4
mov rcx, rbx
call fcn.1400181b4
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x14000ea10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
sub rsp, 0x28
mov rcx, qword [0x140042fb8]
lea rdx, [0x14003b918]
add rcx, 0x5b06e0
call fcn.140017c34
mov rbp, rax
test rax, rax
jne 0x14000ea56
mov rax, qword [0x140042fb8]
xor ebx, ebx
mov dword [rax + 0xe35f2c], ebx
lea eax, [rbp - 1]
add rsp, 0x28
pop rbp
pop rbx
ret
mov rcx, qword [0x140042fb8]
mov edx, 0x80
mov qword [rsp + 0x48], rsi
add rcx, 0x5b0ae0
mov qword [rsp + 0x50], rdi
mov r9, rbp
mov qword [rsp + 0x20], r14
lea r8d, [rdx - 0x7f]
call fcn.14001fe1c
mov rcx, qword [0x140042fb8]
xor ebx, ebx
mov r14d, ebx
mov eax, dword [rcx + 0xccbb8c]
lea edi, [rbx + 0x20]
inc eax
test eax, eax
jle 0x14000eba8
nop dword [rax]
nop word [rax + rax]
add rcx, 0x5b0ae0
mov r9, rbp
mov r8d, 1
mov rdx, rdi
call fcn.14001fe1c
cmp eax, 1
jl 0x14000eb78
mov rcx, qword [0x140042fb8]
mov r9, rbp
mov r8d, 1
movzx eax, byte [rcx + 0x5b0ae9]
movzx esi, byte [rcx + 0x5b0ae8]
shl esi, 8
or esi, eax
movzx eax, byte [rcx + 0x5b0aea]
shl esi, 8
or esi, eax
movzx eax, byte [rcx + 0x5b0aeb]
shl esi, 8
or esi, eax
movzx eax, byte [rcx + 0x5b0afc]
mov byte [rsp + 0x40], al
movzx eax, byte [rcx + 0x5b0afd]
mov byte [rsp + 0x41], al
movzx eax, byte [rcx + 0x5b0afe]
mov byte [rsp + 0x42], al
movzx eax, byte [rcx + 0x5b0aff]
mov byte [rsp + 0x43], al
lea eax, [rsi - 0x20]
movss xmm0, dword [rsp + 0x40]
cvtps2pd xmm0, xmm0
movsxd rdx, eax
movsd qword [rcx + 0xccbbe8], xmm0
add rcx, 0x5b0b00
call fcn.14001fe1c
mov rcx, qword [0x140042fb8]
inc r14d
mov eax, dword [rcx + 0xccbb8c]
inc eax
cmp r14d, eax
jl 0x14000eab0
jmp 0x14000ebac
mov rcx, rbp
call fcn.1400181b4
mov rax, qword [0x140042fb8]
mov dword [rax + 0xe35f2c], ebx
or dword [rax + 0x5b0344], 0x400
or dword [rax + 0x5b0348], 0x80000
mov eax, 0xffffffff
jmp 0x14000ec10
mov esi, dword [rsp + 0x40]
mov rcx, rbp
call fcn.1400181b4
mov r8, qword [0x140042fb8]
movzx eax, byte [r8 + 0x5b0af9]
movzx edx, byte [r8 + 0x5b0af8]
movzx ecx, byte [r8 + 0x5b0af2]
shl edx, 8
or edx, eax
shl ecx, 8
movzx eax, byte [r8 + 0x5b0af3]
add edx, 6
or ecx, eax
imul edx, ecx
lea eax, [rdx + rdx*2]
shl eax, 2
cmp esi, edi
jle 0x14000ec02
add edi, 2
inc ebx
cmp eax, ebx
jle 0x14000ec02
cmp edi, esi
jl 0x14000ebf5
mov dword [r8 + 0xccbae0], ebx
call fcn.14000ec30
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rbp
pop rbx
ret
Function at 0x14000f040
Capabilities:
Create thread

Disassembly:
push rbx
push rdi
sub rsp, 0x78
mov rax, qword [0x140041010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 0xe00028]
mov edi, r8d
dec rax
mov r10, rdx
mov rbx, rcx
cmp rax, 0xfffffffffffffffd
ja 0x14000f076
mov eax, 1
jmp 0x14000f0c1
mov qword [rsp + 0x70], rsi
xor r9d, r9d
xor esi, esi
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov rcx, r10
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbx + 0xe00028], rax
cmp rax, 0xffffffffffffffff
jne 0x14000f0d5
mov dword [rbx + 8], 1
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400138e0
add rsp, 0x78
pop rdi
pop rbx
ret
mov edx, 0x100000
mov dword [rbx + 8], esi
mov r8d, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetupComm]
test eax, eax
je 0x14000f0ba
mov rcx, qword [rbx + 0xe00028]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetCommState]
mov eax, dword [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx + 0xe00028]
and eax, 0xffff8001
or eax, 1
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x48], eax
mov word [rsp + 0x52], 8
mov byte [rsp + 0x54], sil
call qword [sym.imp.KERNEL32.dll_SetCommState]
test eax, eax
je 0x14000f0ba
mov qword [rsp + 0x28], rsi
lea r8, [0x14000f170]
mov r9, rbx
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call fcn.140017a98
mov qword [rbx + 0xe00030], rax
mov eax, 1
jmp 0x14000f0bc

Function at 0x1400145c4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001460e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001460e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001460e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001460e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001460e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140014610
xor al, al
add rsp, 0x28
ret

Function at 0x1400203fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400201ec