joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4277c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x43bc60]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x4277e0
xor eax, eax
jmp 0x427877
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x427875
mov dword [ebp - 0x258], 0
push 0x24c
push 0
lea ecx, [ebp - 0x254]
push ecx
call fcn.00412bb0
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 0x427875
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0xffffffff
je 0x42784e
mov edx, dword [ebp - 0x238]
cmp edx, dword [ebp + 0xc]
je 0x42784e
xor eax, eax
jmp 0x427877
mov eax, dword [ebp + 8]
push eax
call fcn.00427350
add esp, 4
test eax, eax
je 0x427875
cmp dword [ebp + 0xc], 0xffffffff
jne 0x42786e
mov eax, dword [ebp - 0x238]
jmp 0x427877
mov eax, 1
jmp 0x427877
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004125db
mov esp, ebp
pop ebp
ret

Function at 0x427920
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d388
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x43bc60]
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.00403c10
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403cd0
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 0x4279f4
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.00403db0
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4279e0
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x34]
jb 0x4279d1
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.00403cd0
mov edx, dword [ebp - 0x38]
shl edx, 2
mov dword [ebp - 0x34], edx
jmp 0x4279de
mov eax, dword [ebp - 0x18]
shr eax, 2
mov dword [ebp - 0x38], eax
mov byte [ebp - 0xd], 0
jmp 0x4279f2
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x14], 0
jmp 0x427984
cmp dword [ebp - 0x14], 0
je 0x427a33
mov ecx, dword [ebp + 8]
call fcn.00403e60
mov dword [ebp - 0x3c], 0
jmp 0x427a14
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x38]
jae 0x427a33
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403db0
push eax
mov ecx, dword [ebp + 8]
call fcn.00403de0
jmp 0x427a0b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403c80
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 0x427a60
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d3e6
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x43bc60]
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.004278b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401c40
movzx ecx, al
test ecx, ecx
je 0x427bdc
lea ecx, [ebp - 0x38]
call fcn.00403a90
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.00427890
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x427ba8
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.00403b20
cmp dword [ebp - 0x18], 0
je 0x427ba8
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x427b4d
mov ecx, dword [ebp - 0x40]
push ecx
push 0
lea ecx, [ebp - 0x38]
call fcn.00403be0
push eax
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00427890
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x20], eax
jmp 0x427b71
mov eax, dword [ebp - 0x40]
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00403be0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00427890
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x40]
jb 0x427ba1
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.00403b20
cmp dword [ebp - 0x20], 0x104
jbe 0x427b9f
mov dword [ebp - 0x18], 0
jmp 0x427ba3
jmp 0x427ba8
jmp 0x427b15
cmp dword [ebp - 0x20], 0
ja 0x427bb5
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 1
jne 0x427bce
push 0
lea ecx, [ebp - 0x38]
call fcn.00403be0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00403b00
jmp 0x427be3
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x427bf1
mov ecx, dword [ebp + 0xc]
call fcn.00402750
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004278e0
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 0x428100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d7ad
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x43bc60]
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.00401ea0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401ea0
mov byte [ebp - 4], 1
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.00402800
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.00402860
cmp dword [ebp - 0x30], 0
jne 0x428191
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402000
push str.AdobeARM1.0
lea ecx, [ebp - 0x28]
call fcn.00402060
jmp 0x4281e7
push str.SHGetFolderPath_in_UpdateArmFiles_failed
lea ecx, [ebp - 0x44]
call fcn.00401ee0
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x44]
push ecx
push 1
call fcn.0042c5c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00401fe0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401fe0
mov eax, dword [ebp - 0x48]
jmp 0x428318
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x24]
call fcn.0040736d
mov byte [ebp - 4], 3
push 0x4331fc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004025a0
add esp, 0xc
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x3c]
call fcn.00402740
push eax
lea ecx, [ebp - 0x24]
call fcn.00407405
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4282d4
cmp dword [ebp - 0x38], 0
jne 0x4282d4
lea ecx, [ebp - 0x24]
call fcn.0040704f
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x24]
call fcn.0040732e
test eax, eax
je 0x428256
jmp 0x428229
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x24]
call fcn.004076c3
mov byte [ebp - 4], 5
push 0x43fbd0
lea eax, [ebp - 0x40]
push eax
call fcn.00402700
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x428296
push 0x43fbd4
lea edx, [ebp - 0x40]
push edx
call fcn.00402700
add esp, 8
movzx eax, al
test eax, eax
je 0x4282a4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00401fe0
jmp 0x428229
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00427cc0
add esp, 0xc
test eax, eax
jne 0x4282c3
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00401fe0
jmp 0x428229
lea ecx, [ebp - 0x24]
call fcn.00406f69
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00401fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407396
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401fe0
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 0x428330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x43bc60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.00401ea0
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402800
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.00402860
cmp dword [ebp - 0x14], 0
jne 0x4283ae
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402000
push str.AdobeARM1.0AdobeARM.exe
mov ecx, dword [ebp + 8]
call fcn.00402060
jmp 0x4283f4
push str.SHGetFolderPath_in_GetARMExePath_failed:
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 1
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401fe0
mov eax, dword [ebp - 0x18]
jmp 0x42840d
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401fe0
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 0x428590
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 0x4285d0
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 0x4285dd
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 0x4285f0
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 0x428682
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 0x428682
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x428b90
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 0x428c41
push 0x208
call fcn.00412763
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 0x428c41
mov edx, dword [ebp - 0x14]
push edx
call fcn.00412686
add esp, 4
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.00412763
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 0x428c53
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00402020
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00412686
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 0x428c70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d475
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x43bc60]
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 0x428cd5
push 0
push 0x435364
push str.CreateToolhelp32Snapshot_failed
call fcn.00428830
add esp, 0xc
mov eax, 1
jmp 0x428e8f
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 0x428d11
push 0
push 0x4353f0
push 0x4353f4
call fcn.00428830
add esp, 0xc
mov eax, 1
jmp 0x428e8f
push str.explorer.exe
lea ecx, [ebp - 0x4c4]
call fcn.00401ee0
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.00401ee0
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x4d0]
push ecx
mov edx, dword [ebp - 0x4d4]
push edx
call fcn.00402700
add esp, 8
mov byte [ebp - 0x4bd], al
lea ecx, [ebp - 0x4c8]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call fcn.00401fe0
movzx eax, byte [ebp - 0x4bd]
test eax, eax
je 0x428e71
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 0x428dd2
cmp dword [ebp - 0x254], 0xffffffff
jne 0x428ddd
mov eax, dword [ebp - 0x250]
jmp 0x428e8f
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 0x428e64
xor edx, edx
mov word [ebp - 0x4b4], dx
push 0x256
push 0
lea eax, [ebp - 0x4b2]
push eax
call fcn.00412bb0
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.00428420
add esp, 0x14
test eax, eax
je 0x428e5a
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 0x428e8f
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 0x428d11
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.004125db
mov esp, ebp
pop ebp
ret
Function at 0x429360
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.00401ee0
lea ecx, [ebp - 0xc]
call fcn.00402820
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 0x429411
cmp dword [ebp + 0x18], 1
je 0x4293b7
cmp dword [ebp + 0x18], 2
jne 0x4293e1
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 0x429407
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.00401fe0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x429430
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d6e9
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x43bc60]
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.0042c660
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x240]
call fcn.00401ee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00401ca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.00401fe0
lea ecx, [ebp - 0x234]
call fcn.00401d20
test eax, eax
jne 0x4294c7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0042c640
jmp 0x4296b7
lea ecx, [ebp - 0x234]
call fcn.00401cf0
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x4294ed
mov dword [ebp - 0x248], 0x43fbc0
jmp 0x4294f7
mov dword [ebp - 0x248], 0x43fbc4
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x238]
call fcn.00401ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.00401ea0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x234]
call fcn.0042ca10
lea ecx, [ebp - 0x228]
call fcn.00401ea0
mov byte [ebp - 4], 4
push 0x104
lea ecx, [ebp - 0x228]
call fcn.00402800
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x228]
call fcn.00402860
push str.ArmUI.ini
lea ecx, [ebp - 0x228]
call fcn.00402060
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.00412bb0
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.00402740
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x224]
push edx
push 0x434e68
lea ecx, [ebp - 0x23c]
call fcn.00402740
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402740
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401ee0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00402840
movzx ecx, al
test ecx, ecx
je 0x42960d
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402000
cmp dword [ebp - 0x22c], 0
je 0x429630
mov ecx, 0x43fbb8
call fcn.00402740
push eax
push 0x434e6c
lea ecx, [ebp - 0x14]
call fcn.00402160
jmp 0x429648
mov ecx, 0x43fbbc
call fcn.00402740
push eax
push str._SHORTPRODUCTNAME_
lea ecx, [ebp - 0x14]
call fcn.00402160
push 0
lea ecx, [ebp - 0x238]
call fcn.00402740
push eax
lea ecx, [ebp - 0x14]
call fcn.00402740
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.00401fe0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.00401fe0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.00401fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0042c640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004125db
mov esp, ebp
pop ebp
ret
Function at 0x42af30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42db37
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x43bc60]
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.00412bb0
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 0x42afab
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 0x42b006
cmp dword [ebp - 0x130], 5
jne 0x42b006
cmp dword [ebp - 0x12c], 0
jne 0x42b006
push str.IsWin2K_returns_1
lea ecx, [ebp - 0x138]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x138]
push eax
push 2
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00401fe0
mov eax, 1
jmp 0x42b008
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.004125db
mov esp, ebp
pop ebp
ret
Function at 0x42be00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov byte [0x43fba4], 1
mov dword [0x43fba0], 1
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, 0x43fbf8
call fcn.00402740
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42be86
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, 0x43fbfc
call fcn.00402740
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x42be9c
cmp dword [ebp - 0xc], 1
jne 0x42be9c
mov dword [0x43fba0], 2
mov esp, ebp
pop ebp
ret