joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10094dd3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x234
mov eax, 0x1017e695
call fcn.1014f0f3
mov ebx, ecx
mov dword [ebp - 0x224], ebx
and dword [ebp - 0x228], 0
call fcn.10024e5d
push 0
mov ecx, dword [eax + 4]
call fcn.10014a47
mov edi, eax
xor eax, eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov eax, dword [ebx]
mov byte [ebp - 4], 1
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call dword [0x10188a08]
mov ecx, ebx
call esi
push 0x2001f
lea ecx, [ebp - 0x234]
push dword [eax]
push edi
call fcn.10094b84
mov ecx, dword [ebp - 0x21c]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.10001e9f
test esi, esi
jne 0x10094fc5
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.101511d0
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x21c]
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x114]
push eax
push ecx
jmp 0x10094f61
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc ebx
mov byte [ebp - 0x218], 0
call fcn.101511d0
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10094d74
test eax, eax
jne 0x10094f4c
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ecx + 4]
call fcn.10093be2
mov esi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.1015a500
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10005a3a
mov dword [ebp - 0x228], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x10094eb9
test edi, edi
je 0x10094f83
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x234], edi
mov ebx, dword [ebp - 0x224]
and dword [ebp - 0x230], 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
call dword [0x10188a08]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x240]
push dword [eax]
call fcn.10094433
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.10001e9f
jmp 0x10094fcb
mov edi, dword [ebp - 0x234]
test edi, edi
je 0x10094fd6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x240]
call fcn.10014a2d
mov eax, dword [ebp - 0x228]
call fcn.1014f0a2
ret
Function at 0x10097079
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x100970a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100970a9
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.10004dbd
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.10111460
int3

Function at 0x10097384
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x10097395
xor eax, eax
jmp 0x100973b1
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100973b6
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.10004dbd
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.10111460
int3

Function at 0x10097454
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10188a08]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x10097487
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.10004dbd
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.10111460
int3

Function at 0x1009755b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x10097586
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1009758c
cmp dword [ebp - 4], esi
jne 0x100975a3
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.10004dbd
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.10111460
lea ecx, [edi + 0xc]
call fcn.10004dbd
push eax
push 0xffffffffffffffff
push 0xd
call fcn.101110b6
int3
Function at 0x100abb61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x100abbb7
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x100abb90
call fcn.1001a36a
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x100abba5
call fcn.1001a36a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x100abbb7
call fcn.1001a36a
call fcn.10024e5d
cmp dword [eax + 0x3c], 0
je 0x100abbcc
push esi
mov ecx, ebx
call fcn.100ab287
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.100abdb6
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x100abbf5
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x100abc01
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100acb2d
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x101dbe80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x100acb59
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100acb84
cmp dword [0x101e2ddc], 0
jne 0x100acb84
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x100acb80
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x100acb80
push edi
call fcn.1015d8e1
pop ecx
jmp 0x100acbf9
mov eax, edi
jmp 0x100acbf9
xor eax, eax
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x100acc08
push esi
call fcn.10006d11
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push esi
push 1
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1014f080
leave
ret 4
call fcn.100197b1
int3
Function at 0x100ce819
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100ce846
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x100ce85b
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100ce85b
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.1001df23
jmp 0x100ce92c
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.1001df23
cmp eax, edi
jne 0x100ce936
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x100ce8c8
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x100ce90c
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x100ce936
cmp eax, 0x205
je 0x100ce936
cmp eax, 0x201
je 0x100ce936
cmp eax, 0x204
je 0x100ce936
cmp eax, 0x100
jne 0x100ce8f4
cmp dword [ebp - 0x18], 0x1b
je 0x100ce936
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x100ce92c
ja 0x100ce925
cmp eax, dword [0x101e4494]
jbe 0x100ce92c
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x100ce87d
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100cf92f
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x100cf965
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.1000690c
test eax, eax
je 0x100cf94d
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x100d6e3a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101db690], 0
push esi
push edi
je 0x100d6ec2
cmp dword [0x101db78c], 0xfffffffe
jne 0x100d6eae
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100d6ec2
mov edi, 0x101e44c4
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101e44dc], 0
jne 0x100d6ec6
push 0
push 0
push 0x100d6ecc
call fcn.1015a457
add esp, 0xc
mov dword [0x101e44dc], eax
test eax, eax
je 0x100d6e9e
cmp eax, 0xffffffff
je 0x100d6e9e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x101db78c], esi
jmp 0x100d6ea5
and dword [0x101e44dc], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100d6ec2
mov eax, dword [ebp + 8]
mov dword [0x101db78c], eax
cmp eax, 0xffffffff
jne 0x100d6ec2
and dword [0x101e44dc], 0
pop edi
pop esi
pop ebp
ret
call fcn.100197b1
int3
Function at 0x100e1fc9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x100e2150
je 0x100e2177
sub eax, 0xa1
je 0x100e2177
sub eax, 1
je 0x100e2177
dec eax
sub eax, 1
je 0x100e2177
sub eax, 1
je 0x100e2177
dec eax
sub eax, 1
je 0x100e2177
sub eax, 1
je 0x100e2177
sub eax, 0x58
jne 0x100e21b5
cmp dword [edi + 0xc0], 0xffffffff
je 0x100e2177
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100e2177
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x100e20a5
sub eax, 1
jne 0x100e2177
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x100e2094
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x10188a08]
mov ecx, edi
call esi
test eax, eax
jne 0x100e20f1
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x100e206a
jmp 0x100e21cf
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x100e21cf
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x10188a08]
mov ecx, edi
call esi
test eax, eax
jne 0x100e20f1
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x100e20bc
jmp 0x100e21cf
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x10188a08]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x10188a08]
mov ecx, edi
call esi
mov ecx, eax
call fcn.10023853
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x10188a08]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x100e21cf
sub eax, 0x200
je 0x100e2177
sub eax, 1
je 0x100e2177
sub eax, 1
je 0x100e2177
dec eax
sub eax, 1
je 0x100e2177
sub eax, 1
je 0x100e2177
dec eax
sub eax, 1
je 0x100e2177
sub eax, 1
jne 0x100e21b5
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x100e2196
cmp dword [eax + 0x20], ebx
je 0x100e2196
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x100e21b5
cmp dword [eax + 0x20], ebx
je 0x100e21b5
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x100e21d4
lea eax, [edi + 0x2250]
test eax, eax
je 0x100e21cb
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x100e21d4
xor eax, eax
inc eax
jmp 0x100e21dc
push esi
mov ecx, edi
call fcn.10068ce7
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1010ecf4
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x1017ba36
call fcn.1014f0c0
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x1010edda
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1010edda
cmp esi, 0x43
je 0x1010ed36
cmp esi, 0x2d
jne 0x1010edda
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1010edda
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.10004d09
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.10005cb8
mov esi, dword [ebp - 0x10]
add esp, 0x14
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1010edc8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1010edc8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.10001e9f
push ebx
mov ecx, edi
call fcn.1001bd46
call fcn.1014f08e
ret 4
Function at 0x1011188b
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x101dbe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x128
xor edi, edi
push edi
push esi
call fcn.101511d0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.1015b562
push eax
call fcn.10007a56
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x1019697c]
je 0x101119e9
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x101119fd
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x101119fd
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x10111947
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x1011193b
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.1011163c
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x10111942
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10111949
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.10111b3b
test eax, eax
je 0x10111970
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.101114c3
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10111974
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.10111b3b
test eax, eax
je 0x1011199b
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.101114c3
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x1011199f
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10111b3b
test eax, eax
je 0x101119c7
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.101114c3
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x101119c9
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x101119db
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x101119e9
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1014f080
leave
ret 4
xor eax, eax
jmp 0x101119ec
Function at 0x1011548f
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x101846e3
call fcn.1014f0f3
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3a0], edi
test ecx, ecx
je 0x10115620
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x101155f2
sub eax, 1
je 0x1011550e
sub eax, 1
je 0x101154e6
sub eax, 1
je 0x1011550e
push 0x101bb5e8
mov ecx, edi
call fcn.100074d4
mov eax, edi
call fcn.1014f0a2
ret 0x10
push 0x408
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x101154d0
lea eax, [ebp - 0x28c]
push eax
jmp 0x101154d5
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x101154d0
push esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x238], esi
push eax
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
call fcn.10111a01
test eax, eax
je 0x101154d0
lea ecx, [ebp - 0x3a0]
call fcn.10004d09
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x101155a8
test byte [ebp - 0x21c], 0x18
jne 0x101155ca
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x224]
call dword [0x10188a08]
mov ecx, ebx
call esi
jmp 0x101155ca
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x10188a08]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.10007ba2
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.10001e9f
jmp 0x101154dc
push 0x208
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x101154d0
lea eax, [ebp - 0x390]
jmp 0x1011550b
call fcn.100197b1
int3

Function at 0x10115798
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10149ce3
call fcn.10024eb1
cmp dword [eax + 0x14], 0
jne 0x101157b3
mov ecx, esi
pop esi
jmp fcn.10114a9c
pop esi
ret
Function at 0x101158ae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.10022f57
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x101158ea
call fcn.10115acb
mov dword [esi + 0xc], 1
jmp 0x101158ef
call fcn.10115acb
cmp dword [esi], 0
je 0x1011593a
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x10115915
push edi
call fcn.10017c43
lea ecx, [edi + 1]
push ecx
jmp 0x10115924
push 0xff
call fcn.1000567f
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10014fbf
pop edi
jmp 0x1011595e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x1011595e
push dword [esi]
push dword [ebp - 4]
call fcn.100933ff
pop esi
leave
ret 0xc

Function at 0x10115a22
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.10115acb
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10115a6a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10017c43
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10014fbf
jmp 0x10115a75
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.100933ff
pop edi
pop esi
pop ebp
ret 0xc