joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408df0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x408df9
cmp dword [ebp + 0xc], 0
je 0x408e0c
mov dword [ebp - 0xc], 1
jmp 0x408e13
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x408e26
mov eax, 0xd
jmp 0x408e7b
xor edx, edx
jne 0x408dfd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x408e39
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408e90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.00408a00
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00408c60
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x408f0f
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.00408a30
mov eax, dword [ebp - 0x220]
jmp 0x408fc4
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x408f93
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00408e90
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x408f87
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.00408a30
mov eax, dword [ebp - 0x224]
jmp 0x408fc4
mov dword [ebp - 0x210], 0x100
jmp 0x408f19
lea ecx, [ebp - 0x21c]
call fcn.00408b00
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.00408a50
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.00408a30
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 4
Function at 0x4090d0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bc25
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00409530
add esp, 8
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], 0
push 0x71c6c8
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040db20
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00403030
xor edx, edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov word [ebp - 0x50], dx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 3
mov eax, 0x414
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x28]
call fcn.00403020
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edx, dword [ebp + 8]
push edx
call fcn.00409630
add esp, 4
mov byte [ebp - 0x41], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
movzx eax, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret

Function at 0x4091d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4091ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4091ff
xor al, al
jmp 0x409201
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x409910
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00403020
push eax
push 0x71c6e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
ja 0x40995b
push 1
push 0
mov ecx, dword [ebp + 8]
call fcn.00403020
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40a7f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x40a812
xor eax, eax
jmp 0x40a9d2
mov ecx, 0x28
mov esi, str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
lea edi, [ebp - 0x504]
rep movsd dword es:[edi], dword [esi]
push 0x168
push 0
lea eax, [ebp - 0x464]
push eax
call fcn.004ded70
add esp, 0xc
mov dword [ebp - 0x508], 0
lea ecx, [ebp - 0x508]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x504]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x40a87a
xor eax, eax
jmp 0x40a9d2
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.004ded70
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str._sConnection
lea edx, [ebp - 0x108]
push edx
call fcn.0040dd00
add esp, 0xc
mov dword [ebp - 0x510], 0
lea eax, [ebp - 0x510]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x40a8f7
mov eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40a9d2
mov dword [ebp - 0x518], 1
mov dword [ebp - 0x514], 0xfa
lea ecx, [ebp - 0x514]
push ecx
lea edx, [ebp - 0x2fc]
push edx
lea eax, [ebp - 0x518]
push eax
push 0
push str.PnPInstanceId
mov ecx, dword [ebp - 0x510]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x40a961
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x510]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40a9d2
push 3
push 0x71ca64
lea ecx, [ebp - 0x2fc]
push ecx
call fcn.00507ddd
add esp, 0xc
test eax, eax
je 0x40a995
push 3
push 0x71ca6c
lea edx, [ebp - 0x2fc]
push edx
call fcn.00507ddd
add esp, 0xc
test eax, eax
jne 0x40a9b6
mov eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x510]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40a9d2
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x510]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret
Function at 0x40b140
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x40b156
or eax, 0xffffffff
jmp 0x40b203
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
cmp dword [ebp - 0xc], 0
jbe 0x40b200
mov edx, dword [ebp - 0xc]
push edx
call fcn.00507cfc
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40b200
push 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
jne 0x40b1f4
mov dword [ebp - 8], 0
jmp 0x40b1bc
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
jae 0x40b1f4
imul edx, dword [ebp - 8], 0x38
mov eax, dword [ebp - 4]
cmp dword [eax + edx + 4], 0
jne 0x40b1f2
imul ecx, dword [ebp - 8], 0x38
mov edx, dword [ebp - 4]
lea esi, [edx + ecx + 4]
mov ecx, 0xe
mov edi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], 1
jmp 0x40b1f4
jmp 0x40b1b3
mov eax, dword [ebp - 4]
push eax
call fcn.00507ce1
add esp, 4
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b2b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c0b0
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004ded70
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40b3da
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x23c], 0
je 0x40b3b9
push 0x71cc14
lea ecx, [ebp - 0x230]
call fcn.00403090
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x244]
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040dbf0
add esp, 0xc
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00403030
mov eax, dword [ebp + 8]
jmp 0x40b3f9
push 0x71cc18
mov ecx, dword [ebp + 8]
call fcn.00403090
mov edx, dword [ebp - 0x234]
or edx, 1
mov dword [ebp - 0x234], edx
mov eax, dword [ebp + 8]
jmp 0x40b3f9
push 0x71cc1c
mov ecx, dword [ebp + 8]
call fcn.00403090
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret
Function at 0x40b420
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c0ed
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x28]
call fcn.00406070
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0xffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406000
push 0xffffffffffffffff
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.0040cd70
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
je 0x40b4bd
mov ecx, dword [ebp - 0x50]
push ecx
push 0
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.00402f70
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406030
lea ecx, [ebp - 0x40]
call fcn.00403030
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x44]
push ecx
push 0x698b30
push 1
push 0
push 0x69c490
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x40b4eb
jmp 0x40b597
lea edx, [ebp - 0x48]
push edx
push 0x699700
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x40b50f
jmp 0x40b597
mov ecx, dword [ebp + 8]
call fcn.00403020
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov ecx, dword [ebp + 0x14]
call fcn.00403020
push eax
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [eax + 0x2c]
call edx
mov ecx, dword [ebp + 0x10]
call fcn.00403020
push eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ecx + 0x1c]
call eax
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [edx + 0x24]
call ecx
push 1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [eax + 0x3c]
call edx
push 1
mov ecx, dword [ebp + 0xc]
call fcn.00403020
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x48], 0
je 0x40b5ab
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x44], 0
je 0x40b5bf
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret
Function at 0x40c0b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x40c0e0
xor eax, eax
jmp 0x40c15a
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40c113
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40c15a
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
jne 0x40c133
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
jmp 0x40c15a
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40c113
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret

Function at 0x40c170
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
jne 0x40c1ca
push 0x71cdf8
mov ecx, dword [ebp + 8]
call fcn.00403090
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
jmp 0x40c299
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40c21a
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x71cdfc
mov ecx, dword [ebp + 8]
call fcn.00403090
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
jmp 0x40c299
mov edx, dword [ebp - 0x228]
cmp edx, dword [ebp + 0xc]
jne 0x40c255
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403090
mov edx, dword [ebp - 0x234]
or edx, 1
mov dword [ebp - 0x234], edx
mov eax, dword [ebp + 8]
jmp 0x40c299
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40c21a
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x71ce00
mov ecx, dword [ebp + 8]
call fcn.00403090
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret
Function at 0x414260
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68cd33
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a0], ecx
mov dword [ebp - 4], 0
push 0x250
push 0
lea eax, [ebp - 0x498]
push eax
call fcn.004ded70
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00403020
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str..
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 0xffffffff
jne 0x414312
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403030
jmp 0x41447b
push 0x71d4fc
lea edx, [ebp - 0x46c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41433e
push 0x71d500
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x414343
jmp 0x41443f
mov ecx, dword [ebp - 0x498]
and ecx, 0x4000
je 0x414356
jmp 0x41443f
mov edx, dword [ebp - 0x498]
and edx, 2
je 0x414366
jmp 0x41443f
mov eax, dword [ebp - 0x498]
and eax, 0x10
je 0x4143ec
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004030e0
mov byte [ebp - 4], 1
push 0x71d508
lea ecx, [ebp - 0x230]
call fcn.0040cf50
lea edx, [ebp - 0x46c]
push edx
lea ecx, [ebp - 0x230]
call fcn.0040cf50
mov eax, dword [ebp + 0x20]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4a4], esp
lea edx, [ebp - 0x230]
push edx
call fcn.004030e0
mov ecx, dword [ebp - 0x4a0]
call fcn.00414260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00403030
jmp 0x41443f
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
call fcn.004030e0
mov byte [ebp - 4], 2
push 0x71d50c
lea ecx, [ebp - 0x248]
call fcn.0040cf50
lea ecx, [ebp - 0x46c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0040cf50
lea edx, [ebp - 0x248]
push edx
mov ecx, dword [ebp + 0x20]
call fcn.00421ad0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00403030
lea eax, [ebp - 0x498]
push eax
mov ecx, dword [ebp - 0x49c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414312
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403030
jmp 0x41447b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x416be0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d095
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 0x71], 0
mov eax, dword [ebp + 0x10]
xor edx, edx
mov ecx, 0x1f4
div ecx
add eax, 1
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], 0
jmp 0x416c3c
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
jae 0x416dfa
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.004093d0
add esp, 8
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.004094e0
add esp, 4
test eax, eax
jne 0x416c90
mov dword [ebp - 0x7c], 1
jmp 0x416c97
mov dword [ebp - 0x7c], 0
mov dl, byte [ebp - 0x7c]
mov byte [ebp - 0x72], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00403030
movzx eax, byte [ebp - 0x72]
test eax, eax
je 0x416cfb
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.004093d0
add esp, 8
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.00409210
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00403030
mov ecx, dword [ebp + 0xc]
call fcn.00403020
push eax
mov ecx, dword [ebp + 8]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x416d20
mov byte [ebp - 0x71], 1
jmp 0x416dfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x20
jne 0x416d3f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x416c33
cmp dword [ebp - 0x80], 0xb7
jne 0x416df3
mov ecx, dword [ebp + 0xc]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x416dee
lea ecx, [ebp - 0x28]
call fcn.00406070
mov dword [ebp - 4], 2
push 0x71d8f4
lea ecx, [ebp - 0x40]
call fcn.00403090
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040c6a0
add esp, 0xc
test eax, eax
je 0x416da7
mov dword [ebp - 0x84], 1
jmp 0x416db1
mov dword [ebp - 0x84], 0
mov dl, byte [ebp - 0x84]
mov byte [ebp - 0x73], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00403030
movzx eax, byte [ebp - 0x73]
test eax, eax
je 0x416ddf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x416dfa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x416c33
jmp 0x416dfa
movzx eax, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417850
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d225
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x74], 0
jmp 0x41789a
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + 0xc]
call fcn.004216b0
cmp dword [ebp - 0x74], eax
jae 0x417995
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00421690
mov dword [ebp - 0x7c], eax
push 0x71dbfc
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x70]
call fcn.00403b60
add esp, 4
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x80], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040dcc0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00403030
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x417924
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x417891
lea ecx, [ebp - 0x28]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x71dc00
lea ecx, [ebp - 0x58]
call fcn.00403090
mov byte [ebp - 4], 3
push 0x71dc04
lea ecx, [ebp - 0x40]
call fcn.00403090
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040c6a0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00403030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403030
jmp 0x417891
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 8