joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408fe1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x44
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x58]
push ebx
push eax
mov esi, ecx
call fcn.00488a40
add esp, 0xc
mov dword [ebp - 0x58], edi
xor eax, eax
xor edi, edi
mov word [ebp - 0x28], ax
inc edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], edi
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, edi
je 0x40902c
xor eax, eax
jmp 0x409062
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409067
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 4
mov eax, 0x4ac69d
call fcn.004879bf
mov esi, ecx
cmp dword [ebp + 0xc], 1
je 0x4091e5
cmp dword [ebp + 8], 0x3e8
je 0x409091
cmp dword [esi + 0x65bc], 0
je 0x409105
mov eax, dword [0x4fc820]
test eax, eax
je 0x4091ff
add eax, 0xfffffda8
cmp eax, 0xc7
ja 0x40910c
lea edi, [esi + 0x6228]
mov ecx, dword [edi]
call fcn.0043bc05
test eax, eax
je 0x40910c
cmp dword [ebp + 0xc], 3
jne 0x4090f5
push 0x4c90b8
lea ecx, [ebp + 0xc]
call fcn.00402632
and dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.0040920a
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.004028cb
mov eax, esi
jmp 0x409202
push edi
mov ecx, esi
call fcn.0040920a
test eax, eax
jne 0x4091dc
xor eax, eax
jmp 0x409202
lea ecx, [ebp + 0xc]
call fcn.004038ee
mov dword [ebp - 4], 2
mov edi, str.CDI_SOUND_001
push edi
call fcn.0048c5e3
pop ecx
push eax
push edi
lea ecx, [ebp + 0xc]
call fcn.00402592
push str.OPUS
push dword [ebp + 0xc]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4091a1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 2
push 2
push edi
push edi
push 0x40000000
push dword [esi + 0x667c]
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4091bb
push 0
lea eax, [ebp + 8]
push eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x4091b5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.004028cb
jmp 0x409105
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x667c]
mov ecx, esi
push eax
call fcn.0040920a
test eax, eax
je 0x4091a1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004028cb
and dword [0x4fc820], 0
jmp 0x4091ff
mov eax, dword [ebp + 8]
test eax, eax
je 0x4091fa
mov ecx, dword [0x4fc820]
test ecx, ecx
je 0x4091fa
cmp ecx, eax
jbe 0x4091ff
mov dword [0x4fc820], eax
xor eax, eax
inc eax
call fcn.00487988
ret 8
Function at 0x40920a
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x4ac6df
call fcn.004879bf
mov edi, ecx
mov eax, dword [0x4fc810]
mov esi, 0x4fc80c
mov ebx, dword [sym.imp.WINMM.dll_mciSendCommandW]
test eax, eax
je 0x409269
push esi
push 2
push 0x808
push eax
call ebx
push esi
push 2
push 0x804
push dword [0x4fc810]
call ebx
and dword [0x4fc810], 0
mov esi, eax
push 0xc
push 0
push 0x4fc80c
call fcn.00488a40
add esp, 0xc
test esi, esi
jne 0x40932d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push 5
push eax
call fcn.00403644
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0040abc3
push str..OPUS
push dword [eax]
call fcn.0048fce5
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004028cb
test esi, esi
jne 0x4092fd
lea ecx, [ebp - 0x10]
call fcn.004038ee
mov dword [ebp - 4], 2
lea esi, [edi + 0x6678]
push dword [esi]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x10]
push dword [edi + 0x6224]
push str.__s____s____s_
push eax
call fcn.004038da
mov ecx, dword [ebp - 0x10]
add esp, 0x14
call fcn.00408fe1
push esi
mov ecx, edi
call fcn.0040920a
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004028cb
mov eax, esi
jmp 0x40932f
mov esi, dword [ebp + 8]
push 0x4c90b8
push dword [esi]
call fcn.0048fce5
pop ecx
pop ecx
push 0x4fc80c
test eax, eax
jne 0x409337
push eax
push 0x804
push dword [0x4fc810]
call ebx
test eax, eax
je 0x4093dc
xor eax, eax
call fcn.00487988
ret 4
push 0x2200
push 0x803
mov dword [0x4fc814], 0x4ca9a4
mov eax, dword [esi]
push 0
mov dword [0x4fc818], eax
call ebx
test eax, eax
jne 0x40932d
push dword [edi + 0xd0]
push 0x50
push str.AlertSoundVolume
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
test edx, edx
js 0x40937d
cmp edx, 0x64
jle 0x409380
push 0x50
pop edx
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
imul eax, edx, 0xa
mov dword [ebp - 0x24], 0x4002
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
push 0x1800000
push 0x873
push dword [0x4fc810]
call ebx
push 0x4fc808
push 0x100
push 0x807
push dword [0x4fc810]
call ebx
test eax, eax
jne 0x40932d
push 0x4fc7fc
push eax
push 0x806
jmp 0x40931d
xor eax, eax
inc eax
jmp 0x40932f
Function at 0x4135f8
Capabilities:
Check os version
Delete registry value
Persist via run registry key

Disassembly:
push 0x184
mov eax, 0x4ad910
call fcn.004879f3
mov esi, 0x11c
lea eax, [ebp - 0x130]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.00488a40
add esp, 0xc
mov dword [ebp - 0x130], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x130]
push eax
call esi
test eax, eax
jne 0x41364b
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x114
push eax
call esi
cmp dword [ebp - 0x12c], 6
jb 0x41370c
lea ecx, [ebp - 0x134]
call fcn.004038ee
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x190]
push 0x44
pop esi
push esi
push ebx
push eax
call fcn.00488a40
xor eax, eax
mov dword [ebp - 0x190], esi
lea edi, [ebp - 0x144]
mov dword [ebp - 0x164], 1
stosd dword es:[edi], eax
push str.schtasks.exe__Delete__tn_CrystalDiskInfo__F
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x160], ax
lea eax, [ebp - 0x134]
push eax
call fcn.004038da
add esp, 0x14
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x190]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x134]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x3e8
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x140]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x144]
call esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x134]
lea ecx, [ecx - 0x10]
call fcn.004028cb
jmp 0x413758
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x134]
push eax
push ebx
push 0xf003f
push ebx
push 0x4c90b8
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x413758
push 0x4c9240
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
call fcn.0048799d
ret

Function at 0x417b3d
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x230]
sub esi, 1
js 0x417b9a
push ebx
lea ebx, [edi + 0x228]
push dword [edi + 0xd0]
mov ecx, ebx
push 1
push esi
call fcn.0040ad5e
push dword [eax + 0x1890]
push str.TemperatureIcon
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x417b94
push esi
mov ecx, ebx
call fcn.0040ad5e
cmp dword [eax + 0x17bc], 0xfffffed4
jle 0x417b94
push esi
mov ecx, edi
call fcn.0041766d
sub esi, 1
jns 0x417b53
pop ebx
mov ecx, edi
pop edi
pop esi
jmp fcn.00417c48
Function at 0x42302c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 4
mov eax, 0x4b079c
call fcn.004879bf
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
push edi
push 0x93
call fcn.00432fda
and dword [ebp - 4], 0
lea ecx, [ebx + 0x1e0]
mov dword [ebx], vtable.CFontSelectionDlg.0
call fcn.0043a1a2
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x3d8]
call fcn.0043a1a2
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x5d0]
call fcn.0043a1a2
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x7c8]
call fcn.0042f7ef
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x9b0]
call fcn.0042f7ef
mov byte [ebp - 4], 5
lea esi, [ebx + 0xb98]
mov ecx, esi
mov dword [ebp + 8], esi
call fcn.0043172d
mov byte [ebp - 4], 6
mov dword [esi], vtable.CFontComboBox.0
mov byte [ebp - 4], 7
lea ecx, [ebx + 0xdb0]
call fcn.0043172d
mov byte [ebp - 4], 8
lea ecx, [ebx + 0xfc0]
call fcn.0043172d
mov byte [ebp - 4], 9
mov ecx, edi
call fcn.00437a8b
fld1
mov ecx, edi
mov dword [ebx + 0x104], eax
mov eax, dword [edi + 0xe4]
mov dword [ebx + 0xe4], eax
lea eax, [ebp + 8]
push eax
fstp qword [ebx + 0xe8]
call fcn.00433b69
mov byte [ebp - 4], 0xa
lea ecx, [ebx + 0xdc]
push eax
call fcn.0040232a
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028cb
mov al, byte [edi + 0xe0]
mov ecx, edi
mov byte [ebx + 0xe0], al
lea eax, [ebp + 8]
push eax
call fcn.00436c32
mov byte [ebp - 4], 0xc
lea ecx, [ebx + 0x180]
push eax
call fcn.0040232a
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028cb
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00436c67
mov byte [ebp - 4], 0xe
lea ecx, [ebx + 0x184]
push eax
call fcn.0040232a
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028cb
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00436c9c
mov byte [ebp - 4], 0x10
lea ecx, [ebx + 0x164]
push eax
call fcn.0040232a
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028cb
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00436cd1
mov byte [ebp - 4], 0x12
lea ecx, [ebx + 0x168]
push eax
call fcn.0040232a
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028cb
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00436d06
mov byte [ebp - 4], 0x14
lea ecx, [ebx + 0x16c]
push eax
call fcn.0040232a
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028cb
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00436d3b
mov byte [ebp - 4], 0x16
lea ecx, [ebx + 0xd0]
push eax
call fcn.0040232a
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028cb
mov edi, 0x4c90b8
push edi
call fcn.0048c5e3
pop ecx
push eax
push edi
lea ecx, [ebx + 0x188]
call fcn.00402592
or dword [ebp - 4], 0xffffffff
mov eax, ebx
call fcn.00487988
ret 4
Function at 0x4331e9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3229
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x4f6560]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CDialogFx.0
mov dword [ebp - 4], 0xf
lea ecx, [esi + 0x1d8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], vtable.CBrush.0
mov byte [ebp - 4], 0xf
call fcn.0043144d
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x1a4]
call fcn.0042efe8
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x194]
call fcn.00468cfd
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x18c]
mov dword [ebp - 0x18], ecx
mov dword [ecx], vtable.CBitmap.0
mov byte [ebp - 4], 0xc
call fcn.0043144d
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x188]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ecx]
push 0x10
pop edi
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x184]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 9
lea ecx, [esi + 0x180]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 8
lea ecx, [esi + 0x17c]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 7
lea ecx, [esi + 0x178]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 6
lea ecx, [esi + 0x174]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 5
lea ecx, [esi + 0x170]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 4
lea ecx, [esi + 0x16c]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 3
lea ecx, [esi + 0x168]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 2
lea ecx, [esi + 0x164]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 1
lea ecx, [esi + 0xdc]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
mov byte [ebp - 4], 0
lea ecx, [esi + 0xd0]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 0
mov ecx, dword [ecx]
sub ecx, edi
call fcn.004028cb
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0045aedd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret
Function at 0x433e10
Capabilities:
Read .ini file

Disassembly:
push 0x20c
mov eax, 0x4b33cd
call fcn.004879f3
mov edi, ecx
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x218], esi
and dword [ebp - 0x214], 0
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.004038ee
cmp dword [ebp + 0x14], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 1
jne 0x433ea0
push dword [edi + 0x180]
push 0x100
push eax
push 0x4c90b8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
call fcn.0048c5e3
pop ecx
push eax
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00402592
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x433ed9
lea eax, [ebp - 0x210]
push dword [edi + 0x184]
push 0x100
push eax
push 0x4c90b8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
call fcn.0048c5e3
pop ecx
push eax
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00402592
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.004028cb
and dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004028cb
mov eax, esi
call fcn.0048799d
ret 0x10

Function at 0x433f01
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4b341c
call fcn.004879bf
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, 0x4cf11c
push 1
push ebx
push ebx
push dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x433f6c
lea ecx, [ebp - 0x10]
call fcn.004038ee
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str.url.dll_FileProtocolHandler__s
push eax
call fcn.004038da
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x10]
push str.rundll32.exe
push edi
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004028cb
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028cb
call fcn.00487988
ret 4
Function at 0x4380c4
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x4b4101
call fcn.004879bf
mov dword [ebp - 4], 1
movzx ecx, byte [ebp + 0xc]
push dword [ebp + 0x10]
mov eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
push eax
push dword [ebp + 8]
push str.Color
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx esi, al
movzx ecx, ax
shl esi, 8
shr ecx, 8
or esi, ecx
shr eax, 0x10
shl esi, 8
movzx eax, al
or esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004028cb
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004028cb
mov eax, esi
call fcn.00487988
ret 0xc

Function at 0x43813a
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x4b4101
call fcn.004879bf
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
movzx eax, byte [ebp + 0xc]
push eax
push dword [ebp + 8]
push str.Alpha
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov bl, al
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004028cb
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.004028cb
mov al, bl
call fcn.00487988
ret 0xc

Function at 0x438c47
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4f7bfc], 0xffffffff
jne 0x438ce1
push ebx
push edi
push 4
pop eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 0xc], eax
mov ebx, 0x20019
lea eax, [ebp - 4]
mov dword [0x4f7bfc], edi
push eax
push ebx
push edi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v2.0.50727
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x438cac
lea eax, [ebp - 4]
push eax
push ebx
push edi
push str.SOFTWAREWow6432NodeMicrosoftNET_Framework_SetupNDP_v2.0.50727
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438cdf
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.Install
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438cd6
inc eax
cmp dword [ebp - 8], eax
jne 0x438cd6
mov dword [0x4f7bfc], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, dword [0x4f7bfc]
leave
ret
Function at 0x438ce8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4f7bf8], 0xffffffff
jne 0x438d82
push ebx
push edi
push 4
pop eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 0xc], eax
mov ebx, 0x20019
lea eax, [ebp - 4]
mov dword [0x4f7bf8], edi
push eax
push ebx
push edi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x438d4d
lea eax, [ebp - 4]
push eax
push ebx
push edi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438d80
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.Install
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438d77
inc eax
cmp dword [ebp - 8], eax
jne 0x438d77
mov dword [0x4f7bf8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, dword [0x4f7bf8]
leave
ret

Function at 0x438d89
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x4b43e0
call fcn.004879f3
mov eax, dword [0x4f7bf0]
xor esi, esi
cmp eax, 0xffffffff
jne 0x438deb
mov edi, 0x11c
mov dword [0x4f7bf0], esi
push edi
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.00488a40
add esp, 0xc
mov dword [ebp - 0x22c], edi
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x228], 5
jne 0x438de6
xor eax, eax
inc eax
mov dword [0x4f7bf0], eax
jmp 0x438deb
mov eax, dword [0x4f7bf0]
test eax, eax
je 0x438ebf
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x23c], 4
mov dword [ebp - 0x238], 0x100
mov dword [ebp - 0x230], esi
call fcn.004038ee
mov dword [ebp - 4], esi
lea eax, [ebp - 0x230]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionThemeManager_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438eab
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x23c]
push eax
push esi
push str.ThemeActive
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438e9f
lea eax, [ebp - 0x110]
push eax
call fcn.0048c5e3
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402592
push esi
push 0x4ca288
lea ecx, [ebp - 0x234]
call fcn.0040abeb
test eax, eax
jne 0x438e9f
xor esi, esi
inc esi
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.004028cb
mov eax, esi
call fcn.0048799d
ret
Function at 0x438ec5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4f6560]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x4f7bec]
cmp esi, 0xffffffff
jne 0x438f3b
push edi
mov edi, 0x11c
lea eax, [ebp - 0x120]
xor esi, esi
push edi
push esi
push eax
mov dword [0x4f7bec], esi
call fcn.00488a40
add esp, 0xc
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop edi
jbe 0x438f35
cmp dword [ebp - 0x11c], 6
jne 0x438f32
cmp dword [ebp - 0x118], 2
jbe 0x438f35
xor esi, esi
inc esi
mov dword [0x4f7bec], esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00487168
leave
ret

Function at 0x438fc1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4f6560]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4f7be4]
cmp eax, 0xffffffff
jne 0x439038
and dword [0x4f7be4], 0
lea eax, [ebp - 0x120]
push esi
mov esi, 0x11c
push esi
push 0
push eax
call fcn.00488a40
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
pop esi
jne 0x439033
cmp dword [ebp - 0x118], 2
jae 0x439033
cmp byte [ebp - 6], 1
jne 0x439033
xor eax, eax
inc eax
mov dword [0x4f7be4], eax
jmp 0x439038
mov eax, dword [0x4f7be4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487168
leave
ret