joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5017c9
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CMyMessageBox.0
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
lea ebx, [esi + 0x20]
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x1c], 1
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], vtable.WTL::CMessageFilter.0
mov dword [esi + 0x54], vtable.CTransparentWnd_class_CShadow_.0
mov dword [esi + 0x58], edi
mov dword [esi + 0x64], edi
mov byte [esi + 0x60], 0xff
mov dword [esi + 0x5c], edi
mov dword [esi + 0x2c], vtable.CShadow.0
mov dword [esi + 0x50], vtable.CShadow.1.0
mov dword [esi + 0x54], vtable.CShadow.2.0
mov byte [esp + 0x1c], 3
cmp ebp, edi
jne 0x4bb766
xor eax, eax
jmp 0x4bb77f
mov eax, ebp
lea edx, [eax + 2]
jmp 0x4bb770
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4bb770
sub eax, edx
sar eax, 1
push eax
push ebp
mov eax, ebx
call fcn.00401560
mov edx, dword [esp + 0x28]
cmp edx, edi
jne 0x4bb794
xor eax, eax
jmp 0x4bb7af
mov eax, edx
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4bb7a0
sub eax, ebx
sar eax, 1
push eax
push edx
lea eax, [esi + 0x24]
call fcn.00401560
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x28], ecx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x4be830
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
mov ecx, dword [esi + 4]
push ebx
push ebp
push edi
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea ebx, [eax - 1]
mov dword [esp + 0x10], edx
mov edx, ebx
sub edx, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
add eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x28]
push eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4be926
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
push 0
test eax, eax
jne 0x4be8f2
mov edx, dword [esi + 0x4c]
push eax
push 0x18b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
mov eax, 0x12
call fcn.0041cd00
mov edi, eax
mov eax, 2
imul edi, ebp
call fcn.0041cd00
add edi, eax
mov eax, dword [esi + 0xe8]
cmp eax, 0xffffffff
je 0x4be8cc
cmp edi, eax
jle 0x4be8cc
mov edi, eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x28]
push 4
push edi
push eax
push ebx
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x28]
push 5
push eax
jmp 0x4be8f6
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x4bff30
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x502800
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CNBProgressBar.0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0x64
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov byte [esp + 0x14], 4
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esi + 0x6c], eax
mov byte [esp + 0x14], 5
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esi + 0x70], eax
mov byte [esp + 0x14], 6
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esi + 0x74], eax
mov byte [esp + 0x14], 7
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esi + 0x78], eax
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push ecx
mov ecx, 0x519494
mov byte [esp + 0x1c], 8
call fcn.00401640
call fcn.00488f70
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4c0570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fec85
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x78], 0
mov eax, dword [edi + 4]
lea ecx, [esp + 0x2c]
lea ebp, [edi + 4]
push ecx
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x24], eax
mov byte [esp + 0x78], 1
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push ebp
lea esi, [esp + 0x14]
mov byte [esp + 0x7c], 2
call fcn.0041c140
mov edx, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x24]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [edi + 0x28], 0
jne 0x4c063c
mov edx, dword [ebp]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x28], eax
mov edi, dword [edi + 0x28]
mov eax, dword [esp + 0x24]
push edi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp]
push 0xfffffffffffffff0
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ecx, ecx
test al, 2
je 0x4c0664
mov ecx, 2
test al, 1
je 0x4c066b
or ecx, 1
test eax, 0x8000
je 0x4c0678
or ecx, 0x4000
mov edx, eax
and edx, 0xc000
cmp edx, 0xc000
jne 0x4c068e
or ecx, 0x40000
test eax, 0x4000
je 0x4c069b
or ecx, 0x8000
test eax, 0x200
je 0x4c06a5
or ecx, 0x24
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0x24]
or ecx, 0x10
push ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
test edi, edi
je 0x4c06d2
mov eax, dword [esp + 0x24]
push edi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esi - 0x10]
mov byte [esp + 0x78], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c06f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004e3edb
add esp, 0x6c
ret 4
Function at 0x4c21c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [edi + 8]
sub esp, 8
test eax, eax
je 0x4c22c0
mov ecx, dword [edi + 0x10]
push ebx
push ebp
push esi
push 1
push ecx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
movzx edx, word [edi]
mov eax, dword [edi + 4]
push 5
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
mov ecx, ebp
call fcn.004c1be0
mov ebx, eax
mov eax, ebp
mov dword [esp + 0xc], 0
call fcn.004c1bc0
xor edx, edx
cmp dx, word [eax]
jae 0x4c22a1
mov esi, dword [esp + 0x10]
lea ecx, [ecx]
cmp dword [esp + 0xc], 0
jne 0x4c223f
mov eax, dword [edi + 8]
push 5
push eax
jmp 0x4c2242
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x4c229d
mov edi, edi
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, dword [ebx + 0x14]
je 0x4c226d
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4c2250
jmp 0x4c229d
test esi, esi
je 0x4c229d
mov ecx, dword [edi + 0x10]
push 1
push ecx
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
call fcn.004c1c80
inc dword [esp + 0xc]
mov ebx, eax
mov eax, ebp
call fcn.004c1bc0
movzx edx, word [eax]
cmp dword [esp + 0xc], edx
jl 0x4c2230
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [edi + 0xc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
xor eax, eax
pop ebp
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
pop ebx
add esp, 8
ret
Function at 0x4c2d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x506508
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [esp + 0x34]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], eax
push edx
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [edi + 0x18]
push ecx
call fcn.004c53a0
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
call fcn.00401640
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2c], 0
call fcn.0041ca50
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c2dcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x24
ret 8

Function at 0x4c2f90
Capabilities:
Set registry value

Disassembly:
sub esp, 0x6c
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x68], eax
push 0x66
lea eax, [esp + 4]
push 0
push eax
call fcn.004e8fe0
mov ecx, dword [esp + 0x7c]
push ecx
push 0x5120d0
lea edx, [esp + 0x14]
push 0x32
push edx
call fcn.004e5398
lea eax, [esp + 0x1c]
add esp, 0x1c
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c2fd0
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 4]
push ecx
push 1
push str.Shell_Icon_Size
push str.Control_PanelDesktopWindowMetrics
push SHChangeNotifyDeregister
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
push str.WindowMetrics
push 0x2a
push 0x1a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x40dc]
test eax, eax
je 0x4c3025
push 1
call eax
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004e3edb
add esp, 0x6c
ret 4

Function at 0x4c3040
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x74
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x70], eax
xor eax, eax
push 0x62
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.004e8fe0
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.Shell_Icon_Size
push str.Control_PanelDesktopWindowMetrics
push SHChangeNotifyDeregister
mov dword [esp + 0x1c], 0x62
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c30ce
lea edx, [esp]
push edx
lea eax, [esp + 0x10]
push 0x5120d0
push eax
call fcn.004e52d8
mov eax, dword [esp + 0xc]
add esp, 0xc
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004e3edb
add esp, 0x74
ret
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004e3edb
add esp, 0x74
ret
Function at 0x4c3310
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x502718
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4c334b
cmp eax, dword [esp + 0x20]
je 0x4c334b
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x20]
push 0x4609
push 0x2b4
lea ecx, [esi + 0x14]
push ecx
push 0
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea edx, [esi + 0x20]
lea eax, [esi + 0x2cc]
test edx, edx
jne 0x4c337a
xor ecx, ecx
jmp 0x4c338f
mov ecx, edx
lea ebp, [ecx + 2]
nop
mov di, word [ecx]
add ecx, 2
test di, di
jne 0x4c3380
sub ecx, ebp
sar ecx, 1
push ecx
push edx
call fcn.00401560
mov eax, dword [esi + 0x2c8]
lea edi, [esi + 0x2c8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x4c33c5
mov ecx, 0x104
mov eax, edi
call fcn.004014d0
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4c3455
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4c33ee
push ecx
push eax
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x4c344b
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4c344b
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [edi]
shr ebx, 0x19
and ebx, 0x10
push eax
mov dword [esi + 0x2d4], ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ebx, [esi + 0x2d0]
test eax, eax
jne 0x4c342c
xor ecx, ecx
push ecx
push eax
mov eax, ebx
call fcn.00401560
jmp 0x4c345f
mov ecx, eax
lea ebp, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4c3431
sub ecx, ebp
sar ecx, 1
push ecx
push eax
mov eax, ebx
call fcn.00401560
jmp 0x4c345f
push 0x80070057
call fcn.00401540
mov dword [esi + 0x2d4], 0xffffffff
mov edi, dword [edi]
cmp dword [edi - 0xc], 0
jne 0x4c3481
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 8
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x24], esp
mov ebx, esp
call fcn.004048c0
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x1c], 0
call fcn.004c30f0
mov dword [esp + 0x1c], 0xffffffff
call fcn.004c3160
mov byte [esi + 0xc], al
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x4c3960
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x503fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esi + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x4c399c
cmp eax, edi
je 0x4c399c
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x408
push 0x2b4
lea eax, [esi + 0x14]
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
push ebp
push eax
mov dword [esi + 0x10], edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [esp + 0x18]
push 0x12d
push ecx
call fcn.00433510
add esp, 8
lea edi, [esi + 0x2cc]
mov dword [esp + 0x2c], ebp
call fcn.00404930
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c3a06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x2c8]
lea edi, [esi + 0x2c8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x4c3a35
mov ecx, 0x104
mov eax, edi
call fcn.004014d0
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4c3a94
mov eax, dword [edi]
mov ecx, dword [eax - 8]
cmp eax, ebp
jne 0x4c3a53
xor eax, eax
jmp 0x4c3a61
push ecx
push eax
call fcn.004e4d4d
add esp, 8
cmp eax, ebp
jl 0x4c3a8a
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4c3a8a
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
lea ebx, [esi + 0x2d4]
push ebx
mov word [ecx + eax*2], dx
mov eax, dword [edi]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x4c3aa0
jmp 0x4c3a9a
push 0x80070057
call fcn.00401540
lea ebx, [esi + 0x2d4]
mov dword [ebx], 0xffffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi]
push ecx
mov dword [esp + 0x1c], ebp
sub eax, 0x10
mov dword [esp + 0x28], esp
mov ebp, esp
call fcn.004048c0
add eax, 0x10
mov dword [ebp], eax
mov ecx, dword [ebx]
push ecx
call fcn.004c29f0
test eax, eax
je 0x4c3ad5
mov edx, dword [esp + 0x14]
mov dword [esi + 0x18], edx
jmp 0x4c3af5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4c3af5
push 0x4009
push 0x2b4
push eax
mov eax, dword [esp + 0x40]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4c3c00
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x5026e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebx + 0x10]
xor eax, eax
push 0x30
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.004e8fe0
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c3c54
sub eax, edx
sar eax, 1
cmp eax, 0xc8
jle 0x4c3cac
mov ecx, 0x3a
mov edx, 0x43
mov word [esp + 0x16], cx
mov word [esp + 0x14], dx
mov ecx, 0x5f
mov edx, 0x5c
mov word [esp + 0x1a], cx
mov word [esp + 0x18], dx
lea esi, [esi + eax*2 - 0x28]
mov ecx, 0xa
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov word [esp + 0x44], dx
lea esi, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
push 0x4411
push 0x2b4
lea eax, [ebx + 0x78]
push eax
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push ecx
mov edx, esp
mov dword [esp + 0x14], esp
push edx
mov ecx, esi
call fcn.00401640
mov dword [esp + 0x58], 0
call fcn.004c30f0
mov dword [esp + 0x58], 0xffffffff
call fcn.004c3160
mov byte [ebx + 0xc], al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004e3edb
add esp, 0x48
ret 4
Function at 0x4c3d20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50537a
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebp
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CShellListView.0
lea edi, [esi + 0x24]
mov dword [edi], vtable.CShellListView.1.0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x3c], 1
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esi + 0x4c], eax
mov byte [esp + 0x1c], 1
mov dword [esi + 0x50], ebx
mov eax, 0x7ff
sub eax, 1
mov dword [esi + eax*4 + 0x58], ebx
jns 0x4c3db1
mov dword [esi + 0x2054], ebx
mov eax, 0x7ff
jmp 0x4c3dd0
sub eax, 1
mov dword [esi + eax*4 + 0x205c], ebx
jns 0x4c3dd0
lea eax, [esi + 0x4058]
push eax
call fcn.004aa8a0
lea eax, [esi + 0x4078]
push eax
mov byte [esp + 0x20], 2
call fcn.004aa8a0
lea eax, [esi + 0x4098]
push eax
mov byte [esp + 0x20], 3
call fcn.004c3ee0
mov dword [esi + 0x40dc], ebx
mov dword [esi + 0x40e4], ebx
mov dword [esi + 0x40f4], ebx
mov dword [esi + 0x40f8], ebx
mov dword [esi + 0x40fc], ebx
mov dword [esi + 0x4100], ebp
mov dword [esi + 0x40e0], 0x5110d0
mov dword [esi + 0x4110], 0xffffffff
push 1
push ebx
push 0x20
push 0x60
push 0x60
mov byte [esp + 0x30], 5
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi + 0x48], eax
call fcn.0048c150
mov dword [eax + 0x24], 0x4c4bf0
mov dword [eax + 0x28], 0x4c4cf0
call fcn.004345d0
push 0x516d94
mov dword [eax + 0x28], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
je 0x4c3e95
push 0x294
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x40dc], eax
push ebx
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x40], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x4c43b0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2c0
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x2bc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2cc]
push esi
push edi
mov edi, ecx
cmp ebp, dword [edi + 0x44]
je 0x4c44a5
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push eax
call ebx
mov ecx, dword [edi + 4]
push 0xffffffffffffffec
mov esi, eax
push ecx
and esi, 0xfffffffc
call ebx
cmp ebp, 1
jne 0x4c445f
push 0x2b0
lea edx, [esp + 0x18]
push 0
push edx
or esi, ebp
mov dword [esp + 0x1c], 0
call fcn.004e8fe0
add esp, 0xc
call fcn.00445420
mov eax, dword [eax + 4]
push 0x4009
push 0x2b4
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebp
push 0x1003
push edx
call ebx
mov eax, dword [edi + 4]
push 0x20
push 0x9820
push 0x1036
push eax
call ebx
jmp 0x4c4495
cmp ebp, 2
jne 0x4c4495
mov ecx, dword [edi + 0x48]
mov edx, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push 0
push 0x1003
push edx
call ebx
mov eax, dword [edi + 4]
push 0x9800
push 0x9820
push 0x1036
push eax
call ebx
call fcn.004c4d30
mov ecx, dword [edi + 4]
push esi
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [edi + 0x44], ebp
mov ecx, dword [esp + 0x2cc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e3edb
add esp, 0x2c0
ret 4