joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409560
Capabilities:
Log keystrokes via polling
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
sub esp, 0x83c
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x838], eax
call fcn.00406db0
test eax, eax
jne 0x409597
mov eax, 1
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0040b218
add esp, 0x83c
ret
push ebx
push esi
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test ax, ax
je 0x409622
push str.SoftwareContentGuard
lea eax, [esp + 0x434]
push 0x104
push eax
mov dword [esp + 0x18], 1
call fcn.0040b1a9
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0xf003f
push 0
push 0x41f30c
push 0
lea eax, [esp + 0x44c]
push eax
push 0x80000001
call esi
test eax, eax
jne 0x409622
mov edx, dword [esp + 8]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push eax
push str.SETUP_QUICKSTART_MSG
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 8]
push eax
call ebx
push str.SoftwareContentGuard
lea ecx, [esp + 0x24]
push 0x104
push ecx
mov dword [esp + 0x20], 1
call fcn.0040b1a9
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x41f30c
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0x80000001
call esi
test eax, eax
jne 0x4096ad
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.SETUP_QUICKSTART_MSG
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x10]
push eax
call ebx
cmp dword [esp + 8], 4
jne 0x4096ad
cmp dword [esp + 0x14], 0
je 0x4096eb
call fcn.00403200
push eax
push str._1.1s:.cfgLanguage.cfg
lea ecx, [esp + 0x230]
push 0x104
push ecx
call fcn.0040b5c1
add esp, 0x10
lea edx, [esp + 0x228]
push edx
push 1
push str.SETUP_QUICKSTART_MSG
push str.UsbEnter
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x409704
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0040b218
add esp, 0x83c
ret
lea eax, [esp + 0x638]
push eax
call fcn.00403200
push eax
call fcn.00408ff0
mov ecx, dword [esp + 0x848]
add esp, 8
pop esi
pop ebx
xor ecx, esp
call fcn.0040b218
add esp, 0x83c
ret
Function at 0x409740
Capabilities:
Log keystrokes via polling
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
sub esp, 0x83c
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test ax, ax
je 0x4097df
push str.SoftwareContentGuard
lea eax, [esp + 0x434]
push 0x104
push eax
mov dword [esp + 0x18], 1
call fcn.0040b1a9
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0xf003f
push 0
push 0x41f30c
push 0
lea eax, [esp + 0x44c]
push eax
push 0x80000001
call esi
test eax, eax
jne 0x4097df
mov edx, dword [esp + 8]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push eax
push str.SETUP_QUICKSTART_MSG
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 8]
push eax
call ebx
push str.SoftwareContentGuard
lea ecx, [esp + 0x24]
push 0x104
push ecx
mov dword [esp + 0x20], 1
call fcn.0040b1a9
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x41f30c
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0x80000001
call esi
test eax, eax
jne 0x409883
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.SETUP_QUICKSTART_MSG
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x10]
push eax
call ebx
cmp dword [esp + 8], 4
jne 0x409883
cmp dword [esp + 0x14], 0
jne 0x409883
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0040b218
add esp, 0x83c
ret
call fcn.00403200
push eax
push str._1.1s:.cfgLanguage.cfg
lea ecx, [esp + 0x230]
push 0x104
push ecx
call fcn.0040b5c1
add esp, 0x10
lea edx, [esp + 0x228]
push edx
push 1
push str.SETUP_QUICKSTART_MSG
push str.UsbEnter
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40986a
lea eax, [esp + 0x638]
push eax
call fcn.00403200
push eax
call fcn.00409200
add esp, 8
test eax, eax
jne 0x4098f9
lea ecx, [esp + 0x638]
push ecx
call fcn.00403200
push eax
call fcn.00408ff0
add esp, 8
test eax, eax
je 0x40986a
mov ecx, dword [esp + 0x840]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0040b218
add esp, 0x83c
ret
Function at 0x409920
Capabilities:
Hide graphical window
Read .ini file

Disassembly:
sub esp, 0x810
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push edi
call fcn.00403310
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push esi
call edi
push 0x22f
call fcn.00408000
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
push eax
push 0x3ea
push esi
call ebx
push eax
call edi
push 0x232
call fcn.00408000
add esp, 4
push eax
push 0x3e9
push esi
call ebx
push eax
call edi
push 0x230
call fcn.00408000
add esp, 4
push eax
push 1
push esi
call ebx
push eax
call edi
push 0x231
call fcn.00408000
add esp, 4
push eax
push 2
push esi
call ebx
push eax
call edi
call fcn.00403200
movzx eax, word [eax]
push eax
lea ecx, [esp + 0x214]
push str._c:.cfgSetting.ini
push ecx
call fcn.00404200
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea edx, [esp + 0x210]
push edx
push pe_nt_image_headers32
lea eax, [esp + 0x18]
push eax
push 0x41f30c
push str.CG_Parameter
push str.UsbEnter
call ebp
lea ecx, [esp + 0x10]
push ecx
push 0x265
call fcn.00408000
add esp, 4
push eax
lea edx, [esp + 0x420]
push str._s__s
push edx
call fcn.00409520
add esp, 0x10
lea eax, [esp + 0x418]
push eax
push 0x3eb
push esi
call ebx
push eax
call edi
lea ecx, [esp + 0x210]
push ecx
push pe_nt_image_headers32
lea edx, [esp + 0x18]
push edx
push 0x41f30c
push str.AutoUpdateURL
push str.UsbEnter
call ebp
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409a56
sub eax, edx
sar eax, 1
jne 0x409a78
push 0
push 0x3eb
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x2a2
call fcn.00408000
push eax
lea eax, [esp + 0x18]
push str._a__s__a_
push eax
call fcn.00409540
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x3ec
push esi
call ebx
push eax
call edi
mov ecx, dword [esp + 0x818]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b218
add esp, 0x810
ret
Function at 0x409b10
Capabilities:
Set registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push 0x3eb
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp eax, 1
jne 0x409b4e
push eax
jmp 0x409b50
push 0
call fcn.00403330
add esp, 4
push 0
push 0
push 0xf0
push 0x3e9
push esi
mov dword [esp + 0x20], 1
call edi
push eax
call ebx
pop edi
pop ebx
cmp eax, 1
jne 0x409b83
mov dword [esp + 4], 0
push str.SoftwareContentGuard
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0040b1a9
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 4]
push edx
push 0
push 0xf003f
push 0
push 0x41f30c
push 0
lea eax, [esp + 0x28]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x409beb
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push eax
push str.SETUP_QUICKSTART_MSG
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0040b218
add esp, 0x218
ret

Function at 0x409c00
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
sub esp, 0x248
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [esp + 0x24c]
sub eax, 1
push esi
mov esi, ecx
je 0x409c50
sub eax, 1
jne 0x409d02
call fcn.00409b10
push 2
push esi
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0040b218
add esp, 0x248
ret
call fcn.00409b10
lea eax, [esp + 0x40]
push eax
call fcn.00403200
push eax
call fcn.00409200
add esp, 8
test eax, eax
je 0x409cc7
push 0x38
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.0040b920
add esp, 0xc
lea eax, [esp + 4]
lea edx, [esp + 0x40]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 3
push esi
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0040b218
add esp, 0x248
ret
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call edi
call fcn.004093b0
test eax, eax
je 0x409cfc
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0040b218
add esp, 0x248
ret
push 5
push esi
call edi
pop edi
mov ecx, dword [esp + 0x248]
pop esi
xor ecx, esp
call fcn.0040b218
add esp, 0x248
ret
Function at 0x409f20
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4290b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
push esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
push 0x42401c
push 1
push esi
push 0x42404c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
je 0x409f8e
push 0x426c24
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], esi
call fcn.0040cfae
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push ecx
push eax
call edx
cmp edi, esi
je 0x409fad
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
cmp dword [ebp + 0x10], esi
je 0x40a031
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x42403c
push eax
mov eax, dword [ecx]
call eax
cmp eax, esi
jge 0x409fda
push 0x426c24
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], esi
call fcn.0040cfae
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
push eax
call edx
cmp eax, esi
jge 0x40a001
push 0x426c24
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], esi
call fcn.0040cfae
mov eax, dword [ebp - 0x20]
test eax, 0x2000
jne 0x40a031
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
or eax, 0x2000
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
cmp eax, esi
jge 0x40a031
push 0x426c24
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], esi
call fcn.0040cfae
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x1c]
push ecx
push 0x42402c
push eax
call edx
cmp eax, esi
je 0x40a059
push 0x426c24
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], esi
call fcn.0040cfae
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
push 0x426c24
cmp eax, esi
je 0x40a07f
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x38], esi
call fcn.0040cfae
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], 1
call fcn.0040cfae
mov eax, dword [ebp - 0x18]
xor esi, esi
cmp eax, esi
je 0x40a0a0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40a0af
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x40a0be
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 0x40a0ca
ret
Function at 0x40a0e0
Capabilities:
Delete file

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x10]
push edi
xor ebx, ebx
xor edi, edi
test ebx, ebx
jne 0x40a11e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
push eax
push esi
call fcn.00409f20
add esp, 0xc
push 0x64
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x40a0f0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x40a280
Capabilities:
Get file version info

Disassembly:
sub esp, 0x1c
push ebp
push esi
push edi
mov edi, eax
lea eax, [esp + 0xc]
push eax
xor ebp, ebp
push edi
mov dword [esp + 0x14], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebp
jne 0x40a2a8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
push ebx
push esi
call fcn.0040bc50
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x40a2c2
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
mov ecx, dword [esp + 0x10]
push ebx
push esi
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push str.StringFileInfo040904b0ProductVersion
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40a352
mov esi, dword [esp + 0x14]
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
xor edi, edi
push esi
call fcn.0040bc2a
push 0x2e
push esi
mov dword [esp + edi*4 + 0x28], eax
call fcn.0040ba6e
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40a325
inc edi
add esi, 2
cmp edi, 4
jl 0x40a301
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x30]
jne 0x40a352
mov edx, dword [esp + 0x20]
cmp edx, dword [esp + 0x34]
jne 0x40a352
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x38]
jne 0x40a352
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x3c]
jne 0x40a352
mov ebp, 1
push ebx
call fcn.0040bc09
add esp, 4
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 0x1c
ret
Function at 0x40a840
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x208], eax
lea eax, [esp]
push eax
push 0x104
call fcn.00406bf0
add esp, 8
test eax, eax
je 0x40a8a5
cmp eax, 0x104
ja 0x40a8a5
push 0x526fd8
push 0
push 0x423f0c
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
neg eax
sbb eax, eax
and eax, 0x526fd8
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0040b218
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.0040b218
add esp, 0x20c
ret

Function at 0x40a980
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x210], eax
push str.SoftwareContentGuard
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.0040b1a9
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 4]
push edx
push 0
push 0xf003f
push 0
push 0x41f30c
push 0
lea eax, [esp + 0x24]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40a9ff
mov edx, dword [esp]
push 4
lea ecx, [esp + 0x21c]
push ecx
push 4
push eax
push str.LicenseShow
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0040b218
add esp, 0x214
ret

Function at 0x40ab30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x208], eax
mov ecx, dword [0x5275f8]
mov eax, dword [esp + 0x210]
test ecx, ecx
je 0x40ac1f
mov edx, dword [esp + 0x214]
push edx
push eax
push 0x8001
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5273f0
push 0x104
lea eax, [esp + 8]
push eax
push 0x41f30c
push 0x423f9c
push 0x423f94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp]
mov eax, 0x5271e8
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40abc6
test dx, dx
je 0x40abc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40abc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40aba0
xor eax, eax
jmp 0x40abcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ac1f
lea ecx, [esp]
push ecx
push 0x104
push 0x5271e8
call fcn.0040b1a9
add esp, 0xc
cmp word [0x5271e8], 0
jne 0x40ac02
mov edx, dword [0x5275f8]
push 0x423f8c
push 0x7d4
push edx
jmp 0x40ac12
mov eax, dword [0x5275f8]
push 0x5271e8
push 0x7d4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0040b218
add esp, 0x20c
ret
Function at 0x40ac40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x208], eax
call fcn.00406ed0
test eax, eax
je 0x40ac66
push 6
push esi
call dword [sym.imp.UxTheme.dll_EnableThemeDialogTexture]
push ebx
push edi
call fcn.00403310
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push esi
call edi
push 0x1fe
call fcn.00408000
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
push eax
push 2
push esi
call ebx
push eax
call edi
push 0x22d
call fcn.00408000
add esp, 4
push eax
push 0x7d3
push esi
call ebx
push eax
call edi
push 0x22e
call fcn.00408000
add esp, 4
push eax
push 0x7d2
push esi
call ebx
push eax
call edi
push 0x1fd
call fcn.00408000
add esp, 4
push eax
push 1
push esi
call ebx
push eax
call edi
lea eax, [esp + 8]
push eax
push 0x104
call fcn.00406bf0
push str.ContentGuardAppNotify.ini
lea ecx, [esp + 0x14]
push ecx
push str._s_s
push 0x5273f0
call fcn.00404200
add esp, 0x18
push 0x5273f0
push 0x104
push 0x5271e8
push 0x41f30c
push 0x423f9c
push 0x423f94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [0x5271e8], 0
jne 0x40ad3b
push 0x423f8c
jmp 0x40ad40
push 0x5271e8
push 0x7d4
push esi
call ebx
push eax
call edi
push esi
call fcn.00408aa0
mov ecx, dword [esp + 0x214]
add esp, 4
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0040b218
add esp, 0x20c
ret

Function at 0x40ad70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x4290b8]
xor eax, esp
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x264]
push eax
lea eax, [esp + 0x58]
push str.taskkill.exe__F__IM__s
push eax
call fcn.00404200
xor eax, eax
push 0x44
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.0040b920
add esp, 0x18
xor edx, edx
lea eax, [esp]
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
mov word [esp + 0x60], dx
lea edx, [esp + 0x74]
push edx
push 0
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x64], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40ae0a
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call esi
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.0040b218
add esp, 0x260
ret
sub eax, 1
je 0x40ae40
sub eax, 1
jne 0x40ae3f
mov eax, dword [esp + 4]
push eax
mov dword [0x5275fc], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
ret
mov dword [esp + 4], 0x5271e8
jmp 0x40ad70
Function at 0x40aed0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x5275f8], 0
jne EnableThemeDialogTexture
mov eax, dword [esp + 4]
push esi
push 0
push 0x40ae50
push eax
push 0x96
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 0x7d1
push eax
mov dword [0x5275f8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [esp + 0xc]
push esi
push 0
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x5275f8]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x5271e4], esi
mov dword [0x5271e0], 0
pop esi
ret

Function at 0x40b218
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4290b8]
jne 0x40b222
repz ret
jmp fcn.0040dbc0

Function at 0x40b87c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40b8ad
call fcn.0040db8a
mov dword [eax], esi
call fcn.0040db77
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040cf78
add esp, 0x14
push 0x16
pop eax
jmp 0x40b902
test dword [ebp + 0xc], 0xfffffff9
jne 0x40b889
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40b8da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040db9d
pop ecx
call fcn.0040db77
mov eax, dword [eax]
jmp 0x40b902
test al, 0x10
jne 0x40b900
test al, 1
je 0x40b900
test byte [ebp + 0xc], 2
je 0x40b900
call fcn.0040db8a
mov dword [eax], 5
call fcn.0040db77
mov dword [eax], 0xd
jmp 0x40b8d1
xor eax, eax
pop esi
pop ebp
ret
Function at 0x418f8a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00410b14
and dword [ebp - 4], 0
cmp dword [0x527fa8], 0
mov ebx, eax
jne 0x41903b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4190ec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4190ec
push eax
call fcn.00410aa2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x527fa8], eax
call esi
push eax
call fcn.00410aa2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x527fac], eax
call esi
push eax
call fcn.00410aa2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x527fb0], eax
call esi
push eax
call fcn.00410aa2
pop ecx
mov dword [0x527fb8], eax
test eax, eax
je 0x41903b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410aa2
pop ecx
mov dword [0x527fb4], eax
mov eax, dword [0x527fb4]
cmp eax, ebx
je 0x419093
cmp dword [0x527fb8], ebx
je 0x419093
push eax
call fcn.00410b1d
push dword [0x527fb8]
mov esi, eax
call fcn.00410b1d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x419093
test edi, edi
je 0x419093
call esi
test eax, eax
je 0x41908a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41908a
test byte [ebp - 0xc], 1
jne 0x419093
or dword [ebp + 0x10], 0x200000
jmp 0x4190cc
mov eax, dword [0x527fac]
cmp eax, ebx
je 0x4190cc
push eax
call fcn.00410b1d
pop ecx
test eax, eax
je 0x4190cc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4190cc
mov eax, dword [0x527fb0]
cmp eax, ebx
je 0x4190cc
push eax
call fcn.00410b1d
pop ecx
test eax, eax
je 0x4190cc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x527fa8]
call fcn.00410b1d
pop ecx
test eax, eax
je 0x4190ec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4190ee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret