joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418415
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00418415
xor esi, esi
xor edi, edi
mov ecx, 0xe
push esi
dec ecx
jne 0x418431
push 0
push 0
push 0xf003f
mov edx, 0x18609c8
call fcn.0045d0ba
lea ebx, [esp + 8]
call fcn.0045c36b
mov edx, 0x18609c8
call fcn.0045d0ba
lea ebx, [esp + 8]
call fcn.0045c36b
call dword [sym.imp.ADVAPI32.DLL_OpenSCManagerA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.00457d88
mov eax, dword [ebx + 4]
call fcn.00457d88
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov esi, eax
fild dword [0x186d6a4]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
jne 0x4184a5
jmp 0x41850c
push 0xf01ff
mov ebx, dword [ebp + 8]
push ebx
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_OpenServiceA]
fldcw word [ebp - 0x10]
mov edi, eax
cmp edi, 0
jne 0x4184d6
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
jmp 0x41850c
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_DeleteService]
fldcw word [ebp - 0x10]
test eax, eax
je 0x4184f4
mov dword [ebp - 0x98], 1
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x418529
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00418529
xor esi, esi
xor edi, edi
mov ecx, 0xe
push esi
dec ecx
jne 0x418545
push 0
push 0
push 0xf003f
mov edx, 0x18609c8
call fcn.0045d0ba
lea ebx, [esp + 8]
call fcn.0045c36b
mov edx, 0x18609c8
call fcn.0045d0ba
lea ebx, [esp + 8]
call fcn.0045c36b
call dword [sym.imp.ADVAPI32.DLL_OpenSCManagerA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.00457d88
mov eax, dword [ebx + 4]
call fcn.00457d88
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov esi, eax
fild dword [0x186d6a4]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
jne 0x4185b9
jmp 0x41869f
push 0xf01ff
mov ebx, dword [ebp + 8]
push ebx
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_OpenServiceA]
fldcw word [ebp - 0x10]
mov edi, eax
cmp edi, 0
jne 0x4185ea
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
jmp 0x41869f
lea ebx, [ebp - 0xbc]
push ebx
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_QueryServiceStatus]
fldcw word [ebp - 0x10]
fild dword [0x186d0e8]
mov eax, dword [ebp - 0xb8]
call fcn.0045c27b
fcompp
fnstsw ax
sahf
jne 0x418640
mov dword [ebp - 0x98], 1
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
jmp 0x41869f
push 0
push 0
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_StartServiceA]
fldcw word [ebp - 0x10]
test eax, eax
je 0x418667
mov dword [ebp - 0x98], 1
jmp 0x418687
push 0x420
call dword [sym.imp.KERNEL32.DLL_GetLastError]
fldcw word [ebp - 0x10]
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jne 0x418687
mov dword [ebp - 0x98], 1
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4186bc
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.004186bc
xor esi, esi
xor edi, edi
mov ecx, 0x11
push esi
dec ecx
jne 0x4186d8
push 0
push 0
push 0xf003f
mov edx, 0x18609c8
call fcn.0045d0ba
lea ebx, [esp + 8]
call fcn.0045c36b
mov edx, 0x18609c8
call fcn.0045d0ba
lea ebx, [esp + 8]
call fcn.0045c36b
call dword [sym.imp.ADVAPI32.DLL_OpenSCManagerA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.00457d88
mov eax, dword [ebx + 4]
call fcn.00457d88
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov esi, eax
fild dword [0x186d6a4]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
jne 0x41874c
jmp 0x41882a
push 0xf01ff
mov ebx, dword [ebp + 8]
push ebx
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_OpenServiceA]
fldcw word [ebp - 0x10]
mov edi, eax
cmp edi, 0
jne 0x41877d
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
jmp 0x41882a
lea ebx, [ebp - 0xbc]
push ebx
push 1
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_ControlService]
fldcw word [ebp - 0x10]
test eax, eax
je 0x418812
mov dword [ebp - 0xc0], 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ebx, [ebp - 0xbc]
push ebx
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_QueryServiceStatus]
fldcw word [ebp - 0x10]
fild dword [0x186d0e4]
mov eax, dword [ebp - 0xb8]
call fcn.0045c27b
fcompp
fnstsw ax
sahf
jne 0x4187ee
mov dword [ebp - 0x98], 1
jmp 0x418800
mov eax, 0x1f4
call fcn.00457053
dec dword [ebp - 0xc0]
jne 0x4187b0
mov eax, 8
sub eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x418847
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00418847
xor esi, esi
xor edi, edi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xa
mov ebx, dword [ebp + 8]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
fldcw word [ebp - 0x10]
mov esi, eax
cmp esi, 0
jne 0x418884
jmp 0x41897f
mov eax, esi
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
fldcw word [ebp - 0x10]
mov edi, eax
cmp edi, 0
jne 0x41889e
jmp 0x41897f
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
fldcw word [ebp - 0x10]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x4188be
jmp 0x41897f
call fcn.0044fd0b
call fcn.0045d049
mov dword [ebp - 0xa8], eax
mov ebx, dword [ebp + 0xc]
call fcn.0045ce8d
push 0
mov ebx, esp
call fcn.0045c2a9
call fcn.004189a0
mov ebx, dword [ebp + 0xc]
call fcn.0045ce8d
xor ebx, ebx
mov eax, dword [ebp - 0xa8]
mov word [ebp - 0x46], ax
mov ecx, pe_nt_image_headers32
mov eax, 1
mov dx, 0x20c1
call fcn.004513d9
mov eax, dword [ebp - 0xa8]
mov word [ebp - 0x46], ax
push dword [ebp - 0xa4]
mov eax, esi
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
fldcw word [ebp - 0x10]
pop ecx
call fcn.00457d90
call fcn.00457142
xor ecx, ecx
mov eax, dword [ebp - 0xa8]
call fcn.00457e4c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
fldcw word [ebp - 0x10]
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
fldcw word [ebp - 0x10]
call fcn.0044fcf3
test eax, eax
je 0x418975
mov dword [ebp - 0x98], 0
jmp 0x41897f
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41a097
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.0041a097
xor esi, esi
push esi
push esi
push esi
push esi
push esi
mov ebx, dword [ebp + 0xc]
call fcn.0045ce8d
mov eax, 1
mov ecx, 1
xchg ecx, eax
call fcn.00454232
mov edx, 0x18609d8
call fcn.0045d0ba
call fcn.0045c602
jne 0x41a0fb
mov ebx, dword [ebp + 0xc]
call fcn.0045ce8d
mov ecx, 2
mov eax, 0x7fffffff
call fcn.00454232
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
call fcn.0045ced6
lea ebx, [ebp - 0x98]
mov dword [ebx], esi
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.DLL_RegCreateKeyA]
mov esi, dword [ebp - 0x98]
fldcw word [ebp - 0x10]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebx]
call fcn.0045d0a3
call fcn.0045d088
push eax
mov ebx, dword [ebp + 0x14]
call fcn.0045d1af
push ebx
push 7
push 0
mov ebx, dword [ebp + 0x10]
push ebx
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
fldcw word [ebp - 0x10]
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
fldcw word [ebp - 0x10]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x41e8c4
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.0041e8c4
xor esi, esi
xor edi, edi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0
push 0
push 0xf003f
mov edx, 0x18609c8
call fcn.0045d0ba
lea ebx, [esp + 8]
call fcn.0045c36b
mov edx, 0x18609c8
call fcn.0045d0ba
lea ebx, [esp + 8]
call fcn.0045c36b
call dword [sym.imp.ADVAPI32.DLL_OpenSCManagerA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.00457d88
mov eax, dword [ebx + 4]
call fcn.00457d88
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov esi, eax
fild dword [0x186d6a4]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
jne 0x41e952
jmp 0x41e9bd
push 0
push 0
push 0
push 0
push 0
mov ebx, dword [ebp + 0xc]
push ebx
push 1
push 3
push 1
push 0xf01ff
mov ebx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
push ebx
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CreateServiceA]
fldcw word [ebp - 0x10]
mov edi, eax
cmp edi, 0
jne 0x41e99b
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
jmp 0x41e9bd
mov eax, edi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
mov eax, esi
push eax
call dword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ec44
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.0041ec44
xor esi, esi
xor edi, edi
mov ecx, 0x52
push esi
dec ecx
jne 0x41ec60
push 0
mov eax, 2
mov ecx, 1
add eax, ecx
mov ecx, 4
add eax, ecx
mov ecx, 8
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
fldcw word [ebp - 0x10]
mov edi, eax
cmp edi, 0
jne 0x41ec96
jmp 0x41ed28
mov eax, 0x128
mov dword [ebp - 0x1c0], eax
lea ebx, [ebp - 0x1c0]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_Process32First]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1cc], eax
nop
nop
nop
nop
nop
nop
cmp dword [ebp - 0x1cc], 0
je 0x41ed1c
fild dword [ebp + 8]
mov eax, dword [ebp - 0x1b8]
call fcn.0045c27b
fcompp
fnstsw ax
sahf
jne 0x41ed01
lea ebx, [ebp - 0x19c]
call fcn.0045ce8d
lea ebx, [ebp - 0x98]
call fcn.0045c2a9
jmp 0x41ed1c
lea ebx, [ebp - 0x1c0]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_Process32Next]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1cc], eax
jmp 0x41ecc0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
fldcw word [ebp - 0x10]
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41eecf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.0041eecf
xor esi, esi
xor edi, edi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov eax, dword [0x45fa14]
test eax, eax
je 0x41eefd
jmp 0x41efe6
inc dword [0x46014c]
cmp dword [0x46014c], 0x3c
jle 0x41ef16
mov dword [0x45fa14], 1
push 0
push 0
mov edx, 0x1862164
call fcn.0045d0ba
lea ebx, [esp + 4]
call fcn.0045c36b
mov edx, 0x1862158
call fcn.0045d0ba
lea ebx, [esp + 4]
call fcn.0045c36b
call dword [sym.imp.USER32.DLL_FindWindowA]
push eax
mov ebx, esp
mov eax, dword [ebx + 8]
call fcn.00457d88
mov eax, dword [ebx + 4]
call fcn.00457d88
pop eax
add esp, 8
fldcw word [ebp - 0x10]
mov edi, eax
lea ebx, [ebp - 0x9c]
mov dword [ebx], esi
push ebx
mov eax, edi
push eax
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
mov esi, dword [ebp - 0x9c]
fldcw word [ebp - 0x10]
mov eax, esi
push eax
call fcn.0041ec44
call fcn.0045d0d1
xor eax, eax
call fcn.00452fc5
mov edx, 0x186217c
call fcn.0045d0ba
call fcn.0045c602
jne 0x41efe6
mov eax, esi
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
fldcw word [ebp - 0x10]
mov dword [ebp - 0xa4], eax
push 1
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
fldcw word [ebp - 0x10]
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
fldcw word [ebp - 0x10]
mov dword [0x45fa14], 1
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x423714
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00423714
xor esi, esi
xor edi, edi
mov ecx, 0x52
push esi
dec ecx
jne 0x423730
lea ebx, [ebp + 8]
call fcn.0045ce8d
xor eax, eax
call fcn.00452fc5
lea ebx, [ebp + 8]
mov ecx, pe_nt_image_headers32
call fcn.0045ced6
push 0
mov eax, 2
mov ecx, 1
add eax, ecx
mov ecx, 4
add eax, ecx
mov ecx, 8
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
fldcw word [ebp - 0x10]
mov edi, eax
mov eax, 0x128
mov dword [ebp - 0x1c0], eax
lea ebx, [ebp - 0x1c0]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_Process32First]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1cc], eax
nop
nop
nop
nop
cmp dword [ebp - 0x1cc], 0
je 0x4237fe
lea ebx, [ebp - 0x19c]
call fcn.0045ce8d
xor eax, eax
call fcn.00452fc5
lea ebx, [ebp + 8]
call fcn.0045ce8d
call fcn.0045c602
jne 0x4237e3
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x98], eax
jmp 0x4237fe
lea ebx, [ebp - 0x1c0]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_Process32Next]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1cc], eax
jmp 0x4237a0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
fldcw word [ebp - 0x10]
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x80
Function at 0x423827
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00423827
xor esi, esi
xor edi, edi
mov ecx, 0x52
push esi
dec ecx
jne 0x423843
push 0
mov eax, 2
mov ecx, 1
add eax, ecx
mov ecx, 4
add eax, ecx
mov ecx, 8
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
fldcw word [ebp - 0x10]
mov edi, eax
mov eax, 0x128
mov dword [ebp - 0x1c0], eax
lea ebx, [ebp - 0x1c0]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_Process32First]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1cc], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp - 0x1cc], 0
je 0x423908
mov eax, dword [ebp + 8]
call fcn.0045c27b
mov eax, dword [ebp - 0x1b8]
call fcn.0045c27b
fcompp
fnstsw ax
sahf
jne 0x4238ed
lea ebx, [ebp - 0x19c]
call fcn.0045ce8d
xor eax, eax
call fcn.00452fc5
lea ebx, [ebp - 0x98]
call fcn.0045c2a9
jmp 0x423908
lea ebx, [ebp - 0x1c0]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_Process32Next]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1cc], eax
jmp 0x4238a0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
fldcw word [ebp - 0x10]
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x423931
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00423931
xor esi, esi
xor edi, edi
mov ecx, 0x52
push esi
dec ecx
jne 0x42394d
lea ebx, [ebp + 8]
call fcn.0045ce8d
xor eax, eax
call fcn.00452fc5
lea ebx, [ebp + 8]
mov ecx, pe_nt_image_headers32
call fcn.0045ced6
push 0
mov eax, 2
mov ecx, 1
add eax, ecx
mov ecx, 4
add eax, ecx
mov ecx, 8
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
fldcw word [ebp - 0x10]
mov edi, eax
mov eax, 0x128
mov dword [ebp - 0x1c0], eax
lea ebx, [ebp - 0x1c0]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_Process32First]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1cc], eax
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp - 0x1cc], 0
je 0x423a45
lea ebx, [ebp - 0x19c]
call fcn.0045ce8d
xor eax, eax
call fcn.00452fc5
lea ebx, [ebp + 8]
call fcn.0045ce8d
call fcn.0045c602
jne 0x423a27
push dword [ebp - 0x1b8]
push 1
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
fldcw word [ebp - 0x10]
mov esi, eax
push 1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x98], eax
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
fldcw word [ebp - 0x10]
lea ebx, [ebp - 0x1c0]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_Process32Next]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x1cc], eax
jmp 0x4239c0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
fldcw word [ebp - 0x10]
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x80
Function at 0x424cf0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00424cf0
xor esi, esi
xor edi, edi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov eax, dword [0x45fb1c]
test eax, eax
jne 0x424d36
fild dword [0x186d6a4]
mov eax, dword [str..DEFAULTSoftwareMicrosoftOfficeCommonClientTelemetry]
call fcn.0045c27b
fcompp
fnstsw ax
sahf
jne 0x424db3
push 0
mov eax, 1
lea ebx, [esp]
push ebx
mov word [ebx], ax
push 1
call fcn.00424b2d
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x424d81
push 0
fild dword [0x186cf1c]
fild dword [0x186cf18]
call fcn.0045c11c
call fcn.0045c2a2
push eax
call dword [sym.imp.USER32.DLL_ExitWindowsEx]
fldcw word [ebp - 0x10]
jmp 0x424dae
push 0
fild dword [0x186cf14]
fild dword [0x186cf20]
call fcn.0045c11c
fild dword [0x186cf1c]
call fcn.0045c11c
call fcn.0045c2a2
push eax
call dword [sym.imp.USER32.DLL_ExitWindowsEx]
fldcw word [ebp - 0x10]
jmp 0x424e9f
push 0
push 0
push pe_nt_image_headers32
push 3
lea ebx, [ebp - 0xa8]
push ebx
push 0
fild dword [0x186ccdc]
fild dword [0x186ccd8]
call fcn.0045c11c
call fcn.0045c2a2
push eax
mov edx, 0x1862adc
call fcn.0045d0ba
lea ebx, [esp + 0x18]
call fcn.0045c36b
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
push eax
mov ebx, esp
mov eax, dword [ebx + 4]
call fcn.00457d88
pop eax
add esp, 4
fldcw word [ebp - 0x10]
mov esi, eax
fild qword [0x186cd80]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
je 0x424e9f
mov eax, dword [ebp + 8]
test eax, eax
je 0x424e66
push 0
lea ebx, [ebp - 0x9c]
mov dword [ebx], edi
push ebx
push 0
push 0
push 0
push 0
push 0x30
call fcn.00416a15
push eax
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov edi, dword [ebp - 0x9c]
fldcw word [ebp - 0x10]
jmp 0x424e93
push 0
lea ebx, [ebp - 0x9c]
mov dword [ebx], edi
push ebx
push 0
push 0
push 0
push 0
push 0x2f
call fcn.00416a15
push eax
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov edi, dword [ebp - 0x9c]
fldcw word [ebp - 0x10]
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
fldcw word [ebp - 0x10]
mov eax, 0x3e8
call fcn.00457053
push 0
mov eax, 1
lea ebx, [esp]
push ebx
mov word [ebx], ax
push 1
call fcn.00424b2d
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x424ef4
push 0
fild dword [0x186cf1c]
fild dword [0x186cf18]
call fcn.0045c11c
call fcn.0045c2a2
push eax
call dword [sym.imp.USER32.DLL_ExitWindowsEx]
fldcw word [ebp - 0x10]
jmp 0x424f21
push 0
fild dword [0x186cf14]
fild dword [0x186cf20]
call fcn.0045c11c
fild dword [0x186cf1c]
call fcn.0045c11c
call fcn.0045c2a2
push eax
call dword [sym.imp.USER32.DLL_ExitWindowsEx]
fldcw word [ebp - 0x10]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4250f8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.004250f8
xor esi, esi
mov ecx, 0x97
push esi
dec ecx
jne 0x425112
lea ebx, [ebp + 8]
call fcn.0045ce8d
mov eax, 1
call fcn.00454296
mov edx, 0x18609d8
call fcn.0045d0ba
call fcn.0045c602
je 0x42515d
lea ebx, [ebp + 8]
call fcn.0045ce8d
mov edx, 0x18609d8
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp + 8]
mov ecx, 0x104
call fcn.0045ced6
lea ebx, [ebp + 8]
call fcn.0045ce8d
mov edx, 0x1862af8
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0x2e0]
mov ecx, 0x104
call fcn.0045ced6
lea ebx, [ebp - 0x1dc]
push ebx
lea ebx, [ebp - 0x2e0]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
fldcw word [ebp - 0x10]
mov esi, eax
fild qword [0x186cd80]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
je 0x425268
nop
nop
nop
nop
nop
fild dword [0x186cd30]
fild dword [0x186cd30]
mov eax, dword [ebp - 0x1dc]
call fcn.0045c27b
call fcn.0045c106
fcompp
fnstsw ax
sahf
je 0x425241
push 0
lea ebx, [ebp + 8]
call fcn.0045ce8d
lea ebx, [ebp - 0x1b0]
call fcn.0045ce8d
call fcn.0045c56d
lea ebx, [esp]
call fcn.0045c36b
call fcn.00425066
push eax
mov ebx, esp
mov eax, dword [ebx + 4]
call fcn.00457d88
pop eax
add esp, 4
test eax, eax
je 0x425241
mov dword [ebp - 0x98], 1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
fldcw word [ebp - 0x10]
jmp 0x42539a
lea ebx, [ebp - 0x1dc]
push ebx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
fldcw word [ebp - 0x10]
test eax, eax
jne 0x4251c0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
fldcw word [ebp - 0x10]
lea ebx, [ebp + 8]
call fcn.0045ce8d
mov edx, 0x1862b00
call fcn.0045d0ba
call fcn.0045c56d
lea ebx, [ebp - 0x2e0]
mov ecx, 0x104
call fcn.0045ced6
lea ebx, [ebp - 0x1dc]
push ebx
lea ebx, [ebp - 0x2e0]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
fldcw word [ebp - 0x10]
mov esi, eax
fild qword [0x186cd80]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
je 0x42539a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
fild dword [0x186cd30]
fild dword [0x186cd30]
mov eax, dword [ebp - 0x1dc]
call fcn.0045c27b
call fcn.0045c106
fcompp
fnstsw ax
sahf
jne 0x425373
lea ebx, [ebp - 0x1b0]
call fcn.0045ce8d
mov edx, 0x1860a3c
call fcn.0045d0ba
call fcn.0045c602
je 0x425373
lea ebx, [ebp - 0x1b0]
call fcn.0045ce8d
mov edx, 0x1862b08
call fcn.0045d0ba
call fcn.0045c602
je 0x425373
lea ebx, [ebp + 8]
call fcn.0045ce8d
lea ebx, [ebp - 0x1b0]
call fcn.0045ce8d
call fcn.0045c56d
mov edx, 0x18609d8
call fcn.0045d0ba
call fcn.0045c56d
mov eax, 0x80000104
call fcn.00454915
call fcn.004250f8
mov dword [ebp - 0x98], eax
lea ebx, [ebp - 0x1dc]
push ebx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
fldcw word [ebp - 0x10]
test eax, eax
jne 0x4252d0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
fldcw word [ebp - 0x10]
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x104