joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f561
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5defdd
call fcn.005d2642
mov ebx, ecx
call fcn.0045d928
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.0045582f
mov esi, str.WindowsResetMaster.ini
push esi
call fcn.0048cd3b
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00405290
push str.resetgf
push 0x5e38d4
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0045e002
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.00403950
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0041e4c0
push str.resetgf
mov ecx, esi
call fcn.00427b60
test eax, eax
jne 0x45f650
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0047be90
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x45f601
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.resetgf
push eax
push edi
push 0x5e38d4
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x45f632
xor eax, eax
jmp 0x45f63f
lea eax, [ebp - 0x218]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403000
jmp 0x45f655
mov edi, str.resetgf
push edi
mov ecx, esi
call fcn.00427b60
test eax, eax
jne 0x45f718
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0047be90
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00403710
and dword [ebp - 4], 0
push str.WindowsResetMaster.ini
call fcn.0048cd3b
pop ecx
push eax
push str.WindowsResetMaster.ini
lea ecx, [ebp - 0x230]
call fcn.00405290
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5e38d4
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x45f6e9
xor eax, eax
jmp 0x45f6f6
lea eax, [ebp - 0x218]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403000
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push 0
push 1
call fcn.0041e4c0
push edi
mov ecx, esi
call fcn.00427b60
test eax, eax
jne 0x45f754
push edi
push 0x5e38d4
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0045de9b
push eax
mov ecx, esi
call fcn.00403950
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.0041e4c0
call fcn.005d25ec
ret
Function at 0x45fcde
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0048cd3b
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451376
push dword [ebp + 8]
mov ebx, eax
push ebx
mov dword [ebp - 8], ebx
call fcn.0048d128
add esp, 0x10
call fcn.00454a62
test al, al
je 0x45fd34
push ecx
push ebp
push eax
pop esp
pop ecx
push edx
pop esp
pop ebp
pop ecx
push esp
push ebx
push edx
pop edi
pop esp
pop ebp
pop edx
push edx
push ecx
pop ecx
mov eax, dword [ebp - 4]
xor edi, edi
xor esi, esi
inc edi
test eax, eax
js 0x45fd9a
cmp word [ebx + esi*2], 0x5c
jne 0x45fd91
call fcn.004547b0
test al, al
je 0x45fd63
pop eax
push esi
pop eax
pop esp
pop edx
pop ebp
pop ebx
push edi
push edx
push edi
pop edx
push edx
push ebp
push eax
push ebp
push edx
mov ebx, dword [ebp - 8]
movzx eax, word [ebx + esi*2]
mov dword [ebp - 0xc], eax
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45fd87
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x45fd98
mov eax, dword [ebp - 0xc]
mov word [ebx + esi*2], ax
mov eax, dword [ebp - 4]
inc esi
cmp esi, eax
jle 0x45fd40
jmp 0x45fd9a
xor edi, edi
push ebx
call fcn.0045137f
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4600b3
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0x22c
mov eax, 0x5df058
call fcn.005d2642
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push esi
push esi
mov dword [ebp - 0x238], eax
call ebx
mov edi, eax
test edi, edi
je 0x4601d9
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0047be90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
lea esi, [edi + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451376
push esi
xor ecx, ecx
mov dword [ebp - 0x234], eax
push ecx
push eax
call fcn.0047be90
add esp, 0x10
push dword [ebp - 0x234]
push edi
call ebx
mov ebx, dword [ebp - 0x234]
xor eax, eax
mov esi, ebx
cmp word [ebx], ax
je 0x4601d2
mov bh, byte [ebp + 0xc]
mov bl, byte [ebp + 0x10]
mov edi, dword [ebp - 0x238]
test bh, bh
je 0x460173
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0047c280
pop ecx
pop ecx
test eax, eax
jne 0x4601b8
test bl, bl
je 0x460185
movzx eax, byte [esi]
push eax
call fcn.004616e1
pop ecx
test al, al
jne 0x4601b8
push esi
lea ecx, [ebp - 0x230]
call fcn.00403740
xor ecx, ecx
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ecx
mov ecx, edi
push eax
call fcn.0040c6f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
xor eax, eax
push eax
push 1
call fcn.0041e4c0
push esi
call fcn.0048cd3b
pop ecx
lea esi, [esi + eax*2]
xor eax, eax
add esi, 2
cmp word [esi], ax
jne 0x46015c
mov ebx, dword [ebp - 0x234]
push ebx
call fcn.0045137f
pop ecx
call fcn.005d25ec
ret
Function at 0x4601df
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
push esi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x214], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
call fcn.004611e7
lea eax, [ebp - 0x20c]
push eax
call fcn.0048cd3b
add esp, 0x14
mov dword [ebp - 0x210], eax
call fcn.004544b9
test al, al
je 0x46024e
pop esi
push ebx
pop edi
push ecx
pop ebx
push edi
pop ebp
push ecx
push ebx
push ebx
push esi
pop edx
push eax
push ecx
pop edi
push edx
push edi
pop ebx
pop esp
pop esi
push edx
pop ebp
push eax
call fcn.004543ea
test al, al
je 0x46026e
pop esi
pop ecx
push ecx
pop ebp
push ebp
push ebp
push ebx
push edi
pop ebp
push esp
push ecx
pop edi
push eax
push eax
push ebx
push ebp
pop edx
pop edx
push esi
pop ebp
pop edi
pop ecx
push ecx
call fcn.0045494e
test al, al
je 0x460290
push esp
push edi
push edi
push esp
pop esi
pop ecx
push ecx
pop edi
push ecx
pop esp
push ebp
push esi
pop edx
push edx
pop ebx
push esp
pop eax
pop esi
pop eax
pop edx
push ecx
pop esp
push eax
pop edi
push ecx
cmp dword [ebp - 0x210], 0
je 0x460360
mov esi, 0x5e283c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048d7df
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.0048d7df
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0048d7df
add esp, 0x18
call fcn.0045469c
test al, al
je 0x4602f9
push eax
push esp
push ebx
pop esp
push esp
push eax
pop ebp
push edi
pop ebp
push ecx
pop ebp
push ecx
push eax
push esi
push edi
push edi
pop ecx
pop ebx
pop ebp
pop eax
push ebp
push eax
push edi
pop esp
pop ebx
push esp
push ebx
push ecx
push ebp
push edi
pop esp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460317
lea eax, [ebp - 0x20c]
push eax
call fcn.0045fcde
pop ecx
call fcn.0045431b
test al, al
je 0x460332
pop edi
pop ecx
push eax
pop ecx
pop ebx
push ebp
push eax
push esp
pop edx
pop eax
pop eax
pop ebp
pop ebx
pop esp
pop ecx
push esi
pop ecx
pop eax
cmp word [ebp - 0x20c], 0
jne 0x460340
xor eax, eax
jmp 0x46034d
lea eax, [ebp - 0x20c]
push eax
call fcn.0048cd3b
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00403000
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045132d
mov esp, ebp
pop ebp
ret
Function at 0x460371
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x4c
mov eax, 0x5df0a9
call fcn.005d2642
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
xor eax, eax
inc eax
push eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004600b3
mov dword [edi + 0x14], 7
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x4603b9
mov eax, dword [edi]
jmp 0x4603bb
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 1
movlpd qword [ebp - 0x30], xmm0
cmp esi, dword [ebp - 0x3c]
je 0x46047c
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00403710
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x460460
cmp eax, 5
je 0x460460
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x460460
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jb 0x460460
mov eax, dword [ebp - 0x30]
ja 0x460440
cmp eax, dword [ebp - 0x34]
jbe 0x460460
lea edx, [ebp - 0x28]
cmp edi, edx
je 0x46045b
push 0xffffffffffffffff
push 0
mov eax, edx
mov ecx, edi
push eax
call fcn.00402ee0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ebx, ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041e4c0
add esi, 0x18
cmp esi, dword [ebp - 0x3c]
jne 0x4603e4
lea ecx, [ebp - 0x40]
call fcn.0045b1a1
mov eax, edi
call fcn.005d25ec
ret
Function at 0x46066e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x674af8], 0
push ebx
push esi
push edi
je 0x4606b1
call fcn.0045431b
test al, al
je 0x460756
pop edi
pop ecx
push eax
pop ecx
pop ebx
push ebp
push eax
push esp
pop edx
pop eax
pop eax
pop ebp
pop ebx
pop esp
pop ecx
push esi
pop ecx
pop eax
jmp 0x460756
call fcn.004543ea
test al, al
je 0x4606cb
pop esp
pop ebx
push ebx
pop ebp
pop eax
pop ebp
push edi
push esi
push edi
pop edx
push edx
push ebp
push esp
push ebp
pop eax
push esi
push edx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0047be90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46073b
lea eax, [ebp - 0x20c]
push eax
call fcn.00488add
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0047c280
pop ecx
pop ecx
test eax, eax
jne 0x460734
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0047c280
pop ecx
pop ecx
test eax, eax
je 0x46073b
mov byte [0x674af8], 1
call fcn.00454543
test al, al
je 0x460756
push ebp
pop esp
pop esi
push ecx
pop edi
push ebx
push ebx
push esi
pop ebp
pop ebp
push ebp
push ecx
push esp
pop edi
pop esi
push esp
push esp
pop ebx
mov ecx, dword [ebp - 4]
mov al, byte [0x674af8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0045132d
mov esp, ebp
pop ebp
ret
Function at 0x462480
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0047be90
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.004543ea
test al, al
je 0x4624e6
push edi
pop esi
push ebx
push esi
push ebx
pop eax
push esi
push esp
push ebp
push edi
pop esi
push ebx
pop esp
pop esi
pop ebp
push esp
call fcn.00454726
test al, al
je 0x4624ff
push ebp
push ebx
push ebp
pop ebx
pop esi
push edi
pop edi
push edx
pop edi
pop eax
push edi
pop ebp
pop esp
pop esp
push edi
pop ecx
mov edi, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x118]
call fcn.00454a62
test al, al
je 0x462527
push esi
push edx
push eax
pop ebp
pop edx
pop edx
push edx
pop ebx
push ebp
pop eax
pop ebp
push eax
push esi
pop eax
pop esp
pop ecx
pop ecx
pop ebx
push ebp
cmp edi, 5
jg 0x462536
cmp esi, 2
jg 0x462536
xor eax, eax
inc eax
jmp 0x462538
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045132d
mov esp, ebp
pop ebp
ret

Function at 0x462594
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
call fcn.00454a62
test al, al
je 0x4625b7
push edx
push ecx
pop ecx
pop ecx
push ecx
push esp
push esi
pop ebp
pop ebp
push ebp
pop ecx
pop eax
push ecx
push eax
push edi
push eax
pop ebx
pop ebx
push esp
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
pop ebp
ret 4
Function at 0x462a7a
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x5df36b
call fcn.005d2642
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x28c], ebx
test eax, eax
je 0x462c42
push eax
lea ecx, [ebp - 0x40]
call fcn.00403740
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.0046335c
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.0047be90
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp esi, 0xffffffff
je 0x462c32
call fcn.00454543
test al, al
je 0x462b0e
pop esp
pop ecx
pop ecx
push edx
pop esp
pop edx
push ecx
pop edi
push esi
pop ecx
pop ecx
pop ecx
push esi
pop ebp
push edx
push ebx
pop edx
push ecx
pop edx
push ebx
pop esi
push edi
push ebp
pop edx
push ebp
push esi
pop ecx
mov esi, dword [ebp - 0x28c]
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x462be6
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x462b51
lea eax, [ebp - 0x260]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403000
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0046335c
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00457f80
test eax, eax
je 0x462ba5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00462fc9
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.00457f80
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x462bac
mov byte [ebp - 0x285], 1
test bl, 1
je 0x462bc0
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.0041e4c0
cmp byte [ebp - 0x285], 0
jne 0x462c48
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0041e4c0
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x462b2a
call fcn.004544b9
test al, al
je 0x462c11
push edx
pop edi
push esi
push ebp
pop esp
push edx
push ebp
push eax
pop edx
push ebp
pop edx
pop ebp
push ebp
pop esp
pop edi
pop edx
pop edx
push edi
pop esi
push ecx
mov esi, dword [ebp - 0x28c]
call fcn.004547b0
test al, al
je 0x462c2b
pop edi
push ebx
pop edi
push ebp
push ebp
pop eax
pop ebp
push edx
pop ebp
pop edx
pop ecx
push esi
push ebp
pop ebx
push ebx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0041e4c0
mov eax, esi
call fcn.005d25ec
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0041e4c0
jmp 0x462c34
Function at 0x463b02
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.0047be90
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x2c], eax
mov eax, 0x200
lea ecx, [eax + 0x40]
cmovne eax, ecx
xor edi, edi
mov dword [ebp - 0x38], eax
inc edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], eax
call fcn.00462480
test eax, eax
mov ecx, str.runas
lea eax, [ebp - 0x3c]
cmovne ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x463b74
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, edi
cmove eax, ecx
jmp 0x463b88
cmp dword [ebp + 0x10], 0
je 0x463b86
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4648e1
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x66f33c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x5e266c
mov dword [ebp - 0xa38], eax
call fcn.00403000
push 0x20a
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0047be90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x464943
xor al, al
jmp 0x464b01
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
call ebx
mov esi, eax
test esi, esi
je 0x46493c
push edi
xor ecx, ecx
lea eax, [esi + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451376
mov edi, eax
pop ecx
test edi, edi
je 0x4649b8
lea eax, [esi*2 + 2]
push eax
push 0
push edi
call fcn.0047be90
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x4649b1
mov eax, dword [0x5e9768]
mov ebx, 0x208
mov dword [ebp - 0xc], eax
mov ax, word [0x5e976c]
push ebx
mov word [ebp - 8], ax
call fcn.00451376
mov esi, eax
pop ecx
test esi, esi
jne 0x4649bf
push edi
call fcn.0045137f
pop ecx
xor al, al
jmp 0x464b00
push ebx
push 0
push esi
call fcn.0047be90
add esp, 0xc
mov ebx, edi
mov ax, word [ebx]
push 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x464a44
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x464aec
push esi
call fcn.0045137f
xor eax, eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00451376
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x464aec
push 2
pop eax
push eax
push 0
push esi
call fcn.0047be90
add esp, 0xc
lea eax, [ebp - 0xc]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x464aec
push esi
call fcn.0048cd3b
push eax
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00487f5e
add esp, 0x10
test eax, eax
je 0x464a7f
push 2
pop ecx
mov ax, word [ebx]
add ebx, ecx
test ax, ax
jne 0x464a68
xor eax, eax
cmp word [ebx], ax
jne 0x4649cd
jmp 0x464aec
push 0x800
xor ebx, ebx
lea eax, [ebp - 0xa18]
push ebx
push eax
call fcn.0047be90
mov eax, dword [ebp - 0xa34]
lea ecx, [ebp - 0x218]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5e60d0
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.004673e9
add esp, 0x20
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.00403740
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.00403950
push ebx
push 1
lea ecx, [ebp - 0xa30]
call fcn.0041e4c0
push edi
call fcn.0045137f
pop ecx
test esi, esi
je 0x464afe
push esi
call fcn.0045137f
pop ecx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045132d
mov esp, ebp
pop ebp
ret
Function at 0x464b11
Capabilities:
Enumerate processes

Disassembly:
push 0x46c
mov eax, 0x5df4ee
call fcn.005d2642
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
xor ebx, ebx
mov dword [ebp - 0x21c], 7
push ebx
xor eax, eax
mov dword [ebp - 0x478], ebx
push 0x5e266c
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.00403000
mov esi, 0x22c
mov dword [ebp - 4], ebx
push esi
lea eax, [ebp - 0x474]
push ebx
push eax
call fcn.0047be90
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x464b8e
push 0x5e266c
mov ecx, edi
call fcn.00403740
jmp 0x464d24
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], esi
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x464d0f
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x450], ax
je 0x464bdc
lea eax, [ebp - 0x450]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403000
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], esi
je 0x464c24
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.0041e4c0
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x464bac
jmp 0x464d0f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0047be90
add esp, 0xc
push dword [ebp - 0x46c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x464d00
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
cmp word [ebp - 0x218], 0
jne 0x464c79
xor eax, eax
jmp 0x464c86
lea eax, [ebp - 0x218]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403000
push 0x5e266c
lea ecx, [ebp - 0x230]
call fcn.00427b60
test eax, eax
jne 0x464cf9
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.004648e1
pop ecx
pop ecx
push 0x5e266c
lea ecx, [ebp - 0x230]
call fcn.00427b60
test eax, eax
jne 0x464cf9
cmp word [ebp - 0x450], ax
je 0x464ce6
lea eax, [ebp - 0x450]
push eax
call fcn.0048cd3b
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403000
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.0041e4c0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00456158
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0041e4c0
mov eax, edi
call fcn.005d25ec
ret