joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5b97
Capabilities:
Check if file exists
Enumerate processes
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6e306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c5c42
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4c5c42
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4c5c42
push edi
xor edi, edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push ebx
push eax
push dword [ebp - 0x228]
call fcn.004c5ae6
add esp, 0x10
test al, al
je 0x4c5c0a
inc edi
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4c5bec
test edi, edi
jle 0x4c5c3d
push str.Shell_TrayWnd
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
push eax
call esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call esi
mov eax, edi
pop edi
jmp 0x4c5c45
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004239b8
leave
ret

Function at 0x4c651b
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x224
mov eax, 0x63c158
call fcn.0042458f
mov edi, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.004ef2d0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0xb
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4c65bf
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a1d0
push 0x643058
lea ecx, [ebp - 0x230]
call fcn.0040a6a0
push edi
lea ecx, [ebp - 0x230]
call fcn.0040a6a0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.004c47a1
pop ecx
inc esi
lea ecx, [ebp - 0x230]
call fcn.004047d0
mov eax, esi
call fcn.0042454a
ret 4

Function at 0x4c65d4
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x228
mov eax, 0x63c18b
call fcn.0042458f
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor edi, edi
mov dword [ebp - 0x234], esi
push edi
push eax
call fcn.004ef2d0
xor eax, eax
mov dword [ebp - 0x220], edi
add esp, 0xc
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push edi
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a1d0
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4c667f
dec eax
lea ecx, [ebp - 0x230]
push eax
call fcn.004c6f8e
cmp word [eax], 0x5c
je 0x4c666f
push 0x643058
lea ecx, [ebp - 0x230]
call fcn.0040a6a0
push str.MicrosoftInternet_ExplorerQuick_Launch
lea ecx, [ebp - 0x230]
call fcn.0040a6a0
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0040ddf0
lea ecx, [ebp - 0x230]
call fcn.004047d0
mov eax, esi
call fcn.0042454a
ret 4
Function at 0x4c66a2
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x258
mov eax, 0x63c1c9
call fcn.0042458f
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], ebx
call fcn.0040a340
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.004ef2d0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push dword [ebp + 0x14]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4c672a
push 0x6cf8f0
mov ecx, edi
call fcn.0040a340
jmp 0x4c6802
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a1d0
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x230]
dec eax
push eax
call fcn.004c6f8e
cmp word [eax], 0x5c
je 0x4c6765
push 0x643058
lea ecx, [ebp - 0x230]
call fcn.0040a6a0
push esi
lea ecx, [ebp - 0x230]
call fcn.0040a6a0
xor eax, eax
mov dword [ebp - 0x250], ebx
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x238]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x24c], 7
push eax
call fcn.0040aa80
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040b410
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.004047d0
test esi, esi
je 0x4c67f4
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
push eax
call fcn.0040aae0
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.0040ddf0
lea ecx, [ebp - 0x248]
call fcn.004047d0
lea ecx, [ebp - 0x230]
call fcn.004047d0
mov eax, edi
call fcn.0042454a
ret 0x10
Function at 0x4c6e43
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x4c
mov eax, 0x63c25d
call fcn.0042458f
mov edi, ecx
mov ebx, dword [ebp + 8]
xor esi, esi
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c6f74
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040a1d0
push 8
pop ebx
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a1d0
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
push 0x5c
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push dword [ebp - 0x18]
push eax
call fcn.004c5c53
add esp, 0x10
mov dword [ebp - 0x30], esi
xor ecx, ecx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
lea ecx, [ebp - 0x40]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.0040aa80
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a2b0
lea ecx, [ebp - 0x40]
call fcn.004047d0
call fcn.004c9fa0
cmp eax, 1
jg 0x4c6f50
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004c65d4
cmp dword [ebp - 0x44], ebx
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.0040aae0
push str..lnk
lea ecx, [ebp - 0x40]
call fcn.0040a6a0
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004047d0
jmp 0x4c6f74
cmp dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x58]
push 0x650f78
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
push ecx
cmovae eax, dword [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004c6822
mov esi, eax
lea ecx, [ebp - 0x58]
call fcn.004047d0
lea ecx, [ebp - 0x28]
call fcn.004047d0
mov eax, esi
call fcn.0042454a
ret 4
Function at 0x4c70d7
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4c70e9
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4c712e
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebx
ret

Function at 0x4c71a2
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4c71ab
pop esi
ret

Function at 0x4c71e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [ebp + 0xc]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x4c71fa
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8
Function at 0x4c83a1
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a0
mov eax, dword [0x6e306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp - 0x69c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.004ef2d0
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 3
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00505602
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.004ef2d0
push edi
lea eax, [ebp - 0x48c]
push 0
push eax
call fcn.004ef2d0
xor eax, eax
push 0x64
push eax
mov dword [ebp - 0x698], eax
mov dword [ebp - 0x69c], eax
mov dword [ebp - 0x6a0], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004ef2d0
add esp, 0x30
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4c8491
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00407020
add esp, 0xc
and dword [esi + 0x10], 0
lea ecx, [ebp - 0x7c]
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c84a5
sub ecx, edx
lea eax, [ebp - 0x7c]
push ecx
push eax
mov ecx, esi
call fcn.00403020
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004239b8
leave
ret
Function at 0x4c87f3
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3100
call fcn.00424d80
mov eax, dword [0x6e306c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x3100], edi
call fcn.004ef2d0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004ef2d0
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
push str.._c:
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004098b0
add esp, 0x10
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c8889
mov al, 1
jmp 0x4c8992
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.004ef2d0
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.004ef2d0
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.004ef2d0
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4c890b
mov bl, 2
jmp 0x4c8989
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.004c89a1
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.004c89a1
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c894c
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
mov ecx, edi
call fcn.004bf0dd
lea edx, [ebp - 0x9dc]
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4c896d
mov ecx, dword [ebp - 0x3100]
lea eax, [ebp - 0x9dc]
sub edx, edi
push edx
push eax
call fcn.004bf0dd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004239b8
leave
ret
Function at 0x4c8edc
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
push 2
mov byte [ebp - 1], dl
pop ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, ebx
cmp ax, dx
jne 0x4c8ef1
push dword [ebp + 8]
sub edi, ecx
sar edi, 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c8f13
mov al, 1
jmp 0x4c8fa4
push esi
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424264
push esi
mov ebx, eax
push 0
push ebx
call fcn.00411960
push dword [ebp + 8]
push esi
push ebx
call fcn.00502e46
add esp, 0x1c
xor esi, esi
movzx eax, word [ebx + esi*2]
cmp eax, 0x5c
je 0x4c8f52
cmp eax, 0x2f
jne 0x4c8f8e
mov dword [ebp - 8], eax
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c8f87
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4c8f95
mov eax, dword [ebp + 0xc]
mov byte [ebp - 1], 1
cmp dword [eax + 0x24], 0
je 0x4c8f87
push ebx
mov ecx, eax
call fcn.004c8ebf
mov eax, dword [ebp - 8]
mov word [ebx + esi*2], ax
inc esi
cmp esi, edi
jbe 0x4c8f44
jmp 0x4c8f99
mov byte [ebp - 1], 0
push ebx
call fcn.0042425f
mov al, byte [ebp - 1]
pop ecx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x4c9149
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6e306c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], esi
push edi
push eax
call fcn.004ef2d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x8000
cmp byte [ebp + 0x10], 0
push edi
cmove eax, dword [ebp + 0xc]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x4c91b4
xor eax, eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x4c91c2
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0040a340
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004239b8
leave
ret

Function at 0x4c91d2
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x63c520
call fcn.0042458f
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
xor edi, edi
mov dword [ebp - 0x220], esi
push 0x208
push edi
push eax
mov dword [ebp - 0x21c], edi
call fcn.004ef2d0
xor eax, eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
add esp, 0xc
mov word [esi], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
mov edi, 0x104
mov dword [ebp - 0x21c], 1
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040a5d0
mov eax, esi
call fcn.0042454a
ret
Function at 0x4c9620
Capabilities:
Check if file exists

Disassembly:
push 0x70
mov eax, 0x63c5be
call fcn.0042458f
mov edi, ecx
mov eax, dword [ebp + 0x10]
push dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
call fcn.004c95b1
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov esi, eax
mov dword [ebp - 0x2c], 7
xor eax, eax
push str.UnKonw
mov word [ebp - 0x40], ax
call fcn.0040a1d0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
and dword [ebp - 0x48], 0
xor eax, eax
push str.UnKonw
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.0040a1d0
mov byte [ebp - 4], 1
test esi, esi
je 0x4c9743
push esi
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004c9a1f
push 0x6cf8f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004205b0
test al, al
je 0x4c96d1
push esi
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.004c9ac3
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a2b0
lea ecx, [ebp - 0x70]
call fcn.004047d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c9737
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a1d0
lea eax, [ebp - 0x58]
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.0040a6d0
mov ecx, edi
call fcn.004c94a9
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004047d0
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x40]
push eax
mov dword [ebx], esi
call fcn.0040a240
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x58]
push eax
call fcn.0040a240
lea ecx, [ebp - 0x58]
call fcn.004047d0
lea ecx, [ebp - 0x40]
call fcn.004047d0
call fcn.0042454a
ret 0x10
Function at 0x4c983f
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x6e306c]
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]
push edi
push 0x6cf8f0
mov dword [ebp - 0xa38], eax
call fcn.0040a1d0
push 0x20a
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004ef2d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4c98e3
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x4c98e3
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.00424264
mov ebx, eax
xor eax, eax
push esi
push eax
push ebx
call fcn.004ef2d0
add esp, 0x10
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x4c98f6
push ebx
call fcn.0042425f
pop ecx
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004239b8
leave
ret 8
mov eax, dword [0x650e80]
mov dword [ebp - 0xc], eax
mov ax, word [0x650e84]
push 0x208
mov word [ebp - 8], ax
call fcn.00424264
mov edi, eax
mov dword [ebp - 0xa34], ebx
movzx eax, word [ebx]
pop ecx
push 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x4c996b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4c9a0a
push edi
call fcn.0042425f
push 2
call fcn.00424264
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0xc]
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4c9a0a
mov esi, edi
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x4c9972
sub esi, ecx
lea eax, [ebp - 0x218]
sar esi, 1
push esi
push edi
push eax
call fcn.0050762e
add esp, 0xc
test eax, eax
je 0x4c99ba
mov esi, dword [ebp - 0xa34]
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x4c999c
movzx eax, word [esi]
mov dword [ebp - 0xa34], esi
test ax, ax
je 0x4c9a0a
jmp 0x4c991e
lea eax, [ebp - 0x218]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x64305c
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.00409ef0
add esp, 0x14
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.0040a340
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.0040a2b0
lea ecx, [ebp - 0xa30]
call fcn.004047d0
push ebx
call fcn.0042425f
push edi
call fcn.0042425f
pop ecx
pop ecx
mov al, 1
jmp 0x4c98e5
Function at 0x4c9a1f
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6e306c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], edi
call fcn.004ef2d0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4c9aa3
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4c9a9c
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0040a340
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004239b8
leave
ret 8

Function at 0x4c9ac3
Capabilities:
Enumerate processes

Disassembly:
push 0x470
mov eax, 0x63c62e
call fcn.0042458f
mov dword [ebp - 0x478], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x47c], esi
mov edi, 0x6cf8f0
mov dword [ebp - 0x21c], 7
xor ebx, ebx
mov word [ebp - 0x230], ax
push edi
mov dword [ebp - 0x220], ebx
call fcn.0040a1d0
push 0x22c
lea eax, [ebp - 0x474]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.004ef2d0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4c9b41
push edi
mov ecx, esi
call fcn.0040a340
jmp 0x4c9c82
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4c9c6d
mov edi, dword [ebp + 0xc]
and dword [ebp - 0x238], 0
lea ecx, [ebp - 0x248]
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x450]
push eax
call fcn.0040a1d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], edi
je 0x4c9bc0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.004047d0
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4c9b63
jmp 0x4c9c6d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ef2d0
add esp, 0xc
push dword [ebp - 0x46c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4c9c62
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a1d0
push 0x6cf8f0
lea ecx, [ebp - 0x230]
call fcn.004205b0
test al, al
je 0x4c9c62
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x230]
push eax
push edi
call fcn.004c983f
push 0x6cf8f0
lea ecx, [ebp - 0x230]
call fcn.004205b0
test al, al
je 0x4c9c62
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a1d0
lea ecx, [ebp - 0x248]
call fcn.004047d0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0040ddf0
lea ecx, [ebp - 0x230]
call fcn.004047d0
mov eax, esi
call fcn.0042454a
ret 8