joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d540
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63fed8
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.005f3212
xor ebx, ebx
mov dword [ebp - 4], ebx
push esi
call fcn.0045b250
add esp, 4
cmp dword [0x75ad18], ebx
je 0x40d59e
push 0x129
push esi
mov ecx, 0x75acd8
call fcn.004e5400
push 0x160
push ebx
lea eax, [ebp - 0x198]
push eax
call fcn.0061d9e0
add esp, 0xc
push 0x4011
push 0x160
lea ecx, [ebp - 0x198]
push ecx
push 0x80
push 0x677d10
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edi, [esi + 0x74]
push eax
push 1
push 0x1003
mov ecx, edi
call fcn.004015b0
push 0x21
mov ecx, edi
call fcn.0040cf20
mov byte [ebp - 0x1a4], bl
mov eax, 0x60
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor edx, edx
mov word [ebp - 0x1c], dx
mov byte [ebp - 4], 1
mov eax, dword [0x75ad10]
push eax
mov ecx, dword [0x75c2e0]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401980
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x40d635
lea eax, [ebp - 0x1c]
push eax
push 0xbe
lea ecx, [ebp - 0x1a4]
call fcn.0040d000
push eax
push ebx
mov edx, dword [esi + 0x94]
push edx
call fcn.0040cdb0
add esp, 0x10
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
xor eax, eax
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 2
mov ecx, dword [0x75ad10]
push ecx
mov edx, dword [0x75c2e4]
push edx
lea ecx, [ebp - 0x38]
call fcn.00401980
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x40d687
lea eax, [ebp - 0x34]
push eax
push 0x6e
lea ecx, [ebp - 0x1a4]
call fcn.0040d000
push eax
push 1
mov eax, dword [esi + 0x94]
push eax
call fcn.0040cdb0
add esp, 0x10
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
xor ecx, ecx
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 3
mov edx, dword [0x75ad10]
push edx
mov eax, dword [0x75c2e8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401980
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40d6d6
lea eax, [ebp - 0x28]
push eax
push 0x12c
lea ecx, [ebp - 0x1a4]
call fcn.0040d000
push eax
push 2
mov ecx, dword [esi + 0x94]
push ecx
call fcn.0040cdb0
add esp, 0x10
mov ecx, esi
call fcn.0040d250
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00401210
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret
Function at 0x40d8d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
push esi
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 0x14]
push 1
xor esi, esi
push esi
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d925
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.found
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d925
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
test eax, eax
je 0x40d934
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x40da20
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x63ff0b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x14], edi
je 0x40db6f
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x40db6f
test edi, edi
jl 0x40db97
cmp ebx, eax
jge 0x40db97
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0x676974
add eax, edi
mov eax, dword [eax + 4]
push 0
push eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40daf4
lea ecx, [esp + 0x20]
call fcn.004c0490
mov dword [esp + 0x23c], 0
push 1
push str.Cannot_open__create__registry_subkey_during_CBrowsersIntegration::Save__._r_n
lea ecx, [esp + 0x28]
call fcn.004c0600
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004c05f0
jmp 0x40db51
cmp ebx, dword [esi + 8]
jge 0x40db97
mov ecx, dword [esi + 4]
mov ecx, dword [edi + ecx]
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40db08
mov edx, dword [esp + 0x14]
sub eax, ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
push ecx
push 1
push 0
push 0x678070
push edx
call ebp
cmp ebx, dword [esi + 8]
jge 0x40db97
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi + 8]
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push 0x67806c
push eax
mov dword [esp + 0x30], ecx
call ebp
mov eax, dword [esi + 8]
inc ebx
add edi, 0xc
cmp ebx, eax
jl 0x40da79
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40db6f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x22c
ret
call fcn.005f16d5
int3
Function at 0x40fd80
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fd90
sub eax, esi
sar eax, 1
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x40fdca
push edi
jmp 0x40fdb0
mov si, word [edx + eax*2]
xor si, 0x4d
mov edi, 0xff
sub si, di
mov word [edx + eax*2], si
inc eax
cmp eax, ecx
jl 0x40fdb0
pop edi
pop esi
ret

Function at 0x40fdd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x7c
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x98]
push ecx
xor ebx, ebx
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40fee5
push 0x64
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0061d9e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push str.CurrentVersion
push edx
mov dword [esp + 0x38], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40feda
lea ebx, [eax + 1]
lea eax, [esp + 0x24]
push 0x2e
push eax
call fcn.0061e8e0
add esp, 8
test eax, eax
je 0x40fe94
mov byte [eax], 0
lea ecx, [esp + 0x24]
push ecx
call fcn.0061eb31
add esp, 4
test eax, eax
je 0x40feda
cmp eax, 0x49
mov dword [esi], eax
jle 0x40feb0
mov dword [edi], ebx
jmp 0x40feda
cmp eax, 0x34
jle 0x40feba
mov dword [ebp], ebx
jmp 0x40feda
cmp eax, 0x1a
jle 0x40fec7
mov edx, dword [esp + 0x14]
mov dword [edx], ebx
jmp 0x40feda
cmp eax, 7
jle 0x40fed4
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
jmp 0x40feda
mov ecx, dword [esp + 0x1c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0061d2ff
add esp, 0x7c
ret
Function at 0x40ff00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x70
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x80]
push edi
mov edi, dword [esp + 0x80]
lea eax, [esp + 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMozillaSeaMonkey
mov dword [edi], ebx
push 0x80000002
mov dword [ebp], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ffe2
push 0x64
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0061d9e0
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push str.CurrentVersion
push ecx
mov dword [esp + 0x28], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ffd7
push esi
lea edx, [esp + 0x18]
push 0x2e
push edx
lea ebx, [eax + 1]
call fcn.0061e8e0
mov esi, eax
add esp, 8
test esi, esi
je 0x40ffd6
lea eax, [esp + 0x18]
push eax
mov byte [esi], 0
call fcn.0061eb31
add esp, 4
test eax, eax
je 0x40ffb0
mov dword [edi], eax
inc esi
push 0x6783f0
push esi
call fcn.0061fa60
add esp, 8
test eax, eax
je 0x40ffc6
mov byte [eax], 0
push esi
call fcn.0061eb31
add esp, 4
test eax, eax
je 0x40ffd6
mov dword [ebp], eax
pop esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x78]
pop edi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0061d2ff
add esp, 0x70
ret

Function at 0x410000
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebp
push esi
push edi
push 0x678488
xor edi, edi
call fcn.00447580
mov ebp, dword [esp + 0x1c]
mov esi, eax
add esp, 4
test esi, esi
je 0x41005a
push ebx
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x41004e
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push edi
push edi
push 0x1c
push edi
call ebx
test eax, eax
jne 0x410048
lea edi, [eax + 1]
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
test edi, edi
jne 0x4100a9
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4100a9
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push ebp
push eax
push eax
push str.Local_AppData
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41009e
lea edi, [eax + 1]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x4102d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push esi
push edi
push str.IEXPLORE
add ecx, 4
call fcn.0040dff0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000001
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4103a4
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.DownloadUI
push eax
mov dword [esp + 0x28], 0x104
call ebx
test eax, eax
jne 0x41037e
test edi, edi
je 0x410399
mov ecx, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x14]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410375
test dl, dl
je 0x410371
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410375
add eax, 2
add ecx, 2
test dl, dl
jne 0x410355
xor eax, eax
jmp 0x41037a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410399
mov ecx, dword [esp + 0xc]
push 0x27
push str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
push 1
push 0
push str.DownloadUI
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
call esi
test eax, eax
jne 0x410444
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push str.DownloadUI
push eax
mov dword [esp + 0x28], 0x104
call ebx
test eax, eax
jne 0x41041e
test edi, edi
je 0x410439
mov ecx, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x14]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410415
test dl, dl
je 0x410411
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410415
add eax, 2
add ecx, 2
test dl, dl
jne 0x4103f5
xor eax, eax
jmp 0x41041a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410439
mov ecx, dword [esp + 0xc]
push 0x27
push str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
push 1
push 0
push str.DownloadUI
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0061d2ff
add esp, 0x110
ret
Function at 0x410460
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
cmp dword [0x75abcc], 0
je 0x410555
push esi
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS_1.3Client
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410554
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.Enabled
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4104c5
cmp dword [esp + 0xc], 1
jne 0x4104c5
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
test esi, esi
je 0x410553
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS_1.3
push 0x80000002
call esi
test eax, eax
jne 0x410553
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.Client
push eax
call ebx
mov ecx, dword [esp + 0xc]
push ecx
call edi
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocols
push 0x80000002
call esi
test eax, eax
jne 0x410552
mov eax, dword [esp + 0xc]
push str.TLS_1.3
push eax
call ebx
mov ecx, dword [esp + 0xc]
push ecx
call edi
pop ebx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x410570
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
call fcn.004476c0
neg eax
sbb eax, eax
and eax, 0x100
lea ecx, [esp + 8]
push ecx
add eax, 0xf003f
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMTDI
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4105d6
mov eax, dword [esp + 8]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push 0x678658
push eax
mov dword [esp + 0x24], 1
call esi
mov ecx, dword [esp + 8]
push ecx
call edi
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0xf003f
push 0
push 0x676974
push 0
push 0x675e10
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x410627
mov ecx, dword [esp + 8]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.AdvIntDriverEnabled2
push ecx
mov dword [esp + 0x24], 1
call esi
mov edx, dword [esp + 8]
push edx
call edi
pop edi
pop esi
add esp, 8
ret
Function at 0x410630
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0xa4
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
mov ebx, dword [esp + 0xac]
push esi
push edi
lea eax, [esp + 0x18]
push eax
mov edi, ecx
xor esi, esi
mov dword [esp + 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x410692
cmp dword [esp + 0x28], 2
jne 0x410692
cmp dword [esp + 0x1c], 6
jb 0x41069a
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov esi, 1
push str..IDMWFP
jmp 0x4106ae
mov eax, dword [edi + 0x1c]
jmp 0x410758
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..IDMTDI
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x4106d0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 1
mov eax, 1
jmp 0x410758
mov dword [ebx], 0
test esi, esi
je 0x4106ed
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesIDMWFP
jmp 0x4106fe
lea edx, [esp + 0xc]
push edx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesIDMTDI
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410756
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x678658
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41074b
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x41074b
cmp eax, 2
je 0x41074b
mov dword [ebx], 1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0061d2ff
add esp, 0xa4
ret 4
Function at 0x410a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x640198
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x21c]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
mov dword [edi], eax
test eax, eax
jne 0x410bc0
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
mov edx, dword [ebp - 0x14]
push edx
call esi
test eax, eax
jne 0x410bc0
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.NoExplorer
mov edx, dword [ebp - 0x18]
push edx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call ebx
test eax, eax
jne 0x410bc0
cmp dword [ebp - 0x1c], 1
jne 0x410bc0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004476c0
test eax, eax
je 0x410b85
lea edx, [ebp - 0x14]
push edx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
call esi
mov dword [edi], eax
test eax, eax
jne 0x410bc0
lea eax, [ebp - 0x18]
push eax
push 0x20119
push 0
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
mov ecx, dword [ebp - 0x14]
push ecx
call esi
test eax, eax
jne 0x410bc0
mov dword [ebp - 0x20], 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.NoExplorer
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
jne 0x410bc0
cmp dword [ebp - 0x1c], 1
jne 0x410bc0
mov edx, dword [ebp - 0x18]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov eax, dword [ebp - 0x14]
push eax
call esi
mov eax, 1
jmp 0x410bc2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x214
mov esp, ebp
pop ebp
ret

Function at 0x410e90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75abd8]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
push str.intAOFRWE
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410ecd
cmp dword [esp + 4], eax
je 0x410ecd
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x4113a0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640250
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x411433
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411439
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411660
Capabilities:
Shutdown system
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x64027b
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
cmp dword [esp + 0x118], 0
je 0x4116c6
push 0
lea ecx, [esp + 0x1c]
call fcn.0051a990
mov dword [esp + 0x110], 0
lea ecx, [esp + 0x18]
call fcn.005f3511
mov dword [esp + 0x110], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00410240
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x411718
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]