joyce8/EMBER2024-capa huggingface dataset:
Function at 0x551d80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov eax, dword [ebx]
cmp byte [eax + 5], 0
je 0x551d98
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x38], 0x10
push esi
push edi
lea edi, [ebx + 0x24]
mov eax, edi
jb 0x551da7
mov eax, dword [edi]
mov dword [edi + 0x10], 0
mov byte [eax], 0
mov esi, dword [ebx]
cmp byte [esi + 5], 0
jne 0x551e9b
lea ecx, [ecx]
mov eax, dword [esi + 0x10008]
mov ecx, dword [esi + 0x1000c]
cmp eax, ecx
jb 0x551e1f
cmp byte [esi + 4], 0
jne 0x551e13
mov edx, dword [esi]
test edx, edx
je 0x551e13
push edx
push 0x10000
lea eax, [esi + 6]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, eax
add esp, 0x10
mov dword [esi + 0x1000c], ecx
cmp ecx, 0x10000
jae 0x551e05
mov byte [esi + 4], 1
mov dword [esi + 0x10008], 0
xor eax, eax
jmp 0x551e17
mov byte [esi + 5], 1
cmp eax, ecx
jb 0x551e1f
xor ecx, ecx
jmp 0x551e2b
movsx ecx, byte [esi + eax + 6]
inc eax
mov dword [esi + 0x10008], eax
cmp byte [ebx + 8], 0
je 0x551e42
cmp ecx, 0xa
jne 0x551e42
cmp dword [ebx + 0x34], 0
jne 0x551e92
mov byte [ebx + 8], 0
jmp 0x551e84
cmp ecx, 0xd
je 0x551e95
cmp ecx, 0xa
je 0x551e92
mov edx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
mov byte [ebp - 4], cl
cmp edx, esi
jae 0x551e72
lea eax, [edx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x551e68
mov eax, dword [edi]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x551e84
push dword [ebp - 4]
mov byte [ebp - 8], 0
push dword [ebp - 8]
push ecx
mov ecx, edi
call fcn.0042a1d0
mov esi, dword [ebx]
cmp byte [esi + 5], 0
je 0x551dc0
jmp 0x551e9b
cmp ecx, 0xd
sete al
mov byte [ebx + 8], al
inc dword [ebx + 4]
lea esi, [ebx + 0xc]
cmp esi, edi
je 0x551eb9
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x551eb0
mov edi, dword [edi]
push eax
push edi
mov ecx, esi
call fcn.0040af10
cmp byte [ebx + 0x3c], 0
jne 0x551ec6
mov ecx, esi
call fcn.0055c400
cmp dword [esi + 0x14], 0x10
jb 0x551ece
mov esi, dword [esi]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55f440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x55f45c
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi]
test ecx, ecx
jne 0x55f47c
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp ecx, 3
jne 0x55f4b8
cmp byte [edi + 0x10], 0
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
je 0x55f49e
push eax
push 1
push ecx
push 0x5d6a01
call esi
mov eax, dword [edi + 4]
add esp, 0x10
push eax
push 1
push dword [ebp + 0xc]
mov byte [edi + 0x10], 0
push dword [ebp + 8]
call esi
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
cmp esi, dword [edi + 0xc]
jbe 0x55f4ef
push dword [edi + 8]
mov dword [edi + 0xc], esi
call fcn.0059e230
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059e4c2
mov ecx, dword [edi]
add esp, 8
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
cmp byte [edi + 0x10], 0
je 0x55f51d
cmp ecx, 1
je 0x55f4ff
cmp ecx, 2
jne 0x55f519
push eax
push 1
lea eax, [ecx*2 + 0x5d69f8]
add eax, ecx
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, dword [edi]
add esp, 0x10
mov byte [edi + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
add eax, esi
mov dword [esp + 8], ecx
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
call fcn.0055f610
mov eax, dword [esp + 0x18]
mov esi, dword [edi + 8]
mov ecx, esi
cmp eax, dword [esp + 0x1c]
ja 0x55f5f6
mov edi, edi
cmp dword [esp + 0xc], 0
jne 0x55f5dc
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp eax, 0x10000
jl 0x55f5c2
lea edx, [eax - 0x10000]
mov eax, edx
sar eax, 0xa
add eax, 0xd800
cmp ecx, 1
jne 0x55f596
movzx ecx, al
shl ecx, 8
sar eax, 8
add ecx, eax
jmp 0x55f598
mov ecx, eax
and edx, 0x3ff
mov word [esi], cx
add edx, 0xdc00
cmp dword [edi], 1
mov ecx, edx
jne 0x55f5b9
movzx eax, dl
shr ecx, 8
shl eax, 8
add ecx, eax
mov word [esi + 2], cx
add esi, 4
jmp 0x55f5dc
cmp ecx, 1
jne 0x55f5d4
movzx ecx, al
shl ecx, 8
sar eax, 8
add ecx, eax
jmp 0x55f5d6
mov ecx, eax
mov word [esi], cx
add esi, 2
lea ecx, [esp + 8]
call fcn.0055f610
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
jbe 0x55f560
mov ecx, dword [edi + 8]
push dword [edi + 4]
sub esi, ecx
push 1
push esi
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x55fe10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
push str.SciTEDirectorInterface
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov ecx, dword [esi + 4]
mov dword [0x602f5c], eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edi, eax
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov dword [esp + 0xc], 0x55fcc0
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], str.DirectorExtension
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
test ax, ax
jne 0x55fea1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.DirectorExtension
push str.DirectorExtension
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, eax
mov dword [0x602fd0], ecx
test ecx, ecx
jne 0x55fed5
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [esi + 4]
push dword [eax + 0x7b0]
push 0xffffffffffffffeb
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
call fcn.0055faa0
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x562140
Capabilities:
Inspect load icon resource
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x5d6bec]
mov dword [esp + 0x28], eax
mov eax, dword [0x5d6bf0]
mov dword [esp + 0x2c], eax
mov eax, dword [0x5d6bf4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [0x602f64], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [0x602f60], 0x5d6c30
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x5680e0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [0x602f60]
mov dword [esp + 0x24], eax
lea eax, [esp]
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x56223c
lea eax, [esp]
mov dword [0x602f6c], 0x5d6c08
push eax
mov dword [esp + 8], 0x5732f0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], str.SciTEWindowContent
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x562244
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret

Function at 0x562c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp + 8], eax
mov word [edi], ax
lea eax, [ebp + 8]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x562cf5
push esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x63
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
push 0
push str.AppsUseLightTheme
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x562cf5
cmp dword [ebp - 4], 0
sete al
mov byte [edi], al
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0x42
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0xc
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x562d39
mov cl, byte [ebp - 0x14]
and cl, 1
mov byte [edi + 1], cl
je 0x562d39
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
cmp eax, 0x40
setb cl
mov byte [edi], cl
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x5634c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab2fb
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5f300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x30]
lea ecx, [edi + 0x7c4]
push eax
call fcn.00529f70
sub esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00514ce0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc8]
push dword [ebp - 0x2c]
mov ecx, edi
push dword [ebp - 0x30]
push eax
call fcn.005159a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00514c20
mov ebx, dword [ebp - 0x18]
inc ebx
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x5635a0
mov ecx, edi
call fcn.00563920
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x563587
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
jb 0x563575
mov ecx, dword [ebp - 0x28]
push ebx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push str.Rich_Text_Format
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5635d6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5635cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5635cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0059e222
add esp, 8
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xcc], eax
lea ecx, [ebp - 0xc4]
call fcn.00515270
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059df64
mov esp, ebp
pop ebp
Function at 0x563650
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x254]
call fcn.00518330
test al, al
jne 0x56373e
cmp dword [esi + 0x26c], 8
lea edx, [esi + 0x258]
jb 0x56368c
mov edx, dword [edx]
mov ecx, edx
mov dword [esp + 0x1c], 0
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
lea edi, [ecx + 2]
jmp 0x5636b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5636b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.0040acf0
mov eax, dword [esp + 0x1c]
push dword [esi + 0x7b0]
lea edi, [eax*2 + 2]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x563735
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x56372f
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x563726
cmp dword [esp + 0x20], 8
lea ecx, [esp + 0xc]
jb 0x563714
mov ecx, dword [esp + 0xc]
push edi
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
call fcn.0040ab30
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
Function at 0x563750
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, ecx
push edi
push 0x5d6e48
push str.Shell_TrayWnd
mov dword [esp + 0x1c], ebx
call esi
push 0
push 0x5d6e70
mov dword [esp + 0x18], eax
call esi
mov dl, byte [ebx + 0x88d]
mov edi, eax
test dl, dl
sete cl
mov byte [ebx + 0x88d], cl
test dl, dl
jne 0x563881
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebx + 0xca4]
push 0
push eax
push 0
push 0x30
call esi
push 2
push 0
push 0
push 0x2f
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
je 0x5637ca
push 0
push edi
call esi
push 0
push dword [esp + 0x14]
call esi
lea eax, [ebx + 0xc78]
mov dword [eax], 0x2c
push eax
push dword [ebx + 0x7b0]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 4
mov edi, eax
call esi
push 0
add edi, eax
lea ecx, [ebx + 0xb0c]
push str.full.screen.hides.menu
mov dword [esp + 0x18], edi
call fcn.00528190
test eax, eax
je 0x563821
push 0xf
call esi
add edi, eax
mov dword [esp + 0x10], edi
push 0
push 0xffffffffffffffec
push dword [ebx + 0x7b8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x21
call esi
push 1
lea ebx, [edi + eax]
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
call eax
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
push 0x20
call edi
push 0
mov esi, eax
call edi
push 0x20
lea edi, [eax + esi*2]
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
call eax
mov ecx, dword [esp + 0x10]
neg eax
push 0
push ebx
mov ebx, dword [esp + 0x1c]
neg ecx
push edi
push ecx
push eax
push 0
push dword [ebx + 0x7b0]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x5638f5
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esp + 0x14]
call esi
test edi, edi
je 0x563898
push 5
push edi
call esi
push 0x200
push 0xffffffffffffffec
push dword [ebx + 0x7b8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebx + 0xc78], 0
lea edi, [ebx + 0xc78]
je 0x5638f5
push 0
lea eax, [ebx + 0xca4]
push eax
push 0
push 0x2f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebx + 0xc80], 3
mov eax, dword [ebx + 0x7b0]
jne 0x5638ed
push 9
push eax
call esi
push 3
push dword [ebx + 0x7b0]
call esi
jmp 0x5638f5
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push dword [ebx + 0x7b0]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x174]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x565640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0b30
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5f300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebx + 0x12c8]
test edx, edx
je 0x5656b6
cmp edx, 0xffffffff
je 0x5656b6
mov eax, 0x1a
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
mov word [ebp - 0x10], ax
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x565690
push 0
lea eax, [ebp - 0x14]
sub ecx, esi
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0xa14
lea esi, [ebx + 4]
push esi
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x5656d7
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov al, byte [ebx]
mov al, 1
xchg byte [ebx], al
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x5656fc
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x566fa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x3c0], eax
push edi
push 0x3a0
lea eax, [esp + 0x24]
mov edi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x7b0]
add esp, 0xc
mov dword [esp + 8], 0x3b8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
push 0x40
push 0x10
push 0x10
push 1
push 0x5d7244
push dword [0x602f64]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], 0x8000
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esp + 0x1c], eax
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x5d7290]
mov word [esp + eax + 0x20], cx
test cx, cx
je 0x56703b
add eax, 2
cmp eax, 0x100
jb 0x567020
push 6
push dword [edi + 0x7b0]
xor eax, eax
mov word [esp + 0x126], ax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x567072
push 0
push dword [edi + 0x7b0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x3c4]
pop edi
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret

Function at 0x567090
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x3c0], eax
push esi
push 0x3ac
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x7b0]
add esp, 0xc
mov dword [esp + 8], 0x3b8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 8]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esp + 0x3c4]
pop esi
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret
Function at 0x567870
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
test esi, esi
jle 0x567960
cmp dword [0x603018], 0
jne 0x567960
push 0xc8
lea eax, [esp + 0x2c]
mov dword [0x603018], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp esi, 2
jne 0x5678fb
mov eax, dword [str.Memory_exhausted.]
mov dword [esp + 0x28], eax
mov eax, dword [0x5d732c]
mov dword [esp + 0x2c], eax
mov eax, dword [0x5d7330]
mov dword [esp + 0x30], eax
mov eax, dword [0x5d7334]
mov dword [esp + 0x34], eax
mov ax, word [0x5d7338]
mov word [esp + 0x38], ax
jmp 0x56790e
push esi
lea eax, [esp + 0x2c]
push str.Scintilla_failed_with_status__d.
push eax
call fcn.004025c0
add esp, 0xc
lea edi, [esp + 0x28]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x567913
mov ecx, 5
lea edx, [esp + 0x28]
mov esi, str._SciTE_will_now_close.
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00560450
lea ecx, [esp + 0x10]
call fcn.0040a800
mov ecx, ebx
mov edx, eax
call fcn.00563920
push 0x10
push str.Failure_in_Scintilla
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret 4
Function at 0x56feb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x5f300c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 8], ebx
push edi
mov edi, ecx
cmp esi, 0x110
je 0x56feec
cmp esi, 0x10
je 0x56feec
cmp esi, 0x111
jne 0x5700f9
push 0
lea ecx, [edi + 0xb0c]
push 0x5d2460
call fcn.00528190
test eax, eax
mov dword [esp + 0x10], ebx
mov ecx, edi
setne al
neg ecx
mov byte [esp + 0x18], al
lea eax, [edi + 4]
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x14], ecx
sub esi, 0x10
je 0x5700e9
sub esi, 0x100
je 0x570019
sub esi, 1
jne 0x5700f9
movzx esi, word [ebp + 0x10]
cmp esi, 2
jne 0x56ffa1
sub esp, 8
lea ecx, [edi + 0xb0c]
mov eax, esp
sub esp, 8
mov dword [eax], 0x5b3745
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], str.Replacements
mov dword [eax + 4], 0xc
call fcn.005270d0
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x34]
push esi
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [edi + 0x1334]
test eax, eax
je 0x56ff92
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0x1334], 0
jmp 0x5700f9
cmp esi, 0xfa
jne 0x56fff0
push 0
push 0x5d2460
lea ecx, [edi + 0xb0c]
call fcn.00528190
test eax, eax
je 0x56ffd7
push esi
lea ecx, [esp + 0x14]
call fcn.0056f080
push eax
push ecx
lea ecx, [esp + 0x18]
mov byte [edi + 0x47], al
call fcn.0056ee10
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret 0xc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov ecx, edi
shr eax, 0x1f
push eax
push esi
call fcn.0056fd30
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ecx, edi
call fcn.0056b180
lea ecx, [esp + 0x10]
call fcn.0056f840
push 0
lea esi, [edi + 0xb0c]
push 0x5d2460
mov ecx, esi
call fcn.00528190
test eax, eax
je 0x5700b4
mov bl, byte [edi + 0x47]
push 0xfb
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetDlgItem]
movzx ecx, bl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [edi + 0x7c4]
call fcn.0052a2c0
push 0
push eax
push 0x7da
lea ecx, [edi + 0x7c4]
call fcn.00529e10
movzx edx, al
lea ecx, [esp + 0x1c]
call fcn.00560820
cmp dword [eax + 0x14], 8
jb 0x570091
mov eax, dword [eax]
push eax
push 0xfb
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0x1c]
call fcn.0040ab30
mov ebx, dword [esp + 0xc]
lea esi, [edi + 0xb0c]
cmp dword [edi + 0x18], 0
je 0x56ffd7
push 1
push str.find.replacewith.focus
mov ecx, esi
call fcn.00528190
test eax, eax
je 0x56ffd7
push 0xe7
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x5700f9
push 0
push 2
push 0x111
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0059df64
mov esp, ebp
pop ebp
ret 0xc