joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ad80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43adf2
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, dword [ebp + 0xc]
jg 0x43adc9
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43addb
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
jmp 0x43adf4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43ae90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004188a0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp + 0x10], 0
je 0x43af05
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43b540
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004188a0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x43b650
cmp dword [ebp - 0x11c], 5
jbe 0x43b650
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x128], 4
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x12c], 4
lea edx, [ebp - 0x130]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x43b650
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x128]
push edx
push 0
push str.EnableLUA
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x43b643
xor ecx, ecx
cmp dword [ebp - 0x138], 1
sete cl
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret

Function at 0x43b880
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43b93f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43b93f
push 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43b8ed
push 9
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp + 0xc], 0
je 0x43b93b
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jle 0x43b93b
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x43b944
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43bf60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x44df30
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x43bf91
xor eax, eax
jmp 0x43c0eb
xor ecx, ecx
mov eax, dword [ebp - 8]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00422764
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43bfc3
xor eax, eax
jmp 0x43c0eb
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x43bff4
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00424395
add esp, 4
xor eax, eax
jmp 0x43c0eb
mov dword [ebp - 0xc], 0x34
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x44df34
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43c0d4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x44df38
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x43c0d4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push str._d._d._d._d
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00424395
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43c200
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004188a0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x44ded4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x110], 2
jne 0x43c30e
cmp dword [ebp - 0x11c], 5
jne 0x43c282
cmp dword [ebp - 0x118], 0
jne 0x43c282
push str.Win2000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43c30c
cmp dword [ebp - 0x11c], 5
jne 0x43c2a5
cmp dword [ebp - 0x118], 0
jbe 0x43c2a5
push 0x44deec
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43c30c
cmp dword [ebp - 0x11c], 6
jne 0x43c2c8
cmp dword [ebp - 0x118], 0
jne 0x43c2c8
push str.Vista
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43c30c
cmp dword [ebp - 0x11c], 6
jne 0x43c2eb
cmp dword [ebp - 0x118], 1
ja 0x43c2eb
push str.Win7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43c30c
cmp dword [ebp - 0x11c], 6
jb 0x43c30c
cmp dword [ebp - 0x118], 2
jb 0x43c30c
push str.Win8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43c359
cmp dword [ebp - 0x110], 1
jne 0x43c359
cmp dword [ebp - 0x11c], 4
jne 0x43c338
cmp dword [ebp - 0x118], 0x5a
jae 0x43c338
push 0x44df18
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x11c], 4
jne 0x43c359
cmp dword [ebp - 0x118], 0x5a
jb 0x43c359
push 0x44df20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret

Function at 0x43c370
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004188a0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x43c3d2
cmp dword [ebp - 0x11c], 6
jb 0x43c3d2
cmp dword [ebp - 0x118], 2
jb 0x43c3d2
mov eax, 1
jmp 0x43c3d4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret

Function at 0x43c3f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004188a0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x43c449
cmp dword [ebp - 0x11c], 6
jb 0x43c449
mov eax, 1
jmp 0x43c44b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret
Function at 0x43c970
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 1
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x43c9b1
xor eax, eax
jmp 0x43ca52
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43c9dc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43ca52
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43ca0f
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43ca52
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sym.Install_ring.exe_int___cdecl_ImportCACert_void___int_
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x43cb30
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x44e150
mov eax, dword [ebp + 8]
push eax
call fcn.0042445e
add esp, 8
mov dword [ebp - 0x414], eax
push 0x44e158
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042445e
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x414], 0
je 0x43cb7d
cmp dword [ebp - 8], 0
jne 0x43cb84
xor eax, eax
jmp 0x43cc05
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x414]
push edx
push 0x400
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.00425472
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x43cbb3
jmp 0x43cbe5
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x410]
push edx
call sym.Install_ring.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
lea edx, [ebp - 0x410]
push edx
call fcn.0042431b
add esp, 0x10
cmp dword [ebp - 4], 0
jg 0x43cb8b
mov eax, dword [ebp - 0x414]
push eax
call fcn.004220aa
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.004220aa
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret
Function at 0x43cd20
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446153
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x459080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43cd68
xor eax, eax
xor edx, edx
jmp 0x43ced8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 3
jne 0x43cdad
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x43cda8
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
sbb eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x43ced2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004114c0
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x44e9f8
lea ecx, [ebp - 0x40]
call fcn.00410d40
lea ecx, [ebp - 0x3c]
call fcn.004114c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00410d10
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x58]
call fcn.00410310
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00410e00
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004103d0
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004103b0
lea ecx, [ebp - 0x50]
call fcn.00410550
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00410d10
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [eax + 0x60]
call ecx
lea ecx, [ebp - 0x50]
call fcn.00410570
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00410650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004106c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004106c0
jmp 0x43cec5
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43cef0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44688b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0xa8]
call fcn.00405700
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._sdesktop.ini
lea edi, [ebp - 0xa8]
call fcn.00405ee0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00410e80
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc0]
call fcn.00410d00
push eax
lea ecx, [ebp - 0xa4]
call fcn.00410700
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.00410cd0
lea ecx, [ebp - 0xa0]
call fcn.004106e0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
push str._.ShellClassInfo__r_nIconFile_s_r_nIconIndex_d
lea edx, [ebp - 0xa0]
push edx
call fcn.004119c0
add esp, 0x10
lea ecx, [ebp - 0xa0]
call fcn.00410d00
push eax
call fcn.00419220
add esp, 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.004107a0
push eax
lea eax, [ebp - 0xa8]
call fcn.00405980
push eax
call sym.Install_ring.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
push 6
lea eax, [ebp - 0xa8]
call fcn.00405980
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00410780
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00410780
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.004057f0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret
Function at 0x43e630
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x958
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
mov ecx, 0x1a
mov esi, 0x44e360
lea edi, [ebp - 0x930]
rep movsd dword es:[edi], dword [esi]
push 0x196
push 0
lea eax, [ebp - 0x8c8]
push eax
call fcn.004188a0
add esp, 0xc
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x72c], 0x12c
mov dword [ebp - 8], 7
mov dword [ebp - 4], 0xf003f
cmp dword [ebp + 0x10], 0
je 0x43e6a3
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
jmp 0x43e6b8
call sym.Install_ring.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x43e6b8
mov edx, dword [ebp - 4]
or edx, 0x200
mov dword [ebp - 4], edx
lea eax, [ebp - 0x4cc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x930]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e874
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x72c]
push ecx
lea edx, [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x4cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43e867
mov edx, dword [ebp - 0x26c]
add edx, 1
mov dword [ebp - 0x26c], edx
lea eax, [ebp - 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x43e842
lea ecx, [ebp - 0x930]
push ecx
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x44e3c8
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x4c8]
push ecx
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e842
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x728]
push ecx
call fcn.004188a0
add esp, 0xc
lea edx, [ebp - 0x72c]
push edx
lea eax, [ebp - 0x728]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x44e3cc
mov edx, dword [ebp - 0x4d0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x934]
push ecx
lea ecx, [ebp - 0x728]
call fcn.00405740
xor ecx, ecx
mov edx, dword [ebp + 8]
lea esi, [ebp - 0x934]
call fcn.00409cc0
test eax, eax
jne 0x43e837
mov edx, dword [ebp - 0x4cc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x938], 1
lea eax, [ebp - 0x934]
call fcn.004057f0
mov eax, dword [ebp - 0x938]
jmp 0x43e876
lea eax, [ebp - 0x934]
call fcn.004057f0
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea eax, [ebp - 0x4c8]
push eax
call fcn.004188a0
add esp, 0xc
jmp 0x43e6de
mov ecx, dword [ebp - 0x4cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041799a
mov esp, ebp
pop ebp
ret
Function at 0x43e890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446abc
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x459080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405740
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0040e070
push eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00410b90
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
lea edi, [ebp - 0x14]
call fcn.00405810
mov byte [ebp - 4], 0
lea eax, [ebp - 0x20]
call fcn.004057f0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e931
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.004057f0
mov eax, dword [ebp - 0x24]
jmp 0x43ea21
mov dword [ebp - 0x18], 0
lea esi, [ebp - 0x10]
call fcn.00405700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push ecx
push 0x44e350
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.004109e0
mov byte [ebp - 4], 3
push 0x44e354
lea eax, [ebp - 0x1c]
push eax
call fcn.00410c10
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43e9f0
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.004107e0
lea eax, [ebp - 0x10]
call fcn.00405980
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e9a5
lea eax, [ebp - 0x10]
call fcn.00405980
push eax
call sym.Install_ring.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
push 0x44e358
lea ecx, [ebp - 0x10]
call fcn.0040cb60
lea eax, [ebp - 0x18]
push eax
push 0x44e35c
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004109e0
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x70]
lea edi, [ebp - 0x1c]
call fcn.00405810
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
call fcn.004057f0
jmp 0x43e95d
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
call fcn.004057f0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.004057f0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.004057f0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret