joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442860
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x442890
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x442989
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x490
mov dword [ebp - 0x248], 0
push 0x228
push 0
lea eax, [ebp - 0x244]
push eax
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44291c
push str.explorer.exe
lea eax, [ebp - 0x224]
push eax
call fcn.004bf938
add esp, 8
test eax, eax
jne 0x442906
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
jmp 0x44291a
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4428dc
jmp 0x442925
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x442951
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x442989
mov eax, dword [ebp + 8]
push eax
push 0xf01ff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x44297c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret

Function at 0x442ac0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x442ae1
or eax, 0xffffffff
jmp 0x442b7d
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0x120], 0x114
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x442b36
cmp dword [ebp - 0x11c], 5
jne 0x442b36
cmp dword [ebp - 0x118], 0
jne 0x442b36
mov byte [ebp - 1], 1
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x442b71
mov eax, dword [ebp + 8]
push eax
call fcn.004429a0
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x442b67
mov ecx, dword [ebp + 8]
push ecx
call fcn.00442860
add esp, 4
jmp 0x442b7d
mov eax, dword [ebp - 0x124]
jmp 0x442b7d
mov edx, dword [ebp + 8]
push edx
call fcn.00442860
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x442b90
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 5
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x442bfb
jmp 0x442c8e
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x442c22
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x442c22
jmp 0x442c8e
mov ecx, dword [ebp - 4]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x442c51
jmp 0x442c8e
mov dword [ebp - 0x20], 0
jmp 0x442c63
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx]
jae 0x442c8e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax*8 + 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x442c8c
mov byte [ebp - 0x19], 1
jmp 0x442c8e
jmp 0x442c5a
cmp dword [ebp - 0x18], 0
je 0x442c9e
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], 0
je 0x442cae
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x442d80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 1
push 0
push 0
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x442e16
mov dword [ebp - 0x130], 0
push 0x110
push 0
lea edx, [ebp - 0x12c]
push edx
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0x130], 0x114
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x442e09
cmp dword [ebp - 0x12c], 6
jne 0x442e09
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x442e81
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
xor eax, eax
jmp 0x442e81
mov dword [ebp - 4], 0x490
mov dword [ebp - 0x134], 0
jmp 0x442e38
mov edx, dword [ebp - 0x134]
add edx, 1
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 8]
jae 0x442e75
mov ecx, dword [ebp - 0x134]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx + 8], 0
jne 0x442e73
mov eax, dword [ebp - 0x134]
imul eax, eax, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax]
mov dword [ecx], eax
mov dword [ebp - 4], 0
jmp 0x442e75
jmp 0x442e29
mov ecx, dword [ebp - 0xc]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret

Function at 0x443640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004b6500
add esp, 0xc
push 0x104
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax], dx
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4436b8
mov eax, 1
jmp 0x4436d3
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], 0
sete al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x444230
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], vtable.CExtractOutFile.0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0xffffffff
je 0x444270
mov edx, dword [ebp - 0xc]
add edx, 0x14
push edx
push 0
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0xffffffff
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x10], 0
je 0x4442b3
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x4442b3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4442b3
push 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x10], 0
je 0x4442db
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b5f6c
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
je 0x444303
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.004b5f6c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0xc], 0
mov esp, ebp
pop ebp
ret

Function at 0x444540
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0xffffffff
je 0x444585
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x44458a
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x26c], ecx
push 0x44
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0x268], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x220]
push ecx
call fcn.004b6500
add esp, 0xc
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004b6500
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
lea edx, [ebp - 0x210]
push edx
call fcn.004b721f
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x268]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4450c7
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret 4

Function at 0x446310
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x30], eax
push 0x24
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004b6500
add esp, 0xc
push 0x11c
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0x150], 0x11c
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x44636b
xor eax, eax
jmp 0x446450
push 0x5873d8
push 0x5873ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x446394
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
jmp 0x44639e
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x140], 2
jne 0x44644d
cmp dword [ebp - 0x14c], 4
jbe 0x44644d
cmp dword [ebp - 0x14c], 6
jne 0x4463fe
cmp dword [ebp - 0x148], 0
jne 0x4463da
mov dword [ebp - 4], 4
jmp 0x4463fc
cmp dword [ebp - 0x148], 1
jne 0x4463ec
mov dword [ebp - 4], 5
jmp 0x4463fc
cmp dword [ebp - 0x148], 2
jne 0x4463fc
mov dword [ebp - 4], 6
jmp 0x44644d
cmp dword [ebp - 0x14c], 5
jne 0x446419
cmp dword [ebp - 0x148], 2
jne 0x446419
mov dword [ebp - 4], 3
jmp 0x44644d
cmp dword [ebp - 0x14c], 5
jne 0x446434
cmp dword [ebp - 0x148], 1
jne 0x446434
mov dword [ebp - 4], 2
jmp 0x44644d
cmp dword [ebp - 0x14c], 5
jne 0x44644d
cmp dword [ebp - 0x148], 0
jne 0x44644d
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x447b90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571373
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x447dc9
mov ecx, dword [ebp + 8]
add ecx, 0x17c
call fcn.00401870
cmp eax, 4
jbe 0x447dc9
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b6500
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x447dc9
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x447dbf
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.00568460
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x17c
call fcn.00401830
push eax
lea edx, [ebp - 0x284]
push edx
call fcn.00569590
add esp, 8
mov byte [ebp - 4], 1
push 0x4c026f
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x268]
call fcn.004015c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.0044d3e0
add esp, 0x20
push 0x4c026f
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x284]
call fcn.004015c0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.0044d3e0
add esp, 0x20
lea ecx, [ebp - 0x268]
call fcn.004048a0
push eax
lea ecx, [ebp - 0x284]
call fcn.004048a0
push eax
call fcn.004c0290
add esp, 8
test eax, eax
je 0x447d86
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00404950
jmp 0x447dbf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00404950
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x447c3b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x447df0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5713b1
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x448029
mov ecx, dword [ebp + 8]
add ecx, 0x198
call fcn.00401870
cmp eax, 4
jbe 0x448029
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b6500
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x448029
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44801f
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.00568460
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x198
call fcn.00401830
push eax
lea edx, [ebp - 0x268]
push edx
call fcn.00569590
add esp, 8
mov byte [ebp - 4], 1
push 0x4c026f
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x284]
call fcn.004015c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.0044d3e0
add esp, 0x20
push 0x4c026f
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004015c0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.0044d3e0
add esp, 0x20
lea ecx, [ebp - 0x284]
call fcn.004048a0
push eax
lea ecx, [ebp - 0x268]
call fcn.004048a0
push eax
call fcn.004c0290
add esp, 8
test eax, eax
je 0x447fe6
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00404950
jmp 0x44801f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00404950
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x447e9b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x448060
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5713ef
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x448299
mov ecx, dword [ebp + 8]
add ecx, 0x1b4
call fcn.00401870
cmp eax, 4
jbe 0x448299
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b6500
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x448299
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44828f
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.00568460
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x1b4
call fcn.00401830
push eax
lea edx, [ebp - 0x284]
push edx
call fcn.00569590
add esp, 8
mov byte [ebp - 4], 1
push 0x4c026f
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x268]
call fcn.004015c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.0044d3e0
add esp, 0x20
push 0x4c026f
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x284]
call fcn.004015c0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.0044d3e0
add esp, 0x20
lea ecx, [ebp - 0x268]
call fcn.004048a0
push eax
lea ecx, [ebp - 0x284]
call fcn.004048a0
push eax
call fcn.004c0290
add esp, 8
test eax, eax
je 0x448256
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00404950
jmp 0x44828f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00404950
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44810b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], 0
je 0x4482b8
mov ecx, dword [ebp + 8]
add ecx, 0x1b4
call fcn.00401870
test eax, eax
jne 0x4482b8
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x4487d0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5714af
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
jne 0x448816
xor eax, eax
jmp 0x448946
mov eax, dword [ebp + 8]
push eax
call fcn.004482e0
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401870
test eax, eax
jne 0x448840
mov ecx, dword [ebp + 8]
call fcn.00401870
test eax, eax
jne 0x448847
xor eax, eax
jmp 0x448946
xor ecx, ecx
mov word [ebp - 0x224], cx
push 0x208
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.004b6500
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0x8c
call fcn.00401870
test eax, eax
je 0x4488a0
mov ecx, dword [ebp + 8]
add ecx, 0x8c
call fcn.00401830
mov dword [ebp - 0x248], eax
jmp 0x4488b5
mov ecx, dword [ebp + 8]
call fcn.00401830
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
call fcn.00401770
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004017f0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x449330
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x244]
call fcn.00449870
mov dword [eax], esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret 4