joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e7b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bf05
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push 0xd
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x49ffb8
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00408440
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x44]
push 2
push eax
call fcn.00483cc0
add esp, 0x10
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x43e862
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43e858
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e917
push edx
push ecx
call fcn.00453c42
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x43e885
test ecx, ecx
je 0x43e8ba
cmp edx, 8
lea eax, [ebp - 0x44]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e8ba
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.00404570
push esi
call fcn.004852d0
add esp, 0x1c
lea ecx, [ebp - 0x44]
call fcn.004087f0
jmp 0x43e8f9
push esi
call fcn.00480700
mov edx, dword [ebp - 0x30]
add esp, 4
cmp edx, 8
jb 0x43e8f9
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43e8ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e91c
push edx
push ecx
call fcn.00453c42
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret 4
call fcn.004584af
call fcn.004584af
int3
Function at 0x448780
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x218], 0
je 0x448793
mov eax, 1
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x224], eax
lea eax, [esi + 0x214]
push eax
push 0
push esi
push 0x448950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x210], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
ret

Function at 0x4487d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x42c], edx
test edi, edi
je 0x448931
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x448800
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
lea ebx, [esi + 0x20]
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00454481
mov esi, eax
add esp, 4
test esi, esi
je 0x448931
push dword [ebp - 0x42c]
push edi
push str._s_LastError___d
push ebx
push esi
call fcn.00409fc0
add esp, 0x14
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x4aa0b0
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00463966
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x4a605c
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.00463a91
add esp, 0xc
cmp dword [ebp - 0x42c], 0
je 0x448928
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push esi
push eax
movzx eax, word [ebp - 0x41a]
push eax
movzx eax, word [ebp - 0x41c]
push eax
movzx eax, word [ebp - 0x41e]
push eax
movzx eax, word [ebp - 0x420]
push eax
movzx eax, word [ebp - 0x422]
push eax
movzx eax, word [ebp - 0x426]
push eax
movzx eax, word [ebp - 0x428]
push eax
push str._04d__02d__02d__02d:_02d:_02d__d_:__s__s__n
push dword [ebp - 0x42c]
call fcn.004497a0
add esp, 0x2c
push dword [ebp - 0x42c]
call fcn.00463b4f
add esp, 4
push esi
call fcn.004541b4
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c11
mov esp, ebp
pop ebp
ret

Function at 0x448fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x218], 0
je 0x448fc6
xor eax, eax
pop esi
pop ebp
ret 8
push dword [ebp + 8]
lea eax, [esi + 4]
push 0x4a8dc4
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp dword [esi + 0x218], 0
mov dword [esi + 0x220], eax
je 0x448ffe
mov ecx, 1
mov eax, ecx
pop esi
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x224], eax
lea eax, [esi + 0x214]
push eax
push 0
push esi
push 0x448950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x210], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
pop ebp
ret 8
Function at 0x449040
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x218], 0
je 0x44906c
push 1
push 0
push 0
lea ecx, [esi + 4]
mov dword [esi + 0x218], 0
mov edx, 0x65
call fcn.00449100
add esp, 0xc
mov eax, dword [esi + 0x210]
test eax, eax
je 0x44908b
cmp dword [esi + 0x214], 0
jbe 0x44908b
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x20c]
cmp eax, 0xffffffff
je 0x4490a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20c], 0xffffffff
mov ecx, dword [esi + 0x210]
mov eax, ecx
test ecx, ecx
je 0x4490d5
cmp dword [esi + 0x214], 0
jbe 0x4490d9
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x210]
mov dword [esi + 0x218], 0
test eax, eax
je 0x4490ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x210], 0
mov dword [esi + 0x214], 0
pop esi
ret
Function at 0x44a520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cbb0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4b701c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ecx + 4], eax
mov dword [ecx], vtable.trpc::mtt::pbproxy::PbReply.0
mov dword [ecx + 0x1c], eax
mov eax, ecx
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 1
mov dword [ecx + 0x18], 0x49ee2c
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x20], 0x4bc498
mov dword [ecx + 0x24], 0x4bc498
mov dword [ecx + 0x28], 0x4bc498
mov dword [ecx + 0x2c], 0x4bc498
movq qword [ecx + 0x30], xmm0
mov dword [ebp - 0x10], ecx
mov dword [ecx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x44b4c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cc54
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4b701c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x44b50b
push 0x34
call fcn.004585d6
add esp, 4
test eax, eax
je 0x44b579
mov dword [ebp - 0x14], eax
mov dword [eax + 4], esi
mov dword [eax], vtable.trpc::mtt::pbproxy::PbRequest.0
mov dword [eax + 0x1c], esi
jmp 0x44b523
push 0x4b9ca0
push 0x38
call fcn.0047e330
mov dword [eax + 4], esi
mov dword [eax], vtable.trpc::mtt::pbproxy::PbRequest.0
mov dword [eax + 0x1c], esi
mov dword [eax + 0x18], 0x49ee2c
mov dword [eax + 0x14], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 1
mov dword [eax + 8], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0x4bc498
mov dword [eax + 0x24], 0x4bc498
mov dword [eax + 0x20], 0x4bc498
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x4b34a8
lea eax, [ebp - 0xd]
push eax
call fcn.00456e9d
int3
Function at 0x44c960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x14], 0x10
jb 0x44c982
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x44c9a2
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x44c990
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov eax, 0x9e3779b9
xor ecx, edx
mul ecx
mov esi, eax
mov eax, 0x7f4a7c15
mul ecx
mov ecx, dword [ebp - 8]
add esi, edx
mov eax, dword [ecx + 4]
dec eax
and esi, eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 4]
xor ecx, 1
mov esi, dword [eax + esi*4]
test esi, esi
je 0x44ca0f
cmp esi, dword [eax + ecx*4]
je 0x44ca50
nop dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x44c9ea
mov ecx, dword [edi]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x44c9f4
mov eax, dword [esi]
push dword [edi + 0x10]
push ecx
push dword [esi + 0x10]
push eax
call fcn.00426f20
add esp, 0x10
test al, al
jne 0x44ca34
mov esi, dword [esi + 0x30]
test esi, esi
jne 0x44c9e0
mov esi, dword [ebp - 4]
mov dword [ebx], 0
mov eax, ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
mov dword [ebx], esi
mov dword [ebx + 4], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
je 0x44ca0f
cmp esi, dword [eax + ecx*4]
mov esi, dword [ebp - 4]
jne 0x44ca12
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
push ecx
and esi, 0xfffffffe
lea ecx, [ebp - 0x1c]
push ecx
mov eax, dword [eax + esi*4]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.0044dd50
mov edx, dword [ebp - 0x14]
cmp byte [edx + 0xd], 0
jne 0x44ca12
mov edx, dword [edx + 0x10]
mov ecx, edi
call fcn.00435c70
test al, al
jne 0x44ca12
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx + 4]
je 0x44ca12
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x44caa6
mov dword [ecx], eax
mov eax, dword [eax + 0x14]
mov dword [ebx], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 4], eax
mov eax, ebx
mov dword [ebx + 8], esi
pop edi
mov dword [ebx + 0xc], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44e390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
dec edi
mov dword [ebp - 4], edx
mov eax, edi
mov dword [ebp - 0xc], edi
sar eax, 1
mov ebx, ecx
mov dword [ebp - 8], eax
mov ecx, esi
cmp esi, eax
jge 0x44e3e2
lea edi, [ecx + ecx]
mov edx, dword [ebx + edi*4 + 4]
mov ecx, dword [ebx + edi*4 + 8]
call fcn.00435c70
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, edi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + esi*4], eax
mov esi, ecx
mov eax, dword [ebp - 8]
cmp ecx, eax
jl 0x44e3b4
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, eax
jne 0x44e3f6
mov eax, dword [ebp + 8]
test al, 1
jne 0x44e3f6
mov eax, dword [ebx + eax*4 - 4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp edx, esi
jge 0x44e423
nop word [eax + eax]
mov ecx, dword [ebp + 0xc]
lea edi, [esi - 1]
sar edi, 1
mov edx, dword [ecx]
mov ecx, dword [ebx + edi*4]
call fcn.00435c70
test al, al
je 0x44e423
mov eax, dword [ebx + edi*4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp dword [ebp - 4], edi
jl 0x44e400
mov eax, dword [ebp + 0xc]
pop edi
mov eax, dword [eax]
mov dword [ebx + esi*4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x471d34
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004719b1

Function at 0x481d80
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bca10], 0
je 0x481da3
mov eax, dword [0x4bca10]
jmp 0x481e98
mov dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x28]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x481dea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x481de0
mov dword [0x4bca10], 1
mov eax, dword [0x4bca10]
jmp 0x481e98
mov eax, dword [0x4bca10]
jmp 0x481e98
lea ecx, [ebp - 0x34]
push ecx
push 0x4a0f08
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x481e13
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4bca10]
jmp 0x481e98
push 0x10
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00455ce0
add esp, 0xc
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp + edx - 0x10], eax
mov dword [ebp + edx - 0xc], ecx
mov edx, 0xc
imul eax, edx, 0
mov dword [ebp + eax - 8], htons
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x481e7f
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4bca10]
jmp 0x481e98
mov dword [0x4bca10], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4bca10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret
Function at 0x481eb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
jne 0x481f07
push 0
mov ecx, dword [ebp + 8]
call fcn.00404500
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
jmp 0x481fcd
push 0x22c
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.00455ce0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x481fa1
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x228]
jne 0x481f85
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404500
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
jmp 0x481fcd
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x23c], eax
jmp 0x481f41
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4a0ecc
mov ecx, dword [ebp + 8]
call fcn.00404500
mov edx, dword [ebp - 0x234]
or edx, 1
mov dword [ebp - 0x234], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret

Function at 0x481fe0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x482013
xor eax, eax
jmp 0x4820a1
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00455ce0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x482092
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x228]
jne 0x482076
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
jmp 0x4820a1
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x48204d
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret
Function at 0x4824b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e06b
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x254]
call fcn.00423cec
mov dword [ebp - 4], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x482548
lea eax, [ebp - 0x254]
push eax
mov ecx, dword [ebp + 8]
call fcn.004277c0
mov ecx, dword [ebp - 0x244]
or ecx, 1
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00425f93
mov eax, dword [ebp + 8]
jmp 0x48261e
push 0x22c
push 0
lea edx, [ebp - 0x23c]
push edx
call fcn.00455ce0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x4825de
mov ecx, dword [ebp + 0xc]
call fcn.00409e50
push eax
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00408140
push eax
call fcn.00463847
add esp, 0xc
test eax, eax
jne 0x4825c2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x254]
call fcn.00425e76
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x248], eax
jmp 0x482582
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004277c0
mov edx, dword [ebp - 0x244]
or edx, 1
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00425f93
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret
Function at 0x4827a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x4827d3
xor eax, eax
jmp 0x48287b
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00455ce0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x48286c
mov ecx, dword [ebp + 8]
call fcn.00409e50
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408140
push eax
call fcn.00463847
add esp, 0xc
test eax, eax
jne 0x482850
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
jmp 0x48287b
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x238], eax
jmp 0x48280d
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret

Function at 0x482a10
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e106
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 8]
call fcn.00408140
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x482a73
mov ecx, dword [ebp + 8]
call fcn.00408140
push eax
push str.__rNX__W
push 2
call fcn.00486b50
push eax
call fcn.00486a10
add esp, 0x10
xor eax, eax
jmp 0x482b43
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404570
mov dword [ebp - 4], 0
push str.tmp_123abc456def789hij.tmp
lea ecx, [ebp - 0x40]
call fcn.00404500
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00424591
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004087f0
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x28]
call fcn.00408140
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jne 0x482b11
mov ecx, dword [ebp + 8]
call fcn.00408140
push eax
push 0x4a1998
push 2
call fcn.00486b50
push eax
call fcn.00486a10
add esp, 0x10
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004087f0
mov eax, dword [ebp - 0x48]
jmp 0x482b43
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00408140
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x4c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004087f0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret 4
Function at 0x483830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e240
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x21c], 0
call fcn.00481d80
call fcn.00482330
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.004837f0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.00428190
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
push 0
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x48393f
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00455ce0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x48390e
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404470
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x22c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.004828f0
mov eax, dword [ebp - 0x22c]
jmp 0x483961
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.004828f0
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret 8