joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1404bc6d0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1404bc878
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1404bc735
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1404bc735
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1404bc735
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1404bc76c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1404bc7c2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1404bc7c2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1404bc7c2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1404bc7c2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1404bc7c2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1404bc180
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1404bc824
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140498900
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1404bc550
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1404bc870
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140498900
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1404bdfe0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140547080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1404be075
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1404be0d6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140498900
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1404d1bc0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1404be191
sub ecx, 1
je 0x1404be204
sub ecx, 1
je 0x1404be140
cmp ecx, 1
je 0x1404be123
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140536d7c]
call fcn.140498900
jmp 0x1404be204
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1404bdd10
test eax, eax
je 0x1404be204
jmp 0x1404be0aa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1404be204
sub rax, rsi
cmp rax, rbp
jae 0x1404be204
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140498a80
jmp 0x1404be204
cmp r8d, 4
jle 0x1404be204
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1404be204
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140498820
mov esi, eax
test eax, eax
je 0x1404be1e3
mov edx, 5
mov rcx, rbx
call fcn.1404becd0
mov eax, esi
jmp 0x1404be0aa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1404a7100
mov rcx, r14
call fcn.1404a73e0
test eax, eax
je 0x1404be0a8
mov edx, 5
mov rcx, rbx
call fcn.1404becd0
mov eax, Ordinal_45
jmp 0x1404be0aa
Function at 0x1404d0fa0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1404d0fe2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1404d1029
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1404d1082
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1404d1040
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1404d10c3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1404e46a2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1404e46a3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1404d1090
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1404d10e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1404d1164
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1404d1164
dec r8
sub rdx, 1
jne 0x1404d114a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1404d17fc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1404d11f4
mov ebx, eax
test eax, eax
jne 0x1404d182c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1404d188f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1404d1886
test al, 0x10
je 0x1404d1886
bt eax, 0xa
jae 0x1404d187f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1404d18a0
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1404d187b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1404d187b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
test edi, edi
jne 0x1404d1886
and dword [rsp + 0x3c], 0
jmp 0x1404d188b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1404d2cb4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1404d2cfe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1404d2cfe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1404d2cfe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1404d2cfe
cmp dword [rcx + 0x84], 0xe
jbe 0x1404d2cfe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1404d2d00
xor al, al
add rsp, 0x28
ret
Function at 0x140003e5c
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
sub rsp, 0x268
mov rax, qword [0x14011d6b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x30], 2
jl 0x140003ea4
mov rcx, qword [rax + 8]
lea rdx, str.runas
call fcn.1400b303c
test eax, eax
je 0x140003eed
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r9, str.runas
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jbe 0x140003eed
mov eax, 1
jmp 0x140003eef
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400a9d90
add rsp, 0x268
ret
Function at 0x14000b8a4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
xor edx, edx
mov rbx, rcx
lea rcx, [rbp - 0x19]
lea r8d, [rdx + 0x68]
call fcn.1400abab0
xor ecx, ecx
mov dword [rbp - 0x19], 0x68
lea rax, [rbp - 0x39]
mov dword [rbp + 0x23], 1
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x19]
mov word [rbp + 0x27], cx
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov rdx, rbx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
je 0x14000b91c
xor eax, eax
jmp 0x14000b95c
mov rcx, qword [rbp - 0x39]
or ebx, 0xffffffff
mov edx, ebx
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x39]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x39]
lea rdx, [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x6f]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
Function at 0x14000b970
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0x40
mov ebx, r8d
mov rsi, rcx
cmp r8d, 1
je 0x14000bb94
cmp edx, 0x3e8
je 0x14000b9a6
cmp dword [rcx + 0xa820], 0
je 0x14000bb57
mov eax, dword [0x140126d14]
test eax, eax
je 0x14000bbac
add eax, 0xfffffda8
cmp eax, 0xc7
ja 0x14000ba45
lea r14, [rcx + 0xa470]
mov rcx, qword [r14]
call fcn.14004ad34
test eax, eax
je 0x14000ba45
cmp ebx, 3
jne 0x14000ba2d
lea rdx, [0x1400ea000]
lea rcx, [rsp + 0x88]
call fcn.140002ce0
nop
lea rdx, [rsp + 0x88]
mov rcx, rsi
call fcn.14000bbd0
mov ebx, eax
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000ba26
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
jmp 0x14000bbb1
mov rdx, r14
mov rcx, rsi
call fcn.14000bbd0
test eax, eax
jne 0x14000bb8b
jmp 0x14000bb57
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x14000bbc3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x88], rax
lea rcx, str.CDI_SOUND_001
call fcn.1400af134
mov r8d, eax
lea rdx, str.CDI_SOUND_001
lea rcx, [rsp + 0x88]
call fcn.140002b78
lea r8, str.OPUS
mov rbx, qword [rsp + 0x88]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x14000bb3d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
and dword [rsp + 0x80], 0
lea r14, [rsi + 0xa998]
and qword [rsp + 0x30], 0
mov eax, 2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000bb61
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
test eax, eax
jne 0x14000bb5b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000bb57
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14000bbb1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, r14
mov rcx, rsi
call fcn.14000bbd0
test eax, eax
je 0x14000bb3d
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000bb8b
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
and dword [0x140126d14], 0
jmp 0x14000bbac
test edx, edx
je 0x14000bba6
mov eax, dword [0x140126d14]
test eax, eax
je 0x14000bba6
cmp eax, edx
jbe 0x14000bbac
mov dword [0x140126d14], edx
mov eax, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002f7c
int3
Function at 0x140012d04
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14011d6b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r9, qword [rcx + 0x160]
lea rdx, [0x1400eb758]
mov rbx, rcx
mov esi, 0x80000000
mov r8d, esi
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, qword [rbx + 0x160]
lea rdx, [0x1400eb75c]
mov r8d, esi
lea rcx, str.Setting
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rbx + 0x40]
lea rdx, [rbp - 0x28]
mov esi, eax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp - 0x20]
xor edx, edx
sub ecx, dword [rbp - 0x28]
add ecx, edi
mov dword [rbp - 0x18], edi
mov dword [rbp - 0x10], ecx
mov ecx, dword [rbp - 0x1c]
sub ecx, dword [rbp - 0x24]
add ecx, esi
mov dword [rbp - 0x14], esi
mov dword [rbp - 0xc], ecx
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_MonitorFromRect]
test rax, rax
jne 0x140012dd0
lea rdx, str.CenterWindow__
lea rcx, [rbp - 0x30]
call fcn.140002ce0
mov rcx, rax
call fcn.14004a974
xor edx, edx
mov rcx, rbx
call fcn.14007549c
jmp 0x140012df2
mov dword [rsp + 0x30], 5
mov r9d, esi
and dword [rsp + 0x28], 0
mov r8d, edi
and dword [rsp + 0x20], 0
xor edx, edx
mov rcx, rbx
call fcn.140073a38
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a9d90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14001728c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x160]
lea rdx, [0x1400f0c68]
mov rdi, rcx
xor r8d, r8d
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x14001732a
mov dword [rdi + 0x2e8], eax
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + 0xd8]
mov edx, 0x8090
mov r8d, 8
mov rbx, rax
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [r8 + 0xe0]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_DrawMenuBar]
mov r9, qword [rdi + 0x160]
lea rdx, str.StartupFixed
xor r8d, r8d
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x140017353
call fcn.140017414
jmp 0x140017331
and dword [rdi + 0x2e8], 0
mov r9, qword [rdi + 0x160]
lea r8, [0x1400eb3dc]
lea rdx, str.StartupFixed
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140017a9c
Capabilities:
Check os version
Delete registry value
Persist via run registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14011d6b0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov ebx, 0x11c
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.1400abab0
mov dword [rbp - 0x10], ebx
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edi, edi
test eax, eax
jne 0x140017afe
mov dword [rbp - 0x10], 0x114
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp - 0xc], 6
jb 0x140017be7
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x140017c74
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov ebx, 0x68
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400abab0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x80], ebx
mov dword [rbp - 0x44], 1
mov word [rbp - 0x40], di
lea rdx, str.schtasks.exe__Delete__tn_CrystalDiskInfo__F
lea rcx, [rsp + 0x50]
call fcn.1400042cc
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, 0x3e8
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140017c4b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140017c4b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
lea r9, [0x1400ea000]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140017c4b
lea rdx, [0x1400ea1b8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400a9d90
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002f7c
int3
Function at 0x14001d560
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, dword [rcx + 0x370]
mov rbx, rcx
sub edi, 1
js 0x14001d601
movsxd rsi, edi
imul rbp, rsi, 0x1918
test rsi, rsi
js 0x14001d61d
cmp rsi, qword [rbx + 0x370]
jge 0x14001d61d
mov rdx, qword [rbx + 0x368]
lea rcx, str.TemperatureIcon
mov r9, qword [rbx + 0x160]
mov r8d, 1
mov rdx, qword [rdx + rbp + 0x18b0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x14001d5f2
cmp rsi, qword [rbx + 0x370]
jge 0x14001d61d
mov rax, qword [rbx + 0x368]
cmp dword [rax + rbp + 0x17bc], 0xfffffed4
jle 0x14001d5f2
mov edx, edi
mov rcx, rbx
call fcn.14001cdec
dec rsi
sub rbp, 0x1918
sub edi, 1
jns 0x14001d58c
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14001d6ec
call fcn.1400713c8
int3
Function at 0x140035010
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14011d6b0]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rcx
call fcn.140071a10
mov rcx, rax
test rax, rax
je 0x1400351b0
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rax, [rdi + 0x2cc]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x60]
lea r8, [0x1400ea000]
lea rdx, str.GraphBkImage
lea rcx, [0x1400f4718]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x60]
call fcn.1400af134
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140002b78
lea r8, [0x1400f472c]
lea rdx, [0x1400ea7b4]
lea rcx, [rsp + 0x30]
call fcn.140011f84
mov rax, qword [rsp + 0x30]
cmp dword [rax - 0x10], 0
jne 0x1400350f1
lea rcx, [0x1400f4730]
call fcn.1400af134
mov r8d, eax
lea rdx, [0x1400f4730]
lea rcx, [rsp + 0x30]
call fcn.140002b78
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x30]
lea rdx, str.url_
lea rcx, [rsp + 0x38]
call fcn.140011ecc
nop
lea r8, [0x1400f2c60]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000dc34
mov rbx, rax
lea rdx, str.changeBackgroundImage
lea rcx, [rsp + 0x48]
call fcn.140002ce0
nop
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14006e100
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14003516d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14003518c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400a9d90
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002f7c
int3