joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441f30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x441f7c
mov eax, esi
call fcn.004577d4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x441f7c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x441f7c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4420bb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x441fbc
cmp eax, 0x108
ja 0x441fbc
mov eax, esi
call fcn.004577d4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4420b2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4420bb
jmp 0x4420b2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44209b
cmp eax, 0x20a
ja 0x44209b
test byte [esi + 0x50], 0x80
jne 0x441fee
sub eax, 0x203
je 0x441feb
sub eax, 3
je 0x441feb
sub eax, 3
jne 0x441fee
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x442002
dec eax
je 0x442017
dec eax
je 0x442034
dec eax
je 0x442017
jmp 0x44203b
mov ecx, ebx
mov eax, dword [0x470e38]
mov eax, dword [eax]
mov edx, esi
call fcn.00461144
jmp 0x4420b2
cmp byte [esi + 0x5d], 1
jne 0x44202d
mov eax, esi
mov si, 0xffed
call fcn.00403778
jmp 0x4420bb
or word [esi + 0x54], 1
jmp 0x4420b2
and word [esi + 0x54], 0xfffe
jmp 0x4420b2
mov eax, dword [0x471b44]
cmp byte [eax + 0x20], 0
je 0x4420b2
mov eax, dword [0x471b44]
cmp dword [eax + 0x1c], 0
je 0x4420b2
mov eax, dword [ebx]
mov edx, dword [0x471b44]
cmp eax, dword [edx + 0x1c]
jne 0x4420b2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00457718
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403778
jmp 0x4420bb
cmp eax, 0xb00b
jne 0x4420b2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00440850
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445628
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x445644
cmp dword [esi + 4], 0
je 0x445671
test byte [ebx + 0x55], 1
jne 0x445663
mov eax, ebx
call fcn.004441c8
test eax, eax
jne 0x445663
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x445781
mov edx, esi
mov eax, ebx
call fcn.0044514c
jmp 0x445781
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44577a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00447498
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00441e64
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00445628
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00447498
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445781
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44be54
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x470ff0]
cmp byte [eax + 0xc], 0
je 0x44bfc1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44bfba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x471b98], 0
jne 0x44bea8
push 0x44bfc8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44bfd0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b98], eax
cmp dword [0x46fcb4], 0
jne 0x44bfa3
push 0x44bfe0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46fcb4], eax
cmp dword [0x46fcb4], 0
je 0x44bfa3
push 0x44bfec
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471b9c], eax
push 0x44bffc
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471ba0], eax
push 0x44c010
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471ba4], eax
push 0x44c028
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471ba8], eax
push 0x44c040
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bac], eax
push 0x44c054
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bb0], eax
push 0x44c06c
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bb4], eax
push 0x44c084
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bb8], eax
push 0x44c0a0
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bbc], eax
push 0x44c0ac
mov eax, dword [0x46fcb4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x471bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bfc1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44fe68
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004042fc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44feb7
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040456c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457688
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4576d8]
test si, 4
je 0x45769c
or bl, 1
test si, 8
je 0x4576a6
or bl, 4
test si, 1
je 0x4576b0
or bl, 8
test si, 2
je 0x4576ba
or bl, 0x10
test si, 0x10
je 0x4576c4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4576d3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4576dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457714]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4576f5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457704
or bl, 4
test esi, 0x20000000
je 0x45770f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45ddd8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45ddea
add esp, 0xfffffff0
call fcn.004038a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419d18
mov eax, dword [0x470c14]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e17c
mov eax, dword [0x470c20]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e188
mov eax, ebx
call fcn.0045e194
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411fb8]
call fcn.00403540
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411fb8]
call fcn.00403540
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411fb8]
call fcn.00403540
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411fb8]
call fcn.00403540
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411fb8]
call fcn.00403540
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45a5ac
push eax
push 0
push 0
mov eax, dword [0x470d9c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b7bc]
call fcn.0041cf54
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b7bc]
call fcn.0041cf54
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b7bc]
call fcn.0041cf54
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e5e4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e4ac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e4ac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e4ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45df27
call fcn.00403900
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e290
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e43b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e41c
mov dl, 1
mov eax, dword [0x4123d4]
call fcn.00403540
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042fc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45e40b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044c1b4
test al, al
je 0x45e3fe
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45e44c
lea eax, [ebp - 0x254]
call fcn.004091cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e3fe
xor eax, eax
push ebp
push 0x45e3f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45e484
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e3e0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040456c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45e3e0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040456c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e3fe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e301
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415f08
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e442
lea eax, [ebp - 0x260]
call fcn.004042fc
ret

Function at 0x45ed84
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x471be4]
cmp byte [eax + 0xa5], 0
jne 0x45edf5
cmp dword [0x471bfc], 0
jne 0x45edb6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45ed40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x471bfc], eax
cmp dword [0x471bf8], 0
jne 0x45edd1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x471bf8], eax
cmp dword [0x471c00], 0
jne 0x45edf5
push esp
push 0
push 0
push 0x45ece4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x471c00], eax
pop edx
ret
Function at 0x45f488
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471be4]
cmp dword [eax + 0x30], 0
je 0x45f532
cmp dword [ebx + 0x94], 0
jne 0x45f52c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f418
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f52c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45f4f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f52c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414320
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f501
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460090
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4600c5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004043ec
jmp 0x4600d2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404350
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46128c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4612cd
mov eax, esi
call fcn.0044779c
test al, al
je 0x4612cd
mov eax, dword [ebx + 0x84]
call fcn.00447498
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4612cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00447498
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x1000db20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d6e6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1008ab18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
cmp dword [eax + 0x16], 0
je 0x1000dc4f
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
mov edi, dword [esi + 4]
mov dword [ebp - 4], 0
call sym.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getBinary_void_
cmp dword [edi + 0x12], eax
mov eax, edi
setne cl
cmp byte [ebp + 0xc], 0
je 0x1000db90
test cl, cl
je 0x1000db90
push dword [edi + 0x26]
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
mov eax, dword [esi + 4]
push dword [eax + 0x12]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
mov edi, eax
test edi, edi
jne 0x1000dbd0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000dbd0
mov eax, dword [esi + 4]
push dword [eax + 0x16]
push 1
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, 0x34
cmp eax, 1
cmovne edi, ecx
mov eax, dword [esi + 4]
push dword [eax + 0x16]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 4
test eax, eax
mov eax, dword [esi + 4]
push dword [eax + 0x16]
je 0x1000dc14
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_clearerr]
add esp, 4
lea ecx, [ebp - 0x10]
mov edi, 0x34
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov ecx, dword [esi + 4]
add esp, 4
cmp edx, dword [ecx + 0x1e]
jl 0x1000dc32
jg 0x1000dc2c
cmp eax, dword [ecx + 0x1a]
jbe 0x1000dc32
mov dword [ecx + 0x1a], eax
mov dword [ecx + 0x1e], edx
lea ecx, [ebp - 0x10]
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 0x32
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ecb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1000ecbf
pop dword [ebp - 0x10]
mov eax, 0xf91c3a4d
add eax, 0x16e4b272
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x4efd047f
sub dword [ebp - 0x20], 0xaabf34
mov dword [ebp - 0x1c], 0xa48a28ed
sub dword [ebp - 0x1c], 0x7256dca8
mov dword [ebp - 0x18], 0xa8a30f44
add dword [ebp - 0x18], 0xa3a934ea
mov dword [ebp - 0x14], 0x54f02434
add dword [ebp - 0x14], 0xab0fdbcc
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xe4998036
sub dword [ebp - 0x20], 0x702716e0
mov dword [ebp - 0x1c], 0xee06f090
sub dword [ebp - 0x1c], 0xac9a8f1b
mov dword [ebp - 0x18], 0x8c55932e
sub dword [ebp - 0x18], 0x28e626c2
mov dword [ebp - 0x14], 0x57e7c4f3
add dword [ebp - 0x14], 0xa8183b0d
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x8736792c
add eax, 0x88cfb6f4
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x53bc9
push 0
call eax
mov ecx, 0x46ab
mov edi, eax
mov esi, 0xa56d7876
add esi, 0x6a9c0d8a
add esi, dword [ebp - 0x10]
mov ebx, 0x9a97e60
add ebx, 0xd34b4648
xor dword [ebp - 0xc], 0x258157d1
mov edx, dword [esi]
xor dword [ebp - 0xc], 0x9e7b34a1
sub edx, ebx
xor dword [ebp - 4], eax
mov dword [edi], edx
add dword [ebp - 4], ebx
add edi, 4
add esi, 0xf75c0618
sub esi, 0xf75c0614
loop 0x1000edd6
add eax, 0x10d7f
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x10010020
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
cwde
test eax, eax
je 0x10010052
mov ecx, dword [esi]
and al, 3
pop esi
cmp al, 2
jne 0x10010049
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10033360
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10033590
mov eax, 0x30
pop esi
pop ebp
ret
Function at 0x10035360
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x1008ab18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
mov ebx, eax
test ebx, ebx
je 0x100354cc
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x100353ac
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x100353a8
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x100353ac
mov edi, eax
jmp 0x10035390
push 0x100
lea eax, [ebp - 0x184]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100354c4
push 0x80
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x100354c4
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
jne 0x100354c4
test edi, edi
je 0x100354c4
push esi
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test esi, esi
mov dword [ebp - 0x188], eax
pop esi
je 0x100354c4
cmp eax, edi
je 0x100354c4
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x10035471
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push dword [ebp - 0x188]
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a9e0
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2000
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 2
lea eax, [ebp - 0x188]
mov dword [ebp - 0x188], 0
push eax
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1005a9e0
mov esp, ebp
pop ebp
ret
Function at 0x100354f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x1003551b
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
push dword [ebp - 0xc]
push esi
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x10035544
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov edx, dword [ebp - 8]
test eax, eax
cmove edx, esi
mov dword [ebp - 8], edx
test edx, edx
jne 0x1003555a
lea eax, [ebp - 0xc]
push eax
push 0x100355e0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [ebp - 8]
test edx, edx
je 0x100355a1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008baa8]
mov dword [ebp - 4], edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008ba20]
cmp eax, dword [ecx + 4]
jg 0x100355a8
jmp 0x1003557e
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 0
push dword [0x1008ba1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 8]
test eax, eax
pop esi
cmovne ecx, dword [ebp - 4]
mov eax, ecx
mov esp, ebp
pop ebp
ret
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
push 0x1008ba20
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
add esp, 4
cmp dword [0x1008ba20], 0xffffffff
jne 0x1003557b
push str.adobe.sccore.get.dialog.owner
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push 0x1008ba20
mov dword [0x1008ba1c], eax
call sym.ScCore.dll_public:_bool___thiscall_ScCore::FileSpec::setPath_class_ScCore::String_const___bool_
add esp, 4
jmp 0x1003557b