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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.00403638
xor eax, eax
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40355e
xor al, al
jmp 0x40359a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0xc]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x403590
cmp dword [ebp + 0x10], eax
je 0x403592
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x403592
xor bl, bl
push dword [ebp - 0x10]
call esi
mov al, bl
pop ebx
pop edi
pop esi
leave
ret

Function at 0x403717
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, 0x104
push esi
push edi
call fcn.00404806
add esp, 0xc
test al, al
je 0x4037c9
push 0x401514
push esi
push edi
call fcn.00404841
add esp, 0xc
test al, al
je 0x4037c9
push esi
push edi
call fcn.004047df
mov ebx, eax
mov dword [ebp - 4], esi
sub dword [ebp - 4], ebx
cmp dword [ebp - 4], 0xb
pop ecx
pop ecx
jb 0x4037c9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
shr ecx, 0xc
xor eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0xa
push dword [ebp - 4]
dec dword [ebp - 0xc]
lea eax, [edi + ebx*2]
push eax
lea eax, [ebp - 8]
push 4
push eax
call fcn.00404788
add esp, 0x10
test al, al
je 0x4037c9
lea eax, [ebx + 5]
push eax
mov ecx, edi
call fcn.00403693
push 0x401624
push esi
push edi
call fcn.00404841
add esp, 0xc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4037d0
inc dword [ebp - 8]
cmp dword [ebp - 0xc], eax
jne 0x40377e
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push 0x401620
push esi
push edi
call fcn.00404841
add esp, 0xc
jmp 0x4037cb
Function at 0x4037e1
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x104
push esi
push edi
call fcn.004047df
push 0x401630
push esi
push edi
mov dword [ebp - 4], eax
call fcn.00404841
add esp, 0x14
test al, al
je 0x4038c6
and dword [ebp - 0x258], 0
push 0x24c
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00403638
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x4038b5
push ebx
cmp word [ebp - 0x24], 0
lea ebx, [ebp - 0x24]
jne 0x403859
lea ebx, [ebp - 0x22c]
push ebx
call fcn.004035be
pop ecx
test al, al
jne 0x403897
mov eax, dword [ebp - 4]
inc eax
push eax
mov ecx, edi
call fcn.00403693
push ebx
push esi
push edi
call fcn.00404841
add esp, 0xc
test al, al
je 0x403897
test byte [ebp - 0x258], 0x10
push edi
je 0x403891
call fcn.004037e1
pop ecx
jmp 0x403897
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403849
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push dword [ebp - 4]
mov ecx, edi
call fcn.00403693
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
leave
ret

Function at 0x40390b
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403959
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x401664
push 0
mov byte [esi], 1
call edi
test eax, eax
jne 0x403950
push 0x40163c
push eax
call edi
push eax
mov ecx, esi
call fcn.004035ec
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x404291
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push esi
push dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x258], ax
mov word [ebp - 0x460], ax
mov esi, 0x104
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.00404806
add esp, 0xc
test al, al
je 0x4043d2
push dword [ebp + 0xc]
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.00404841
add esp, 0xc
test al, al
je 0x4043d2
push 0x401690
lea eax, [ebp - 0x460]
push esi
push eax
call fcn.00404841
add esp, 0xc
test al, al
je 0x4043d2
push ebx
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x250]
push ebx
push eax
mov dword [ebp - 0x254], ebx
call fcn.00403638
add esp, 0xc
push ebx
push ebx
push 1
lea eax, [ebp - 0x254]
push eax
push ebx
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4043d1
xor eax, eax
mov word [ebp - 0x464], ax
mov word [ebp - 0x66c], ax
push edi
test byte [ebp - 0x254], 0x10
je 0x4043b3
lea edi, [ebp - 0x20]
cmp word [ebp - 0x20], bx
jne 0x40436f
lea edi, [ebp - 0x228]
push edi
call fcn.004035be
pop ecx
test al, al
jne 0x4043b3
push dword [ebp + 8]
lea eax, [ebp - 0x66c]
push esi
push eax
call fcn.00404806
add esp, 0xc
test al, al
je 0x4043b3
push edi
lea eax, [ebp - 0x66c]
push esi
push eax
call fcn.00404841
add esp, 0xc
test al, al
je 0x4043b3
lea eax, [ebp - 0x66c]
push eax
call fcn.004037e1
pop ecx
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404357
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4043d5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor eax, eax
push esi
mov word [ebp - 4], ax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x404425
cmp eax, esi
jae 0x404425
xor esi, esi
push dword [esi + 0x401698]
lea eax, [ebp - 0x20c]
push eax
call fcn.00404291
add esi, 4
pop ecx
pop ecx
cmp esi, 8
jb 0x404409
pop esi
leave
ret

Function at 0x404551
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.00403638
add esp, 0xc
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x404592
leave
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00404428
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40461d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.004045ef
mov eax, dword [ebp + 8]
lea edi, [esi + 0xc]
push edi
push eax
mov dword [esi + 8], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esi], eax
test eax, eax
je 0x404729
xor eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [edi], eax
jle 0x40470d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov eax, dword [esi]
mov edi, dword [ebp + 8]
push 0x401784
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x404678
mov dword [esi + 4], 0x401330
jmp 0x4046fd
mov eax, dword [esi]
push 0x401770
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x40468e
mov byte [esi + 0x14], 1
jmp 0x4046fd
mov eax, dword [esi]
push 0x401750
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4046a4
mov byte [esi + 0x15], 1
jmp 0x4046fd
mov eax, dword [esi]
push 0x401738
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4046ba
mov byte [esi + 0x16], 1
jmp 0x4046fd
mov eax, dword [esi]
push 0x401718
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4046d0
mov byte [esi + 0x17], 1
jmp 0x4046fd
mov eax, dword [esi]
push 0x4016f8
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4046e6
mov byte [esi + 0x18], 1
jmp 0x4046fd
mov eax, dword [esi]
push 0x4016e4
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4046fd
mov dword [esi + 0x10], 1
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0xc]
jl 0x404659
pop ebx
cmp byte [esi + 0x17], 0
jne 0x404729
cmp byte [esi + 0x15], 0
jne 0x404724
cmp byte [esi + 0x16], 0
jne 0x404724
xor eax, eax
inc eax
jmp 0x404726
xor eax, eax
mov byte [esi + 0x14], al
xor eax, eax
cmp dword [esi], eax
pop edi
setne al
pop esi
pop ebp
ret 4
Function at 0x40699b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004058f5
and dword [ebp - 0x14], 0
cmp dword [0x40b42c], 0
mov dword [ebp - 0x18], eax
jne 0x406a4e
push 0x402330
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406af6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402324
push ebx
call edi
test eax, eax
je 0x406af6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402314
push ebx
mov dword [0x40b42c], eax
call edi
push eax
call esi
push 0x402300
push ebx
mov dword [0x40b430], eax
call edi
push eax
call esi
push 0x4022e4
push ebx
mov dword [0x40b434], eax
call edi
push eax
call esi
mov dword [0x40b43c], eax
test eax, eax
je 0x406a4e
push 0x4022cc
push ebx
call edi
push eax
call esi
mov dword [0x40b438], eax
mov eax, dword [0x40b438]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406aa7
cmp dword [0x40b43c], ecx
je 0x406aa7
push eax
call esi
push dword [0x40b43c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406aa7
test ebx, ebx
je 0x406aa7
call edi
test eax, eax
je 0x406a9e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406a9e
test byte [ebp - 8], 1
jne 0x406aa7
or dword [ebp + 0x10], 0x200000
jmp 0x406ada
mov eax, dword [0x40b430]
cmp eax, dword [ebp - 0x18]
je 0x406ada
push eax
call esi
test eax, eax
je 0x406ada
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406ada
mov eax, dword [0x40b434]
cmp eax, dword [ebp - 0x18]
je 0x406ada
push eax
call esi
test eax, eax
je 0x406ada
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b42c]
call esi
test eax, eax
je 0x406af6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406af8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406d06
leave
ret

Function at 0x406d06
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a310]
jne 0x406d10
repz ret
jmp fcn.00407ef5
Function at 0x40c9c0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40c9df
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x40c9e6
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x40c9fd
mov ecx, dword [ebp - 4]
push ecx
call fcn.00410b90
add esp, 4
or eax, 0xffffffff
jmp 0x40c9ff
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x410a70
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4322f4]
jne 0x410a7a
repz ret
jmp fcn.0041ff80
Function at 0x42ab33
Capabilities:
Extract resource via kernel32 functions
Get common file path
Get disk information
Manipulate console buffer
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
cmp dword [0x468a2c], 0x37
jne 0x42ac14
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x408518
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0x408548
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4085b8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push 0x4085a4
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
call ebx
push esi
push esi
push esi
push esi
call ebx
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
push 0x40866c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
lea eax, [ebp - 0x83c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
lea eax, [ebp - 8]
push eax
push 0x408680
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push 0x408690
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
push esi
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
pop edi
pop esi
pop ebx
mov eax, dword [0x481a34]
mov dword [ebp - 4], eax
mov eax, 0x38d6
add dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov cl, byte [ecx + eax]
mov edx, dword [0x44ef08]
mov byte [edx + eax], cl
leave
ret 4
Function at 0x42ac3a
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x468a2c], 0x60b
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x4330e0]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4330e4]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4330e8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4330ec]
mov ebx, 0xc6ef3720
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x20], eax
jne 0x42acb3
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 0
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
mov dword [ebp - 0xc], 0x20
mov eax, edi
shl eax, 4
cmp dword [0x468a2c], 5
mov dword [ebp - 8], eax
jne 0x42acd9
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
and dword [0x44ef0c], 0
mov ecx, edi
shr ecx, 5
add ecx, dword [ebp - 0x20]
add eax, edx
xor ecx, eax
lea eax, [ebx + edi]
xor ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add dword [0x44ef0c], eax
or dword [0x44ef14], 0xffffffff
sub esi, ecx
mov ecx, esi
shl ecx, 4
add ecx, dword [ebp - 0x14]
mov eax, esi
shr eax, 5
add eax, dword [ebp - 0x1c]
lea edx, [ebx + esi]
xor ecx, edx
xor ecx, eax
sub edi, ecx
cmp dword [0x468a2c], 0x417
mov dword [0x44ef10], 0xff6b3619
jne 0x42ad42
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcatW]
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
sub ebx, dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x42acba
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x42adbc
Capabilities:
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
push ebx
mov ebx, dword [0x44ef08]
push esi
push edi
mov edi, dword [0x468a2c]
xor esi, esi
cmp edi, 0x516
jne 0x42ade6
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
shr edi, 3
cmp edi, esi
jbe 0x42aea1
mov dword [ebp - 8], edi
cmp dword [0x468a2c], 0x29
jne 0x42ae19
push esi
lea eax, [ebp - 0x28]
push eax
push 0x408508
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp dword [0x468a2c], 0xe1b
jne 0x42ae33
lea eax, [ebp - 0x168]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp dword [0x468a2c], 0x1c
jne 0x42ae68
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push ebx
call fcn.0042ac3a
cmp dword [0x468a2c], 0x4fa
jne 0x42ae95
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
add ebx, 8
dec dword [ebp - 8]
jne 0x42adf4
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4250e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a62bb
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.00499f20
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x425162
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00496ec7
mov eax, dword [eax]
push 0x4ce210
push eax
call fcn.00488eb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049a1ab
test bl, bl
je 0x425162
push 0x4ce210
lea ecx, [esp + 0xc]
call fcn.0049a53b
push 0x4d1d8c
lea ecx, [esp + 0xc]
call fcn.0049a53b
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 0x42519e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049a1ab
jmp 0x425269
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 0x425222
lea edx, [esp + 0x7c]
push 0x4d1d88
push edx
call fcn.00488eb4
add esp, 8
test eax, eax
je 0x425222
lea eax, [esp + 0x7c]
push 0x4d1d84
push eax
call fcn.00488eb4
add esp, 8
test eax, eax
je 0x425222
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 0x4251b2
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.0049a1ab
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 0x425a60
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 0x425ac2
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 0x425ad0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a633b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d9110]
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 0x425c08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x425b36
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049a1ab
xor eax, eax
jmp 0x425c7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049a2e8
push esi
lea ecx, [esp + 0xc]
call fcn.0049a577
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 0x425c5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00425a60
test eax, eax
jne 0x425c5d
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 closesocket
mov ecx, edi
call fcn.00425a60
test eax, eax
jne 0x425c5d
lea eax, [esp + 0x14]
push 0x4d1da0
push eax
call fcn.00489fc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x425c3c
lea ecx, [esp + 0x14]
push 0x4d1d9c
push ecx
call fcn.00489f40
mov esi, eax
add esp, 8
test esi, esi
jne 0x425c3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x425c3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049a298
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x425b4e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049a1ab
xor eax, eax
jmp 0x425c7f
mov byte [esi], 0
push 0x4d1d98
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.0049a1ab
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