joyce8/EMBER2024-capa huggingface dataset:
Function at 0x85ccaf
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg edx
add esp, 1
jmp 0x85ccd6
add esp, 4
lea edx, reloc.mscoree.dll__CorExeMain
cld
lea esi, [esi*4]
mov edx, ebx
mov dh, byte [esp]
jmp 0x85cd3d
xchg si, ax
mov dx, di
lea esi, reloc.mscoree.dll__CorExeMain
lea edx, [eax*4]
sub esp, 5
add esp, 2
jmp 0x85cd50
inc dl
clc
setae dh
mov esi, 0x51ff64ed
xchg byte [esp], ah
setb dh
jmp 0x85cd12
bsr si, ax
mov word [esp], cx
mov byte [esp + 2], ch
pop word [esp]
mov word [esp], si
jmp 0x85cddd
pop word [esp + 0xa]
setp dh
mov al, ch
pop word [esp + 7]
lea esi, [edx*4]
stc
jmp 0x85cdbc
lea esi, [esi + esi]
mov ah, 0x96
lea esi, [esi*4]
bsr edx, eax
sub esp, 0x10
not edx
jmp 0x85cd85
mov dword [esp + 1], ecx
rdtsc
pop word [esp + 7]
mov dl, cl
pop dx
cmc
jmp 0x85cef7
lea edx, [edx*4]
mov esi, edi
xchg byte [esp], al
neg al
cld
bsf eax, ecx
jmp 0x85cda6
dec eax
mov ax, 0x3114
mov esi, edi
mov esi, 0x81af5a16
mov dh, byte [esp + 4]
mov word [esp + 2], ax
jmp 0x85ce27
cmc
neg dh
pop si
cld
lea edx, [edx*4]
push ecx
jmp 0x85cdf1
mov si, word [esp + 5]
cmc
mov dword [esp], esi
xchg word [esp + 2], ax
not al
pop eax
jmp 0x85ce80
lea eax, [eax*4]
rdtsc
lea eax, [eax*4]
push ax
lea esi, [edi*4]
add esp, 1
jmp 0x85ce17
xchg dx, ax
dec ax
lea esp, [esp + 1]
mov edx, dword [esp + 1]
jmp 0x85ce94
mov ax, word [esp + 2]
mov eax, esi
bsf edx, eax
rdtsc
push dx
mov ah, byte [esp + 2]
jmp 0x85ce6a
xchg word [esp + 1], si
not edx
push dword [esp + 1]
xchg ah, al
mov si, 0x9002
mov ah, bl
jmp 0x85cedb
add esp, 2
pop word [esp]
mov word [esp + 1], di
pop word [esp]
push cx
mov word [esp], si
jmp 0x85ce4c
mov ah, byte [esp + 8]
mov ax, bp
cld
mov ax, word [esp]
jmp 0x85cf4d
lea esi, [esp + ecx]
sub esp, 8
mov eax, ebx
mov ah, bl
lea edx, reloc.mscoree.dll__CorExeMain
xchg word [esp + 9], dx
jmp 0x85cec5
inc si
std
pop word [esp + 2]
push dword [esp + 1]
bsf ax, bp
pop edx
jmp 0x85cead
mov dh, byte [esp + 0x2a]
xchg dword [esp + 0x21], esi
mov dx, 0xb4d
shr al, cl
jmp 0x85cf2e
btc esi, ebp
not dl
cld
pop si
rdtsc
not dl
jmp 0x85cf0a
xchg dword [esp + 0x18], edx
mov dword [esp + 0x1b], edx
mov byte [esp], bl
lea eax, [edi + ebp]
mov eax, 0x3362b9e5
lea esi, reloc.mscoree.dll__CorExeMain
jmp 0x85cf76
adc si, 0xb42e
pushal
bsr edx, edi
neg edx
mov ax, dx
sub esp, 0xa
jmp 0x85cf20
not dl
neg dh
mov esi, dword [esp + 7]
push word [esp + 1]
mov esi, ebx
call fcn.0085cfaa
xor byte [ebx], dh
mov si, bx
mov si, word [esp + 0xc]
mov si, word [esp + 0xe]
push dword [esp + 1]
lea edx, reloc.mscoree.dll__CorExeMain
xchg word [esp + 0xf], ax
jmp 0x85cf60
Function at 0x405f99
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00403900
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406034
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x46f3c0]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x406034
cmp eax, 1
je 0x406055
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406034
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x406001
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x406030
xor eax, eax
inc eax
jmp 0x406074
cmp edi, eax
jae 0x406038
xor eax, eax
jmp 0x406074
cmp eax, esi
jae 0x40603f
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x46f3c0]
jmp 0x406058
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1202120d
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xc724f96
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x404104
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404167
cmp dword [ebp + 0xc], 1
je 0x404140
cmp dword [ebp + 0xc], 2
je 0x404140
push 0xd
pop eax
jmp 0x404167
test edi, edi
mov eax, dword [ebp - 4]
je 0x404161
test eax, eax
je 0x40415d
test al, 1
jne 0x40413b
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x404161
jmp 0x40413b
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x404473
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x448987
call fcn.004329d0
xor ecx, ecx
inc ecx
mov dword [0x464548], ecx
mov eax, dword [esi + 0xa0]
cmp eax, ecx
jge 0x4044b1
push 0xbd2
lea eax, [ebp - 0x18]
push eax
call fcn.004070ea
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov ecx, 0x4644a0
jmp fcn.004053a1
dec eax
lea ecx, [esi + 0x90]
cmp dword [ecx], eax
je 0x4044d1
mov dword [ecx], eax
lea ecx, [esi + 0x98]
call fcn.00404d0f
push dword [eax]
push esi
call fcn.0040443e
call fcn.00432aa8
ret

Function at 0x4044d7
Capabilities:
Terminate process

Disassembly:
push 0x14
mov eax, 0x448962
call fcn.004329d0
lea ecx, [ebp - 0x14]
call fcn.00401b04
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x4509ac
mov ecx, 0x4645f8
call fcn.00422487
test eax, eax
jne 0x404525
push 0xbd3
lea eax, [ebp - 0x20]
push eax
call fcn.004070ea
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
mov ecx, 0x4644a0
jmp fcn.004053a1
lea ecx, [ebp - 0x10]
call fcn.00401b04
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
mov edi, esi
jmp 0x40456f
cmp word [esi], 0x2c
jne 0x40456d
mov eax, esi
sub eax, edi
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.0040166d
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x40456a
lea ecx, [ebx + 0x98]
mov eax, dword [ecx + 8]
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.004243f5
lea edi, [esi + 2]
inc esi
inc esi
cmp word [esi], 0
jne 0x404538
push edi
call fcn.0042da2c
test eax, eax
pop ecx
je 0x404590
lea ecx, [ebx + 0x98]
mov eax, dword [ecx + 8]
push edi
push eax
call fcn.00424445
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004088d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004088d8
call fcn.00432aa8
ret

Function at 0x405182
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
call fcn.0042568e
push dword [esp + 0xc]
mov esi, dword [eax + 0xc]
push dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4051a2
xor eax, eax
jmp 0x4051b5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40519e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop esi
ret 8
Function at 0x4053a1
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x4053da
push ebx
mov ebx, ecx
add ebx, 0x190
push edi
mov edi, dword [ebx]
test edi, edi
je 0x4053cd
call fcn.0040907a
mov edx, dword [ebx]
push 0
push str.InstallBroken
call fcn.00408882
pop ecx
pop ecx
mov eax, dword [esi]
push 0
push 0
mov ecx, esi
call dword [eax + 0x14]
pop edi
pop ebx
push 1
call fcn.0042eb7b
pop esi

Function at 0x40544a
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x45fd70]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x45fd70]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
lea eax, [esp + 0xec]
push eax
push 0x202
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor ebx, ebx
cmp eax, ebx
je 0x4054b8
push 0xffffffffffffffff
push 0x10
push 0xbd0
call fcn.004240d2
jmp 0x40561c
push 0x404d94
call fcn.0042e835
pop ecx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 8
mov dword [esp + 0x2c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push ebx
lea eax, [esp + 0x30]
push eax
xor edi, edi
lea eax, [esp + 0x20]
inc edi
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call sub.gdiplus.dll_GdiplusStartup
call fcn.0042870e
mov ecx, esi
call fcn.00427996
push ebx
push str.042B0D65_EF5B_4E3F_ADFF_86C726E4F053
push ebx
lea ecx, [esp + 0x28]
call fcn.00428747
mov dword [esp + 0x290], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40558d
lea ecx, [esp + 0x14]
call fcn.00401b04
mov byte [esp + 0x290], 1
mov esi, 0xbcb
push esi
lea ecx, [esp + 0x18]
call fcn.0040197c
test eax, eax
jne 0x40555a
call fcn.00422999
call fcn.0042568e
push dword [eax + 0x10]
lea eax, [esp + 0x18]
push esi
push eax
call fcn.004013f9
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x1c]
call fcn.00424089
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x14]
call fcn.004088d8
jmp 0x40560b
push esi
call fcn.004053e2
push str.SlimWare_Utilities_Inc
mov ecx, esi
call fcn.004287d2
call fcn.0042568e
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0xb8]
push eax
call fcn.00401648
or dword [esi + 0xac], 0xffffffff
lea eax, [esp + 0x3c]
push eax
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xc0], ebx
call fcn.00404288
mov byte [esp + 0x290], 2
lea eax, [esp + 0x3c]
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.0041c277
push dword [esp + 0x18]
call sub.gdiplus.dll_GdiplusShutdown
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x3c]
call fcn.0040435e
or dword [esp + 0x290], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0042878f
xor eax, eax
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0042da1d
mov esp, ebp
pop ebp
ret
Function at 0x405a95
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x4484fe
call fcn.004329d0
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CProgressPage.0
mov dword [ebp - 4], 3
xor edi, edi
cmp dword [esi + 0x118], edi
je 0x405add
lea ebx, [esi + 0x110]
mov eax, edi
mov ecx, ebx
call fcn.00404d0f
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x118]
jne 0x405ac3
mov byte [ebp - 4], 2
lea ecx, [esi + 0x178]
call fcn.00428a0e
mov byte [ebp - 4], 1
lea ecx, [esi + 0x124]
call fcn.00428a0e
mov byte [ebp - 4], 0
lea ecx, [esi + 0x110]
call fcn.004242de
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040e828
call fcn.00432aa8
ret
Function at 0x409112
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x409124
mov eax, 0x80070057
jmp 0x40916d
push esi
lea eax, [ebp + 0xc]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x409150
jle 0x40916d
and eax, 0xffff
or eax, 0x80070000
jmp 0x40916d
push dword [edi + 0xc]
push dword [edi + 8]
push 3
push esi
push str.InstallerOverlay
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, esi
jne 0x409142
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x409172
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x10000
mov edi, 0x8007000e
call fcn.0042f294
mov ebx, eax
xor esi, esi
cmp ebx, esi
pop ecx
je 0x40921f
push 0x7fff
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4091bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x4091bb
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x40921f
push esi
push esi
push 3
push esi
push 1
push Ordinal_4
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4091a7
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4091a7
cmp dword [ebp - 4], 0x7fffffff
jg 0x40921f
push esi
push esi
push esi
push 2
push esi
push ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, esi
je 0x4091a7
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
je 0x4091a7
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x409cca
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.0042e530
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x1000000
push esi
push esi
push esi
call fcn.00403f0d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
mov ebx, eax
call fcn.004040be
cmp edi, esi
jne 0x409d29
xor eax, eax
jmp 0x409d3c
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a491
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x45fd70]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x447384
call fcn.004329d0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push 0x452638
mov ecx, edi
call fcn.0040153f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0x218]
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x40a513
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.00401648
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x218]
call fcn.004088d8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042da1d
add ebp, 0x20c
leave
ret
Function at 0x40a546
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x45fd70]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x34
mov eax, 0x447c70
call fcn.004329d0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea edi, [ebp + 0x218]
call fcn.0040a9cf
mov ecx, dword [ebp - 0x20]
push 0x4513ec
call fcn.0040153f
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x3c], esi
call fcn.0040153f
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push dword [ebp - 0x24]
push Ordinal_4
call esi
cmp eax, ebx
jne 0x40a711
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x18], ebx
je 0x40a711
mov dword [ebp - 0x1c], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0x104
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jne 0x40a6fe
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040153f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00401b04
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
push 0xf003f
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call esi
cmp eax, ebx
jne 0x40a6e6
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.DisplayName
call fcn.0040153f
mov byte [ebp - 4], 5
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x40]
call fcn.0040a491
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.00401ab7
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.004088d8
lea edi, [ebp - 0x14]
call fcn.0040a9cf
push dword [ebp + 0x218]
mov ecx, edi
call fcn.00402497
test eax, eax
jne 0x40a6e6
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.UninstallString
call fcn.0040153f
mov byte [ebp - 4], 7
push dword [ebp - 0x28]
mov byte [ebp - 4], 4
lea edi, [ebp - 0x34]
call fcn.0040a491
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
push eax
call fcn.00401ab7
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.004088d8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004088d8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004088d8
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], 0x104
je 0x40a5f2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004088d8
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x218]
call fcn.004088d8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042da1d
add ebp, 0x20c
leave
ret
Function at 0x40a75a
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x234
mov eax, 0x448479
call fcn.00432a39
xor ebx, ebx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP
lea ecx, [ebp - 0x22c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0040153f
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x228]
push eax
push 0x20019
push ebx
push dword [ebp - 0x22c]
push Ordinal_4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40a8c4
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x220], ebx
je 0x40a8c4
mov dword [ebp - 0x224], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
mov dword [ebp - 0x220], 0x104
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
mov dword [ebp - 0x230], eax
jne 0x40a8a8
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040153f
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jle 0x40a89a
movzx eax, word [eax]
cmp ax, 0x76
jne 0x40a89a
push 0x76
lea eax, [ebp - 0x21c]
push eax
call fcn.0040a954
push dword [ebp - 0x21c]
lea ebx, [ebp - 0x240]
call fcn.00405ecf
mov eax, dword [ebp - 0x23c]
cmp eax, dword [esi + 4]
jb 0x40a898
ja 0x40a876
mov eax, dword [ebp - 0x240]
cmp eax, dword [esi]
jbe 0x40a898
push dword [ebp - 0x21c]
lea ebx, [ebp - 0x238]
call fcn.00405ecf
mov eax, dword [ebp - 0x238]
mov dword [esi], eax
mov eax, dword [ebp - 0x234]
mov dword [esi + 4], eax
xor ebx, ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x21c]
call fcn.004088d8
inc dword [ebp - 0x224]
cmp dword [ebp - 0x230], ebx
mov dword [ebp - 0x220], 0x104
je 0x40a7d8
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.004088d8
mov eax, esi
call fcn.00432abc
ret

Function at 0x40a8e7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x45fd70]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
mov dword [ebp - 0x80], 0x114
call fcn.0042e530
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jne 0x40a936
cmp dword [ebp - 0x78], 2
jae 0x40a93c
cmp dword [ebp - 0x7c], 6
ja 0x40a93c
xor eax, eax
jmp 0x40a93f
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0042da1d
add ebp, 0x98
leave
ret