joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c764
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x60b044]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x610754], 0
push ebx
push esi
push edi
je 0x41c7ec
call fcn.0041a9d0
test al, al
je 0x41c7a0
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.0041ac70
test al, al
je 0x41c7c5
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.0041a650
test al, al
je 0x41c8e3
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
jmp 0x41c8e3
call fcn.0041a650
test al, al
je 0x41c810
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042bf30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c880
lea eax, [ebp - 0x20c]
push eax
call fcn.004392b8
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0042b17f
pop ecx
pop ecx
test eax, eax
jne 0x41c879
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0042b17f
pop ecx
pop ecx
test eax, eax
je 0x41c880
mov byte [0x610754], 1
call fcn.0041ace0
test al, al
je 0x41c89b
pop ecx
push ecx
push esi
push edx
push eax
pop esi
push eax
push ebx
pop ebx
push esi
push eax
push eax
push edi
push ebp
pop esi
push esp
pop eax
push esp
call fcn.0041a9d0
test al, al
je 0x41c8bf
push edx
push esi
push esi
push edi
push esi
push edi
pop edi
push esi
push ecx
push esp
push esp
push edx
push ecx
pop esp
push esp
push ebx
pop edi
pop edx
pop ebp
pop ebx
pop esi
push esp
pop ebx
pop edx
pop eax
pop esi
push ebx
call fcn.0041a9d0
test al, al
je 0x41c8e3
push ebx
pop ebp
pop edi
push esi
pop esp
pop ecx
pop ebx
pop edi
pop eax
pop edi
pop edi
push edx
pop eax
pop ecx
push eax
push edi
push ecx
pop edi
pop esi
push ebp
push esp
push esi
push edx
push edi
push esi
push edx
push ebp
mov ecx, dword [ebp - 4]
mov al, byte [0x610754]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041afe3
mov esp, ebp
pop ebp
ret
Function at 0x41d203
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x584449
call fcn.0057dbc2
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x28c], ebx
test eax, eax
je 0x41d3f0
push eax
lea ecx, [ebp - 0x40]
call fcn.00402cd0
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00420e32
mov edi, 0x22c
lea eax, [ebp - 0x284]
push edi
push 0
push eax
call fcn.0042bf30
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp esi, 0xffffffff
je 0x41d3e0
call fcn.0041ac70
test al, al
je 0x41d285
pop eax
pop ecx
push ebp
push edi
pop ecx
push esp
pop edx
pop ebp
pop edx
pop esp
push eax
push ebx
push ebx
push edx
push esp
push edx
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41d35d
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x41d2c4
lea eax, [ebp - 0x260]
push eax
call fcn.00438d11
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.004031f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00420e32
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a140
test eax, eax
je 0x41d318
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00425596
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.0040a140
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x41d31f
mov byte [ebp - 0x285], 1
test bl, 1
je 0x41d333
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.00403490
cmp byte [ebp - 0x285], 0
jne 0x41d3f6
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00403490
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41d29d
call fcn.0041a490
test al, al
je 0x41d38d
push esp
push edi
pop ebx
pop ecx
pop esp
pop ebx
pop ebx
push ecx
pop ebp
pop eax
pop ebp
push ebx
pop ebx
pop edx
push ebp
push ebx
pop edi
pop eax
push ebx
push edx
pop edx
pop eax
pop edi
push ebp
pop edx
push ebp
push ebx
pop ebp
push ebx
pop edx
pop esi
call fcn.0041a730
test al, al
je 0x41d3af
pop edx
push ecx
push ebp
pop edx
push esp
push esp
push edx
push esi
pop eax
push esi
pop ebx
pop ecx
pop esi
pop ebx
push edi
pop edi
push ecx
push esi
pop edi
pop edi
push ecx
push esp
pop ebp
push ebp
push edi
call fcn.0041ab20
test al, al
je 0x41d3d4
pop edx
push ecx
pop ebp
pop ebx
pop ebp
pop eax
pop ebx
push edi
push edx
push esi
pop edi
push eax
push edx
push edi
push esi
push esp
pop ebp
push ecx
push edx
pop eax
pop ebp
pop esi
push ecx
pop ecx
push ebx
pop edi
push edi
pop ebp
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00403490
mov eax, esi
call fcn.0057db7d
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00403490
jmp 0x41d3e2
Function at 0x41e9f7
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x584644
call fcn.0057dbc2
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0042bf30
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41ea54
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402cd0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x41ea9a
mov eax, dword [esi]
jmp 0x41ea9c
mov eax, esi
push ebx
push eax
call fcn.00438caf
pop ecx
pop ecx
test eax, eax
jne 0x41eae8
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x41eacc
call fcn.0041e913
jmp 0x41ead1
call fcn.0041e9cd
push eax
mov ecx, esi
call fcn.00402a80
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00403490
mov eax, esi
call fcn.0057db7d
ret 0x10
Function at 0x41f69a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x60b044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.0042bf30
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41f6d3
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.00402ca0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f70b
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c254
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0042bf30
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str._s_s
push eax
call fcn.00402ca0
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x41f74a
mov eax, esi
jmp 0x41f757
lea eax, [ebp - 0x414]
push eax
call fcn.00438d11
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.004031f0
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0042bf30
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call fcn.00402ca0
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x41f7a9
mov eax, esi
jmp 0x41f7b6
lea eax, [ebp - 0x61c]
push eax
call fcn.00438d11
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.004031f0
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0042bf30
lea eax, [ebp - 0xa44]
push str.ShxlPath
push eax
call fcn.0041c8f9
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x41f7f7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x600108
push eax
call fcn.00402ca0
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00403490
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f838
lea eax, [ebp - 0x824]
push eax
call fcn.0041c254
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0042bf30
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push str._s_s
push eax
call fcn.00402ca0
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x41f882
lea eax, [ebp - 0xa2c]
push eax
call fcn.00438d11
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.004031f0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041afe3
mov esp, ebp
pop ebp
ret
Function at 0x41fce2
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5846e1
call fcn.0057dbc2
mov ebx, ecx
call fcn.0041e907
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.004032f0
mov esi, 0x600454
push esi
call fcn.00438d11
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00408230
push str.guanf
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0041e9a3
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x41fd58
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402de0
push str.guanf
mov ecx, esi
call fcn.00402b00
test eax, eax
jne 0x41fdd4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042bf30
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x41fd85
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.guanf
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x41fdb6
xor eax, eax
jmp 0x41fdc3
lea eax, [ebp - 0x218]
push eax
call fcn.00438d11
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004031f0
jmp 0x41fdd9
mov edi, str.guanf
push edi
mov ecx, esi
call fcn.00402b00
test eax, eax
jne 0x41fe9c
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042bf30
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.0040a170
push 0x600454
mov byte [ebp - 4], 1
call fcn.00438d11
pop ecx
push eax
push 0x600454
lea ecx, [ebp - 0x230]
call fcn.00408230
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x41fe6d
xor eax, eax
jmp 0x41fe7a
lea eax, [ebp - 0x218]
push eax
call fcn.00438d11
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004031f0
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00403490
push edi
mov ecx, esi
call fcn.00402b00
test eax, eax
jne 0x41fed8
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0041e9f7
push eax
mov ecx, esi
call fcn.00402a80
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00403490
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00403490
call fcn.0057db7d
ret

Function at 0x42061f
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4218ad
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.0041aab0
test al, al
je 0x4218db
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
call fcn.0041a8f0
test al, al
je 0x421902
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425ae1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x60b044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x160], ebx
jne 0x425b77
lea eax, [edi + 0x2c]
cmp dword [eax + 0x14], 8
jb 0x425b0d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push 0x587adc
push eax
call fcn.00402ca0
add esp, 0xc
cmp word [ebp - 0x20c], bx
je 0x425b3a
lea eax, [ebp - 0x20c]
push eax
call fcn.00438d11
pop ecx
mov ebx, eax
push esi
push ebx
lea eax, [ebp - 0x20c]
lea esi, [edi + 0x150]
push eax
mov ecx, esi
call fcn.004031f0
cmp dword [esi + 0x14], 8
jb 0x425b5a
mov eax, dword [esi]
jmp 0x425b5c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425b76
cmp dword [esi + 0x14], 8
jb 0x425b6f
mov esi, dword [esi]
push esi
call fcn.0041c254
pop ecx
pop esi
lea eax, [edi + 0x150]
cmp dword [eax + 0x14], 8
pop edi
pop ebx
jb 0x425b87
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041afe3
mov esp, ebp
pop ebp
ret
Function at 0x426416
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x610c50], 0
mov dword [ebp - 8], ecx
je 0x426569
add ecx, 8
cmp dword [ecx + 0x14], 8
jb 0x426437
mov ecx, dword [ecx]
push esi
push 0x587fc4
push ecx
push dword [0x60b080]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x426568
push ebx
push edi
push esi
push dword [0x60b080]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x60b080]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.0042b500
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xor esi, esi
push esi
push dword [ebp - 4]
call fcn.00426c26
pop ecx
pop ecx
test eax, eax
je 0x426566
mov ebx, dword [ebp - 8]
mov ecx, 0x610c54
mov dword [ebx + 4], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042620a
mov eax, dword [ebp - 0xc]
push esi
mov dword [eax + 0x14], ebx
push dword [0x60b080]
push esi
push dword [ebp + 8]
push esi
push esi
push esi
push connect
push 0x80880000
push esi
push dword [0x60b07c]
push 0x80020
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebp + 8]
mov dword [ebx + 0x20], eax
call esi
test eax, 0x10000000
jne 0x426526
mov byte [ebx + 0x28], 1
jmp 0x42654c
test eax, 0x21000000
je 0x426533
mov byte [ebx + 0x28], 5
jmp 0x42654c
push 8
push dword [ebx + 0x20]
mov byte [ebx + 0x28], 7
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, ebx
call fcn.00426f40
push 0xfffffffffffffffc
push dword [ebp + 8]
call esi
push 0x426d43
push 0xfffffffffffffffc
push dword [ebp + 8]
mov dword [ebx + 0x24], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x427b1f
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfe0
mov eax, dword [0x60b044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xfa4]
push edi
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0xfa4]
push esi
push eax
call fcn.00438cef
push 0x3c
xor edi, edi
lea eax, [ebp - 0xfe0]
push edi
push eax
call fcn.0042bf30
add esp, 0x14
mov dword [ebp - 0xfdc], 0x200
xor eax, eax
mov dword [ebp - 0xfcc], esi
inc eax
mov ecx, 0x587108
mov dword [ebp - 0xfd4], ecx
push eax
push edi
push edi
push esi
push ecx
push edi
mov dword [ebp - 0xfc4], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x427bb1
push edi
push edi
lea eax, [ebp - 0xfa4]
push edi
push eax
call fcn.00427bc1
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041afe3
mov esp, ebp
pop ebp
ret
Function at 0x427bc1
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x584e20
call fcn.0057dbc2
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
mov edi, dword [ebp + 0xc]
push 0x44
pop ebx
push ebx
push 0
push eax
call fcn.0042bf30
push 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x94], ebx
push 0
push eax
call fcn.0042bf30
add esp, 0x18
xor edx, edx
xor eax, eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x40], ax
or ebx, 0xffffffff
mov byte [ebp - 4], 1
test edi, edi
je 0x427c9f
cmp word [edi], dx
jne 0x427c30
mov eax, edx
jmp 0x427c37
push edi
call fcn.00438d11
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004031f0
cmp dword [ebp - 0x30], 0
je 0x427c9f
mov edi, 0x586a04
push edi
call fcn.00438d11
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004031f0
xor edi, edi
cmp word [esi], di
jne 0x427c68
mov eax, edi
jmp 0x427c6f
push esi
call fcn.00438d11
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408230
mov esi, 0x586a08
push esi
call fcn.00438d11
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408230
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408360
jmp 0x427cbb
xor edi, edi
cmp word [esi], di
jne 0x427caa
mov eax, edi
jmp 0x427cb1
push esi
call fcn.00438d11
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004031f0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push edi
push edi
push edi
push 1
push edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x427ce8
mov esi, edi
jmp 0x427d13
cmp byte [ebp + 0x10], 0
je 0x427d00
cmp dword [ebp + 0x14], 0
cmovg ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c]
call esi
xor esi, esi
inc esi
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.00403490
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00403490
mov eax, esi
call fcn.0057db7d
ret

Function at 0x427d31
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00438d11
pop ecx
test eax, eax
je 0x427d94
push ebx
push edi
push 0x3c
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0042bf30
add esp, 0xc
mov dword [ebp - 0x38], 0x200
xor ebx, ebx
mov dword [ebp - 0x28], esi
inc ebx
mov eax, 0x587108
mov dword [ebp - 0x30], eax
push ebx
push edi
push edi
push esi
push eax
push edi
mov dword [ebp - 0x20], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x427d90
push edi
push edi
push edi
push esi
call fcn.00427bc1
add esp, 0x10
jmp 0x427d92
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427d99
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x60b044]
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.0042bf30
push 0x10
lea eax, [ebp - 0x7e4]
mov dword [ebp - 0x82c], 0x44
push ebx
push eax
call fcn.0042bf30
push esi
lea eax, [ebp - 0x7d4]
push 0x600108
push eax
call fcn.00420ff9
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 0x427e4e
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.0041afe3
mov esp, ebp
pop ebp
ret
Function at 0x427e5e
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1604
call fcn.0041ba40
mov eax, dword [0x60b044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
push 0
push eax
call fcn.0042bf30
push esi
lea eax, [ebp - 0x20c]
push 0x600108
push eax
call fcn.00420ff9
lea eax, [ebp - 0x20c]
push eax
call fcn.00438d11
add esp, 0x1c
lea ecx, [eax - 1]
test ecx, ecx
jle 0x427eca
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x20e], cx
je 0x427eca
mov word [ebp + eax*2 - 0x20c], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xbe4]
push str._s.
push eax
call fcn.00420ff9
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 0x427fc3
push ebx
push 0x2e
pop ebx
lea eax, [ebp - 0x1604]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x427fc2
cmp word [ebp - 0x15d8], bx
je 0x427f08
cmp word [ebp - 0x15d6], 0
je 0x427f08
cmp word [ebp - 0x15d6], bx
jne 0x427f44
cmp word [ebp - 0x15d4], 0
je 0x427f08
test byte [ebp - 0x1604], 0x10
je 0x427f8e
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0042bf30
lea eax, [ebp - 0x15d8]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str._s_s_
push eax
call fcn.00420ff9
lea eax, [ebp - 0x414]
push eax
call fcn.00427e5e
add esp, 0x20
lea eax, [ebp - 0x15d8]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x13b4]
push str._s_s
push eax
call fcn.00420ff9
add esp, 0x10
lea eax, [ebp - 0x13b4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x427f08
pop ebx
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
xor ecx, ebp
pop esi
call fcn.0041afe3
mov esp, ebp
pop ebp
ret