joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427415
Capabilities:
Persist via run registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp + 0x194], eax
push ebx
push 1
push dword [0x489454]
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], ebx
call fcn.00402e79
test eax, eax
jne 0x427494
push 0x208
lea eax, [ebp - 0x76]
push ebx
push eax
mov dword [ebp - 0x80], 0x105
mov word [ebp - 0x78], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [0x489458]
lea ecx, [ebp - 0x7c]
call fcn.00421374
cmp eax, ebx
je 0x42748d
cmp eax, 0xea
jne 0x427494
cmp dword [ebp - 0x80], ebx
je 0x427494
mov bl, 1
lea ecx, [ebp - 0x7c]
call fcn.00402e14
mov ecx, dword [ebp + 0x194]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0045ce96
add ebp, 0x198
leave
ret

Function at 0x4281ac
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x114]
sub esp, 0x194
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp + 0x110], eax
push ebx
push edi
xor edi, edi
push 0x18e
lea eax, [ebp - 0x7e]
push edi
push eax
mov ebx, ecx
mov word [ebp - 0x80], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0xc8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x428236
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x42822f
test byte [eax + 0x1c], 1
je 0x42822f
cmp byte [eax + 0x19], 2
jb 0x42822f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x488018]
push 0x46e1ec
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004213e2
add esp, 0x14
mov eax, 0x8000ffff
jmp 0x42828c
cmp word [ebp - 0x80], di
push esi
lea esi, [ebp - 0x80]
je 0x428289
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x428277
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
lea edi, [ebx + 0xac]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x42826f
push 0x46e2b0
mov ecx, edi
call fcn.0040811d
push esi
mov ecx, edi
call fcn.0040811d
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x428240
xor eax, eax
pop esi
mov ecx, dword [ebp + 0x110]
pop edi
xor ecx, ebp
pop ebx
call fcn.0045ce96
add ebp, 0x114
leave
ret
Function at 0x428889
Capabilities:
Persist via run registry key

Disassembly:
push 0x10
mov eax, 0x45f88c
call fcn.0045cea5
xor ebx, ebx
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x1c], ebx
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push dword [0x489454]
lea ecx, [ebp - 0x1c]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call fcn.00402e2b
test eax, eax
mov edi, 0x488018
jne 0x42896a
mov esi, 0x48c1ac
push esi
lea ecx, [ebp - 0x18]
call fcn.00405f70
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004531f8
pop ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00405f70
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00415c61
push 0x46e2b4
lea ecx, [ebp - 0x14]
call fcn.0040811d
mov eax, dword [0x488018]
cmp eax, edi
mov esi, dword [ebp - 0x14]
je 0x428939
test byte [eax + 0x1c], 1
je 0x428939
cmp byte [eax + 0x19], 4
jb 0x428939
push esi
push 0x46e1ec
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
push 1
push esi
push dword [0x489458]
lea ecx, [ebp - 0x1c]
call fcn.00402ec8
test eax, eax
jne 0x428952
mov byte [ebp - 0xd], 1
lea ecx, [esi - 0x10]
call fcn.00402703
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402703
cmp byte [ebp - 0xd], bl
jne 0x428994
mov eax, dword [0x488018]
cmp eax, edi
je 0x428994
test byte [eax + 0x1c], 1
je 0x428994
cmp byte [eax + 0x19], 2
jb 0x428994
push 0x46e1ec
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.00402e14
mov al, byte [ebp - 0xd]
call fcn.0045cf7d
ret

Function at 0x42ad36
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push str.SYSTEMSetup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ad8c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push str.SystemSetupInProgress
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ad8c
cmp dword [ebp - 4], 1
sete al
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x42ad9a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042a6c3
add esp, 0xc
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
push eax
push str._swow32.dll
push esi
push eax
call fcn.0042a6a6
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
mov ecx, dword [ebp - 4]
add esp, 0x18
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0045ce96
leave
ret
Function at 0x42ae0a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042a6c3
add esp, 0xc
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
push eax
push str._swpeinit.exe
push esi
push eax
call fcn.0042a6a6
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
mov ecx, dword [ebp - 4]
add esp, 0x18
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0045ce96
leave
ret

Function at 0x42b39c
Capabilities:
Compare security identifiers

Disassembly:
mov ecx, dword [esp + 4]
push ebx
lea ebx, [ecx + 4]
test ebx, ebx
push esi
push edi
je 0x42b3d9
mov edi, dword [esp + 0x14]
lea esi, [edi + 4]
test esi, esi
je 0x42b3d9
call fcn.0042b334
test al, al
je 0x42b3d9
mov ecx, edi
call fcn.0042b334
test al, al
je 0x42b3d9
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x42b3db
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x42ba0c
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push str.CScannerApp::GetRandomNumber
lea ecx, [ebp - 0xc]
call fcn.00407111
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi], esi
mov dword [ebp - 8], esi
jne 0x42ba6d
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x42ba5d
test byte [eax + 0x1c], 1
je 0x42ba5d
cmp byte [eax + 0x19], 4
jb 0x42ba5d
push 0x46e4ec
push 0xe2
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.00407157
pop edi
mov eax, esi
pop esi
leave
ret 8
push ebx
push 0xf0000000
xor ebx, ebx
inc ebx
push ebx
push esi
push esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x42bac7
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x42bb12
test byte [eax + 0x1c], bl
je 0x42bb12
cmp byte [eax + 0x19], 2
jb 0x42bb12
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46e4ec
push 0xe3
mov eax, dword [0x488018]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004213e2
add esp, 0x14
jmp 0x42bb12
mov esi, dword [ebp + 0xc]
and dword [esi], 0
push esi
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x42bb07
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x42bb12
test byte [eax + 0x1c], bl
je 0x42bb12
cmp byte [eax + 0x19], 2
jb 0x42bb12
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46e4ec
push 0xe4
jmp 0x42bab2
mov eax, dword [esi]
xor edx, edx
div dword [edi]
mov dword [ebp - 8], ebx
mov dword [esi], edx
cmp dword [ebp - 4], 0
pop ebx
je 0x42bb24
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esi, dword [ebp - 8]
jmp 0x42ba5d
Function at 0x42d3ab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x138
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp + 0x70], eax
movzx eax, word [ebp + 0x7c]
push esi
mov esi, dword [0x48c118]
push 0xf0
push eax
push esi
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42d515
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42d515
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42d515
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
movzx eax, word [esi]
test ax, ax
je 0x42d513
inc esi
inc esi
movzx edi, ax
movzx eax, word [esi]
inc esi
inc esi
mov ecx, dword [esi]
add esi, 4
cmp ax, 0x403
mov dword [ebp - 0xa0], ecx
jne 0x42d491
push esi
lea ecx, [ebp - 0x94]
call fcn.0041f4f2
push dword [ebp - 0x94]
movzx eax, di
push 0
push 0x143
push eax
mov eax, dword [ebp - 0x9c]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x42d474
and dword [ebp - 0x98], 0
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x42d500
push dword [ebp - 0x94]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
jmp 0x42d500
cmp ax, 0x1234
jne 0x42d500
or dword [ebp - 0xc0], 0xffffffff
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xc4], 1
call fcn.0041f4f2
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x42d4d7
push dword [ebp - 0x94]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [ebp - 0xc4]
push eax
push 0
movzx eax, di
push 0x40b
push eax
mov eax, dword [ebp - 0x9c]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x42d500
and dword [ebp - 0x98], 0
add esi, dword [ebp - 0xa0]
cmp dword [ebp - 0x98], 0
jne 0x42d419
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x98]
xor ecx, ebp
pop esi
call fcn.0045ce96
add ebp, 0x74
leave
ret 4
Function at 0x42d63c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0x1f76
lea eax, [ebp - 8]
push eax
add ecx, 0x828
call fcn.0042649f
push dword [ebp - 8]
call dword [sym.imp.MSVCR80.dll__wtoi]
mov dword [esp], 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallNSS
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 4]
mov esi, eax
mov dword [ebp - 4], ebx
call fcn.00402e79
test eax, eax
jne 0x42d6d7
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push ebx
push str.Language
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42d707
mov bl, 1
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x42d707
test byte [eax + 0x1c], bl
je 0x42d707
cmp byte [eax + 0x19], 4
jb 0x42d707
push esi
push 0x46e4ec
push 0xb9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004213e2
add esp, 0x14
jmp 0x42d707
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x42d707
test byte [eax + 0x1c], 1
je 0x42d707
cmp byte [eax + 0x19], 4
jb 0x42d707
push 0x46e4ec
push 0xba
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00402e14
lea ecx, [ebp - 4]
call fcn.00402e14
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00402703
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x4323e7
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x4601b7
call fcn.0045cea5
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
push 0x48c1ac
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00405f70
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0043234c
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4897a4]
mov byte [ebp - 4], 2
push 0x46f538
push eax
call fcn.00411b91
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00402703
mov edi, dword [ebp - 0x14]
push 0x2001f
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.00402e79
test eax, eax
je 0x4324cd
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x4324a5
test byte [eax + 0x1c], 1
je 0x4324a5
cmp byte [eax + 0x19], 4
jb 0x4324a5
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0043234c
push dword [eax]
mov eax, dword [0x488018]
push 0x46e4ec
push 0x9b
push dword [eax + 0x14]
inc ebx
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
test bl, 1
je 0x4324b5
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402703
lea ecx, [edi - 0x10]
call fcn.00402703
lea ecx, [ebp - 0x10]
call fcn.00402e14
xor al, al
call fcn.0045cf7d
ret
push str.ScanInProgress
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x432555
lea ecx, [ebp - 0x10]
call fcn.00402e14
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x43252c
test byte [eax + 0x1c], 1
je 0x43252c
cmp byte [eax + 0x19], 4
jb 0x43252c
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0043234c
push 2
pop ebx
push dword [eax]
mov eax, dword [0x488018]
push 0x46e4ec
push 0x9c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004070b8
add esp, 0x14
test bl, 2
je 0x43253c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402703
xor bl, bl
lea ecx, [edi - 0x10]
call fcn.00402703
lea ecx, [ebp - 0x10]
call fcn.00402e14
mov al, bl
jmp 0x4324c7
lea ecx, [ebp - 0x14]
call fcn.00402bb8
lea ecx, [ebp - 0x10]
call fcn.00402e14
mov edi, dword [ebp - 0x14]
mov bl, 1
jmp 0x43253e
Function at 0x432b70
Capabilities:
Get user security identifier

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x48b990]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x14
mov eax, 0x460265
call fcn.0045cea5
mov eax, dword [ebp + 0xd8]
mov ebx, dword [ebp + 0xd4]
mov edi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], eax
call fcn.0042bcdd
test ebx, ebx
je 0x432cbe
and dword [ebp], 0
and dword [ebp - 4], 0
mov esi, 0x80
push esi
lea ecx, [ebp]
call fcn.0042c508
mov ecx, dword [ebp]
lea eax, [edi + 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x84]
push eax
push ebx
push dword [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0x44
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
jne 0x432c56
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x432ca7
cmp dword [ebp - 0x10], 0x44
jbe 0x432c1e
push 0x80004005
call fcn.0040249c
cmp dword [ebp - 0x14], esi
jbe 0x432c34
push dword [ebp - 0x14]
lea ecx, [ebp]
call fcn.0042c3da
mov eax, dword [ebp]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x84]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x432ca7
lea eax, [ebp + 0x84]
push eax
lea eax, [edi + 4]
push eax
push dword [ebp - 0x10]
mov byte [edi + 0x48], 1
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x432ca7
push dword [ebp - 0x1c]
lea ecx, [edi + 0x54]
call fcn.00404494
push dword [ebp - 0x20]
lea ecx, [edi + 0x50]
call fcn.00404494
push dword [ebp - 0x18]
lea ecx, [edi + 0x5c]
call fcn.00404494
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x432ca3
lea ecx, [ebp]
call fcn.00403406
mov al, 1
jmp 0x432cc0
mov ecx, edi
call fcn.0042bcdd
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x432cbe
lea ecx, [ebp]
call fcn.00403406
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.0045ce96
add ebp, 0xcc
leave
ret 8
Function at 0x433258
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x460313
call fcn.0045cea5
push str.CScannerApp::DeleteInstallDate
lea ecx, [ebp - 0x18]
call fcn.00407111
and dword [ebp - 4], 0
push 0x48c1ac
lea ecx, [ebp - 0x14]
call fcn.00405f70
and dword [ebp - 0x10], 0
push str.SOFTWARESymantecNSSInstall
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00404494
mov esi, dword [ebp - 0x14]
push 0x2001f
push esi
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.00402e79
test eax, eax
jne 0x4332fa
push str.InstallDate
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4332f0
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x4332f0
test byte [eax + 0x1c], 1
je 0x4332f0
cmp byte [eax + 0x19], 2
jb 0x4332f0
push 0x46e4ec
push 0x71
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00402e14
jmp 0x433327
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x433327
test byte [eax + 0x1c], 1
je 0x433327
cmp byte [eax + 0x19], 2
jb 0x433327
push 0x46e4ec
push 0x72
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00402e14
lea ecx, [esi - 0x10]
call fcn.00402703
lea ecx, [ebp - 0x18]
call fcn.00407157
call fcn.0045cf7d
ret

Function at 0x433920
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x460468
call fcn.0045cea5
xor esi, esi
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.004337e6
test al, al
lea ecx, [ebp - 0x10]
jne 0x433951
call fcn.00402e14
xor al, al
call fcn.0045cf7d
ret
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
mov esi, str.ScanCount
push esi
call fcn.0041ed51
test eax, eax
mov edi, 0x488018
mov ebx, 0x46e4ec
je 0x4339a3
mov eax, dword [0x488018]
cmp eax, edi
je 0x43399a
test byte [eax + 0x1c], 1
je 0x43399a
cmp byte [eax + 0x19], 4
jb 0x43399a
push ebx
push 0x8d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
mov dword [ebp - 0x14], 1
jmp 0x4339a6
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 4
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4339fe
mov eax, dword [0x488018]
cmp eax, edi
je 0x4339ed
test byte [eax + 0x1c], 1
je 0x4339ed
cmp byte [eax + 0x19], 2
jb 0x4339ed
push ebx
push 0x8e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
xor bl, bl
lea ecx, [ebp - 0x10]
call fcn.00402e14
mov al, bl
jmp 0x43394b
lea ecx, [ebp - 0x10]
call fcn.00402e14
mov bl, 1
jmp 0x4339ef
Function at 0x433a0a
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x4601b7
call fcn.0045cea5
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push 0x475ba8
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00404b62
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0043234c
push dword [eax]
lea eax, [ebp - 0x14]
push dword [0x4897a4]
mov byte [ebp - 4], 2
push 0x46f538
push eax
call fcn.00411b91
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402703
push 0x2001f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402e79
test eax, eax
je 0x433aca
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x433aad
test byte [eax + 0x1c], 1
je 0x433aad
cmp byte [eax + 0x19], 4
jb 0x433aad
push 0x46e4ec
push 0x96
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402703
lea ecx, [ebp - 0x10]
call fcn.00402e14
xor al, al
call fcn.0045cf7d
ret 4
lea ecx, [ebp - 0x14]
call fcn.00402bb8
movzx eax, byte [ebp + 8]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push ebx
push str.ScanInProgress
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
lea ecx, [ebp - 0x10]
je 0x433b52
call fcn.00402e14
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x433b38
test byte [eax + 0x1c], 1
je 0x433b38
cmp byte [eax + 0x19], 4
jb 0x433b38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x488018]
push 0x46e4ec
push 0x97
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004213e2
add esp, 0x14
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402703
lea ecx, [ebp - 0x10]
call fcn.00402e14
mov al, bl
jmp 0x433ac2
call fcn.00402e14
mov bl, 1
jmp 0x433b38
Function at 0x433e72
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x460468
call fcn.0045cea5
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.004337e6
test al, al
jne 0x433ea5
lea ecx, [ebp - 0x10]
call fcn.00402e14
mov al, bl
call fcn.0045cf7d
ret 4
mov eax, dword [ebp + 8]
dec eax
dec eax
je 0x433f14
dec eax
jne 0x433f46
lea eax, [ebp - 0x18]
push eax
call fcn.0041ef2a
lea ecx, [ebp - 0x18]
call fcn.0042a7ae
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push ebx
push str.LastScanMonth
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x433f44
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x433f46
test byte [eax + 0x1c], 1
je 0x433f46
cmp byte [eax + 0x19], 2
jb 0x433f46
push 0x46e4ec
push 0xbb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
jmp 0x433f46
lea eax, [ebp - 0x18]
push eax
mov dword [ebp + 8], ebx
call fcn.0041ef2a
lea ecx, [ebp - 0x18]
call fcn.0042a7ae
mov esi, eax
lea eax, [ebp + 8]
push eax
push str.LastScanMonth
lea ecx, [ebp - 0x10]
call fcn.0041ed51
test eax, eax
jne 0x433f44
cmp esi, dword [ebp + 8]
je 0x433f46
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.00402e14
jmp 0x433e93

Function at 0x433f53
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x460468
call fcn.0045cea5
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.004337e6
test al, al
jne 0x433f86
lea ecx, [ebp - 0x10]
call fcn.00402e14
mov al, bl
call fcn.0045cf7d
ret 4
mov eax, dword [ebp + 8]
dec eax
dec eax
je 0x433ff5
dec eax
jne 0x434027
lea eax, [ebp - 0x18]
push eax
call fcn.0041ef2a
lea ecx, [ebp - 0x18]
call fcn.0042a7ae
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push ebx
push str.LastLaunchMonth
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x434025
mov eax, dword [0x488018]
cmp eax, 0x488018
je 0x434027
test byte [eax + 0x1c], 1
je 0x434027
cmp byte [eax + 0x19], 2
jb 0x434027
push 0x46e4ec
push 0xbc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00406feb
add esp, 0x10
jmp 0x434027
lea eax, [ebp - 0x18]
push eax
mov dword [ebp + 8], ebx
call fcn.0041ef2a
lea ecx, [ebp - 0x18]
call fcn.0042a7ae
mov esi, eax
lea eax, [ebp + 8]
push eax
push str.LastLaunchMonth
lea ecx, [ebp - 0x10]
call fcn.0041ed51
test eax, eax
jne 0x434025
cmp esi, dword [ebp + 8]
je 0x434027
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.00402e14
jmp 0x433f74