joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458213
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov al, byte [0x4e7e70]
push esi
push edi
mov esi, ecx
push 0x40
mov byte [ebp - 0x114], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x54]
xor edi, edi
cmp eax, edi
je 0x45826a
lea ecx, [ebp - 0x114]
push ecx
push edi
push edi
push 0x14
push edi
call eax
test eax, eax
jne 0x45826a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.0049da15
jmp 0x45832d
add esi, 0x4c
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x45832d
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 0x14
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4582b5
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x45831a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.0049da15
jmp 0x45831a
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0xf003f
push edi
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000003
mov dword [ebp - 0xc], 0xff
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45831a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.Fonts
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x458311
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
call fcn.0049da15
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, dword [esi]
push esi
mov eax, dword [esi]
call dword [eax + 8]
pop edi
pop esi
leave
ret 4
Function at 0x458719
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4b3324
call fcn.00483228
sub esp, 0x1a8
push ebx
push esi
lea eax, [ebp - 0xb0]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0xb0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov al, byte [0x4e7e70]
push 0x40
mov byte [ebp - 0x1b4], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x1b3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x54]
xor ebx, ebx
cmp eax, ebx
je 0x45880e
push 1
pop edi
cmp dword [ebp - 0xa0], edi
jne 0x4587ad
cmp dword [ebp - 0xa8], ebx
jbe 0x4587ad
lea ecx, [ebp - 0x1b4]
push ecx
push ebx
push ebx
push 0x8027
push ebx
call eax
test eax, eax
jne 0x458866
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1b4]
push eax
call fcn.0049da15
jmp 0x458866
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.My_Pictures
call fcn.0049d946
push ecx
add esi, 0xc
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
mov dword [ebp - 4], ebx
call fcn.0049d64d
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
push eax
call fcn.00447f34
add esp, 0x10
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], edi
call fcn.0049d9c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
call fcn.0049d64d
call fcn.00446d96
pop ecx
jmp 0x458866
add esi, 0x4c
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x458866
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x27
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x458853
lea eax, [ebp - 0x1b4]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x458853
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1b4]
push eax
call fcn.0049da15
mov eax, dword [esi]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, dword [esi]
push esi
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x458a85
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov al, byte [0x4e7e70]
push esi
push edi
mov esi, ecx
push 0x40
mov byte [ebp - 0x114], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x54]
xor edi, edi
cmp eax, edi
je 0x458adc
lea ecx, [ebp - 0x114]
push ecx
push edi
push edi
push 9
push edi
call eax
test eax, eax
jne 0x458adc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.0049da15
jmp 0x458b9b
add esi, 0x4c
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x458b9b
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 9
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x458b23
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.0049da15
jmp 0x458b88
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0xf003f
push edi
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000003
mov dword [ebp - 0xc], 0xff
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x458b88
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.SendTo
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x458b7f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
call fcn.0049da15
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, dword [esi]
push esi
mov eax, dword [esi]
call dword [eax + 8]
pop edi
pop esi
leave
ret 4
Function at 0x458ba1
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov al, byte [0x4e7e70]
push esi
push edi
mov esi, ecx
push 0x40
mov byte [ebp - 0x114], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x54]
xor edi, edi
cmp eax, edi
je 0x458bf8
lea ecx, [ebp - 0x114]
push ecx
push edi
push edi
push 0x15
push edi
call eax
test eax, eax
jne 0x458bf8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.0049da15
jmp 0x458cb7
add esi, 0x4c
push esi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x458cb7
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 0x15
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x458c3f
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.0049da15
jmp 0x458ca4
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0xf003f
push edi
push str..DefaultSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000003
mov dword [ebp - 0xc], 0xff
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x458ca4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.Templates
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x458c9b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
call fcn.0049da15
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, dword [esi]
push esi
mov eax, dword [esi]
call dword [eax + 8]
pop edi
pop esi
leave
ret 4
Function at 0x45b834
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4b38ed
call fcn.00483228
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [0x4e43a4]
and dword [ebp - 4], 0
lea edi, [esi + 0x18]
mov dword [edi], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x28], eax
mov eax, dword [0x4e43a4]
mov dword [esi + 0x2c], eax
mov ebx, dword [ebp + 8]
and dword [esi + 0x1c], 0
fldz
push ebx
mov ecx, edi
fstp qword [esi + 0x10]
mov byte [ebp - 4], 3
mov dword [esi], vtable.WDiskSpace.0
call fcn.0049d9c5
push edi
mov ecx, esi
call fcn.0045b9cd
fstp qword [esi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x45b8b2
cmp eax, 5
je 0x45b8b2
cmp eax, 2
je 0x45b8b2
push ebx
mov ecx, esi
call fcn.0045bab9
mov dword [esi + 0x24], eax
jmp 0x45b8b6
and dword [esi + 0x24], 0
mov ecx, esi
call fcn.0045b8e8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x45b8e8
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4b3900
call fcn.00483228
sub esp, 0x21c
push ebx
push esi
mov esi, ecx
push edi
push 0x4dd1e4
lea eax, [ebp - 0x1c]
lea edi, [esi + 0x18]
push edi
push eax
call fcn.0049db21
mov ecx, dword [eax]
mov eax, 0x104
lea edx, [ebp - 0x228]
push eax
push edx
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x18]
xor ebx, ebx
push edx
push ebx
push eax
lea eax, [ebp - 0x124]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.0049d8d8
cmp dword [ebp - 0x14], ebx
je 0x45b96b
lea eax, [ebp - 0x124]
lea ecx, [esi + 0x2c]
push eax
call fcn.0049da15
cmp dword [ebp - 0x18], 0xc
jae 0x45b962
mov dword [esi + 0x20], ebx
jmp 0x45b9be
mov dword [esi + 0x20], 1
jmp 0x45b9be
push 0x4e7e70
lea ecx, [esi + 0x2c]
call fcn.0049da15
fld qword [esi + 8]
fcomp qword [0x4bb2e8]
fnstsw ax
sahf
jbe 0x45b9be
push str.1234567890
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0049db21
push ebx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 4], ebx
call fcn.0049d64d
call fcn.004466f0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov dword [esi + 0x20], eax
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x45be32
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4b3a05
call fcn.00483228
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [esi]
cmp dword [eax - 8], 0
je 0x45bfdd
and dword [ebp - 0x10], 0
push ecx
mov ebx, esp
mov dword [ebp + 8], esp
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push esi
call fcn.0049d64d
push ebx
call fcn.00447404
pop ecx
lea eax, [ebp + 8]
pop ecx
push eax
call fcn.0044ce2a
pop ecx
pop ecx
xor ebx, ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4dd1e8
mov dword [ebp - 4], ebx
call fcn.0049d946
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.0049d64d
mov byte [ebp - 4], bl
call fcn.0044c966
add esp, 0xc
cmp eax, ebx
je 0x45beb8
mov dword [ebp - 0x10], 1
push ebx
mov ecx, edi
push dword [ebp + 8]
call fcn.00498a78
test eax, eax
je 0x45bf26
xor esi, esi
cmp dword [edi + 0x24], ebx
jle 0x45bfd1
push ebx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
push ecx
lea ecx, [edi + 0x1c]
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
push esi
mov byte [ebp - 4], 2
call fcn.0040cbcf
mov ecx, dword [eax]
call fcn.00408bac
mov byte [ebp - 4], bl
call fcn.0044c9c8
add esp, 0xc
cmp eax, ebx
je 0x45bf1b
mov eax, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
fld qword [eax + 0x10]
fadd qword [ebp + 0xc]
fstp qword [eax + 0x10]
inc esi
cmp esi, dword [edi + 0x24]
jl 0x45bed2
jmp 0x45bfd1
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0049897b
push 0x30
call fcn.0049de4d
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x45bf53
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.0045b834
mov esi, eax
jmp 0x45bf55
xor esi, esi
fld qword [ebp + 0xc]
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], bl
fstp qword [esi + 0x10]
je 0x45bf6c
mov dword [esi + 0x1c], 4
jmp 0x45bfb2
lea eax, [ebp + 8]
lea ecx, [ebp + 0x10]
push eax
call fcn.0049d64d
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x45bfa7
cmp byte [ecx + eax - 1], 0x3a
jne 0x45bf9d
push 0x4dd1e4
lea ecx, [ebp + 0x10]
call fcn.0049dc68
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [esi + 0x1c], eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0049d8d8
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
mov ecx, esi
call fcn.0045c1d0
push esi
lea ecx, [edi + 0x1c]
call fcn.0041cd1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x45c08f
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4b3a20
call fcn.00483228
sub esp, 0x104
mov eax, dword [0x4e43a4]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x110]
push eax
push 0xfa
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x45c140
cmp byte [ebp - 0x110], 0
lea esi, [ebp - 0x110]
je 0x45c140
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 1
jbe 0x45c12e
cmp eax, 2
je 0x45c0f1
cmp eax, 3
je 0x45c103
cmp eax, 4
je 0x45c103
jmp 0x45c12e
mov al, byte [esi]
cmp al, 0x61
je 0x45c12e
cmp al, 0x41
je 0x45c12e
cmp al, 0x62
je 0x45c12e
cmp al, 0x42
je 0x45c12e
push esi
lea ecx, [ebp - 0x10]
call fcn.0049d946
push ecx
push ecx
fldz
lea eax, [ebp - 0x10]
mov ecx, edi
fstp qword [esp]
push eax
mov byte [ebp - 4], 1
call fcn.0045be32
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x45c0d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x45c741
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x4b3b9b
call fcn.00483228
sub esp, 0xc
and dword [ebp - 0x18], 0
push ebx
push esi
push 0x4e7e70
lea ecx, [ebp - 0x10]
call fcn.0049d946
push 1
mov ecx, 0x4e83f8
pop ebx
mov dword [ebp - 4], ebx
call fcn.00462b45
cmp eax, ebx
jne 0x45c7ae
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersPrograms
call fcn.0049d946
lea eax, [ebp - 0x14]
push 0x80000001
push eax
call fcn.0045cd84
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x45c833
cmp eax, 2
jne 0x45c838
cmp byte [0x4e8490], 0
je 0x45c838
push ecx
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_FoldersCommon_Programs
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.0049d946
lea eax, [ebp - 0x14]
push 0x80000001
push eax
call fcn.0045cd84
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049d9c5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0049d8d8
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x45c838
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.0049d946
lea eax, [ebp - 0x14]
push 0x80000002
push eax
call fcn.0045cd84
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0049d64d
mov dword [ebp - 0x18], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x45c902
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x4b3bd4
call fcn.00483228
sub esp, 0x58
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
mov dword [ebp - 0x64], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push 0x4ddcec
push eax
call fcn.0049db95
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0049d9c5
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0049d8d8
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x20]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp + 0xc]
call fcn.0049dcbc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp + 8]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45c9aa
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x4b3bf8
call fcn.00483228
sub esp, 0x58
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
mov dword [ebp - 0x64], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push 0x4ddcec
push eax
call fcn.0049db95
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0049d9c5
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0049d8d8
lea eax, [ebp - 0x20]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x64], 0x44
call fcn.0049dcbc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp edi, ebx
je 0x45ca45
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x45ca45
call fcn.00449df1
push ebx
push dword [ebp - 0x20]
jmp 0x45ca34
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x45ca6d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor eax, eax
xor esi, esi
cmp dword [ebp + 0xc], eax
jne 0x45ca7d
push eax
jmp 0x45ca7f
push 6
push dword [ebp + 8]
push eax
push dword [ebp + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test eax, eax
jne 0x45ca99
push 1
pop esi
lea ecx, [ebp + 8]
call fcn.0049d8d8
mov eax, esi
pop esi
pop ebp
ret
Function at 0x45caa6
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x4b3c1c
call fcn.00483228
sub esp, 0x14c
push esi
push edi
push 0x4e7e70
lea ecx, [ebp - 0x10]
call fcn.0049d946
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004983f0
lea eax, [ebp - 0x158]
push eax
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4dd1e0
call fcn.0049d946
push ecx
mov byte [ebp - 4], 1
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0045c741
and byte [ebp - 4], 0
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.00447f34
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00425e53
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
mov edi, eax
call fcn.0049d8d8
cmp dword [ebp - 0x158], 0x10
jne 0x45cb81
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x10]
push eax
call fcn.0049da15
push 0x4dd424
push dword [ebp - 0x10]
call fcn.00483bf3
pop ecx
test eax, eax
pop ecx
je 0x45cb81
push 0x4df8cc
push dword [ebp - 0x10]
call fcn.00483bf3
pop ecx
test eax, eax
pop ecx
je 0x45cb81
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x12c]
push ecx
push eax
mov ecx, esi
call fcn.00498606
lea eax, [ebp - 0x158]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45cb31
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x45cbb4
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4b3c40
call fcn.00483228
sub esp, 0xc
push esi
and dword [ebp - 4], 0
push 1
pop esi
lea ecx, [ebp - 0x10]
push str.regedit.exe__S
call fcn.0049d946
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 1
call fcn.0049d64d
lea eax, [ebp - 0x14]
push eax
call fcn.00448171
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp dword [eax - 8], 0
lea eax, [ebp - 0x14]
jne 0x45cc07
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0049dca4
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jae 0x45cc22
xor esi, esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0049d8d8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x45d0b3
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b3d3f
call fcn.00483228
sub esp, 0x110
and dword [ebp - 0x18], 0
push ebx
push 1
lea ecx, [ebp - 0x10]
pop ebx
push 0x4e7e70
mov dword [ebp - 4], ebx
call fcn.0049d946
lea eax, [ebp - 0x1c]
and dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0xff
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45d148
mov eax, dword [0x4e43a4]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
mov dword [ecx], eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0049da15
lea eax, [ebp + 0xc]
push eax
call fcn.0044cdd9
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049d9c5
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0049d8d8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0049d64d
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0049d8d8
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x45d1c7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
mov dword [ebp - 8], 0xff
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45d242
cmp dword [ebp - 4], 4
je 0x45d209
cmp dword [ebp - 4], 3
jne 0x45d242
cmp dword [ebp - 8], 4
jne 0x45d242
movzx eax, byte [ebp - 0x105]
movzx ecx, byte [ebp - 0x106]
shl eax, 8
add eax, ecx
push 1
movzx ecx, byte [ebp - 0x107]
shl eax, 8
add eax, ecx
pop esi
movzx ecx, byte [ebp - 0x108]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea ecx, [ebp + 0xc]
call fcn.0049d8d8
mov eax, esi
pop esi
leave
ret