joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4124a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438c60]
jne 0x4124b2
repz ret
jmp fcn.0041798b

Function at 0x421524
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.0041a925
and dword [ebp - 4], 0
cmp dword [0x43caf4], 0
mov ebx, eax
jne 0x4215d5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x421686
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x421686
push eax
call fcn.0041a8b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43caf4], eax
call esi
push eax
call fcn.0041a8b3
mov dword [esp], 0x42f8e8
push edi
mov dword [0x43caf8], eax
call esi
push eax
call fcn.0041a8b3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43cafc], eax
call esi
push eax
call fcn.0041a8b3
pop ecx
mov dword [0x43cb04], eax
test eax, eax
je 0x4215d5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041a8b3
pop ecx
mov dword [0x43cb00], eax
mov eax, dword [0x43cb00]
cmp eax, ebx
je 0x42162d
cmp dword [0x43cb04], ebx
je 0x42162d
push eax
call fcn.0041a92e
push dword [0x43cb04]
mov esi, eax
call fcn.0041a92e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42162d
test edi, edi
je 0x42162d
call esi
test eax, eax
je 0x421624
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x421624
test byte [ebp - 0xc], 1
jne 0x42162d
or dword [ebp + 0x10], 0x200000
jmp 0x421666
mov eax, dword [0x43caf8]
cmp eax, ebx
je 0x421666
push eax
call fcn.0041a92e
pop ecx
test eax, eax
je 0x421666
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x421666
mov eax, dword [0x43cafc]
cmp eax, ebx
je 0x421666
push eax
call fcn.0041a92e
pop ecx
test eax, eax
je 0x421666
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43caf4]
call fcn.0041a92e
pop ecx
test eax, eax
je 0x421686
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x421688
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x427670
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x438c60]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x427690
xor eax, eax
jmp 0x427727
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427725
mov dword [ebp - 0x258], 0
push 0x24c
push 0
lea ecx, [ebp - 0x254]
push ecx
call fcn.00412a60
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x427725
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0xffffffff
je 0x4276fe
mov edx, dword [ebp - 0x238]
cmp edx, dword [ebp + 0xc]
je 0x4276fe
xor eax, eax
jmp 0x427727
mov eax, dword [ebp + 8]
push eax
call fcn.00427200
add esp, 4
test eax, eax
je 0x427725
cmp dword [ebp + 0xc], 0xffffffff
jne 0x42771e
mov eax, dword [ebp - 0x238]
jmp 0x427727
mov eax, 1
jmp 0x427727
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004124a8
mov esp, ebp
pop ebp
ret

Function at 0x4277d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x438c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 8
lea ecx, [ebp - 0x30]
call fcn.00403b00
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403bc0
mov ecx, dword [ebp - 0x38]
shl ecx, 2
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4278a4
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.00403ca0
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x427890
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x34]
jb 0x427881
mov eax, dword [ebp - 0x38]
shl eax, 1
mov dword [ebp - 0x38], eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00403bc0
mov edx, dword [ebp - 0x38]
shl edx, 2
mov dword [ebp - 0x34], edx
jmp 0x42788e
mov eax, dword [ebp - 0x18]
shr eax, 2
mov dword [ebp - 0x38], eax
mov byte [ebp - 0xd], 0
jmp 0x4278a2
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x14], 0
jmp 0x427834
cmp dword [ebp - 0x14], 0
je 0x4278e3
mov ecx, dword [ebp + 8]
call fcn.00403d50
mov dword [ebp - 0x3c], 0
jmp 0x4278c4
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x38]
jae 0x4278e3
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403ca0
push eax
mov ecx, dword [ebp + 8]
call fcn.00403cd0
jmp 0x4278bb
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403b70
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x427910
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c0f3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x438c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
lea ecx, [ebp - 0x14]
call fcn.00427760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401bc0
movzx ecx, al
test ecx, ecx
je 0x427a8c
lea ecx, [ebp - 0x38]
call fcn.00403980
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x3c]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00427740
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x427a58
movzx ecx, byte [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 0xe4
add ecx, 0x20
mov dword [ebp - 0x40], ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x38]
call fcn.00403a10
cmp dword [ebp - 0x18], 0
je 0x427a58
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4279fd
mov ecx, dword [ebp - 0x40]
push ecx
push 0
lea ecx, [ebp - 0x38]
call fcn.00403ad0
push eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00427740
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x20], eax
jmp 0x427a21
mov eax, dword [ebp - 0x40]
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00403ad0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00427740
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x40]
jb 0x427a51
mov eax, dword [ebp - 0x40]
shl eax, 1
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00403a10
cmp dword [ebp - 0x20], 0x104
jbe 0x427a4f
mov dword [ebp - 0x18], 0
jmp 0x427a53
jmp 0x427a58
jmp 0x4279c5
cmp dword [ebp - 0x20], 0
ja 0x427a65
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 1
jne 0x427a7e
push 0
lea ecx, [ebp - 0x38]
call fcn.00403ad0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00401f40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004039f0
jmp 0x427a93
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x427aa1
mov ecx, dword [ebp + 0xc]
call fcn.00402540
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00427790
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x427fb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c4c5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x438c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x2c]
call fcn.00401dc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401dc0
mov byte [ebp - 4], 1
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.004025f0
push eax
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x30], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402650
cmp dword [ebp - 0x30], 0
jne 0x428041
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401f20
push str.AdobeARM1.0
lea ecx, [ebp - 0x28]
call fcn.00401f80
jmp 0x428097
push str.SHGetFolderPath_in_UpdateArmFiles_failed
lea ecx, [ebp - 0x44]
call fcn.00401e00
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x44]
push ecx
push 1
call fcn.0042b300
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00401f00
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401f00
mov eax, dword [ebp - 0x48]
jmp 0x4281c8
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x24]
call fcn.0040725f
mov byte [ebp - 4], 3
push 0x43119c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004023a0
add esp, 0xc
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x3c]
call fcn.004015a0
push eax
lea ecx, [ebp - 0x24]
call fcn.004072f7
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x428184
cmp dword [ebp - 0x38], 0
jne 0x428184
lea ecx, [ebp - 0x24]
call fcn.00406f41
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x24]
call fcn.00407220
test eax, eax
je 0x428106
jmp 0x4280d9
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x24]
call fcn.004075b5
mov byte [ebp - 4], 5
push 0x43cbd0
lea eax, [ebp - 0x40]
push eax
call fcn.00402500
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x428146
push 0x43cbd4
lea edx, [ebp - 0x40]
push edx
call fcn.00402500
add esp, 8
movzx eax, al
test eax, eax
je 0x428154
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00401f00
jmp 0x4280d9
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00427b70
add esp, 0xc
test eax, eax
jne 0x428173
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00401f00
jmp 0x4280d9
lea ecx, [ebp - 0x24]
call fcn.00406e5b
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00401f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407288
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401f00
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4281e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x438c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.00401dc0
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x10]
call fcn.004025f0
push eax
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00402650
cmp dword [ebp - 0x14], 0
jne 0x42825e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401f20
push str.AdobeARM1.0AdobeARM.exe
mov ecx, dword [ebp + 8]
call fcn.00401f80
jmp 0x4282a4
push str.SHGetFolderPath_in_GetARMExePath_failed:
lea ecx, [ebp - 0x1c]
call fcn.00401e00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 1
call fcn.0042b300
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401f00
mov eax, dword [ebp - 0x18]
jmp 0x4282bd
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401f00
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x428440
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x428480
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42848d
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4284a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x428532
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
jne 0x428532
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x428850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x428901
push 0x208
call fcn.00412612
add esp, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x428901
mov edx, dword [ebp - 0x14]
push edx
call fcn.00412535
add esp, 4
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.00412612
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x428913
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00401f40
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00412535
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x428930
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c182
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x438c60]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x428995
push 0
push 0x432a64
push str.CreateToolhelp32Snapshot_failed
call fcn.004286e0
add esp, 0xc
mov eax, 1
jmp 0x428b4f
mov dword [ebp - 0x24c], 0x22c
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4289d1
push 0
push 0x432af0
push 0x432af4
call fcn.004286e0
add esp, 0xc
mov eax, 1
jmp 0x428b4f
push str.explorer.exe
lea ecx, [ebp - 0x4c4]
call fcn.00401e00
mov dword [ebp - 0x4cc], eax
mov edx, dword [ebp - 0x4cc]
mov dword [ebp - 0x4d0], edx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x4c8]
call fcn.00401e00
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x4d0]
push ecx
mov edx, dword [ebp - 0x4d4]
push edx
call fcn.00402500
add esp, 8
mov byte [ebp - 0x4bd], al
lea ecx, [ebp - 0x4c8]
call fcn.00401f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call fcn.00401f00
movzx eax, byte [ebp - 0x4bd]
test eax, eax
je 0x428b31
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x258]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x428a92
cmp dword [ebp - 0x254], 0xffffffff
jne 0x428a9d
mov eax, dword [ebp - 0x250]
jmp 0x428b4f
lea eax, [ebp - 0x14]
push eax
push 8
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x428b24
xor edx, edx
mov word [ebp - 0x4b4], dx
push 0x256
push 0
lea eax, [ebp - 0x4b2]
push eax
call fcn.00412a60
add esp, 0xc
lea ecx, [ebp - 0x4bc]
push ecx
lea edx, [ebp - 0x4b4]
push edx
lea eax, [ebp - 0x4b8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.004282d0
add esp, 0x14
test eax, eax
je 0x428b1a
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x428b4f
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4289d1
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004124a8
mov esp, ebp
pop ebp
ret
Function at 0x429020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401e00
lea ecx, [ebp - 0xc]
call fcn.00402610
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4290d1
cmp dword [ebp + 0x18], 1
je 0x429077
cmp dword [ebp + 0x18], 2
jne 0x4290a1
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x4290c7
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xc]
call fcn.00401f00
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4290f0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c3f6
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x438c60]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x234]
call fcn.0042b3a0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x240]
call fcn.00401e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00401c20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00401f00
lea ecx, [ebp - 0x234]
call fcn.00401ca0
test eax, eax
jne 0x429187
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0042b380
jmp 0x429377
lea ecx, [ebp - 0x234]
call fcn.00401c70
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x4291ad
mov dword [ebp - 0x248], 0x43cbc0
jmp 0x4291b7
mov dword [ebp - 0x248], 0x43cbc4
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x238]
call fcn.00401de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.00401dc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x234]
call fcn.0042b750
lea ecx, [ebp - 0x228]
call fcn.00401dc0
mov byte [ebp - 4], 4
push 0x104
lea ecx, [ebp - 0x228]
call fcn.004025f0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x228]
call fcn.00402650
push str.ArmUI.ini
lea ecx, [ebp - 0x228]
call fcn.00401f80
mov dword [ebp - 0x10], 0x104
xor edx, edx
mov word [ebp - 0x224], dx
push 0x206
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.00412a60
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.004015a0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x224]
push edx
push 0x4325ac
lea ecx, [ebp - 0x23c]
call fcn.004015a0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004015a0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00402630
movzx ecx, al
test ecx, ecx
je 0x4292cd
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401f20
cmp dword [ebp - 0x22c], 0
je 0x4292f0
mov ecx, 0x43cbb8
call fcn.004015a0
push eax
push 0x4325b0
lea ecx, [ebp - 0x14]
call fcn.00402080
jmp 0x429308
mov ecx, 0x43cbbc
call fcn.004015a0
push eax
push str._SHORTPRODUCTNAME_
lea ecx, [ebp - 0x14]
call fcn.00402080
push 0
lea ecx, [ebp - 0x238]
call fcn.004015a0
push eax
lea ecx, [ebp - 0x14]
call fcn.004015a0
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00401f00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.00401f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.00401f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00401f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0042b380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004124a8
mov esp, ebp
pop ebp
ret
Function at 0x42a360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c64b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x438c60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x11c
push 0
lea eax, [ebp - 0x134]
push eax
call fcn.00412a60
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42a3db
mov dword [ebp - 0x134], 0x114
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42a436
cmp dword [ebp - 0x130], 5
jne 0x42a436
cmp dword [ebp - 0x12c], 0
jne 0x42a436
push str.IsWin2K_returns_1
lea ecx, [ebp - 0x138]
call fcn.00401e00
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x138]
push eax
push 2
call fcn.0042b300
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00401f00
mov eax, 1
jmp 0x42a438
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004124a8
mov esp, ebp
pop ebp
ret