joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4503
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x2dc
mov eax, 0x6203d9
call fcn.00429868
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x2cc], ebx
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x2cc], 1
call fcn.0042a970
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1c
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x4c45fe
push 0xb0
lea eax, [ebp - 0x2c8]
push ebx
push eax
call fcn.0042a970
add esp, 0xc
lea ecx, [ebp - 0x2c8]
inc ebx
push ebx
call fcn.0041ce87
push edi
push 0x682610
push str.MicrosoftOneDrive_settings
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.0041ef72
push eax
call fcn.0041ef72
push eax
call fcn.0041ef72
push eax
call fcn.0042759d
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.0045f291
lea eax, [ebp - 0x2e8]
mov ecx, esi
push eax
call fcn.004119c0
lea ecx, [ebp - 0x2e8]
call fcn.00413b5a
lea ecx, [ebp - 0x2c8]
call fcn.0041b28b
mov eax, esi
call fcn.00429817
ret 8

Function at 0x4c469a
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
pop ebp
jmp 0x4c469a

Function at 0x4c6b22
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6c2008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 4
xor ebx, ebx
cmp dword [eax + 0x14], 8
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
jb 0x4c6b4c
mov eax, dword [eax]
push eax
push str.SoftwareMicrosoftOneDriveAccounts
lea eax, [ebp - 0x28]
push eax
call fcn.004beac2
cmp dword [eax + 0x14], 8
jb 0x4c6b63
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x10
push str.IsGoSov
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00413b5a
test esi, esi
pop esi
jne 0x4c6b99
cmp dword [ebp - 8], 1
sete bl
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004297f5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4c6b20
Function at 0x4c7b22
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6c2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x14]
xor esi, esi
push eax
inc esi
xor ebx, ebx
push esi
push 8
push str.SoftwareClasses
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c7bad
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4c7ba4
cmp dword [ebp - 8], ebx
jne 0x4c7ba4
cmp dword [ebp - 0xc], esi
jne 0x4c7ba4
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x1000ffff
push str.SymbolicLinkValue
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4c7ba4
cmp dword [ebp - 0x10], 6
movzx ebx, bl
cmove ebx, esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004297f5
leave
ret
jmp 0x4c7b20

Function at 0x4c838f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4c839f
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [eax + 0x10]
mov edx, 0x811c9dc5
push 0
pop esi
add edi, edi
je 0x4c83c1
movzx eax, byte [ecx + esi]
xor eax, edx
imul edx, eax, 0x1000193
inc esi
cmp esi, edi
jb 0x4c83b0
pop edi
mov eax, edx
pop esi
pop ebp
ret 4

Function at 0x4c8dcd
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6c2008]
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 0x4c8e04
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 0x4c8e46
cmp dword [esi + 0x10], eax
jne 0x4c8e22
xor esi, esi
jmp 0x4c8e2a
cmp dword [esi + 0x14], 8
jb 0x4c8e2a
mov esi, dword [esi]
push 4
push ebx
push 4
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.004297f5
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x4c8dcb
Function at 0x4c9034
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6c2008]
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 0x4c906b
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 0x4c90c3
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 2]
jb 0x4c9092
mov ebx, dword [ebx]
movzx eax, byte [ebp + 0x1c]
inc eax
cmp dword [esi + 0x10], 0
jne 0x4c90a1
xor esi, esi
jmp 0x4c90a9
cmp dword [esi + 0x14], 8
jb 0x4c90a9
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.004297f5
leave
ret 0x18
push ebp
mov ebp, esp
pop ebp
jmp 0x4c9032

Function at 0x4c90e3
Capabilities:
Set registry value

Disassembly:
nop
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 0x4c90fb
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4c9106
mov eax, dword [eax]
push edx
push ecx
push 2
push eax
push 0x682e5c
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
push ebp
mov ebp, esp
pop ebp
jmp 0x4c90e1
Function at 0x4c9810
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x6c2008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov ecx, esi
push edi
mov edi, dword [ebp + 8]
push 0x682614
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x240], eax
call fcn.00411bb5
mov eax, dword [ebp - 0x240]
xor ecx, ecx
push 0x118
push ecx
mov dword [eax], ecx
lea eax, [ebp - 0x238]
mov dword [ebx], ecx
mov bl, cl
push eax
mov dword [edi], ecx
call fcn.0042a970
add esp, 0xc
mov dword [ebp - 0x23c], 0x11c
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4c98f3
mov ecx, dword [ebp - 0x120]
mov bl, 1
mov eax, dword [ebp - 0x238]
mov dword [edi], eax
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x120], 0x118
mov dword [ecx], eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 2
push str.BuildLab
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push dword [0x6c2b70]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
js 0x4c98f3
push esi
lea eax, [ebp - 0x11c]
push eax
call fcn.004c9498
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004297f5
leave
ret 0x10
push ebp
mov ebp, esp
pop ebp
jmp 0x4c980e
Function at 0x4ce3d2
Capabilities:
Get user security identifier

Disassembly:
push 0x34
mov eax, 0x621470
call fcn.00429868
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, esi
mov dword [ebp - 0x14], esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
jb 0x4ce3fc
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, dword [ebp - 0x18]
mov word [ebp - 0x3a], ax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
add edi, 1
je 0x4ce45a
cmp edi, 0x7fffffff
ja 0x4ce50f
push edi
lea ecx, [ebp - 0x28]
call fcn.0049c10d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3a]
push eax
push edi
push dword [ebp - 0x28]
call fcn.004cdc4e
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x34]
mov byte [ebp - 0x39], bl
stosd dword es:[edi], eax
lea ecx, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x39]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.004bdefb
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x4ce48f
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x4ce4bd
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x40]
call fcn.00411bb5
mov bl, 1
test esi, esi
je 0x4ce4ef
mov eax, dword [ebp - 0x2c]
sub eax, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x4ce4e6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00413cba
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
push eax
push esi
call fcn.00429588
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4ce505
mov ecx, dword [ebp - 0x20]
sub ecx, eax
and ecx, 0xfffffffe
push ecx
push eax
call fcn.00413ce3
mov al, bl
call fcn.00429817
ret 8
call fcn.00412fb5
int3

Function at 0x4cf202
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 0x4cf332
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004becd6
cmp dword [eax + 0x14], 8
jb 0x4cf34c
mov eax, dword [eax]
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00413b5a
mov eax, esi
pop esi
leave
ret 8

Function at 0x4cf4b2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004becd6
cmp dword [eax + 0x14], 8
jb 0x4cf4cc
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00413b5a
mov eax, esi
pop esi
leave
ret 4

Function at 0x4cf6d2
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004becd6
cmp dword [eax + 0x14], 8
jb 0x4cf6ec
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00413b5a
mov eax, esi
pop esi
leave
ret 4

Function at 0x4cfbe2
Capabilities:
Check internet connectivity via wininet

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

Function at 0x4cffc2
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004becd6
cmp dword [eax + 0x14], 8
jb 0x4cffdc
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00413b5a
mov eax, esi
pop esi
leave
ret 4

Function at 0x4d0302
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.004becd6
cmp dword [eax + 0x14], 8
jb 0x4d031c
mov eax, dword [eax]
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00413b5a
mov eax, esi
pop esi
leave
ret 8

Function at 0x4d03d2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x4d0552
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005fad7c
add esp, 0xc
pop ebp
ret 0xc
Function at 0x4d0a1c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xdc
mov eax, 0x6216a1
call fcn.00429868
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.0042a970
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
call fcn.00427379
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x10], bl
je 0x4d0a76
push str.Wow6432Node_
lea eax, [ebp - 0xa8]
push eax
call fcn.0041ef72
push str.LocalServer32
push esi
push 0x664464
lea eax, [ebp - 0xa8]
push eax
call fcn.0041ef72
push eax
call fcn.0041ef72
push eax
call fcn.0041ef72
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0045f291
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 0x4d0b3e
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0045f291
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 0x4d0b45
mov byte [ebp - 0xb1], 1
mov eax, dword [ebp - 0xac]
test al, 2
je 0x4d0b69
and eax, 0xfffffffd
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xac], eax
call fcn.00413b5a
mov eax, dword [ebp - 0xac]
test al, 1
je 0x4d0b78
lea ecx, [ebp - 0xe8]
call fcn.00413b5a
cmp byte [ebp - 0xb1], 0
je 0x4d0bec
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 0x4d0be0
push dword [ebp - 0xac]
call fcn.0043450f
mov esi, eax
pop ecx
test esi, esi
je 0x4d0be0
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 0x4d0bd9
mov dword [edi], esi
mov bl, 1
jmp 0x4d0be0
push esi
call fcn.00433013
pop ecx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xa8]
call fcn.0042502e
mov al, bl
call fcn.00429817
ret 0xc
Function at 0x4d0d89
Capabilities:
Get file version info

Disassembly:
push 0x2cc
mov eax, 0x6216db
call fcn.00429868
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edi, dword [ebp + 0x10]
push 0x682614
mov dword [ebp - 0x2c0], eax
call fcn.00411bb5
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2bc]
push esi
push eax
call fcn.004d0a1c
test al, al
je 0x4d0f8c
cmp dword [ebp - 0x2bc], ebx
je 0x4d0f8c
push dword [ebp - 0x2bc]
mov esi, 0x104
lea eax, [ebp - 0x218]
push edi
push esi
push eax
call fcn.004d0c01
test al, al
je 0x4d0f80
cmp word [ebp - 0x218], bx
je 0x4d0f80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4d0f80
push dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0044f7ab
test eax, eax
js 0x4d0f80
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4d0f80
push edi
call fcn.0043450f
mov esi, eax
pop ecx
test esi, esi
je 0x4d0f80
push esi
push edi
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4d0f79
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0x682610
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4d0f79
push 0x98
lea eax, [ebp - 0x2b4]
push ebx
push eax
call fcn.0042a970
add esp, 0xc
lea ecx, [ebp - 0x2b4]
push 1
call fcn.00427379
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], ebx
movzx eax, word [eax + 0xa]
push eax
call fcn.0041d13e
mov edi, 0x684978
lea eax, [ebp - 0x2b4]
push edi
push eax
call fcn.0041ef72
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 8]
push eax
call fcn.0041d13e
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.0041ef72
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xe]
push eax
call fcn.0041d13e
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.0041ef72
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xc]
push eax
call fcn.0041d13e
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.0045f291
mov ecx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2d8]
push eax
call fcn.004119c0
lea ecx, [ebp - 0x2d8]
call fcn.00413b5a
lea ecx, [ebp - 0x2b4]
mov bl, 1
call fcn.0042502e
push esi
call fcn.00433013
pop ecx
push dword [ebp - 0x2bc]
call fcn.00433013
pop ecx
mov al, bl
call fcn.00429817
ret 0x18
Function at 0x4d44c2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6c2008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 8
pop esi
cmp dword [0x6dbaa8], esi
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
mov eax, 0x6dba94
xorps xmm0, xmm0
cmovae eax, dword [0x6dba94]
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 0x4d455e
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 0x4d454d
cmp dword [ebp - 0x14], 0xb
je 0x4d4555
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.004297f5
leave
ret

Function at 0x4d72d2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6c2008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6dbaa8], 8
lea ecx, [ebp - 0x10]
push esi
mov eax, 0x6dba94
cmovae eax, dword [0x6dba94]
xor esi, esi
push esi
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x4d7351
push esi
call fcn.0043b9a3
pop ecx
push 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push str.LastUpdate
push dword [ebp - 0x10]
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004297f5
leave
ret
Function at 0x4d94f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x420
mov eax, 0x622e12
call fcn.00429868
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
push 0x682614
mov dword [ebp - 0x42c], eax
call fcn.00411bb5
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov edi, 0x80004004
call fcn.004a1698
mov dword [ebp - 0x428], eax
cmp eax, dword [esi]
je 0x4d9624
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x410]
mov esi, 0x400
mov ebx, 0x2001b
push esi
push 0
push eax
call fcn.0042a970
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.004d8e73
mov eax, dword [ebp - 0x420]
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x424]
mov dword [ebp - 0x428], eax
cmp esi, eax
je 0x4d9614
add esi, 0x18
mov eax, ebx
lea ecx, [esi + 4]
or eax, 0x10000
cmp byte [esi + 0x1c], 0
cmovne ebx, eax
cmp dword [esi + 0x18], 8
jb 0x4d95b3
mov ecx, dword [ecx]
cmp dword [esi], 8
lea eax, [esi - 0x14]
jb 0x4d95bd
mov eax, dword [eax]
lea edx, [ebp - 0x414]
push edx
lea edx, [ebp - 0x410]
push edx
lea edx, [ebp - 0x418]
push edx
push ebx
push ecx
push eax
push dword [esi - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x4d9600
add esi, 0x38
lea eax, [esi - 0x18]
cmp eax, dword [ebp - 0x428]
jne 0x4d959a
jmp 0x4d9619
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x410]
push eax
call fcn.00411bb5
jmp 0x4d9619
mov edi, 0x80004004
lea ecx, [ebp - 0x424]
call fcn.0047a09f
mov eax, edi
call fcn.00429817
ret 8
Function at 0x4df252
Capabilities:
Delete file

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x6c2008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
xor edi, edi
cmp dword [esi + 0x14], 8
jb 0x4c1488
mov eax, dword [esi]
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4c14c9
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 8
jb 0x4c14aa
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4c14c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004297f5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4c1462

Function at 0x4df292
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c1832

Function at 0x4df2e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c1d4a

Function at 0x4df3b2
Capabilities:
Get common file path

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6c2008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
mov dword [ebp - 0x210], 0x104
push esi
push eax
call fcn.0042a970
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x4c2d60
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00411bb5
jmp 0x4c2d74
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004297f5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4c2cfd