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

Disassembly:
mov eax, 0x563bf0
call fcn.0052efe4
push ecx
mov eax, dword [0x64b44c]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x1c], eax
mov eax, dword [0x64b44c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x28], eax
mov eax, dword [0x64b44c]
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.004025c1
push 4
mov edi, 0x64fd0c
pop eax
lea ecx, [esi + 0x1c]
push edi
mov byte [ebp - 4], 3
mov dword [esi], 0x579a6c
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call fcn.0054caeb
push edi
lea ecx, [esi + 0x28]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call fcn.0054caeb
push edi
lea ecx, [esi + 0x2c]
call fcn.0054caeb
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40ca68
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x564874
call fcn.0052efe4
sub esp, 0xc
mov eax, dword [0x64b44c]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004276a2
pop ecx
push dword [esi + 4]
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x10]
push 0x5b8244
push eax
call fcn.00548b6f
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0054c954
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40cac7
or ebx, 0xffffffff
jmp 0x40cb09
push 0x64fd0c
lea ecx, [ebp - 0x14]
call fcn.0054c9c8
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push str._s__c___s_
push eax
call fcn.00548b6f
add esp, 0xc
push ebx
push ebx
push dword [ebp - 0x14]
push str.regsvr32.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0054c954
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0054c954
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40cb25
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x564888
call fcn.0052efe4
sub esp, 0xc
mov eax, dword [0x64b44c]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
push str.4KConverter
push str.4KSoftware
lea eax, [ebp - 0x14]
xor esi, esi
push 0x5b8cdc
push eax
mov dword [ebp - 4], esi
call fcn.00548b6f
add esp, 0x10
mov ebx, 0x20006
mov edi, SysReAllocString
lea ecx, [ebp - 0x10]
push ebx
push str.ShellExContextMenuHandlers
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
call fcn.0040ca2a
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40cbac
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40cb9d
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], 0
je 0x40cbac
push dword [ebp - 0x10]
call esi
and dword [ebp - 0x10], 0
push ebx
push str.FolderShellExContextMenuHandlers
push edi
lea ecx, [ebp - 0x10]
call fcn.0040ca2a
test eax, eax
jne 0x40cbe1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40cbd2
inc dword [ebp - 0x18]
cmp dword [ebp - 0x10], 0
je 0x40cbf0
push dword [ebp - 0x10]
call esi
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
je 0x40cbf0
push dword [ebp - 0x10]
call esi
and dword [ebp - 0x10], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0054c954
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40d586
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [esi]
push edi
call dword [eax + 0xc8]
push dword [eax + 0x69c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d5d2
push 3
mov dword [esi + 0x11c], edi
call fcn.0040cc5e
pop ecx
mov dword [esi + 0x120], eax
push 0
push edi
push 0x1076
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.0054d462
pop edi
pop esi
ret 4

Function at 0x414b46
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x57cf70
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.0052f0f0
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.00414ed4
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x415757
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.0052f0f0
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4
Function at 0x41986b
Capabilities:
Check os version

Disassembly:
mov eax, 0x5657af
call fcn.0052efe4
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.00550816
mov eax, dword [0x64b44c]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x57e298
jne 0x4198f1
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.0052f0f0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x4198ea
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x4198f1
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0052fbd5
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x419906
call fcn.005492a0
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.00419acb
push eax
call fcn.0052f0f0
push 0x200002
call fcn.0054c68d
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.00419acb
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.00419acb
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.00419acb
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.00419acb
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.00419acb
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.00419acb
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.00419acb
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x4199c3
mov ecx, esi
call fcn.00419acb
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.00560268
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.00419acb
mov ecx, esi
mov dword [eax + 8], edi
call fcn.00419acb
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x4196f4
je 0x4199fc
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x419a3b
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.0054caeb
push ebx
mov ecx, edi
call fcn.0054cd99
push 0x7c
push eax
call fcn.0052fbac
pop ecx
cmp eax, ebx
pop ecx
je 0x419a2e
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x419a18
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.00419acb
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x41ba72
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x565a4c
call fcn.0052efe4
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0054c9c8
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x41baac
push eax
mov ecx, esi
call fcn.005501fd
or ebx, 0xffffffff
jmp 0x41bb3e
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41bb1e
mov eax, dword [esi]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0xd4]
push ebx
mov ecx, esi
call fcn.0054a6e9
cmp dword [ebp - 0x10], edi
jge 0x41bb08
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bb08
push edi
push 1
push dword [ebp + 8]
call fcn.0041f85e
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax + 0xd8]
jmp 0x41bb2c
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xf0]
mov ebx, eax
push edi
push ebx
push 0x14e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0054c954
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41ca91
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x565b80
call fcn.0052efe4
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00556c4b
cmp dword [esi], 0
mov ebx, eax
je 0x41cade
lea eax, [ebp - 0x8c]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x8c]
push eax
call fcn.00431a08
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x41cb11
mov eax, dword [ebp + 0x10]
push 1
push 1
push 0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.0043180f
add esp, 0x18
push dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
call fcn.00555ea9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0054c954
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x41cfe7
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
push edi
push edi
call esi
cmp eax, edi
jne 0x41d003
xor eax, eax
jmp 0x41d00d
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
pop edi
pop esi
ret
Function at 0x41e2c8
Capabilities:
Read clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x64fd0c
mov ecx, edi
call fcn.0054caeb
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41e2fa
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x41e2fe
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x41e325
push eax
mov ecx, edi
call fcn.0054caeb
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x10], 0
je 0x41e322
mov ecx, edi
call fcn.00548ca1
mov ecx, edi
call fcn.00548c15
push 1
pop eax
pop edi
pop esi
ret 8

Function at 0x41e3e2
Capabilities:
Copy file

Disassembly:
mov eax, 0x565d04
call fcn.0052efe4
mov eax, 0x1024
call fcn.0052feb0
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.0054c9c8
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x41e432
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0041f07b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0054ca9b
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0054c954
push dword [ebp - 0x10]
call fcn.0041f2f0
cmp eax, 0xffffffff
pop ecx
jne 0x41e447
push 0xfffffffffffffffe
jmp 0x41e50d
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.0052f148
lea eax, [ebp - 0x830]
push eax
call fcn.0052fb8f
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.0052fbac
add esp, 0x18
cmp eax, ebx
je 0x41e498
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.0052fbac
pop ecx
pop ecx
jmp 0x41e482
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.0052f148
lea eax, [ebp - 0x1030]
push eax
call fcn.0052fb8f
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0052f0f0
mov eax, dword [ebp + 0x18]
add esp, 0x1c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x24], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop esi
je 0x41e506
or ebx, 0xffffffff
jmp 0x41e50e
cmp dword [ebp - 0x1e], ebx
je 0x41e50e
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0054c954
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41e5db
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push 0x3ff
lea eax, [ebp - 0x820]
push dword [ebp + 8]
push eax
call fcn.0052f148
lea eax, [ebp - 0x820]
push eax
call fcn.0052fb8f
and word [ebp + eax*2 - 0x81e], 0
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.0052f0f0
mov eax, dword [ebp + 0x10]
add esp, 0x1c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x18], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x41e64e
or eax, 0xffffffff
leave
ret
xor eax, eax
cmp dword [ebp - 0xe], eax
setne al
leave
ret

Function at 0x41eeda
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push esi
jne 0x41ef08
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
neg eax
sbb eax, eax
inc eax
jmp 0x41ef57
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41ef55
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41ef55
test esi, esi
jne 0x41ef55
push 1
pop eax
jmp 0x41ef57
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41ef5c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
push dword [ebp + 0xc]
call fcn.0052f2f2
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
test eax, eax
je 0x41efd8
and word [eax], 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41efd8
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x105
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x41efb5
push 1
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x41efd8
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push esi
call fcn.0052fd0f
pop ecx
pop ecx
jmp 0x41ef7c
push esi
call fcn.0052f688
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret 8
Function at 0x41f4db
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x565f2b
call fcn.0052efe4
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.0054c9c8
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.00548c5e
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
call fcn.0054c9c8
mov eax, dword [0x64b44c]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.00548b6f
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x41f55c
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.0054c6c1
mov dword [ebp - 0x1c], ebx
jmp 0x41f5b2
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.00548b6f
add esp, 0x10
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.00548b6f
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x41f59f
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41f568
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.0054c6c1
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0054c954
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.0054c954
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0054c954
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41f5e8
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x565f67
call fcn.0052efe4
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.0054c9c8
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.00548c5e
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0054c9c8
mov eax, dword [0x64b44c]
mov dword [ebp + 0x14], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.00548b6f
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
jne 0x41f669
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.0054c6c1
mov dword [ebp - 0x1c], ebx
jmp 0x41f6bf
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00548b6f
add esp, 0x10
lea eax, [ebp + 0x14]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
push eax
call fcn.00548b6f
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x41f6ac
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41f675
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.0054c6c1
mov dword [ebp - 0x1c], 1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.0054c954
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0054c954
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0054c954
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41f7aa
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov edi, 0x2b4
mov esi, ecx
push edi
push 0
push eax
call fcn.0052f0f0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0xc
lea eax, [esp + 0x10]
mov ebp, 0x5b9890
push 0x4001
push edi
push eax
push 0
push ebp
call ebx
mov dword [esi + 4], eax
push 0x4000
lea eax, [esp + 0x14]
push edi
push eax
push 0
push ebp
call ebx
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
test ecx, ecx
je 0x41f833
test eax, eax
je 0x41f833
push ecx
lea ecx, [esi + 0xc]
call fcn.00549dcd
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push 0xffffffffffffffff
push dword [esi + 0x10]
call edi
push dword [esi + 8]
lea ecx, [esi + 0x14]
call fcn.00549dcd
push 0xffffffffffffffff
push dword [esi + 0x18]
call edi
xor eax, eax
jmp 0x41f836
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret
Function at 0x41f85e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push esi
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.0052f0f0
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
neg eax
sbb eax, eax
mov ecx, 0x4010
and al, 0x90
add eax, 0x80
cmp dword [ebp + 0xc], 0
je 0x41f89f
inc ecx
cmp dword [ebp + 0x10], 0
je 0x41f8a8
or ecx, 2
push ecx
lea ecx, [ebp - 0x2b4]
push esi
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop esi
jne 0x41f8c5
or eax, 0xffffffff
leave
ret
mov eax, dword [ebp - 0x2b0]
leave
ret

Function at 0x41f96b
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x565fbc
call fcn.0052efe4
push ecx
push ecx
push ebx
push 0x64fd0c
lea ecx, [ebp - 0x10]
call fcn.0054c9c8
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041f1cb
pop ecx
test eax, eax
pop ecx
je 0x41f9a7
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0054caeb
mov eax, dword [0x64b44c]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._select___s_
push eax
call fcn.00548b6f
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x14]
push str.explorer.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0054c954
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0054c954
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41fa00
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x565fd8
call fcn.0052efe4
push ecx
push ecx
push ebx
push 0x64fd0c
lea ecx, [ebp - 0x10]
call fcn.0054c9c8
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041f1cb
pop ecx
test eax, eax
pop ecx
je 0x41fa3c
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0054caeb
mov eax, dword [0x64b44c]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._e___s_
push eax
call fcn.00548b6f
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x14]
push str.explorer.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0054c954
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0054c954
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret