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

Disassembly:
mov eax, 0x5691d8
call fcn.004f894c
push ecx
mov eax, dword [0x64b640]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], eax
mov eax, dword [0x64b640]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], eax
mov eax, dword [0x64b640]
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00401dd7
push 4
mov edi, 0x6533b4
pop eax
lea ecx, [esi + 0x20]
push edi
mov byte [ebp - 4], 3
mov dword [esi], 0x57e8d4
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.0054fb4b
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0054fb4b
push edi
lea ecx, [esi + 0x34]
call fcn.0054fb4b
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x401e97
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x569248
call fcn.004f894c
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57e8d4
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57e8d8
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.0054f9b4
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.0054f9b4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.0054f9b4
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.0054f9b4
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.0054f9b4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x401ea3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x569248
call fcn.004f894c
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x57e8d4
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x57e8d8
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 3
call fcn.0054f9b4
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 2
call fcn.0054f9b4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.0054f9b4
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.0054f9b4
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.0054f9b4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x412d9e
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x56a1b4
call fcn.004f894c
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x10], esi
call fcn.0054fa28
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x10]
add eax, 0xffffffed
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
cmp eax, 0xffffffff
jne 0x412e57
push dword [ebp + 0x14]
push edi
push 0x1057
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x18], edi
mov dword [ebx], eax
je 0x412e0b
mov esi, dword [ebp - 0x18]
mov ecx, esi
sub ecx, eax
sub ecx, 0xc
mov dword [ebp - 0x20], ecx
jmp 0x412e15
mov ecx, dword [ebp - 0x20]
lea esi, [eax + ecx + 0xc]
mov dword [ebp - 0x18], esi
mov eax, esi
push 4
sub eax, ecx
pop edi
mov dword [ebp + 0x10], eax
cdq
idiv edi
test edx, edx
je 0x412e51
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x10]
je 0x412e42
add eax, edi
push edi
cdq
pop ecx
idiv ecx
mov ecx, esi
shl eax, 2
sub ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x412e51
add eax, 4
push 4
cdq
pop esi
idiv esi
lea esi, [ecx + eax*4]
mov dword [ebp - 0x18], esi
sub esi, ecx
mov dword [ebx], esi
jmp 0x412e6e
cmp dword [ebp + 0x18], edi
je 0x412e66
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x412e6e
mov ecx, dword [ebp - 0x20]
add eax, ecx
mov dword [ebp - 0x18], eax
sub esp, 0x10
lea esi, [ebp - 0x20]
mov edi, esp
mov ecx, dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push esi
call fcn.00412d1a
mov eax, dword [esi]
push 0x202020
mov ecx, esi
call dword [eax + 0x30]
dec dword [ebp - 0x14]
mov edx, dword [esi]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x20]
push 0x8825
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esi]
push dword [ebp + 0x18]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
or dword [ebp - 4], 0xffffffff
and ecx, 0xfffffffe
add ecx, 6
add ecx, dword [ebx]
add dword [eax], ecx
lea ecx, [ebp + 0x14]
call fcn.0054f9b4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18
Function at 0x41aeb1
Capabilities:
Check os version

Disassembly:
mov eax, 0x56aa03
call fcn.004f894c
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.005548a4
mov eax, dword [0x64b640]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x583470
jne 0x41af37
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.004f8970
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 0x41af30
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x41af37
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.004f95ce
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x41af4c
call fcn.0054d549
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0041b111
push eax
call fcn.004f8970
push 0x200002
call fcn.0054ffa3
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.0041b111
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0041b111
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0041b111
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0041b111
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0041b111
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0041b111
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0041b111
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x41b009
mov ecx, esi
call fcn.0041b111
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.00564020
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0041b111
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0041b111
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x41ad3a
je 0x41b042
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x41b081
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.0054fb4b
push ebx
mov ecx, edi
call fcn.0054fdf9
push 0x7c
push eax
call fcn.004f95a5
pop ecx
cmp eax, ebx
pop ecx
je 0x41b074
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x41b05e
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0041b111
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 0x41c8e2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56abc0
call fcn.004f894c
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0054fa28
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x41c91c
push eax
mov ecx, esi
call fcn.005532af
or ebx, 0xffffffff
jmp 0x41c9ae
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41c98e
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.0054e88b
cmp dword [ebp - 0x10], edi
jge 0x41c978
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c978
push edi
push 1
push dword [ebp + 8]
call fcn.0041f436
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 0x41c99c
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.0054f9b4
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41d9d1
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 0x41d9ed
xor eax, eax
jmp 0x41d9f7
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
pop edi
pop esi
ret

Function at 0x41dd0e
Capabilities:
Read clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x6533b4
mov ecx, edi
call fcn.0054fb4b
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41dd40
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x41dd44
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x41dd6b
push eax
mov ecx, edi
call fcn.0054fb4b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x10], 0
je 0x41dd68
mov ecx, edi
call fcn.0054cd7b
mov ecx, edi
call fcn.0054ccef
push 1
pop eax
pop edi
pop esi
ret 8
Function at 0x41de28
Capabilities:
Copy file

Disassembly:
mov eax, 0x56ad94
call fcn.004f894c
mov eax, 0x1024
call fcn.004f8e70
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.0054fa28
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x41de78
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0041ec53
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0054fafb
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.0054f9b4
push dword [ebp - 0x10]
call fcn.0041eec8
cmp eax, 0xffffffff
pop ecx
jne 0x41de8d
push 0xfffffffffffffffe
jmp 0x41df53
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.004f89c8
lea eax, [ebp - 0x830]
push eax
call fcn.004f8cd2
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.004f95a5
add esp, 0x18
cmp eax, ebx
je 0x41dede
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.004f95a5
pop ecx
pop ecx
jmp 0x41dec8
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.004f89c8
lea eax, [ebp - 0x1030]
push eax
call fcn.004f8cd2
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.004f8970
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 0x41df4c
or ebx, 0xffffffff
jmp 0x41df54
cmp dword [ebp - 0x1e], ebx
je 0x41df54
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0054f9b4
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41e021
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.004f89c8
lea eax, [ebp - 0x820]
push eax
call fcn.004f8cd2
and word [ebp + eax*2 - 0x81e], 0
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.004f8970
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 0x41e094
or eax, 0xffffffff
leave
ret
xor eax, eax
cmp dword [ebp - 0xe], eax
setne al
leave
ret
Function at 0x41e920
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push esi
jne 0x41e94e
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 0x41e99d
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 0x41e99b
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 0x41e99b
test esi, esi
jne 0x41e99b
push 1
pop eax
jmp 0x41e99d
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41e9a2
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.004f8cef
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
test eax, eax
je 0x41ea1e
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 0x41ea1e
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 0x41e9fb
push 1
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x41ea1e
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push esi
call fcn.004f9708
pop ecx
pop ecx
jmp 0x41e9c2
push esi
call fcn.004f90a4
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret 8
Function at 0x41ea4f
Capabilities:
Get file version info

Disassembly:
mov eax, 0x56af24
call fcn.004f894c
sub esp, 0x50
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 0x10], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, edi
je 0x41eaf1
mov esi, 0x584278
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
jbe 0x41ea96
push ebx
lea ecx, [ebp - 0x28]
call fcn.0041eb60
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x10]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41eadd
push 0x34
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.004f8970
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
push eax
lea eax, [ebp - 0x18]
push eax
push 0x5bbf9c
push dword [ebp - 0x20]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41eb07
cmp dword [ebp - 0x14], 0x34
je 0x41eaf6
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
je 0x41eaf1
lea ecx, [ebp - 0x28]
call fcn.0041eb9e
or eax, 0xffffffff
jmp 0x41eb3f
push 0x34
lea eax, [ebp - 0x5c]
push dword [ebp - 0x18]
push eax
call fcn.004f9270
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp + 0xc]
shr ecx, 0x10
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
movzx ecx, word [ebp - 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x50]
shr ecx, 0x10
cmp dword [ebp - 0x24], edi
mov dword [eax + 8], ecx
movzx ecx, word [ebp - 0x50]
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x28], esi
je 0x41eb3d
lea ecx, [ebp - 0x28]
call fcn.0041eb9e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41f0b3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56afcf
call fcn.004f894c
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.0054fa28
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.0054cd38
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
call fcn.0054fa28
mov eax, dword [0x64b640]
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.0054cc49
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x41f134
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.0054f721
mov dword [ebp - 0x1c], ebx
jmp 0x41f18a
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.0054cc49
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.0054cc49
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x41f177
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41f140
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.0054f721
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0054f9b4
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.0054f9b4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0054f9b4
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 0x41f1c0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56b00b
call fcn.004f894c
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.0054fa28
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.0054cd38
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0054fa28
mov eax, dword [0x64b640]
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.0054cc49
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
jne 0x41f241
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.0054f721
mov dword [ebp - 0x1c], ebx
jmp 0x41f297
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.0054cc49
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.0054cc49
add esp, 0x14
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x41f284
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x41f24d
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.0054f721
mov dword [ebp - 0x1c], 1
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.0054f9b4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0054f9b4
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0054f9b4
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 0x41f382
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.004f8970
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0xc
lea eax, [esp + 0x10]
mov ebp, 0x5bd44c
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 0x41f40b
test eax, eax
je 0x41f40b
push ecx
lea ecx, [esi + 0xc]
call fcn.0054df39
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.0054df39
push 0xffffffffffffffff
push dword [esi + 0x18]
call edi
xor eax, eax
jmp 0x41f40e
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret
Function at 0x41f436
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.004f8970
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 0x41f477
inc ecx
cmp dword [ebp + 0x10], 0
je 0x41f480
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 0x41f49d
or eax, 0xffffffff
leave
ret
mov eax, dword [ebp - 0x2b0]
leave
ret

Function at 0x41f543
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x56b060
call fcn.004f894c
push ecx
push ecx
push ebx
push 0x6533b4
lea ecx, [ebp - 0x10]
call fcn.0054fa28
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041eda3
pop ecx
test eax, eax
pop ecx
je 0x41f57f
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0054fb4b
mov eax, dword [0x64b640]
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.0054cc49
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.0054f9b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0054f9b4
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41f5d8
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x56b07c
call fcn.004f894c
push ecx
push ecx
push ebx
push 0x6533b4
lea ecx, [ebp - 0x10]
call fcn.0054fa28
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041eda3
pop ecx
test eax, eax
pop ecx
je 0x41f614
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0054fb4b
mov eax, dword [0x64b640]
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.0054cc49
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.0054f9b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0054f9b4
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret