joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007ad0
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 0x140007d02
cmp edx, 0x3e8
je 0x140007b06
cmp dword [rcx + 0xc4b0], 0
je 0x140007cc5
mov eax, dword [0x14012f490]
test eax, eax
je 0x140007d1a
add eax, 0xfffffda8
cmp eax, 0xc7
ja 0x140007ba5
lea r14, [rcx + 0xc038]
mov rcx, qword [r14]
call fcn.14004be08
test eax, eax
je 0x140007ba5
cmp ebx, 3
jne 0x140007b8d
lea rdx, [0x1400e02c0]
lea rcx, [rsp + 0x88]
call fcn.140001340
nop
lea rdx, [rsp + 0x88]
mov rcx, rsi
call fcn.140007830
mov ebx, eax
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140007b86
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
jmp 0x140007d1f
mov rdx, r14
mov rcx, rsi
call fcn.140007830
test eax, eax
je 0x140007cc5
jmp 0x140007cf9
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x140007d31
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.1400b6ca8
mov r8d, eax
lea rdx, str.CDI_SOUND_001
lea rcx, [rsp + 0x88]
call fcn.140002188
lea r8, str.OPUS
mov rbx, qword [rsp + 0x88]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r12, rax
test rax, rax
je 0x140007cab
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140007cab
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140007cab
and dword [rsp + 0x80], 0
lea r15, [rsi + 0xc698]
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 [r15]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140007ccf
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
test eax, eax
jne 0x140007cc9
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 0x140007cc5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140007d1f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, r15
mov rcx, rsi
call fcn.140007830
test eax, eax
je 0x140007cab
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140007cf9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
and dword [0x14012f490], 0
jmp 0x140007d1a
test edx, edx
je 0x140007d14
mov eax, dword [0x14012f490]
test eax, eax
je 0x140007d14
cmp eax, edx
jbe 0x140007d1a
mov dword [0x14012f490], 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.140001860
int3
Function at 0x140008b20
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov ebx, edx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp - 0x19]
lea r8d, [rdx + 0x68]
call fcn.1400b15e0
xor ecx, ecx
mov dword [rbp - 0x19], 0x68
test ebx, ebx
je 0x140008b63
mov dword [rbp + 0x23], 1
mov word [rbp + 0x27], cx
lea rax, [rbp - 0x39]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x19]
mov rdx, rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
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 0x140008b9f
xor eax, eax
jmp 0x140008bdf
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]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140008ef8
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x30c]
mov rbx, rcx
neg eax
sbb edx, edx
and edx, 6
call fcn.1400811b0
cmp dword [rbx + 0x308], 0
jne 0x140008f52
mov rcx, rbx
call fcn.14000af54
lea rdx, [rbx + 0xc060]
lea rcx, [0x140008978]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 0xc010]
test rcx, rcx
je 0x140008f4a
call qword [sym.imp.USER32.dll_UnregisterDeviceNotification]
mov rcx, rbx
call fcn.14003fa4c
add rsp, 0x20
pop rbx
ret
Function at 0x140015794
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov r9, qword [rcx + 0x168]
lea rdx, [0x1400e4770]
mov rdi, rcx
mov esi, 0x80000000
mov r8d, esi
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, qword [rdi + 0x168]
lea rdx, [0x1400e4774]
mov r8d, esi
lea rcx, str.Setting
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rdi + 0x40]
lea rdx, [rbp + 0x27]
mov esi, eax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x2f]
lea rcx, [rbp + 0x37]
sub eax, dword [rbp + 0x27]
xor edx, edx
add eax, ebx
mov dword [rbp + 0x37], ebx
mov dword [rbp + 0x3f], eax
mov eax, dword [rbp + 0x33]
sub eax, dword [rbp + 0x2b]
add eax, esi
mov dword [rbp + 0x3b], esi
mov dword [rbp + 0x43], eax
call qword [sym.imp.USER32.dll_MonitorFromRect]
test rax, rax
jne 0x140015867
lea rdx, str.CenterWindow__
lea rcx, [rbp + 0x17]
call fcn.140001340
mov rcx, rax
call fcn.14004b81c
xor edx, edx
mov rcx, rdi
call fcn.140079ffc
jmp 0x1400158ed
mov rax, qword [rdi + 0x40]
lea rdx, [rbp - 0x19]
xorps xmm0, xmm0
mov ecx, 5
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp - 0x19], 0x30
mov qword [rbp - 0x11], rax
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.SHELL32.dll_SHAppBarMessage]
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_CopyRect]
cmp dword [rbp + 3], 0
jg 0x1400158cb
cmp dword [rbp - 1], 0
jg 0x1400158cb
mov eax, dword [rbp + 0x23]
mov ecx, dword [rbp + 0x1f]
sub eax, dword [rbp + 0x1b]
sub ecx, dword [rbp + 0x17]
cmp eax, ecx
jle 0x1400158c5
cmp ebx, ecx
cmovl ebx, ecx
jmp 0x1400158cb
cmp esi, eax
jge 0x1400158cb
mov esi, eax
mov dword [rsp + 0x30], 5
mov r9d, esi
and dword [rsp + 0x28], 0
mov r8d, ebx
and dword [rsp + 0x20], 0
xor edx, edx
mov rcx, rdi
call fcn.1400810d8
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400b0010
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1400159a8
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0xd8]
mov r9, qword [rbx + 0x168]
lea rdx, str.HideSerialNumber
xor r8d, r8d
lea rcx, str.Setting
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, 0x8021
test eax, eax
je 0x1400159fa
mov dword [rbx + 0xc460], 1
mov r8d, 8
jmp 0x140015a04
and dword [rbx + 0xc460], 0
xor r8d, r8d
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0xe0]
mov rcx, qword [rbx + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_DrawMenuBar]
Function at 0x1400164f4
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x168]
lea rdx, [0x1400e84d0]
mov rdi, rcx
xor r8d, r8d
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x140016595
mov dword [rdi + 0x300], 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 + 0x168]
lea rdx, str.StartupFixed
xor r8d, r8d
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
je 0x1400165bd
mov rcx, rdi
call fcn.140019738
jmp 0x14001659c
and dword [rdi + 0x300], 0
mov r9, qword [rdi + 0x168]
lea r8, [0x1400e268c]
lea rdx, str.StartupFixed
lea rcx, str.Setting
call fcn.14004be58
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140019ddc
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov ebx, edx
mov rdi, rcx
call fcn.1400165c8
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x140019f38
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x70], 0x68
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1400b15e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov eax, 1
mov dword [rbp - 0x54], eax
mov word [rbp - 0x50], ax
mov r9d, ebx
lea r8, [rbp - 0x20]
lea rdx, str.__s___Earthlight__d
lea rcx, [rsp + 0x50]
call fcn.140002f84
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
lea rcx, [rdi + 0xc060]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rcx + 0x10]
call fcn.140019d90
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
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 0x140019f14
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400b0010
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001860
int3
Function at 0x140019f44
Capabilities:
Create process on windows
Delete registry value
Persist via run registry key

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 6]
call fcn.14004915c
xor edi, edi
test eax, eax
je 0x14001a041
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x14001a0b2
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x6f], rax
mov dword [rbp - 0x29], 0x68
xor edx, edx
lea r8d, [rdi + 0x60]
lea rcx, [rbp - 0x21]
call fcn.1400b15e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
mov dword [rbp + 0x13], 1
mov word [rbp + 0x17], di
lea rdx, str.schtasks.exe__Delete__tn_CrystalDiskInfo__F
lea rcx, [rbp + 0x6f]
call fcn.140002f84
lea rax, [rbp - 0x49]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x29]
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 [rbp + 0x6f]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, 0x3e8
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x49]
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 0x14001a0a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001a0a2
mov word [rbp + 0x6f], di
lea rax, [rbp + 0x77]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
lea r9, [rbp + 0x6f]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001a0a2
lea rdx, [0x1400e1710]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0xe0
pop rdi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001860
int3
Function at 0x14001a530
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x168]
lea rdx, [0x1400e8c70]
mov rdi, rcx
xor r8d, r8d
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ebx, ebx
mov rcx, rdi
test eax, eax
jne 0x14001a578
mov rax, qword [rdi]
mov dword [rdi + 0x308], ebx
call qword [rax + 0xd8]
xor r8d, r8d
jmp 0x14001a5ea
mov dword [rdi + 0x308], 1
call fcn.14001a624
cmp dword [rdi + 0xc498], ebx
je 0x14001a5d0
mov rcx, rdi
call fcn.14001c6c8
test eax, eax
je 0x14001a5d0
mov r8, qword [rdi + 0x388]
mov ecx, ebx
test r8, r8
jle 0x14001a5d8
lea rdx, [rdi + 0xc1d0]
cmp dword [rdx], ebx
je 0x14001a5c0
lea eax, [rcx + 0x9200]
mov dword [rdi + 0x1ac0], eax
inc ecx
add rdx, 4
movsxd rax, ecx
cmp rax, r8
jl 0x14001a5b0
jmp 0x14001a5d8
mov rcx, rdi
call fcn.14001a4c0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xd8]
mov r8d, 8
mov rcx, qword [rax + 8]
mov edx, 0x804a
mov rbx, rax
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]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_DrawMenuBar]
and byte [rsp + rbx], bl
sbb al, 0x1c
sbb al, 0x1c
sbb al, 0x1c
sbb al, 0x1c
sbb dl, byte [rcx]
adc dword [rbx], ebx
sbb al, 0x1c
sbb al, 0x1c
sbb al, 0x1c
sbb al, 0x1c
sbb al, 0x1c
adc dword [rsi], esp
and dword [rcx], esp
and dword [rcx], esp
and dword [rcx], esp
and dword [rcx], esp
and dword [rcx], esp
and dword [rcx], esp
and dword [rcx], esp
and dword [rdi], esp
sub byte [rcx], dl
sub dword [rdx], ebp
and dword [rcx], esp
and dword [rcx], esp
and dword [rcx], esp
and dword [rcx], esp
and eax, 0x21261111
and dword [rcx], esp
and dword [rcx], esp
and dword [rcx], esp
and dword [rcx], esp
sub ebp, dword [rbx]
sub ebp, dword [rbx]
sub ebp, dword [rbx]
invalid
sub al, 0x2d
adc dword [rsi], ebp
invalid
Function at 0x140032f68
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x4e0]
mov rbx, rcx
call fcn.140073b54
lea rdi, [rbx + 0x2cc]
xor r8d, r8d
mov r9, rdi
lea rdx, str.GraphHeight
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x140032fc1
mov r9, rdi
lea rdx, str.GraphHeight
xor r8d, r8d
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x140032fc6
mov eax, 0x1e0
mov r9, rdi
mov dword [rbx + 0x590], eax
xor r8d, r8d
lea rdx, str.GraphWidth
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x140033006
mov r9, rdi
lea rdx, str.GraphWidth
xor r8d, r8d
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x14003300b
mov eax, 0x280
mov dword [rbx + 0x58c], eax
mov r9d, 1
movsd xmm2, qword [rbx + 0x4d8]
mov rcx, rbx
movd xmm0, dword [rbx + 0x590]
movd xmm1, eax
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
mulsd xmm0, xmm2
mulsd xmm1, xmm2
cvttsd2si r8, xmm0
cvttsd2si rdx, xmm1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400743dc
Function at 0x14003ea7c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, str.user32.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rbx, rbx
je 0x14003ec79
test rax, rax
je 0x14003ec79
lea rdx, str.RtlGetNtVersionNumbers
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003ec6e
lea r8, [0x14012f844]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call rax
mov eax, dword [0x14012f844]
and eax, 0xfffffff
cmp dword [rsp + 0x30], 0xa
mov dword [0x14012f844], eax
jne 0x14003ec6e
cmp dword [rsp + 0x38], 0
jne 0x14003ec6e
cmp eax, 0x4563
jb 0x14003ec6e
xor edx, edx
lea rcx, str.uxtheme.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x14003ec6e
mov edx, 0x31
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x68
mov rcx, rbx
mov qword [0x14012f828], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x6a
mov rcx, rbx
mov qword [0x14012f810], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x84
mov rcx, rbx
mov qword [0x14012f820], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x85
mov rcx, rbx
mov qword [0x14012f7f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x87
mov rcx, rbx
mov qword [0x14012f7f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x14012f844], 0x47ba
jae 0x14003ebc3
mov qword [0x14012f800], rax
jmp 0x14003ebca
mov qword [0x14012f838], rax
mov edx, 0x89
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetWindowCompositionAttribute
mov rcx, rdi
mov qword [0x14012f818], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14012f828], 0
mov qword [0x14012f7e8], rax
je 0x14003ec6e
cmp qword [0x14012f810], 0
je 0x14003ec6e
cmp qword [0x14012f7f0], 0
je 0x14003ec6e
cmp qword [0x14012f7f8], 0
je 0x14003ec6e
cmp qword [0x14012f800], 0
jne 0x14003ec32
cmp qword [0x14012f838], 0
je 0x14003ec6e
cmp qword [0x14012f818], 0
je 0x14003ec6e
mov bl, 1
mov cl, bl
mov byte [0x14012f840], bl
call fcn.14003ea4c
call qword [0x14012f810]
call qword [0x14012f7f0]
test al, al
je 0x14003ec64
call fcn.14003ec88
test al, al
je 0x14003ec66
xor bl, bl
mov byte [0x14012f841], bl
jmp 0x14003ec74
mov bl, byte [0x14012f841]
movzx eax, bl
jmp 0x14003ec7b
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003f67c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rsp + 0x50]
mov rdi, rcx
mov qword [rcx + 0x158], rsi
mov ebp, edx
mov dword [rcx + 0x13c], 1
mov qword [rcx + 0x160], r8
mov dword [rcx + 0x150], r9d
test r9d, r9d
je 0x14003f70d
test rsi, rsi
je 0x14003f70d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0xd8]
mov edx, dword [rdi + 0x150]
mov r8d, 1
mov rbx, rax
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov rcx, qword [rdi + 0x158]
mov rdx, rbx
mov r9, qword [rcx]
call qword [r9 + 0xe0]
mov rcx, qword [rdi + 0x158]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_DrawMenuBar]
movzx edx, bp
mov r8, rsi
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp method.CAboutDlg.virtual_720

Function at 0x14003fef0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov ebx, 1
mov dword [rax - 0x10], ebx
and qword [rax - 0x18], 0
xor r9d, r9d
mov r8, qword [rdx]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jg 0x14003ffa3
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x14003ffcb
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8, qword [rdi]
lea rdx, str.url.dll_FileProtocolHandler__s
lea rcx, [rsp + 0x50]
call fcn.140002f84
mov dword [rsp + 0x28], ebx
and qword [rsp + 0x20], 0
mov rbx, qword [rsp + 0x50]
mov r9, rbx
lea r8, str.rundll32.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003ffa3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003ffc0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140001860
int3

Function at 0x140044748
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rdx]
lea rcx, str.Character
mov rbx, rdx
xor r8d, r8d
lea rdx, str.Position
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rdx, qword [rbx]
mov edi, eax
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14004478f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rbx, qword [rsp + 0x30]
mov al, dil
add rsp, 0x20
pop rdi
ret
Function at 0x1400447a0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r9
movzx r8d, r8b
mov r9, qword [r9]
lea rcx, str.Alpha
mov rbx, rdx
mov rdx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rdx, qword [rbx]
mov esi, eax
sub rdx, 0x18
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x1400447ee
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rdi]
mov eax, ebx
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14004480b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
mov al, sil
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140044820
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx ecx, r8b
mov rsi, r9
mov r9, qword [r9]
mov eax, ecx
shl eax, 8
mov rbx, rdx
mov rdx, qword [rdx]
mov r8d, eax
bswap r8d
or r8d, eax
or r8d, ecx
lea rcx, str.Color
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, eax
movzx edi, ax
and edi, 0xffffff00
shr ecx, 0x10
movzx edx, cl
or edi, edx
movzx eax, al
mov rdx, qword [rbx]
shl eax, 0x10
sub rdx, 0x18
or edi, eax
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140044898
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi]
mov ecx, ebx
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x1400448b6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret