joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a175
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x83c
mov eax, 0x51ff81
call fcn.0049c822
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x628]
push 0x208
xor edi, edi
push edi
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x628]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x848]
call fcn.0040ba50
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
mov dword [ebp - 4], edi
call fcn.004dc031
pop ecx
push eax
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
call fcn.0040b840
push esi
call fcn.004dc031
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.0040b840
mov esi, str..lnk
push esi
call fcn.004dc031
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.0040b840
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x42a2f5
push 0x208
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.004cbbe0
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.004cbbe0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004dc18c
add esp, 0x20
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00428a1c
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.004dc031
pop ecx
test eax, eax
jne 0x42a2e5
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004dc18c
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x42a2f5
xor edi, edi
inc edi
lea ecx, [ebp - 0x848]
call fcn.00408700
mov eax, edi
call fcn.0049c7dd
ret 4

Function at 0x42a30a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x560164]
test bl, bl
jne 0x42a3a1
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42a39b
lea eax, [ebp - 0x20c]
push eax
call fcn.004dba84
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004cbe7c
pop ecx
pop ecx
test eax, eax
jne 0x42a393
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004cbe7c
pop ecx
pop ecx
test eax, eax
je 0x42a39b
mov byte [0x560164], bl
jmp 0x42a3a1
mov bl, byte [0x560164]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0049be04
leave
ret
Function at 0x42ae6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42aed7
lea eax, [ebp - 0x20c]
push 0x525b5c
push eax
call fcn.004dc11b
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0042a3b0
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049be04
leave
ret 4

Function at 0x42b3c3
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x42b444
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x42b444
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
jmp 0x42b446
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x42b47c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push str.337ff0efabed8556b9a9860eda2ec45a
mov dword [ebp - 4], esi
call fcn.004dc090
mov edi, dword [ebp + 0xc]
mov edx, eax
mov ebx, dword [ebp + 8]
pop ecx
mov ecx, esi
test edi, edi
je 0x42b4b7
mov al, byte [esi + str.337ff0efabed8556b9a9860eda2ec45a]
xor byte [ecx + ebx], al
inc esi
xor eax, eax
cmp esi, edx
cmovge esi, eax
inc ecx
cmp ecx, edi
jb 0x42b4a1
lea eax, [ebp - 4]
push eax
push edi
push ebx
call fcn.00401090
test eax, eax
je 0x42b4d9
mov edx, dword [ebp - 4]
test edx, edx
je 0x42b4d9
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x42b4e3
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b778
Capabilities:
Create directory

Disassembly:
push 0x49c
mov eax, 0x52012f
call fcn.0049c822
mov ebx, ecx
mov edi, dword [ebp + 8]
test edi, edi
jne 0x42b797
xor eax, eax
jmp 0x42b913
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004cbbe0
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.004dc1c0
push edi
xor esi, esi
call fcn.004dc090
mov edi, eax
mov dword [ebp - 0x214], 7
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x228], ax
push 0x100
push ecx
lea eax, [ebp - 0x210]
mov dword [ebp - 4], ecx
push eax
call fcn.004cbbe0
add esp, 0x24
cmp byte [ebp + edi - 0x111], 0x5c
je 0x42b806
mov byte [ebp + edi - 0x110], 0x5c
cmp byte [ebp - 0x110], 0
je 0x42b905
mov al, byte [ebp + esi - 0x110]
cmp al, 0x3a
jne 0x42b826
push 2
pop eax
jmp 0x42b8f5
cmp al, 0x5c
jne 0x42b8f2
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004cb070
add esp, 0xc
cmp esi, 0x100
jae 0x42b92b
lea eax, [ebp - 0x210]
mov byte [ebp + esi - 0x210], 0
push eax
lea ecx, [ebp - 0x240]
call fcn.0040c8b0
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x258]
mov ecx, ebx
push eax
call fcn.0042be8e
push eax
lea ecx, [ebp - 0x228]
call fcn.0040ccb0
lea ecx, [ebp - 0x258]
call fcn.00408700
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0
call fcn.0040aec0
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x4a8]
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x42b8f2
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42b91b
xor eax, eax
inc eax
add esi, eax
cmp byte [ebp + esi - 0x110], 0
jne 0x42b813
lea ecx, [ebp - 0x228]
call fcn.00408700
xor eax, eax
inc eax
call fcn.0049c7dd
ret 4
lea ecx, [ebp - 0x228]
call fcn.00408700
jmp 0x42b790
call fcn.0049c49a
int3

Function at 0x42be60
Capabilities:
Create thread

Disassembly:
mov edx, dword [ecx + 0x300]
or eax, 0xffffffff
cmp edx, eax
je 0x42be72
cmp edx, 1
jne 0x42be8d
xor eax, eax
push eax
push eax
push ecx
push 0x42bc00
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret
Function at 0x42c384
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x4ac
mov eax, 0x520257
call fcn.0049c822
mov esi, dword [ebp + 0x38]
xor eax, eax
lea ecx, [ebp - 0x260]
inc eax
push 0x525dfc
mov dword [ebp - 4], eax
call fcn.0040c8b0
push 0x208
xor ebx, ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004cbbe0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004dc11b
lea eax, [ebp - 0x218]
push 0x526054
push eax
call fcn.004dc11b
add esp, 0x1c
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42c5e9
test byte [ebp - 0x4b0], 0x10
lea eax, [ebp - 0x484]
lea ecx, [ebp - 0x230]
push eax
je 0x42c516
call fcn.0040ba50
push 0x525d70
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.0041f1e0
test al, al
jne 0x42c5bd
push 0x52afa4
lea ecx, [ebp - 0x230]
call fcn.0041f1e0
test al, al
jne 0x42c5bd
lea eax, [ebp + 8]
mov dword [ebp - 0x238], ebx
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], ebx
call fcn.0041f135
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
mov byte [ebp - 4], 4
call fcn.0040b840
push 0x525b5c
call fcn.004dc031
pop ecx
push eax
push 0x525b5c
lea ecx, [ebp - 0x248]
call fcn.0040b840
cmp dword [ebp + 0x3c], 0
jne 0x42c5b2
push ebx
push ebx
push esi
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
mov dword [ebp - 0x4b4], esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0041f135
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
lea eax, [ebp - 0x248]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0041f135
mov byte [ebp - 4], 4
call fcn.0042c384
add esp, 0x3c
jmp 0x42c5b2
call fcn.0040ba50
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push ebx
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x230]
push eax
mov byte [ebp - 4], 6
call fcn.004263f8
cmp eax, 0xffffffff
mov ecx, ebx
push 1
pop eax
cmovne ecx, eax
test ecx, ecx
je 0x42c5bd
lea eax, [ebp + 8]
mov dword [ebp - 0x238], ebx
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], ebx
call fcn.0041f135
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
mov byte [ebp - 4], 8
call fcn.0040b840
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x42c5a3
lea eax, [ebp - 0x248]
mov ecx, esi
push eax
call fcn.00425038
jmp 0x42c5b2
lea ecx, [ebp - 0x248]
push ecx
push eax
mov ecx, esi
call fcn.00412110
lea ecx, [ebp - 0x248]
call fcn.00408700
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00408700
lea eax, [ebp - 0x4b0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42c40f
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x260]
call fcn.0040aec0
lea ecx, [ebp + 8]
call fcn.00408700
lea ecx, [ebp + 0x20]
call fcn.00408700
call fcn.0049c7dd
ret
Function at 0x42c60a
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xc4
mov eax, 0x52029f
call fcn.0049c822
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc8], esi
mov edi, 0x525840
lea ecx, [ebp - 0x28]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.0040ba50
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00430c2c
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c74d
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ebx
cmovae eax, dword [ebp + 0xc]
push 0x80
push 4
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42c694
push edi
mov ecx, esi
call fcn.0040ba50
jmp 0x42c76a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xcc], eax
inc eax
push eax
mov dword [ebp - 0xc8], eax
call fcn.0049be25
mov edi, eax
pop ecx
test edi, edi
jne 0x42c6be
push 0x525840
jmp 0x42c688
push dword [ebp - 0xc8]
push 0
push edi
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0xd0]
push 0
push eax
push dword [ebp - 0xcc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xc4]
push edi
call fcn.004315d3
push edi
call fcn.0049be2e
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00430e27
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.00425f31
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040aec0
cmp dword [ebp - 0x30], 0
jbe 0x42c743
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041cc6e
lea ecx, [ebp - 0x40]
call fcn.00408700
xor ebx, ebx
mov byte [ebp - 0xc8], bl
lea eax, [ebp - 0x28]
push dword [ebp - 0xc8]
mov ecx, esi
mov dword [esi + 0x10], ebx
push eax
mov dword [esi + 0x14], ebx
call fcn.0041f064
lea ecx, [ebp - 0x28]
call fcn.00408700
lea ecx, [ebp + 0xc]
call fcn.00408700
mov eax, esi
call fcn.0049c7dd
ret
Function at 0x42c782
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x61c]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x620], ebx
call fcn.004cbbe0
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004cbbe0
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004dc18c
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004dc18c
lea eax, [ebp - 0x61c]
push eax
call fcn.004dba84
lea eax, [ebp - 0x414]
push eax
call fcn.004dba84
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004dc14c
add esp, 0x38
test eax, eax
je 0x42c8d6
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c8d6
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x42c85f
push edi
push str._s.bak
push eax
call fcn.0040c370
add esp, 0xc
jmp 0x42c86f
push esi
push edi
push str._s.bak_d
push eax
call fcn.0040c370
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c88d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004d4366
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x20c]
push 0
push eax
jne 0x42c8d4
call ebx
cmp esi, 0xa
jge 0x42c8d6
inc esi
jmp 0x42c82e
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049be04
leave
ret
Function at 0x42d0df
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x52039a
call fcn.0049c822
mov eax, dword [ebp + 0x18]
xor esi, esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x44
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x9c]
push esi
push eax
mov dword [ebp - 0x44], esi
call fcn.004cbbe0
push 0x10
lea eax, [ebp - 0x58]
mov dword [ebp - 0x9c], 0x44
push esi
push eax
call fcn.004cbbe0
add esp, 0x18
mov dword [ebp - 0x18], esi
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
test edi, edi
je 0x42d1b7
push edi
call fcn.004dc031
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00407300
cmp dword [ebp - 0x30], esi
je 0x42d1b7
mov edi, 0x5261f4
push edi
call fcn.004dc031
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00407300
push ebx
call fcn.004dc031
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b840
mov edi, 0x5261f8
push edi
call fcn.004dc031
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b840
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040b840
jmp 0x42d1c8
push ebx
call fcn.004dc031
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00407300
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.00424d3b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push esi
push esi
push esi
push 1
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42d251
cmp byte [ebp + 0x10], 0
je 0x42d221
or eax, 0xffffffff
cmp dword [ebp + 0x14], 0
cmovg eax, dword [ebp + 0x14]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x42d23e
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x42d23e
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
xor esi, esi
inc esi
lea ecx, [ebp - 0x40]
call fcn.00408700
lea ecx, [ebp - 0x28]
call fcn.00408700
mov eax, esi
call fcn.0049c7dd
ret
Function at 0x42d28e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x82c]
push 0x44
xor ebx, ebx
push ebx
push eax
call fcn.004cbbe0
push 0x10
lea eax, [ebp - 0x7e4]
mov dword [ebp - 0x82c], 0x44
push ebx
push eax
call fcn.004cbbe0
push esi
lea eax, [ebp - 0x7d4]
push 0x526068
push eax
call fcn.0040c370
add esp, 0x24
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x82c]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x7d4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42d343
push 0xffffffffffffffff
push dword [ebp - 0x7e4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x7e8]
push eax
push dword [ebp - 0x7e4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x7e4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7e0]
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049be04
leave
ret

Function at 0x42d519
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x520402
call fcn.0049c822
mov eax, dword [ebp + 8]
test eax, eax
je 0x42d5de
push eax
lea ecx, [ebp - 0x40]
call fcn.0040ba50
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00425fe5
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.004cbbe0
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42d5d4
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x42d5c9
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ba50
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00425fe5
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041f1b0
test al, al
jne 0x42d5e4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00408700
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42d584
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00408700
mov eax, ebx
call fcn.0049c7dd
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
call fcn.00408700
jmp 0x42d5d4
Function at 0x42d9f4
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004dc031
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049be25
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.004dc18c
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x42da6e
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x42da65
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42da5b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42da6c
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x42da38
jmp 0x42da6e
xor edi, edi
push esi
call fcn.0049be2e
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42da7c
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1608
call fcn.0049bfd0
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
push 0
push eax
call fcn.004cbbe0
push esi
lea eax, [ebp - 0x20c]
push 0x526068
push eax
call fcn.0040c370
lea eax, [ebp - 0x20c]
push eax
call fcn.004dc031
add esp, 0x1c
lea ecx, [eax - 1]
test ecx, ecx
jle 0x42dae9
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x20e], cx
je 0x42dae9
mov word [ebp + eax*2 - 0x20c], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xbe4]
push 0x52af88
push eax
call fcn.0040c370
add esp, 0xc
lea eax, [ebp - 0x1604]
push eax
lea eax, [ebp - 0xbe4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42dbe8
push 0x2e
pop ebx
lea eax, [ebp - 0x1604]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42dbe8
cmp word [ebp - 0x15d8], bx
je 0x42db26
cmp word [ebp - 0x15d6], 0
je 0x42db26
cmp word [ebp - 0x15d6], bx
jne 0x42db62
cmp word [ebp - 0x15d4], 0
je 0x42db26
test byte [ebp - 0x1604], 0x10
je 0x42dbac
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004cbbe0
lea eax, [ebp - 0x15d8]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str._s_s_
push eax
call fcn.0040c370
lea eax, [ebp - 0x414]
push eax
call fcn.0042da7c
add esp, 0x20
lea eax, [ebp - 0x15d8]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x13b4]
push 0x52607c
push eax
call fcn.0040c370
push ecx
push ecx
lea eax, [ebp - 0x13b4]
mov ecx, esp
push eax
call fcn.0040ba50
call fcn.0042e15a
add esp, 0x18
jmp 0x42db26
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049be04
leave
ret