joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406bf6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
push edi
mov dword [ebp - 0x390], ecx
mov eax, dword [ebp + 8]
push eax
push str.UninstallDriver_Vista64__s
call fcn.004025fd
add esp, 8
mov cx, word [0x412c30]
mov word [ebp - 0x108], cx
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x106]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x412c34]
mov word [ebp - 0x20c], dx
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x406c8a
mov edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
push 0x411204
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push str.DPInst64.exe
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
jne 0x406cdf
jmp 0x406d8e
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x38c], 0x3c
mov dword [ebp - 0x388], 0x40
mov dword [ebp - 0x384], 0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x378], eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x411224
call fcn.004025fd
add esp, 8
mov dword [ebp - 0x380], 0x411234
lea edx, [ebp - 0x108]
mov dword [ebp - 0x37c], edx
lea eax, [ebp - 0x108]
push eax
push 0x41123c
call fcn.004025fd
add esp, 8
mov dword [ebp - 0x374], 0x41124c
mov dword [ebp - 0x370], 1
mov dword [ebp - 0x36c], 0
lea ecx, [ebp - 0x38c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x354]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x406d95
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c71c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
push edi
mov dword [ebp - 0x348], ecx
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x310]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x310]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.Drivers
lea edx, [ebp - 0x310]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
mov ax, word [0x412c38]
mov word [ebp - 0x10c], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x10a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp + 8]
call fcn.004021c0
push eax
lea ecx, [ebp - 0x10c]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x10c]
push edx
push 0x41126c
call fcn.004025fd
add esp, 8
mov ax, word [0x412c3c]
mov word [ebp - 0x20c], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [str.File_copying]
mov dword [ebp - 0x340], eax
mov ecx, dword [0x411274]
mov dword [ebp - 0x33c], ecx
mov edx, dword [0x411278]
mov dword [ebp - 0x338], edx
mov al, byte [0x41127c]
mov byte [ebp - 0x334], al
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 2
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x328], ecx
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x324], edx
mov word [ebp - 0x320], 0x214
mov dword [ebp - 0x31a], 0
lea eax, [ebp - 0x340]
mov dword [ebp - 0x316], eax
lea ecx, [ebp - 0x330]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x344], 0
je 0x406f41
mov edx, 1
test edx, edx
je 0x406f25
mov dword [ebp - 0x34c], 0
jmp 0x406f3f
mov eax, dword [ebp - 0x344]
push eax
push str.There_is_an_error:__d_n
call fcn.004021b0
add esp, 8
mov dword [ebp - 0x34c], eax
jmp 0x406f72
cmp dword [ebp - 0x31e], 0
je 0x406f72
mov ecx, 1
test ecx, ecx
je 0x406f5f
mov dword [ebp - 0x350], 0
jmp 0x406f72
push str.Operation_was_aborted__n
call fcn.004021b0
add esp, 4
mov dword [ebp - 0x350], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x407365
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f0
mov dword [ebp - 0x4fc], ecx
push 0x104
push 0
lea eax, [ebp - 0x250]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0x250]
push edx
push str._sinfoem.inf
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x358]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x40755e
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x250]
push ecx
push str._sinf_s
lea edx, [ebp - 0x45c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0x80
push 0
lea eax, [ebp - 0x4f0]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x4f0]
push ecx
push 1
push str.Manufacturer
lea edx, [ebp - 0x45c]
push edx
mov ecx, dword [ebp - 0x4fc]
call fcn.00407589
lea ecx, [ebp - 0x470]
call fcn.0040a32a
mov dword [ebp - 4], 0
lea eax, [ebp - 0x470]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 2
lea edx, [ebp - 0x4f0]
push edx
lea eax, [ebp - 0x45c]
push eax
mov ecx, dword [ebp - 0x4fc]
call fcn.00407673
mov dword [ebp - 0x4f4], eax
cmp dword [ebp - 0x4f4], 0
jle 0x407510
push 0x80
lea ecx, [ebp - 0x45c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x45c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x2e
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 0x4f8], eax
cmp dword [ebp - 0x4f8], 0
je 0x407510
mov ecx, dword [ebp - 0x4f8]
mov byte [ecx], 0
push str..pnf
mov edx, dword [ebp - 0x4f8]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x80
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x45c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x470]
call fcn.004085e0
lea edx, [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407547
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call sub.MFC42.DLL_CStringArray::CStringArray
jmp 0x40755e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call sub.MFC42.DLL_CStringArray::CStringArray
jmp 0x4073e7
cmp dword [ebp - 0x254], 0xffffffff
je 0x407574
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4078e1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov dword [ebp - 0x188], ecx
mov eax, dword [ebp + 0xc]
push eax
push str.szParam:_s
call fcn.004025fd
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.szDpinstPathName:_s
call fcn.004025fd
add esp, 8
mov ecx, dword [ebp - 0x188]
call fcn.00405409
mov dword [ebp - 8], eax
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40793f
jmp 0x4079cf
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x184], 0x3c
mov dword [ebp - 0x180], 0x40
mov dword [ebp - 0x17c], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x170], edx
cmp dword [ebp - 8], 4
jne 0x407982
mov dword [ebp - 0x178], 0x4113b8
jmp 0x40798c
mov dword [ebp - 0x178], 0x4113c0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x16c], 0x4113c8
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
lea ecx, [ebp - 0x184]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret 8

Function at 0x407d9d
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x407dfb
xor eax, eax
jmp 0x407e3d
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x407e24
xor eax, eax
jmp 0x407e3d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40804a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
push edi
mov dword [ebp - 0x390], ecx
mov eax, dword [ebp + 8]
push eax
push str.UninstallDriver_Vista32__s
call fcn.004025fd
add esp, 8
mov cx, word [0x412c40]
mov word [ebp - 0x108], cx
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x106]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x412c44]
mov word [ebp - 0x20c], dx
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4080de
mov edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
push str._u___s___q__s
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push str.DPInst32.exe
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
jne 0x408135
xor eax, eax
jmp 0x4081e9
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x38c], 0x3c
mov dword [ebp - 0x388], 0x40
mov dword [ebp - 0x384], 0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x378], eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x411570
call fcn.004025fd
add esp, 8
mov dword [ebp - 0x380], 0x411580
lea edx, [ebp - 0x108]
mov dword [ebp - 0x37c], edx
lea eax, [ebp - 0x108]
push eax
push str.lpParameters:_s
call fcn.004025fd
add esp, 8
mov dword [ebp - 0x374], str.C:WindowsSystem32
mov dword [ebp - 0x370], 1
mov dword [ebp - 0x36c], 0
lea ecx, [ebp - 0x38c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x354]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x408401
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
call fcn.00405409
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 4], 4
jne 0x408440
mov dword [ebp - 0x34], str.open
jmp 0x408447
mov dword [ebp - 0x34], str.runas
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov esp, ebp
pop ebp
ret 4
Function at 0x408af7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.0040a480
mov dword [ebp - 0x2018], ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x408b36
xor eax, eax
jmp 0x408c24
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
push 0
lea edx, [ebp - 4]
push edx
push 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 4]
push edx
push 4
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xc], 0
je 0x408c17
cmp dword [ebp + 0xc], 0
je 0x408c17
mov dword [ebp - 0x2014], 0
push 0
lea edx, [ebp - 4]
push edx
push 4
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x2014]
push edx
push 0
lea eax, [ebp - 0x2010]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x2014]
push edx
lea eax, [ebp - 0x2010]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x40e220
push 2
mov dx, word [ebp - 0x2014]
push edx
lea eax, [ebp - 0x2010]
push eax
call fcn.0040a8f0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0xc3
push ecx
lea edx, [ebp - 0x2010]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40aeb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x60
mov ecx, dword [0x40e2b0]
mov eax, dword [0x40e2ac]
mov edx, dword [0x40e2b4]
push ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov ecx, ebx
mov dword [esp + 4], eax
mov eax, dword [0x40e2b8]
mov dword [esp + 0xc], edx
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
push ebp
mov eax, dword [ecx + 4]
mov ebp, dword [esp + 0x7c]
push esi
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 8]
push edi
mov esi, ebp
lea edi, [esp + 0x40]
mov eax, dword [ecx + 0xc]
mov ecx, 0xc
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.0040b030
mov esi, dword [esp + 0x88]
lea eax, [esp + 0x18]
add esp, 8
sub esi, eax
xor eax, eax
mov edi, dword [esp + eax + 0x10]
lea edx, [esp + eax + 0x10]
add eax, 4
mov ecx, dword [esi + edx]
xor ecx, edi
cmp eax, 0x10
mov dword [esp + eax + 0x2c], ecx
mov dword [esp + eax + 0x1c], ecx
jl 0x40af30
mov ecx, dword [0x40e2ac]
mov edx, dword [0x40e2b0]
mov eax, dword [0x40e2b4]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x40e2b8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x30]
mov ecx, 0xc
lea edi, [esp + 0x40]
lea eax, [esp + 0x10]
push edx
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0040b030
mov edi, dword [esp + 0x80]
mov esi, ebx
lea ecx, [esp + 0x18]
add esp, 8
sub esi, ecx
xor eax, eax
mov ebx, dword [esp + eax + 0x10]
lea edx, [esp + eax + 0x10]
add eax, 4
mov ecx, dword [esi + edx]
xor ecx, ebx
cmp eax, 0x10
mov dword [esp + eax + 0x2c], ecx
mov dword [eax + edi - 4], ecx
jl 0x40afa9
mov ecx, dword [0x40e2b4]
mov eax, dword [0x40e2b0]
mov edx, dword [0x40e2ac]
mov dword [esp + 0x18], ecx
mov ecx, 0xc
mov esi, ebp
lea edi, [esp + 0x40]
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [0x40e2b8]
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x24], edx
call fcn.0040b030
mov ecx, dword [esp + 0x7c]
add esp, 8
xor eax, eax
mov edx, dword [esp + eax + 0x20]
mov edi, dword [esp + eax + 0x10]
xor edx, edi
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x10
jl 0x40b012
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x451e20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d615b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004ca6c5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x451ea2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c7ced
mov eax, dword [eax]
push 0x4fd2ac
push eax
call fcn.004b9094
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ca950
test bl, bl
je 0x451ea2
push 0x4fd2ac
lea ecx, [esp + 0xc]
call fcn.004cace0
push 0x500e5c
lea ecx, [esp + 0xc]
call fcn.004cace0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x451ede
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ca950
jmp 0x451fa9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x451f62
lea edx, [esp + 0x7c]
push 0x500e58
push edx
call fcn.004b9094
add esp, 8
test eax, eax
je 0x451f62
lea eax, [esp + 0x7c]
push 0x500e54
push eax
call fcn.004b9094
add esp, 8
test eax, eax
je 0x451f62
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x451ef2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ca950
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4527a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x452802
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x452810
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d61db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x50ed90]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x452948
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x452876
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ca950
xor eax, eax
jmp 0x4529bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004caa8d
push esi
lea ecx, [esp + 0xc]
call fcn.004cad1c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45299d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004527a0
test eax, eax
jne 0x45299d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004527a0
test eax, eax
jne 0x45299d
lea eax, [esp + 0x14]
push 0x500e70
push eax
call fcn.004ba190
mov esi, eax
add esp, 8
test esi, esi
jne 0x45297c
lea ecx, [esp + 0x14]
push 0x500e6c
push ecx
call fcn.004ba110
mov esi, eax
add esp, 8
test esi, esi
jne 0x45297c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45297f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004caa3d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45288e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ca950
xor eax, eax
jmp 0x4529bf
mov byte [esi], 0
push 0x500e68
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004ca950
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4