joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push 0x440e2c
lea ecx, [esp + 0xc]
call fcn.004266b1
push 0x440e2c
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.004266b1
push 0x440e2c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.004266b1
push ecx
mov bl, 2
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionCommonFilesDir
mov byte [esp + 0x30], bl
call fcn.004266b1
lea eax, [esp + 0x18]
push 0x80000002
push eax
call fcn.00413c70
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.00426730
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00426643
push str.ODBC
lea ecx, [esp + 0x14]
call fcn.00426780
push 0x440e2c
lea ecx, [esp + 0x10]
call fcn.00426780
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x411184
lea edx, [esp + 0x10]
push 1
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0040ebd0
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00426730
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x14]
jmp 0x411225
push str.Common_Files
lea ecx, [esp + 0x18]
call fcn.004266b1
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
mov byte [esp + 0x2c], 5
call fcn.00412d80
lea ecx, [esp + 0x14]
push 1
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x38], 6
call fcn.0040ebd0
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 7
call fcn.00426730
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 6
call fcn.00426643
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 5
call fcn.00426643
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00426643
lea eax, [esp + 0x10]
push 1
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0040ebd0
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 8
call fcn.00426730
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x1c]
call fcn.00426643
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call fcn.00426730
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.00426643
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00426643
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00426643
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x411280
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
mov ecx, edi
call fcn.004265ce
mov ecx, esi
call fcn.00412e20
fstp qword [esp + 8]
push 0x104
call fcn.00426b58
fld qword [esp + 0xc]
fcomp qword [0x432db0]
mov esi, eax
add esp, 4
fnstsw ax
test ah, 0x40
jne 0x41134f
fld qword [esp + 8]
fcomp qword [0x432dc8]
fnstsw ax
test ah, 0x40
jne 0x41134f
fld qword [esp + 8]
fcomp qword [0x432dc0]
fnstsw ax
test ah, 1
jne 0x4113a6
fld qword [esp + 8]
fcomp qword [0x432db8]
fnstsw ax
test ah, 0x41
je 0x4113a6
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareU.S._RoboticsPilot_DesktopCore
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411348
mov edx, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
push esi
push eax
push eax
push str.Path
push edx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411348
push esi
mov ecx, edi
call fcn.00426780
mov eax, dword [esp + 0x14]
push eax
jmp 0x4113a0
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push str.SoftwarePalm_ComputingPilot_DesktopCore
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41139b
lea edx, [esp + 8]
mov dword [esp + 8], 0x104
push edx
push esi
push eax
push eax
mov eax, dword [esp + 0x24]
push str.Path
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41139b
push esi
mov ecx, edi
call fcn.00426780
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00426b81
add esp, 4
pop edi
pop esi
add esp, 8
ret 4
Function at 0x4113c0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov al, byte [0x440e2c]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x18], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x5c]
xor edi, edi
cmp eax, edi
je 0x411418
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 0x14
push edi
call eax
test eax, eax
jne 0x411418
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x18]
push edx
call fcn.00426780
pop edi
pop esi
add esp, 0x218
ret 4
add esi, 0x54
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4114f5
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edi
push eax
push 0x14
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41146b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4114e0
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
call fcn.00426780
jmp 0x4114e0
lea ecx, [esp + 8]
mov dword [esp + 8], edi
push ecx
push 0x20019
push edi
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000003
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4114e0
lea edx, [esp + 0x10]
lea eax, [esp + 0x11c]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.Fonts
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4114d5
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x11c]
push eax
call fcn.00426780
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esi]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
add esp, 0x218
ret 4
Function at 0x411a30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x430ba6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push esi
lea eax, [esp + 0x114]
push edi
mov esi, ecx
push eax
mov dword [esp + 0x11c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov cl, byte [0x440e2c]
xor eax, eax
mov byte [esp + 0x14], cl
mov ecx, 0x40
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x411b77
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0x8027
push 0
call eax
test eax, eax
jne 0x411ab9
mov ecx, dword [esp + 0x1bc]
lea eax, [esp + 0x14]
push eax
call fcn.00426780
jmp 0x411bd5
cmp dword [esp + 0x128], 1
jne 0x411aff
mov eax, dword [esp + 0x120]
test eax, eax
jbe 0x411aff
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x8027
push 0
call dword [esi + 0x5c]
test eax, eax
jne 0x411bd5
mov ecx, dword [esp + 0x1bc]
lea edx, [esp + 0x14]
push edx
call fcn.00426780
jmp 0x411bd5
push str.My_Pictures
lea ecx, [esp + 0x10]
call fcn.004266b1
lea eax, [esp + 0xc]
push 1
add esi, 0x10
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x1c4], 0
call fcn.0040ebd0
add esp, 0x10
mov esi, dword [esp + 0x1bc]
push eax
mov ecx, esi
mov byte [esp + 0x1b8], 1
call fcn.00426730
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b4], 0
call fcn.00426643
lea ecx, [esp + 0xc]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.00426643
push esi
call fcn.0040eaf0
add esp, 4
jmp 0x411bd5
add esi, 0x54
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x411bd5
lea edx, [esp + 8]
mov dword [esp + 8], eax
push edx
push 0x27
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x411bc0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x411bc0
mov ecx, dword [esp + 0x1bc]
lea edx, [esp + 0x14]
push edx
call fcn.00426780
mov eax, dword [esi]
mov edx, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, dword [esi]
push esi
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1b0
ret 4
Function at 0x411e90
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov al, byte [0x440e2c]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x18], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x5c]
xor edi, edi
cmp eax, edi
je 0x411ee8
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 9
push edi
call eax
test eax, eax
jne 0x411ee8
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x18]
push edx
call fcn.00426780
pop edi
pop esi
add esp, 0x218
ret 4
add esi, 0x54
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x411fbd
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edi
push eax
push 9
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x411f33
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
call fcn.00426780
jmp 0x411fa8
lea ecx, [esp + 8]
mov dword [esp + 8], edi
push ecx
push 0x20019
push edi
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000003
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411fa8
lea edx, [esp + 0x10]
lea eax, [esp + 0x11c]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.SendTo
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411f9d
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x11c]
push eax
call fcn.00426780
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esi]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
add esp, 0x218
ret 4
Function at 0x411fd0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov al, byte [0x440e2c]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x18], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x5c]
xor edi, edi
cmp eax, edi
je 0x412028
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 0x15
push edi
call eax
test eax, eax
jne 0x412028
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x18]
push edx
call fcn.00426780
pop edi
pop esi
add esp, 0x218
ret 4
add esi, 0x54
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x4120fd
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edi
push eax
push 0x15
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x412073
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
call fcn.00426780
jmp 0x4120e8
lea ecx, [esp + 8]
mov dword [esp + 8], edi
push ecx
push 0x20019
push edi
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000003
mov dword [esp + 0x24], 0xff
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4120e8
lea edx, [esp + 0x10]
lea eax, [esp + 0x11c]
push edx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.Templates
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4120dd
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x11c]
push eax
call fcn.00426780
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esi]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
add esp, 0x218
ret 4
Function at 0x412670
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00426780
add esp, 0x108
ret 4

Function at 0x412ab0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00426780
add esp, 0x108
ret 4

Function at 0x412ae0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 8], esp
push edx
call fcn.004266b1
call fcn.0040dd50
add esp, 8
test eax, eax
jne 0x412b25
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x114]
call fcn.00426780
add esp, 0x10c
ret 4

Function at 0x412d40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
push esi
lea eax, [esp + 8]
push 0x104
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [esp + 0x114]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004266b1
mov eax, esi
pop esi
add esp, 0x10c
ret 4
Function at 0x4138d0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x430e08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
lea ecx, [esp + 8]
push eax
push 0x43c7b0
push ecx
mov dword [esp + 0x74], 1
call fcn.00426900
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 2
call fcn.00426730
lea ecx, [esp + 8]
mov byte [esp + 0x68], 1
call fcn.00426643
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
mov esi, dword [esp + 0x74]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x98]
call fcn.00426a12
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [esp + 0x70]
mov esi, eax
mov byte [esp + 0x68], 0
call fcn.00426643
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], 0xffffffff
call fcn.00426643
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret

Function at 0x413b50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x430e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
xor esi, esi
mov dword [esp + 0x10], esi
push 0x440e2c
lea ecx, [esp + 8]
mov dword [esp + 0x124], 1
call fcn.004266b1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x134]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x134]
push edx
push esi
push eax
push ecx
mov byte [esp + 0x138], 2
mov dword [esp + 0x2c], 0xff
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413c12
mov edx, dword [0x43d2c0]
push ecx
mov ecx, esp
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], esp
push eax
mov dword [ecx], edx
call fcn.00426780
lea ecx, [esp + 0xc]
push ecx
call fcn.0040f7c0
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x124], 3
call fcn.00426730
lea ecx, [esp + 8]
mov byte [esp + 0x120], 2
call fcn.00426643
mov esi, dword [esp + 0x128]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.004263b8
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x120], 1
call fcn.00426643
lea ecx, [esp + 0x130]
mov byte [esp + 0x120], 0
call fcn.00426643
mov ecx, dword [esp + 0x118]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x120
ret
Function at 0x413c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430ed7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
xor esi, esi
mov dword [esp + 0x10], esi
push 0x440e2c
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 1
call fcn.004266b1
lea eax, [esp + 4]
lea edx, [esp + 0x2c]
push eax
push 0x20019
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x30], 2
mov dword [esp + 0x18], esi
call fcn.004263b8
lea eax, [esp + 0x1c]
push eax
call fcn.0040e0f0
add esp, 8
mov ecx, eax
mov byte [esp + 0x28], 3
call fcn.00402710
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.00426643
push ecx
lea edx, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004263b8
push esi
call fcn.0040e770
mov eax, dword [esp + 0x10]
add esp, 8
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00413b50
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 4
call fcn.00426730
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 2
call fcn.00426643
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004263b8
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.00426643
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.00426643
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret

Function at 0x413da0
Capabilities:
Access peb ldr_data
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x430f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push 0x2001f
push esi
push esi
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], esi
call fcn.004263b8
lea eax, [esp + 0x20]
push eax
call fcn.0040e0f0
add esp, 8
mov ecx, eax
mov byte [esp + 0x28], 1
call fcn.00426a12
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.00426643
push esi
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004263b8
lea eax, [esp + 0x28]
push eax
call fcn.0040e770
add esp, 8
mov ecx, eax
mov byte [esp + 0x1c], 2
call fcn.00426a12
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
sete bl
call fcn.00426643
test bl, bl
je 0x413e67
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.00426643
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x413f10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
xor ebp, ebp
push edi
xor ebx, ebx
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x41409f
cmp al, 4
jbe 0x413fc8
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x41409f
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VerSetConditionMask
push eax
call ebx
test eax, eax
je 0x41409f
push 6
push 0x40
push ebp
push ebp
call eax
push str.KERNEL32.DLL
mov esi, eax
mov ebp, edx
call edi
test eax, eax
je 0x4140ac
push str.VerifyVersionInfoA
push eax
call ebx
mov edx, eax
test edx, edx
je 0x4140ac
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x20]
push ebp
rep stosd dword es:[edi], eax
push esi
lea eax, [esp + 0x28]
push 0x40
push eax
mov dword [esp + 0x30], 0x9c
mov word [esp + 0xc8], 0x10
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
push str.SystemCurrentControlSetControlProductOptions
push 0x80000002
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x414090
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push ebx
push eax
push ebx
push str.ProductSuite
push ecx
call esi
test eax, eax
jne 0x414090
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x414090
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x414090
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push edi
push eax
push ebx
push str.ProductSuite
push ecx
call esi
test eax, eax
jne 0x414087
cmp dword [esp + 0x1c], 7
jne 0x414087
mov al, byte [edi]
mov esi, edi
test al, al
je 0x414087
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.Terminal_Server
push esi
call ebx
test eax, eax
je 0x41407b
push esi
call ebp
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x414061
jmp 0x414083
mov dword [esp + 0x10], 1
mov ebp, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41409f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret