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

Disassembly:
push ebp
lea ebp, [esp - 0x2b8]
sub esp, 0x2b8
push 0xffffffffffffffff
push 0x6436a8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x2b4], 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
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 0x74]
call fcn.0040d090
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [esi + 0xc8]
cmp edi, dword [eax + 0x1c]
jge 0x40d565
lea ecx, [ebp - 0x14]
call fcn.004024f0
mov byte [ebp - 4], 1
push edi
mov ecx, dword [esi + 0xc8]
add ecx, 0x14
call fcn.0040d290
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [esi + 0xc8]
mov eax, dword [edx + 4]
push eax
push 0x67acc0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f60
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [esi + 0x74]
call fcn.0040d070
mov ebx, eax
inc dword [ebp - 0x18]
push 0x2b4
push 0
lea ecx, [ebp]
push ecx
call fcn.00621270
add esp, 0xc
push edi
mov ecx, dword [esi + 0xc8]
add ecx, 0x14
call fcn.0040d290
mov eax, dword [eax]
push 0x4411
push 0x160
lea edx, [ebp]
push edx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], ebx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [esi + 0x74]
call fcn.0040d030
push edi
mov ecx, dword [esi + 0xc8]
add ecx, 0x14
call fcn.0040d290
cmp dword [eax + 8], 0
mov eax, 0x75f32c
jne 0x40d4ff
mov eax, 0x75f330
mov eax, dword [eax]
push eax
push ebx
push 1
mov edx, dword [esi + 0x94]
push edx
call fcn.0040d0d0
add esp, 0x10
mov dword [ebp - 0x7c], 2
push edi
mov ecx, dword [esi + 0xc8]
add ecx, 0x14
call fcn.0040d290
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x84]
push eax
push ebx
push 0x1074
mov ecx, dword [esi + 0x94]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
push ebx
lea ecx, [esi + 0x74]
call fcn.0040d050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402560
inc edi
jmp 0x40d41e
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x2b8
mov esp, ebp
pop ebp
ret
Function at 0x40d6c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6436f8
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x758898]
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.005f6b34
xor ebx, ebx
mov dword [ebp - 4], ebx
push esi
call fcn.0045bf70
add esp, 4
cmp dword [0x75dd30], ebx
je 0x40d71e
push 0x129
push esi
mov ecx, 0x75dcf0
call fcn.004e6a60
push 0x160
push ebx
lea eax, [ebp - 0x198]
push eax
call fcn.00621270
add esp, 0xc
push 0x4011
push 0x160
lea ecx, [ebp - 0x198]
push ecx
push 0x80
push 0x67ad18
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edi, [esi + 0x74]
push eax
push 1
push 0x1003
mov ecx, edi
call fcn.004015a0
push 0x21
mov ecx, edi
call fcn.0040d0b0
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 [0x75dd28]
push eax
mov ecx, dword [0x75f320]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401970
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x40d7b5
lea eax, [ebp - 0x1c]
push eax
push 0xbe
lea ecx, [ebp - 0x1a4]
call fcn.0040d180
push eax
push ebx
mov edx, dword [esi + 0x94]
push edx
call fcn.0040cf40
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 [0x75dd28]
push ecx
mov edx, dword [0x75f324]
push edx
lea ecx, [ebp - 0x38]
call fcn.00401970
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x40d807
lea eax, [ebp - 0x34]
push eax
push 0x6e
lea ecx, [ebp - 0x1a4]
call fcn.0040d180
push eax
push 1
mov eax, dword [esi + 0x94]
push eax
call fcn.0040cf40
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 [0x75dd28]
push edx
mov eax, dword [0x75f328]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401970
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40d856
lea eax, [ebp - 0x28]
push eax
push 0x12c
lea ecx, [ebp - 0x1a4]
call fcn.0040d180
push eax
push 2
mov ecx, dword [esi + 0x94]
push ecx
call fcn.0040cf40
add esp, 0x10
mov ecx, esi
call fcn.0040d3d0
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.00620b8d
mov esp, ebp
pop ebp
ret
Function at 0x40da50
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 0x40daa5
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 0x40daa5
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
test eax, eax
je 0x40dab4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x40dba0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x65231b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
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 0x40dcef
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x40dcef
test edi, edi
jl 0x40dd17
cmp ebx, eax
jge 0x40dd17
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0x67997c
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 0x40dc74
lea ecx, [esp + 0x20]
call fcn.004c1c00
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.004c1d70
mov dword [esp + 0x23c], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004c1d60
jmp 0x40dcd1
cmp ebx, dword [esi + 8]
jge 0x40dd17
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 0x40dc88
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 0x67b078
push edx
call ebp
cmp ebx, dword [esi + 8]
jge 0x40dd17
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 0x67b074
push eax
mov dword [esp + 0x30], ecx
call ebp
mov eax, dword [esi + 8]
inc ebx
add edi, 0xc
cmp ebx, eax
jl 0x40dbf9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40dcef
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.00620b8d
add esp, 0x22c
ret
call fcn.005f4f65
int3
Function at 0x40fda0
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 0x40fdb0
sub eax, esi
sar eax, 1
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x40fdea
push edi
jmp 0x40fdd0
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 0x40fdd0
pop edi
pop esi
ret

Function at 0x40fdf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x7c
mov eax, dword [0x758898]
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 0x40ff05
push 0x64
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.00621270
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 0x40fefa
lea ebx, [eax + 1]
lea eax, [esp + 0x24]
push 0x2e
push eax
call fcn.00622170
add esp, 8
test eax, eax
je 0x40feb4
mov byte [eax], 0
lea ecx, [esp + 0x24]
push ecx
call fcn.006223c1
add esp, 4
test eax, eax
je 0x40fefa
cmp eax, 0x49
mov dword [esi], eax
jle 0x40fed0
mov dword [edi], ebx
jmp 0x40fefa
cmp eax, 0x34
jle 0x40feda
mov dword [ebp], ebx
jmp 0x40fefa
cmp eax, 0x1a
jle 0x40fee7
mov edx, dword [esp + 0x14]
mov dword [edx], ebx
jmp 0x40fefa
cmp eax, 7
jle 0x40fef4
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
jmp 0x40fefa
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.00620b8d
add esp, 0x7c
ret
Function at 0x40ff30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x70
mov eax, dword [0x758898]
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 0x410012
push 0x64
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00621270
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 0x410007
push esi
lea edx, [esp + 0x18]
push 0x2e
push edx
lea ebx, [eax + 1]
call fcn.00622170
mov esi, eax
add esp, 8
test esi, esi
je 0x410006
lea eax, [esp + 0x18]
push eax
mov byte [esi], 0
call fcn.006223c1
add esp, 4
test eax, eax
je 0x40ffe0
mov dword [edi], eax
inc esi
push 0x67b3f8
push esi
call fcn.006232f0
add esp, 8
test eax, eax
je 0x40fff6
mov byte [eax], 0
push esi
call fcn.006223c1
add esp, 4
test eax, eax
je 0x410006
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.00620b8d
add esp, 0x70
ret

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

Disassembly:
sub esp, 8
push ebp
push esi
push edi
push 0x67b490
xor edi, edi
call fcn.00447cb0
mov ebp, dword [esp + 0x1c]
mov esi, eax
add esp, 4
test esi, esi
je 0x41008a
push ebx
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x41007e
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 0x410078
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 0x4100d9
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 0x4100d9
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 0x4100ce
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 0x410300
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push esi
push edi
push str.IEXPLORE
add ecx, 4
call fcn.0040e0c0
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 0x4103d4
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 0x4103ae
test edi, edi
je 0x4103c9
mov ecx, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x14]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4103a5
test dl, dl
je 0x4103a1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4103a5
add eax, 2
add ecx, 2
test dl, dl
jne 0x410385
xor eax, eax
jmp 0x4103aa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4103c9
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 0x410474
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 0x41044e
test edi, edi
je 0x410469
mov ecx, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x14]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410445
test dl, dl
je 0x410441
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410445
add eax, 2
add ecx, 2
test dl, dl
jne 0x410425
xor eax, eax
jmp 0x41044a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410469
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.00620b8d
add esp, 0x110
ret
Function at 0x410490
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
cmp dword [0x75dbd8], 0
je 0x410585
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 0x410584
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 0x4104f5
cmp dword [esp + 0xc], 1
jne 0x4104f5
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 0x410583
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 0x410583
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 0x410582
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 0x4105a0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
call fcn.00447df0
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 0x410606
mov eax, dword [esp + 8]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push 0x67b660
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 0x67997c
push 0
push 0x678e18
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x410657
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 0x410660
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0xa4
mov eax, dword [0x758898]
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 0x4106c2
cmp dword [esp + 0x28], 2
jne 0x4106c2
cmp dword [esp + 0x1c], 6
jb 0x4106ca
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov esi, 1
push str..IDMWFP
jmp 0x4106de
mov eax, dword [edi + 0x1c]
jmp 0x410788
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 0x410700
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 1
mov eax, 1
jmp 0x410788
mov dword [ebx], 0
test esi, esi
je 0x41071d
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesIDMWFP
jmp 0x41072e
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 0x410786
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x67b660
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41077b
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x41077b
cmp eax, 2
je 0x41077b
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.00620b8d
add esp, 0xa4
ret 4
Function at 0x410a60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x6439b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x758898]
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 0x410bf0
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 0x410bf0
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 0x410bf0
cmp dword [ebp - 0x1c], 1
jne 0x410bf0
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.00447df0
test eax, eax
je 0x410bb5
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 0x410bf0
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 0x410bf0
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 0x410bf0
cmp dword [ebp - 0x1c], 1
jne 0x410bf0
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 0x410bf2
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.00620b8d
add ebp, 0x214
mov esp, ebp
pop ebp
ret

Function at 0x410ec0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75dbe4]
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 0x410efd
cmp dword [esp + 4], eax
je 0x410efd
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret