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

Disassembly:
push 0xffffffffffffffff
push 0x42ae97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push 0x4399d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.00420dbb
mov esi, dword [esp + 0x2c]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
mov dword [esp + 0x28], 1
call fcn.00420ac2
lea eax, [esp + 0x10]
push eax
call fcn.0040e1b0
mov edx, dword [esp + 0x38]
add esp, 4
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x28], 2
call fcn.00420ac2
lea eax, [esp + 0xc]
push eax
call fcn.0040e1b0
add esp, 8
mov ecx, dword [esp + 8]
mov byte [esp + 0x20], 3
push ecx
lea ecx, [esp + 0x10]
call fcn.0041ee65
cmp eax, 0xffffffff
je 0x40dd5b
lea edx, [esp + 0x2c]
push eax
push edx
mov ecx, esi
call fcn.0041eded
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x24], 4
call fcn.00420e3a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 3
call fcn.00420d4d
jmp 0x40dd65
push esi
lea ecx, [esp + 8]
call fcn.00420e3a
mov esi, dword [esp + 0x28]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.00420ac2
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call fcn.00420d4d
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.00420d4d
lea ecx, [esp + 4]
mov byte [esp + 0x20], 0
call fcn.00420d4d
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret

Function at 0x40de80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42af27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push 0x4399d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00420dbb
mov esi, dword [esp + 0x30]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
mov dword [esp + 0x2c], 1
call fcn.00420ac2
lea eax, [esp + 0x14]
push eax
call fcn.0040e1b0
mov edi, dword [esp + 0x3c]
add esp, 4
mov ecx, esp
mov dword [esp + 0x34], esp
push edi
mov byte [esp + 0x2c], 2
call fcn.00420ac2
lea ecx, [esp + 0x10]
push ecx
call fcn.0040e1b0
add esp, 8
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x28], 3
call fcn.0041ee65
cmp eax, 0xffffffff
je 0x40df48
mov ecx, dword [esi]
mov edx, dword [edi]
mov ecx, dword [ecx - 8]
mov edi, dword [edx - 8]
sub ecx, edi
sub ecx, eax
lea eax, [esp + 0x30]
push ecx
push eax
mov ecx, esi
call fcn.0041ed71
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call fcn.00420e3a
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 3
call fcn.00420d4d
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00420ac2
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.00420d4d
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.00420d4d
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.00420d4d
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x40f650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42b568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push 0x4399d0
lea ecx, [esp + 0xc]
call fcn.00420dbb
push 0x4399d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.00420dbb
push 0x4399d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.00420dbb
push ecx
mov bl, 2
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionCommonFilesDir
mov byte [esp + 0x30], bl
call fcn.00420dbb
lea eax, [esp + 0x18]
push 0x80000002
push eax
call fcn.004123d0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.00420e3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00420d4d
push str.Microsoft_SharedDAO
lea ecx, [esp + 0x14]
call fcn.00420e8a
push 0x4399d0
lea ecx, [esp + 0x10]
call fcn.00420e8a
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f744
lea edx, [esp + 0x10]
push 1
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0040d540
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00420e3a
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x14]
jmp 0x40f7e5
push str.Common_Files
lea ecx, [esp + 0x18]
call fcn.00420dbb
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
mov byte [esp + 0x2c], 5
call fcn.00411510
lea ecx, [esp + 0x14]
push 1
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x38], 6
call fcn.0040d540
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 7
call fcn.00420e3a
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 6
call fcn.00420d4d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 5
call fcn.00420d4d
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00420d4d
lea eax, [esp + 0x10]
push 1
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0040d540
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 8
call fcn.00420e3a
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x1c]
call fcn.00420d4d
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call fcn.00420e3a
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.00420d4d
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00420d4d
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00420d4d
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x40f840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42b5c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push 0x4399d0
lea ecx, [esp + 0xc]
call fcn.00420dbb
push 0x4399d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.00420dbb
push 0x4399d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.00420dbb
push ecx
mov bl, 2
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionCommonFilesDir
mov byte [esp + 0x30], bl
call fcn.00420dbb
lea eax, [esp + 0x18]
push 0x80000002
push eax
call fcn.004123d0
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.00420e3a
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00420d4d
push str.ODBC
lea ecx, [esp + 0x14]
call fcn.00420e8a
push 0x4399d0
lea ecx, [esp + 0x10]
call fcn.00420e8a
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f934
lea edx, [esp + 0x10]
push 1
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0040d540
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00420e3a
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x14]
jmp 0x40f9d5
push str.Common_Files
lea ecx, [esp + 0x18]
call fcn.00420dbb
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
mov byte [esp + 0x2c], 5
call fcn.00411510
lea ecx, [esp + 0x14]
push 1
push ecx
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x38], 6
call fcn.0040d540
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 7
call fcn.00420e3a
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 6
call fcn.00420d4d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 5
call fcn.00420d4d
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00420d4d
lea eax, [esp + 0x10]
push 1
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0040d540
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 8
call fcn.00420e3a
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x1c]
call fcn.00420d4d
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call fcn.00420e3a
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.00420d4d
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00420d4d
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00420d4d
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x40fa30
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.00420cd8
mov ecx, esi
call fcn.004115b0
fstp qword [esp + 8]
push 0x104
call fcn.00421262
fld qword [esp + 0xc]
fcomp qword [0x42ddc0]
mov esi, eax
add esp, 4
fnstsw ax
test ah, 0x40
jne 0x40faff
fld qword [esp + 8]
fcomp qword [0x42ddd8]
fnstsw ax
test ah, 0x40
jne 0x40faff
fld qword [esp + 8]
fcomp qword [0x42ddd0]
fnstsw ax
test ah, 1
jne 0x40fb56
fld qword [esp + 8]
fcomp qword [0x42ddc8]
fnstsw ax
test ah, 1
je 0x40fb56
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 0x40faf8
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 0x40faf8
push esi
mov ecx, edi
call fcn.00420e8a
mov eax, dword [esp + 0x14]
push eax
jmp 0x40fb50
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 0x40fb4b
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 0x40fb4b
push esi
mov ecx, edi
call fcn.00420e8a
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0042128b
add esp, 4
pop edi
pop esi
add esp, 8
ret 4
Function at 0x40fb70
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov al, byte [0x4399d0]
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 0x40fbc8
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 0x14
push edi
call eax
test eax, eax
jne 0x40fbc8
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x18]
push edx
call fcn.00420e8a
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 0x40fca5
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 0x40fc1b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x40fc90
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x18]
push eax
call fcn.00420e8a
jmp 0x40fc90
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 0x40fc90
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 0x40fc85
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x11c]
push eax
call fcn.00420e8a
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 0x4101e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42b686
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push esi
lea eax, [esp + 0x10]
push edi
mov esi, ecx
push eax
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov cl, byte [0x4399d0]
xor eax, eax
mov byte [esp + 0xa8], cl
mov ecx, 0x40
lea edi, [esp + 0xa9]
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 0x4102fa
cmp dword [esp + 0x24], 1
jne 0x410282
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x410282
lea edx, [esp + 0xa8]
push edx
push 0
push 0
push 0x8027
push 0
call eax
test eax, eax
jne 0x41035f
mov ecx, dword [esp + 0x1bc]
lea eax, [esp + 0xa8]
push eax
call fcn.00420e8a
jmp 0x41035f
push str.My_Pictures
lea ecx, [esp + 0x10]
call fcn.00420dbb
lea ecx, [esp + 0xc]
push 1
add esi, 0x10
push ecx
lea edx, [esp + 0x18]
push esi
push edx
mov dword [esp + 0x1c4], 0
call fcn.0040d540
add esp, 0x10
mov esi, dword [esp + 0x1bc]
push eax
mov ecx, esi
mov byte [esp + 0x1b8], 1
call fcn.00420e3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b4], 0
call fcn.00420d4d
lea ecx, [esp + 0xc]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.00420d4d
push esi
call fcn.0040d460
add esp, 4
jmp 0x41035f
add esi, 0x54
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x41035f
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0x27
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x41034a
mov edx, dword [esp + 8]
lea ecx, [esp + 0xa8]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x41034a
mov ecx, dword [esp + 0x1bc]
lea eax, [esp + 0xa8]
push eax
call fcn.00420e8a
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 0x410620
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov al, byte [0x4399d0]
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 0x410678
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 9
push edi
call eax
test eax, eax
jne 0x410678
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x18]
push edx
call fcn.00420e8a
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 0x41074d
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 0x4106c3
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.00420e8a
jmp 0x410738
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 0x410738
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 0x41072d
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x11c]
push eax
call fcn.00420e8a
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 0x410760
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov al, byte [0x4399d0]
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 0x4107b8
lea ecx, [esp + 0x18]
push ecx
push edi
push edi
push 0x15
push edi
call eax
test eax, eax
jne 0x4107b8
mov ecx, dword [esp + 0x224]
lea edx, [esp + 0x18]
push edx
call fcn.00420e8a
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 0x41088d
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 0x410803
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.00420e8a
jmp 0x410878
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 0x410878
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 0x41086d
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x11c]
push eax
call fcn.00420e8a
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 0x410e00
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.00420e8a
add esp, 0x108
ret 4

Function at 0x411240
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.00420e8a
add esp, 0x108
ret 4

Function at 0x411270
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.00420dbb
call fcn.0040c6c0
add esp, 8
test eax, eax
jne 0x4112b5
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.00420e8a
add esp, 0x10c
ret 4

Function at 0x4114d0
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.00420dbb
mov eax, esi
pop esi
add esp, 0x10c
ret 4
Function at 0x412060
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x42b8e8
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 0x4377b4
push ecx
mov dword [esp + 0x74], 1
call fcn.0042100a
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 2
call fcn.00420e3a
lea ecx, [esp + 8]
mov byte [esp + 0x68], 1
call fcn.00420d4d
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.0042111c
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.00420d4d
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], 0xffffffff
call fcn.00420d4d
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret

Function at 0x4122b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42b958
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 0x4399d0
lea ecx, [esp + 8]
mov dword [esp + 0x124], 1
call fcn.00420dbb
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 0x412372
mov edx, dword [0x4383c0]
push ecx
mov ecx, esp
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], esp
push eax
mov dword [ecx], edx
call fcn.00420e8a
lea ecx, [esp + 0xc]
push ecx
call fcn.0040e130
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x124], 3
call fcn.00420e3a
lea ecx, [esp + 8]
mov byte [esp + 0x120], 2
call fcn.00420d4d
mov esi, dword [esp + 0x128]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.00420ac2
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x120], 1
call fcn.00420d4d
lea ecx, [esp + 0x130]
mov byte [esp + 0x120], 0
call fcn.00420d4d
mov ecx, dword [esp + 0x118]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x120
ret