joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463bea
Capabilities:
Get memory capacity

Disassembly:
push 0x6c
mov eax, 0x4dfdfc
call fcn.004b6763
and dword [ebp - 4], 0
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
call fcn.0049219b
push eax
lea ecx, [ebp - 0x18]
call fcn.00402802
mov byte [ebp - 4], 1
call fcn.0049219b
push eax
lea ecx, [ebp - 0x14]
call fcn.00402802
mov byte [ebp - 4], 2
call fcn.0049219b
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402802
mov byte [ebp - 4], 3
call fcn.0049219b
push eax
lea ecx, [ebp - 0x20]
call fcn.00402802
push esi
push edi
mov edi, str._llu
lea eax, [ebp - 0x18]
push edi
push eax
mov byte [ebp - 4], 4
call fcn.00402a07
add esp, 0x10
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push ebx
push edi
push eax
call fcn.00402a07
add esp, 0x10
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x28]
push edi
push eax
call fcn.00402a07
add esp, 0x10
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push dword [ebp - 0x30]
push edi
push eax
call fcn.00402a07
mov esi, dword [ebp + 8]
add esp, 0x10
xor edi, edi
inc edi
push edi
push 0
push str.memory_info
push esi
call fcn.00461543
mov eax, esi
call fcn.004609f4
push edi
push dword [ebp - 0x18]
push str.total_phy
push esi
call fcn.00461543
push edi
push dword [ebp - 0x14]
push str.avail_phy
push esi
call fcn.00461543
mov ebx, dword [ebp - 0x1c]
push edi
push ebx
push str.total_page_file
push esi
call fcn.00461543
push edi
mov edi, dword [ebp - 0x20]
push edi
push str.avail_page_file
push esi
call fcn.00461543
call fcn.00460a1e
lea ecx, [edi - 0x10]
call fcn.00402845
lea ecx, [ebx - 0x10]
call fcn.00402845
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402845
call fcn.004b6808
ret 4
Function at 0x465317
Capabilities:
Get disk information

Disassembly:
push 0x470
mov eax, 0x4d678d
call fcn.004b6799
lea ecx, [edi + 8]
mov dword [ebp - 0x47c], edi
call fcn.00402827
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x14], vtable.CArray_struct_SHiveInfoParams__struct_SHiveInfoParams__.0
mov dword [edi + 0x18], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x1c], ebx
lea ecx, [edi + 0x28]
push 0xa
mov byte [ebp - 4], 1
call fcn.004a0462
lea esi, [edi + 0x48]
mov byte [ebp - 4], 2
call fcn.0044e495
mov dword [edi + 0x60], vtable.CArray_struct_SHiveInfoResults__struct_SHiveInfoResults__.0
mov dword [edi + 0x64], ebx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x68], ebx
xor eax, eax
mov byte [ebp - 4], 4
mov esi, 0x1fe
push esi
mov word [ebp - 0x274], ax
lea eax, [ebp - 0x272]
push ebx
push eax
mov dword [edi + 0xc], 1
call fcn.004b62d0
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea eax, [ebp - 0x274]
mov dword [ebp - 0x478], eax
xor eax, eax
push 0x62
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push ebx
push eax
call fcn.004b62d0
xor eax, eax
push esi
mov word [ebp - 0x474], ax
lea eax, [ebp - 0x472]
push ebx
push eax
call fcn.004b62d0
add esp, 0x18
cmp word [ebp - 0x274], bx
je 0x465484
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x465465
push dword [ebp - 0x478]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x74]
push 0x5c
push eax
call fcn.004b4314
pop ecx
pop ecx
cmp eax, ebx
je 0x465431
xor ecx, ecx
mov word [eax], cx
push 0x100
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x465465
lea eax, [ebp - 0x74]
push eax
lea ecx, [edi + 0x28]
call fcn.004a071a
lea ecx, [ebp - 0x474]
push ecx
mov ecx, eax
call fcn.0040272d
push ebx
push dword [ebp - 0x478]
call fcn.004b4314
inc eax
inc eax
pop ecx
pop ecx
mov dword [ebp - 0x478], eax
cmp word [eax], bx
jne 0x4653fa
mov eax, edi
call fcn.004b681c
ret
Function at 0x465d17
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004b8880
push 0xffffffffffffffff
push 0x4d54f4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x56f710]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x100c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1010]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1014]
mov dword [ebp - 0x18], eax
xor edi, edi
xor eax, eax
mov word [ebp + 0x800], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x800]
push eax
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0x400
mov dword [ebp - 0x24], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, esi
jne 0x465e5b
cmp word [ebp + 0x800], si
je 0x465e55
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindNextComponentW]
lea eax, [ebp]
push eax
call esi
test eax, eax
je 0x465e55
cmp word [eax], 0
je 0x465e55
push eax
call esi
mov esi, eax
test esi, esi
je 0x465e55
cmp word [esi], 0
je 0x465e55
push 4
push str.USER
push esi
call fcn.004b5b4c
add esp, 0xc
test eax, eax
jne 0x465e55
push esi
lea ecx, [ebp - 0x10]
call fcn.0040254f
and dword [ebp - 4], 0
push str..DEFAULT
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00407898
cmp eax, 0xffffffff
je 0x465e30
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
inc edi
call fcn.00402845
jmp 0x465d70
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 8]
lea edx, [ebp]
push edx
push eax
call fcn.0049d315
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
lea edx, [ebp + 0x800]
push edx
push eax
call fcn.0049d315
jmp 0x465e1b
inc edi
jmp 0x465d70
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.004b228f
add ebp, 0x1004
leave
ret 0xc
Function at 0x466ddd
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dd7ab
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1974
call fcn.004b8880
push ebx
push esi
push edi
mov eax, dword [0x56f710]
xor eax, esp
push eax
lea eax, [esp + 0x1988]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004075f5
mov esi, eax
call fcn.0045c16c
xor ebx, ebx
cmp eax, 6
jne 0x466ed7
cmp esi, ebx
jne 0x466ed7
mov eax, dword [0x57805c]
xor edi, edi
inc edi
push edi
mov esi, 0x52dc10
push esi
push str.arovistadefrag
push dword [eax]
push str.runas
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jl 0x466e7a
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.ExitProcess_:_Elevated_now_restarting
call fcn.0040254f
call fcn.0044d3b2
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
push ebx
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.RESOURCESTRING
call fcn.0040254f
push ecx
mov dword [esp + 0x19a4], ebx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.IDS_STR_LACK_OF_PERMISSION
call fcn.0040254f
or dword [esp + 0x19a4], 0xffffffff
lea eax, [esp + 0x30]
push eax
call fcn.00406eff
mov dword [esp + 0x1998], edi
push dword [eax]
call fcn.00491d70
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402845
jmp 0x466fed
mov al, byte [0x57a0d8]
test al, al
je 0x466f1f
push edi
lea eax, [esp + 0x28]
push eax
call fcn.004687df
lea eax, [esp + 0x24]
mov dword [esp + 0x1990], 2
mov ebx, dword [0x579f10]
push 0x19f
push eax
call fcn.0044e84a
pop ecx
pop ecx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x24]
jmp 0x466fe0
push ebx
push 0x2024
push 0x52dc10
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.RESOURCESTRING
call fcn.0040254f
push ecx
mov dword [esp + 0x19a4], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push str.IDS_ALERT_DEFRAG
call fcn.0040254f
or dword [esp + 0x19a4], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.00406eff
mov dword [esp + 0x1998], 4
push dword [eax]
call fcn.00491d70
cmp eax, 6
sete byte [esp + 0x17]
or dword [esp + 0x1990], 0xffffffff
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402845
cmp byte [esp + 0x17], bl
je 0x466fed
push edi
lea eax, [esp + 0xcd8]
push eax
call fcn.004687df
lea eax, [esp + 0xcd4]
mov dword [esp + 0x1990], 5
mov ebx, dword [0x579f10]
push 0x19f
push eax
call fcn.0044e84a
pop ecx
pop ecx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0xcd4]
or dword [esp + 0x1990], 0xffffffff
call fcn.004688dc
mov ecx, dword [esp + 0x1988]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46e0c8
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
mov dword [esi], ebx
mov dword [ebp - 4], ebx
call fcn.0045d184
mov ecx, dword [esi + 0x10]
movzx eax, al
neg eax
lea edx, [ebp - 8]
push edx
sbb eax, eax
lea edx, [ebp - 4]
push edx
push ebx
and eax, 0x100
or eax, 0xf003f
push eax
push 4
push ebx
push ebx
push ecx
push dword [esi + 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x46e17e
cmp dword [ebp - 4], ebx
je 0x46e17e
push edi
push 0x80
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegFlushKey]
call edi
cmp dword [esi + 4], 0x80000002
je 0x46e14f
push SysReAllocStringLen
call edi
push SysReAllocStringLen
call edi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x18]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyW]
push dword [ebp - 4]
neg eax
sbb eax, eax
inc eax
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
jmp 0x46e180
mov dword [esi], ebx
pop ebx
leave
ret

Function at 0x46e183
Capabilities:
Get common file path

Disassembly:
push 0x828
mov eax, 0x4d5237
call fcn.004b6799
mov esi, 0x410
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004b62d0
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b62d0
add esp, 0x18
lea edi, [esi - 1]
push edi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x46e228
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x834]
call fcn.0040254f
and dword [ebp - 4], 0
lea esi, [ebx + 0x54]
push eax
mov ecx, esi
call fcn.004025ee
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x834]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x830]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ecx, esi
test eax, eax
je 0x46e220
lea eax, [ebp - 0x830]
push eax
jmp 0x46e230
lea eax, [ebp - 0x420]
jmp 0x46e21d
push 0x52d4c4
lea ecx, [ebx + 0x54]
call fcn.0040272d
call fcn.004b681c
ret
Function at 0x46e23b
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Query environment variable
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x2194]
mov eax, 0x2214
call fcn.004b8880
mov eax, dword [0x56f710]
xor eax, ebp
mov dword [ebp + 0x2190], eax
mov eax, dword [ebp + 0x219c]
push esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x21a0]
mov esi, 0x1000
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004b62d0
push esi
lea eax, [ebp + 0xf88]
push 0
push eax
call fcn.004b62d0
add esp, 0x18
push 0x800
lea eax, [ebp - 0x78]
push eax
push str._SystemRoot_System32ConfigRCCBakup
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x46e352
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46e352
test byte [0x57c484], 1
jne 0x46e2e5
or dword [0x57c484], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx esi, ax
jmp 0x46e2eb
mov esi, dword [0x57c480]
mov eax, esi
not eax
test al, 2
je 0x46e2f8
add esi, 3
jmp 0x46e2fb
add esi, 5
push 0x208
lea eax, [ebp + 0x1f88]
push 0
push eax
mov dword [0x57c480], esi
call fcn.004b62d0
mov eax, dword [ebx + 0x54]
add esp, 0xc
lea ecx, [ebp + 0x1f88]
push ecx
push esi
push 0x545390
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x7c]
test eax, eax
je 0x46e343
lea eax, [ebp + 0x1f88]
push eax
call fcn.0040272d
jmp 0x46e34b
push dword [ebp - 0x80]
call fcn.004025ee
mov eax, dword [ebp - 0x7c]
push dword [eax]
jmp 0x46e397
mov eax, dword [ebp - 0x80]
push dword [eax]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xf88]
push str._s_s.bak
push eax
call fcn.004b5bf2
mov ecx, dword [ebp - 0x7c]
add esp, 0x10
lea eax, [ebp + 0xf88]
push eax
call fcn.0040272d
push 0x80
lea eax, [ebp + 0xf88]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp + 0xf88]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x2190]
xor ecx, ebp
pop esi
call fcn.004b228f
add ebp, 0x2194
leave
ret 8
Function at 0x46e3b5
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x608
lea ebp, [esp - 4]
mov eax, dword [0x56f710]
xor eax, ebp
mov dword [ebp + 0x608], eax
push 0x2c
mov eax, 0x4d5204
call fcn.004b6730
xor eax, eax
cmp dword [esi + 0x5c], eax
mov dword [ebp - 0x14], eax
jle 0x46e559
mov dword [ebp - 0x10], eax
mov ebx, 0x200
xor eax, eax
lea edi, [ebp + 0x600]
stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
lea eax, [ebp + 0x400]
push 0
push eax
call fcn.004b62d0
push ebx
lea eax, [ebp + 0x200]
push 0
push eax
call fcn.004b62d0
push ebx
lea eax, [ebp]
push 0
push eax
call fcn.004b62d0
mov eax, dword [esi + 0x58]
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + eax + 0x18]
lea ecx, [ebp]
push ecx
lea ecx, [ebp + 0x200]
push ecx
lea ecx, [ebp + 0x400]
push ecx
lea ecx, [ebp + 0x600]
push ecx
push eax
call fcn.004b3e93
add esp, 0x38
push str..bac
lea ecx, [ebp - 0x1c]
call fcn.0040254f
mov dword [ebp - 0x20], eax
and dword [ebp - 4], 0
lea eax, [ebp + 0x200]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040254f
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x400]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0040254f
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x600]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040254f
push dword [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00402125
push dword [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00402125
push dword [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402125
add esp, 0x24
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x58]
lea ecx, [edi + ecx + 0x1c]
push eax
call fcn.004025ee
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00402845
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, dword [esi + 0x58]
push dword [edi + eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add edi, 0x28
cmp eax, dword [esi + 0x5c]
mov dword [ebp - 0x10], edi
jl 0x46e3ef
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x608]
xor ecx, ebp
call fcn.004b228f
add ebp, 0x60c
leave
ret
Function at 0x46e729
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d65dd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x56f710]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
cmp dword [esi + 0x5c], edi
mov dword [esp + 0x18], edi
jle 0x46e87a
mov eax, dword [esi + 0x58]
lea eax, [edi + eax + 0x14]
push eax
lea ecx, [esp + 0x18]
call fcn.004022fa
and dword [esp + 0x28], 0
lea ebx, [esp + 0x14]
call fcn.0046ea2e
mov eax, dword [esi + 0x58]
lea ecx, [edi + eax + 0x14]
mov eax, ebx
push eax
call fcn.004025ee
mov eax, dword [esi + 0x58]
mov eax, dword [edi + eax + 0x14]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x10], 0xffffffff
je 0x46e7d7
push ebx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esi + 0x58]
push dword [esp + 0x10]
mov dword [edi + ecx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46e7f8
mov eax, dword [esi + 0x58]
push ecx
lea eax, [edi + eax + 0x14]
mov dword [esp + 0x14], esp
mov ecx, esp
push eax
call fcn.004022fa
call fcn.0046e57c
pop ecx
mov ecx, dword [esi + 0x58]
mov dword [edi + ecx + 0xc], eax
mov eax, dword [esi + 0x58]
mov eax, dword [edi + eax + 0x18]
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x46e82f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esi + 0x58]
push dword [esp + 0x10]
mov dword [edi + ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x58]
lea ecx, [edi + eax + 0x10]
push 0x52dc10
call fcn.0040ca34
test eax, eax
jne 0x46e855
mov eax, dword [esi + 0x58]
lea ecx, [edi + eax + 0x10]
push 0x52f454
call fcn.0040ca34
or dword [esp + 0x28], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402845
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add edi, 0x28
cmp eax, dword [esi + 0x5c]
jl 0x46e763
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46e88c
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x610
lea ebp, [esp - 4]
mov eax, dword [0x56f710]
xor eax, ebp
mov dword [ebp + 0x610], eax
push 0xc
mov eax, 0x4d5132
call fcn.004b6730
mov eax, dword [ebp + 0x61c]
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
xor eax, eax
mov dword [ebp - 4], esi
push 0x3fe
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.004b62d0
mov eax, dword [ebp + 0x620]
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp]
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x46e9a3
xor eax, eax
push 0x206
mov word [ebp + 0x400], ax
lea eax, [ebp + 0x402]
push esi
push eax
call fcn.004b62d0
mov esi, 0x5453a4
lea edi, [ebp + 0x608]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
xor bl, bl
lea edi, [ebp]
mov ax, word [edi]
mov word [ebp + 0x608], ax
push 0x104
lea eax, [ebp + 0x400]
push eax
lea eax, [ebp + 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x46e98f
lea eax, [ebp + 0x400]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x46e95a
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, 0x104
jae 0x46e98f
push esi
lea eax, [ebp + 0x400]
push eax
push dword [ebp - 0x14]
call fcn.004b5b4c
add esp, 0xc
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jne 0x46e9e4
mov ax, word [edi]
inc edi
inc edi
test ax, ax
jne 0x46e98f
test bl, bl
jne 0x46e9a3
cmp word [edi], 0
jne 0x46e92a
mov ecx, dword [ebp - 0x10]
push 0x52dc10
call fcn.0040254f
mov ecx, dword [ebp + 0x620]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x610]
xor ecx, ebp
call fcn.004b228f
add ebp, 0x614
leave
ret
call fcn.0049219b
push eax
lea ecx, [ebp - 0x18]
call fcn.00402802
mov eax, dword [ebp - 0x14]
lea eax, [eax + esi*2]
push eax
lea eax, [ebp + 0x608]
push eax
lea eax, [ebp - 0x18]
push str._s_s
push eax
mov byte [ebp - 4], 1
call fcn.00402a07
mov ecx, dword [ebp - 0x10]
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
call fcn.004022fa
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402845
jmp 0x46e9b0
Function at 0x47ae85
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x47aebb
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x47ad98
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov al, 1
jmp 0x47af4d
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x47af22
mov eax, dword [ebp - 0x18]
sub eax, 0
je 0x47af06
dec eax
je 0x47aeed
dec eax
je 0x47af06
dec eax
jne 0x47aeb4
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x64]
mov dword [esi], ecx
add eax, 0xfffffff0
jmp 0x47af1d
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x47aeb4
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x47af4b
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
jmp 0x47aeb4
xor al, al
pop edi
leave
ret