joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c44d2
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
shl eax, 8
push esi
add eax, 0x20019
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x4c4508
mov ecx, dword [ecx]
lea esi, [ebp - 0x830]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x82c], 0x820
test eax, eax
cmovle esi, eax
and dword [ebp - 0x828], 0
test esi, esi
js 0x4c45b0
cmp dword [edi + 0x14], 8
jb 0x4c4545
mov edi, dword [edi]
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x4c45a4
cmp dword [ebp - 0x828], 1
je 0x4c4594
cmp dword [ebp - 0x828], 2
je 0x4c4594
mov esi, 0x8007065d
jmp 0x4c45a4
lea eax, [ebp - 0x824]
mov ecx, ebx
push eax
xor esi, esi
call fcn.00414483
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d8e5
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x4c44d0
Function at 0x4c46c7
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x30
mov eax, 0x61c3e7
call fcn.0042d958
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi]
mov dword [esi + 4], eax
xor eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], ebx
push eax
call fcn.004c45eb
mov edi, eax
test edi, edi
js 0x4c47ea
push 0xf0000040
push 0x18
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
setne cl
test eax, eax
je 0x4c4741
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
setne cl
test cl, cl
je 0x4c47cf
push 4
pop ecx
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4c47cf
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
add eax, eax
push ebx
push eax
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
setne bl
test eax, eax
je 0x4c47c9
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x39]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x20], eax
call fcn.00427bcf
push 0
lea eax, [ebp - 0x20]
push eax
push dword [esi]
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0x14]
test eax, eax
setne bl
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
jne 0x4c47ea
jmp 0x4c47e5
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, 0x80004005
cmp eax, dword [esi + 4]
cmove edi, ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x4c480f
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x38]
call fcn.004157b4
mov eax, edi
call fcn.0042d907
ret 4
Function at 0x4c4ac1
Capabilities:
Get session user name

Disassembly:
push 0x14
mov eax, 0x61c4ac
call fcn.0042d958
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x677a8c
call fcn.00414483
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 2
call sub.Secur32.dll_GetUserNameExW
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4c4b61
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
cmp esi, 0x7fffffff
ja 0x4c4b7b
push esi
lea ecx, [ebp - 0x20]
call fcn.004a599c
add esi, esi
push esi
push edi
mov edi, dword [ebp - 0x20]
push edi
call fcn.0042e9f0
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push edi
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x4c4b4a
push edi
mov ecx, ebx
call fcn.00414483
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4c4b61
mov eax, dword [ebp - 0x18]
sub eax, edi
and eax, 0xfffffffe
push eax
push edi
call fcn.004157b4
cmp dword [ebx + 0x10], 0
jne 0x4c4b73
push 0x679380
mov ecx, ebx
call fcn.00414483
call fcn.0042d907
ret 4
call fcn.00414c7d
int3

Function at 0x4c5138
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
pop ebp
jmp 0x4c5138
Function at 0x4c5f34
Capabilities:
Decode data using base64 via winapi
Encode data using base64 via winapi

Disassembly:
push 0xac
mov eax, 0x61c746
call fcn.0042d958
xor eax, eax
lea edi, [ebp - 0x94]
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
push 0x64
pop ebx
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0xb8], ebx
call fcn.004c46c7
mov edi, dword [ebp - 0x94]
test eax, eax
js 0x4c60ca
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x78]
push ecx
push esi
sub eax, edi
mov dword [ebp - 0x78], esi
push 0x40000001
push eax
push edi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
mov dword [ebp - 0x84], esi
mov eax, dword [ebp - 0x78]
mov ecx, esi
setne byte [ebp - 0xad]
mov dword [ebp - 0xb4], eax
xor ebx, ebx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x80], esi
test eax, eax
je 0x4c6032
cmp eax, 0x7fffffff
ja 0x4c60e5
push eax
lea ecx, [ebp - 0x88]
call fcn.004a599c
mov ecx, dword [ebp - 0xb4]
lea eax, [ecx + ecx]
push eax
push ebx
push dword [ebp - 0x88]
call fcn.0042e9f0
mov ecx, dword [ebp - 0x88]
add esp, 0xc
mov eax, dword [ebp - 0x78]
mov ebx, ecx
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0xb4], eax
cmp byte [ebp - 0xad], 0
je 0x4c6061
lea eax, [ebp - 0x78]
push eax
push ecx
push 0x40000001
push dword [ebp - 0x7c]
push edi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb4], eax
setne byte [ebp - 0xad]
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0042e9f0
add esp, 0xc
cmp byte [ebp - 0xad], 0
je 0x4c60b4
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x7c]
push 0
push 0
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x7c], 0x64
push eax
push 1
push ecx
push dword [ebp - 0x88]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x4c60b4
push dword [ebp - 0x74]
call 0x4c85b3
mov dword [ebp - 0xb8], eax
test ebx, ebx
je 0x4c60c4
sub esi, ebx
and esi, 0xfffffffe
push esi
push ebx
call fcn.004157b4
mov ebx, dword [ebp - 0xb8]
test edi, edi
je 0x4c60dd
mov eax, dword [ebp - 0x8c]
sub eax, edi
push eax
push edi
call fcn.004157b4
mov eax, ebx
call fcn.0042d907
ret
call fcn.00414c7d
int3
Function at 0x4c9279
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x4c92b0
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4c9308
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 2]
jb 0x4c92d7
mov ebx, dword [ebx]
movzx eax, byte [ebp + 0x1c]
inc eax
cmp dword [esi + 0x10], 0
jne 0x4c92e6
xor esi, esi
jmp 0x4c92ee
cmp dword [esi + 0x14], 8
jb 0x4c92ee
mov esi, dword [esi]
push ecx
push ebx
push eax
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042d8e5
leave
ret 0x18
push ebp
mov ebp, esp
pop ebp
jmp 0x4c9277

Function at 0x4c9328
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
lea edx, [eax*2 + 2]
jb 0x4c9340
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4c934b
mov eax, dword [eax]
push edx
push ecx
push 2
push eax
push 0x6782b4
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
movzx ecx, ax
mov edx, 0x80070000
or ecx, edx
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovle edx, ecx
shr edx, 0x1f
xor dl, 1
mov al, dl
pop ebp
ret 0xc
Function at 0x4ce713
Capabilities:
Get user security identifier

Disassembly:
push 0x34
mov eax, 0x61d8c6
call fcn.0042d958
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x40], ecx
mov ecx, eax
mov dword [ebp - 0x3c], eax
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
jb 0x4ce73d
mov ecx, dword [eax]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x24]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x36], ax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
add esi, 1
je 0x4ce79b
cmp esi, 0x7fffffff
ja 0x4ce85e
push esi
lea ecx, [ebp - 0x24]
call fcn.004a599c
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x36]
push eax
push esi
push dword [ebp - 0x24]
call fcn.004ce015
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x30]
mov esi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
test eax, eax
je 0x4ce7f9
cmp eax, 0x7fffffff
ja 0x4ce863
push eax
cmp eax, 0x1000
jb 0x4ce7d7
call fcn.00415cfc
jmp 0x4ce7dd
call fcn.0042da05
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x38]
push eax
push ebx
push esi
lea edi, [esi + eax]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], edi
call fcn.0042e9f0
add esp, 0xc
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4ce808
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x4ce831
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
call fcn.00414483
mov bl, 1
test esi, esi
je 0x4ce83e
sub edi, esi
push edi
push esi
call fcn.004157b4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4ce854
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
and ecx, 0xfffffffe
push ecx
push eax
call fcn.004157b4
mov al, bl
call fcn.0042d907
ret 8
call fcn.00414c7d
call fcn.00414c7d
int3

Function at 0x4cf462
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
pop ebp
ret 4
Function at 0x4cf5e2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
pop ebp
ret 0x28

Function at 0x4cf612
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CreateProcessW]

Function at 0x4cf872
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetFileAttributesW]

Function at 0x4cfd52
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x204]
push 0x200
push 0
push eax
call fcn.0042e9f0
add esp, 0xc
mov dword [ebp - 0x208], 0x100
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, eax
test esi, esi
je 0x4cfdc0
mov eax, 0x4c00
cmp word [ebp - 0x204], ax
je 0x4cfdc0
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00414483
xor ecx, ecx
mov eax, 0x80004005
test esi, esi
pop edi
cmovne eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042d8e5
leave
ret 4

Function at 0x4cfe02
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.WININET.dll_InternetCheckConnectionW]

Function at 0x4d05c2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]
Function at 0x4d1987
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xdc
mov eax, 0x61de71
call fcn.0042d958
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x98
push ebx
mov dword [ebp - 0xb8], ebx
push eax
mov dword [edi], ebx
call fcn.0042e9f0
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
call fcn.0047a112
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x10], bl
je 0x4d19e1
push str.Wow6432Node_
lea eax, [ebp - 0xa8]
push eax
call fcn.00425162
push str.LocalServer32
push esi
push str.CLSID_
lea eax, [ebp - 0xa8]
push eax
call fcn.00425162
push eax
call fcn.00425162
push eax
call fcn.00425162
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004240fa
cmp dword [ebp - 0xd4], 8
lea ecx, [ebp - 0xb0]
push 5
pop eax
push ecx
mov dword [ebp - 0xac], eax
mov esi, SysReAllocString
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
push 0x20019
push ebx
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4d1aa9
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004240fa
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xb0]
push 0xf
pop eax
push ecx
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push 0x20119
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 0xb1], bl
test eax, eax
jne 0x4d1ab0
mov byte [ebp - 0xb1], 1
mov eax, dword [ebp - 0xac]
test al, 2
je 0x4d1ad4
and eax, 0xfffffffd
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xac], eax
call fcn.00415bf1
mov eax, dword [ebp - 0xac]
test al, 1
je 0x4d1ae3
lea ecx, [ebp - 0xe8]
call fcn.00415bf1
cmp byte [ebp - 0xb1], 0
je 0x4d1b57
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], ebx
push eax
push ebx
push ebx
push 2
push ebx
push ebx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4d1b4b
push dword [ebp - 0xac]
call fcn.0043830f
mov esi, eax
pop ecx
test esi, esi
je 0x4d1b4b
lea eax, [ebp - 0xac]
push eax
push esi
push ebx
push 2
push ebx
push ebx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4d1b44
mov dword [edi], esi
mov bl, 1
jmp 0x4d1b4b
push esi
call fcn.00436e63
pop ecx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xa8]
call fcn.0047a348
mov al, bl
call fcn.0042d907
ret 0xc
Function at 0x4d1cf4
Capabilities:
Get file version info

Disassembly:
push 0x2cc
mov eax, 0x61deab
call fcn.0042d958
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edi, dword [ebp + 0x10]
push 0x677a8c
mov dword [ebp - 0x2c0], eax
call fcn.00414483
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2bc]
push esi
push eax
call fcn.004d1987
test al, al
je 0x4d1ef7
cmp dword [ebp - 0x2bc], ebx
je 0x4d1ef7
push dword [ebp - 0x2bc]
mov esi, 0x104
lea eax, [ebp - 0x218]
push edi
push esi
push eax
call fcn.004d1b6c
test al, al
je 0x4d1eeb
cmp word [ebp - 0x218], bx
je 0x4d1eeb
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4d1eeb
push dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00452cab
test eax, eax
js 0x4d1eeb
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4d1eeb
push edi
call fcn.0043830f
mov esi, eax
pop ecx
test esi, esi
je 0x4d1eeb
push esi
push edi
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4d1ee4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0x677a88
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4d1ee4
push 0x98
lea eax, [ebp - 0x2b4]
push ebx
push eax
call fcn.0042e9f0
add esp, 0xc
lea ecx, [ebp - 0x2b4]
push 1
call fcn.0047a112
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], ebx
movzx eax, word [eax + 0xa]
push eax
call fcn.0042340f
mov edi, 0x67a3b8
lea eax, [ebp - 0x2b4]
push edi
push eax
call fcn.00425162
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 8]
push eax
call fcn.0042340f
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.00425162
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xe]
push eax
call fcn.0042340f
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.00425162
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xc]
push eax
call fcn.0042340f
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.004240fa
mov ecx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2d8]
push eax
call fcn.004142e4
lea ecx, [ebp - 0x2d8]
call fcn.00415bf1
lea ecx, [ebp - 0x2b4]
mov bl, 1
call fcn.0047a348
push esi
call fcn.00436e63
pop ecx
push dword [ebp - 0x2bc]
call fcn.00436e63
pop ecx
mov al, bl
call fcn.0042d907
ret 0x18
Function at 0x4d3238
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x420
mov eax, 0x61e218
call fcn.0042d958
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
push 0x677a8c
mov dword [ebp - 0x42c], eax
call fcn.00414483
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov ebx, 0x80004004
call fcn.004ab073
mov dword [ebp - 0x428], eax
cmp eax, dword [esi]
je 0x4d3359
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x410]
mov esi, 0x400
push esi
push 0
push eax
call fcn.0042e9f0
xor eax, eax
mov dword [ebp - 0x414], esi
lea edi, [ebp - 0x424]
add esp, 0xc
stosd dword es:[edi], eax
lea ecx, [ebp - 0x424]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x428]
add eax, 0x14
push eax
call fcn.004d2e42
and dword [ebp - 4], 0
mov edi, dword [ebp - 0x420]
mov esi, dword [ebp - 0x424]
cmp esi, edi
je 0x4d334e
add esi, 0x18
cmp byte [esi + 0x1c], 0
lea ecx, [esi + 4]
mov edx, 0x2001b
mov eax, 0x3001b
cmovne edx, eax
cmp dword [esi + 0x18], 8
jb 0x4d32f3
mov ecx, dword [ecx]
cmp dword [esi], 8
lea eax, [esi - 0x14]
jb 0x4d32fd
mov eax, dword [eax]
lea ebx, [ebp - 0x414]
push ebx
lea ebx, [ebp - 0x410]
push ebx
lea ebx, [ebp - 0x418]
push ebx
push edx
push ecx
push eax
push dword [esi - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x4d333c
add esi, 0x38
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x4d32d7
jmp 0x4d334e
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x410]
push eax
call fcn.00414483
lea ecx, [ebp - 0x424]
call fcn.0048b913
mov eax, ebx
call fcn.0042d907
ret 8
Function at 0x4d580c
Capabilities:
Enumerate processes

Disassembly:
push 0x270
mov eax, 0x61e748
call fcn.0042d958
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x25c], esi
mov edi, esi
mov dword [ebp - 0x240], ebx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push ebx
push 2
mov dword [ebp - 4], ebx
mov dword [ebp - 0x240], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.0042e9f0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
cmp edi, 0xffffffff
je 0x4d5944
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4d5935
xor eax, eax
mov dword [ebp - 0x248], ebx
mov word [ebp - 0x258], ax
lea ecx, [ebp - 0x258]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x244], 7
push eax
call fcn.00414483
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 1
push eax
push dword [ebp - 0x224]
lea ecx, [ebp - 0x27c]
push dword [ebp - 0x234]
call 0x4d57d3
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 2
push eax
cmp ecx, dword [esi + 8]
je 0x4d58f4
call fcn.004c160e
add dword [esi + 4], 0x20
jmp 0x4d58fc
push ecx
mov ecx, esi
call 0x4d5731
lea ecx, [ebp - 0x274]
call fcn.00415bf1
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], bl
cmp eax, 8
jb 0x4d5928
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x258]
call fcn.004157b4
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4d588c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.0042d907
ret 4

Function at 0x4d92e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6b500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 8
pop esi
cmp dword [0x6b5ef4], esi
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
mov eax, 0x6b5ee0
xorps xmm0, xmm0
cmovae eax, dword [0x6b5ee0]
push 0
push eax
push reloc.WS2_32.dll_accept
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], esi
mov esi, 0x80070000
movzx ecx, ax
or ecx, esi
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x4d937e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.LastUpdate
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, esi
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x4d936d
cmp dword [ebp - 0x14], 0xb
je 0x4d9375
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ebp
mov edx, dword [ebp - 8]
pop esi
call fcn.0042d8e5
leave
ret