joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437947
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x74], 0
je 0x4379b6
mov edi, dword [esi + 0x20]
add edi, dword [esi + 0x74]
cmp dword [edi + 8], 6
je 0x437965
push 5
pop edx
call fcn.00437ae7
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 0x10]
mov dword [ecx], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx - 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [edi]
mov dword [ecx - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ecx - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ecx - 8], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 8]
cmp eax, 0x10
jg 0x4379a2
xor edx, edx
mov ecx, esi
inc edx
call fcn.00437d07
add dword [esi + 8], 0x10
mov ecx, esi
mov edx, dword [esi + 8]
push 1
add edx, 0xffffffe0
call fcn.0043825f
pop ecx
push 2
pop edx
mov ecx, esi
pop edi
pop esi
jmp fcn.00437ae7

Function at 0x437ae7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x437b0b
mov dword [eax + 0x44], ebx
mov eax, dword [esi + 0x70]
push 1
add eax, 4
push eax
call fcn.004971c0
mov eax, dword [esi + 0x10]
mov byte [esi + 6], bl
cmp dword [eax + 0x58], 0
je 0x437b57
mov edx, dword [esi + 0x28]
mov dword [esi + 0x14], edx
mov edx, dword [edx]
mov dword [esi + 0xc], edx
call fcn.0043bffa
push dword [esi + 0xc]
mov edx, ebx
mov ecx, esi
call fcn.00437a62
mov ax, word [esi + 0x36]
pop ecx
mov ecx, esi
mov word [esi + 0x34], ax
mov byte [esi + 0x39], 1
call fcn.00437abf
mov eax, dword [esi + 0x10]
and dword [esi + 0x74], 0
and dword [esi + 0x70], 0
push esi
call dword [eax + 0x58]
pop ecx
push 1
call fcn.00494982
int3

Function at 0x43ec51
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4fc504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push edi
mov dword [ebp - 0x214], ebx
mov edi, 0x200
mov dword [ebp - 0x218], eax
mov ebx, edx
lea eax, [ebp - 0x218]
push eax
call sym.SciTE.exe_luaL_prepbuffer
pop ecx
cmp edi, esi
jbe 0x43eca6
mov edi, esi
push ebx
push edi
push 1
push eax
call fcn.00494388
add dword [ebp - 0x218], eax
add esp, 0x10
sub esi, eax
je 0x43ecc1
cmp eax, edi
je 0x43ec93
lea eax, [ebp - 0x218]
push eax
call sym.SciTE.exe_luaL_pushresult
pop ecx
push 0
pop ebx
test esi, esi
je 0x43ece8
push 0xffffffffffffffff
push dword [ebp - 0x21c]
call sym.SciTE.exe_lua_objlen
pop ecx
pop ecx
test eax, eax
je 0x43eceb
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004906a0
mov esp, ebp
pop ebp
ret
Function at 0x43ef86
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0xc], edx
push edi
push 1
pop edi
mov esi, dword [ebx + 8]
sub esi, dword [ebx + 0xc]
sar esi, 4
dec esi
je 0x43efeb
mov eax, dword [ebp + 8]
push eax
push ebx
dec esi
call sym.SciTE.exe_lua_type
pop ecx
pop ecx
cmp eax, 3
jne 0x43effe
test edi, edi
je 0x43efde
push dword [ebp + 8]
push ebx
call sym.SciTE.exe_lua_tonumber
fstp qword [esp]
push str._.14g
push dword [esp + 0x1c]
call fcn.00494dce
add esp, 0x10
test eax, eax
jg 0x43f02c
xor edi, edi
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
test esi, esi
jne 0x43efaa
push 0
mov edx, edi
mov ecx, ebx
call fcn.0043e56e
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
push dword [ebp + 8]
push ebx
call sym.SciTE.exe_luaL_checklstring
add esp, 0xc
test edi, edi
je 0x43efde
push dword [esp + 0x10]
push dword [esp + 0x18]
push 1
push eax
call fcn.00495039
add esp, 0x10
cmp eax, dword [esp + 0x14]
jne 0x43efde
xor edi, edi
inc edi
jmp 0x43efe0

Function at 0x4444e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
mov esi, edi
mov dword [esp + 0x10], edx
shr esi, 5
mov ebx, edi
inc esi
mov dword [esp + 0x14], eax
mov edx, edi
cmp edi, esi
jb 0x444535
mov edi, dword [esp + 0x10]
movzx ecx, byte [edi + edx - 1]
mov eax, ebx
shl eax, 5
sub edx, esi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp edx, esi
jae 0x444513
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, ebx
mov esi, dword [eax + ecx*4]
jmp 0x444561
cmp dword [esi + 0xc], edi
jne 0x44455f
push edi
lea eax, [esi + 0x10]
push eax
push dword [esp + 0x18]
call fcn.00491738
add esp, 0xc
test eax, eax
je 0x44457d
mov esi, dword [esi]
test esi, esi
jne 0x444545
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ebx
push edi
call fcn.0044444a
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov bl, byte [esi + 5]
mov eax, dword [ecx + 0x10]
movzx ecx, bl
and ecx, 3
movzx edx, byte [eax + 0x14]
not edx
test cl, dl
je 0x44459d
xor bl, 3
mov byte [esi + 5], bl
mov eax, esi
jmp 0x444576
Function at 0x45807d
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4fc504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, 0x800
push esi
mov esi, ecx
test dword [ebp + 0xc], ebx
je 0x4581c8
push edi
push dword [esi + 0x2ac]
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov edi, eax
mov dword [ebp - 0x40c], edi
test edi, edi
je 0x4581c3
push 0x18e
lea eax, [ebp - 0x194]
push eax
push ebx
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
cdq
mov ecx, esi
sub eax, edx
mov edx, eax
sar edx, 1
call fcn.00422dd7
test al, al
je 0x458128
lea ecx, [ebp - 0x194]
call fcn.00488fc0
mov edi, eax
lea eax, [ebp - 0x3ec]
push edi
push eax
call fcn.00489008
pop ecx
pop ecx
cmp edi, 0x258
jae 0x4581f1
mov eax, dword [esi]
lea ecx, [ebp - 0x3ec]
xor ebx, ebx
push ebx
push edi
push ecx
mov ecx, esi
mov byte [ebp + edi - 0x3ec], bl
call dword [eax + 0x4c]
jmp 0x458168
xor ebx, ebx
lea eax, [ebp - 0x324]
push ebx
push ebx
push 0x18f
push eax
push edx
lea eax, [ebp - 0x194]
push eax
push ebx
call fcn.00457bc7
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x45816e
mov edi, eax
movzx ecx, byte [ebp + ebx - 0x324]
push ecx
mov ecx, esi
call fcn.0041abbd
inc ebx
cmp ebx, edi
jl 0x458153
mov edi, dword [ebp - 0x40c]
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.00418ca7
fld dword [ebp - 0x414]
mov dword [ebp - 0x408], 2
call fcn.004b7d00
fld dword [ebp - 0x410]
mov dword [ebp - 0x404], eax
call fcn.004b7d00
mov dword [ebp - 0x400], eax
lea eax, [ebp - 0x408]
push eax
push edi
call dword [sym.imp.IMM32.dll_ImmSetCompositionWindow]
push edi
push dword [esi + 0x2ac]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
xor eax, eax
pop edi
jmp 0x4581df
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x10f
push dword [esi + 0x2ac]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004906a0
mov esp, ebp
pop ebp
ret 8
call fcn.004931bc
int3
Function at 0x458585
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x23c]
sub eax, dword [esi + 0x238]
sar eax, 4
cmp eax, 1
ja 0x458694
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x238]
add ecx, ecx
mov edi, dword [eax + ecx*8]
mov ecx, dword [esi + 0x2a0]
push edi
call fcn.0041306d
mov ebx, eax
cmp ebx, 2
jl 0x458694
xor eax, eax
mov dword [esp + 0xc], 1
and dword [esp + 0x1a], eax
lea edx, [esp + 0x10]
and dword [esp + 0x1e], eax
mov word [esp + 0x18], ax
mov eax, dword [0x4e98e4]
mov dword [esp + 0x10], eax
mov al, byte [0x4e98e8]
mov byte [esp + 0x14], al
mov eax, dword [esi + 0x2a0]
add eax, 4
push ebx
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.004583b4
mov ecx, esi
call fcn.0045832e
push dword [esi + 0x2ac]
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov dword [esp + 0xc], eax
test eax, eax
je 0x458694
lea ecx, [esp + 0x18]
push ecx
push 0x1008
push eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call dword [sym.imp.IMM32.dll_ImmEscapeW]
test eax, eax
je 0x458684
mov ecx, esi
call fcn.0045832e
push 0
lea eax, [ebx + edi]
mov ecx, esi
push eax
push 0
push edi
call fcn.004182d1
push dword [esp + 0xc]
push dword [esi + 0x2ac]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret
Function at 0x47c255
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be38f
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
call fcn.0045eafd
push ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.0042c0ac
and dword [esp + 0xe0], 0
lea eax, [esp + 0x1c]
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x18]
push eax
call fcn.004285c2
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x20]
call fcn.0042c176
mov ebx, dword [esp + 0xc8]
lea eax, [ebx + 1]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x47c358
push dword [esi + 0x73c]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x47c338
cmp dword [esp + 0xcc], 0x10
mov eax, dword [esp + 0xb8]
jae 0x47c329
lea eax, [esp + 0xb8]
push ebx
push eax
push esi
call fcn.00490850
add esp, 0xc
mov byte [esi + ebx], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
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]
push 0
push 1
lea ecx, [esp + 0xc0]
call fcn.0040177c
or dword [esp + 0xe0], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.0042c133
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], vtable.std::ios_base.0
push eax
call fcn.004b6556
pop ecx
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret

Function at 0x47c3b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4fc504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x254]
mov ecx, esi
call fcn.0042e86a
test al, al
jne 0x47c45f
cmp dword [esi + 0x14], 8
jb 0x47c3e1
mov esi, dword [esi]
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.0042f8f2
mov eax, dword [ebp - 0xc]
push dword [ebx + 0x73c]
lea edi, [eax*2 + 2]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47c452
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x47c44c
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x47c43c
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
jae 0x47c431
lea ecx, [ebp - 0x1c]
push edi
push ecx
push eax
call fcn.00490850
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]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040f05a
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004906a0
mov esp, ebp
pop ebp
ret
Function at 0x47c46f
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, ecx
push edi
push 0x4d8a44
push str.Shell_TrayWnd
mov dword [ebp - 8], ebx
call esi
push 0
push str.Button
mov dword [ebp - 4], eax
call esi
cmp byte [ebx + 0x7c2], 0
mov edi, eax
sete cl
mov byte [ebx + 0x7c2], cl
test cl, cl
je 0x47c596
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebx + 0xbf4]
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 0x47c4e2
push 0
push edi
call esi
push 0
push dword [ebp - 4]
call esi
lea eax, [ebx + 0xbc8]
push eax
push dword [ebx + 0x73c]
mov dword [eax], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call edi
push 4
mov esi, eax
call edi
push 0
add esi, eax
lea ecx, [ebx + 0xa7c]
push str.full.screen.hides.menu
mov dword [ebp - 4], esi
call fcn.00452214
test eax, eax
je 0x47c536
push 0xf
call edi
add esi, eax
mov dword [ebp - 4], esi
push 0
push 0xffffffffffffffec
push dword [ebx + 0x740]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ebx, dword [ebx + 0x73c]
push 0x20
call edi
push 0
mov edi, eax
push 0x21
add edi, edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, dword [ebp - 4]
add eax, esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
call esi
add eax, edi
push eax
mov eax, dword [ebp - 4]
neg eax
push eax
push 0x20
call esi
neg eax
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [ebp - 8]
jmp 0x47c608
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebp - 4]
call esi
test edi, edi
je 0x47c5ac
push 5
push edi
call esi
push 0x200
push 0xffffffffffffffec
push dword [ebx + 0x740]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [ebx + 0xbc8]
xor ecx, ecx
cmp dword [edi], ecx
je 0x47c608
push ecx
lea eax, [ebx + 0xbf4]
push eax
push ecx
push 0x2f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebx + 0xbd0], 3
jne 0x47c5fb
push 9
push dword [ebx + 0x73c]
call esi
push 3
push dword [ebx + 0x73c]
call esi
jmp 0x47c608
push edi
push dword [ebx + 0x73c]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push dword [ebx + 0x73c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x16c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47db80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1218]
test eax, eax
je 0x47dbce
cmp eax, 0xffffffff
je 0x47dbce
and dword [ebp - 8], 0
push 0x1a
pop eax
mov word [ebp - 4], ax
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 4]
push eax
call fcn.004914f0
pop ecx
push eax
lea eax, [ebp - 4]
push eax
push dword [esi + 0x1218]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
lea ecx, [esi + 0x92c]
call fcn.0047aed8
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47dd41
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push 0x100000
push 0x47dd35
call fcn.0049a919
xor ecx, ecx
add esp, 0xc
cmp eax, 0xffffffff
setne al
pop ebp
ret 4
Function at 0x47e24b
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be5db
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea edi, [esi + 0xa7c]
push 0
push str.save.session
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.00452214
test eax, eax
jne 0x47e2c5
push eax
push str.save.position
mov ecx, edi
call fcn.00452214
test eax, eax
jne 0x47e2c5
push eax
push str.save.recent
mov ecx, edi
call fcn.00452214
test eax, eax
je 0x47e2d1
push 0x4d8a44
mov ecx, esi
call fcn.0046be35
mov edx, ebx
lea ecx, [esp + 0x18]
call fcn.0047e108
and dword [esp + 0x70], 0
lea eax, [esp + 0x18]
push 0
push eax
mov ecx, esi
call fcn.00469724
mov bl, al
test bl, bl
jne 0x47e312
push 0
push str.check.if.already.open
mov ecx, edi
call fcn.00452214
test eax, eax
je 0x47e312
lea ecx, [esi + 0x123c]
call fcn.0048d30f
mov ecx, esi
call fcn.0047dec4
test bl, bl
je 0x47e33d
push 1
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00469724
mov eax, dword [esi]
xor ebx, ebx
push ebx
mov ecx, esi
call dword [eax + 0x98]
jmp 0x47e3c1
xor ebx, ebx
mov ecx, edi
push ebx
push str.check.if.already.open
call fcn.00452214
test eax, eax
je 0x47e3d5
lea edi, [esi + 0x123c]
cmp byte [edi + 0x24], bl
je 0x47e3d5
cmp dword [edi + 4], ebx
je 0x47e3d5
push edi
push 0x48d51e
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [edi + 0x28], ebx
je 0x47e3d5
push dword [esp + 0x14]
lea ecx, [esp + 0x34]
call fcn.0042f8f2
lea edx, [esp + 0x30]
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x48]
call fcn.00430d1e
mov byte [esp + 0x70], 2
cmp dword [eax + 0x14], 0x10
jb 0x47e3a1
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0048d3e4
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.0040177c
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.0040f05a
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [esi + 0x73c]
call fcn.00430ea5
jmp 0x47e417
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x150]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 4
push dword [esi + 0x73c]
call edi
mov eax, dword [esi + 0xbc4]
test eax, eax
je 0x47e402
push eax
push dword [esi + 0x73c]
call edi
push 1
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00469724
mov ecx, esi
call fcn.00460bb9
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.0040f05a
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 4
Function at 0x47eeb7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c0
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x3bc], eax
push esi
push edi
mov edi, 0x3b8
lea eax, [esp + 8]
push edi
push 0
push eax
mov esi, ecx
call fcn.004936a0
mov eax, dword [esi + 0x73c]
add esp, 0xc
mov dword [esp + 8], edi
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 edi
pop esi
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret
Function at 0x47f340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
mov eax, dword [0x4fc504]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
jle 0x47f3d4
cmp dword [0x50791c], 0
jne 0x47f3d4
mov dword [0x50791c], 1
cmp eax, 2
jne 0x47f38a
lea eax, [ebp - 0xd4]
push str.Memory_exhausted.
push eax
call fcn.00494cb0
pop ecx
pop ecx
jmp 0x47f39f
push eax
lea eax, [ebp - 0xd4]
push str.Scintilla_failed_with_status__d.
push eax
call fcn.00493c9c
add esp, 0xc
lea eax, [ebp - 0xd4]
push str._SciTE_will_now_close.
push eax
call fcn.00494cc0
pop ecx
pop ecx
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0xec]
call fcn.00430c28
cmp dword [ebp - 0xd8], 8
mov eax, dword [ebp - 0xec]
jae 0x47f3eb
jmp 0x47f3e5
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004906a0
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0xec]
push 0x10
push str.Failure_in_Scintilla
push eax
push dword [esi + 0x73c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call fcn.00494982
int3

Function at 0x47fee9
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be7d9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1474
call fcn.004a2e90
mov eax, dword [0x4fc504]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47ff48
push str.SetDllDirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47ff48
push 0x4d8a44
call eax
xor ebx, ebx
mov dword [ebp - method.MultiplexExtension.virtual_0], vtable.MultiplexExtension.0
mov dword [ebp - 0x147c], ebx
mov dword [ebp - 0x1478], ebx
mov dword [ebp - 0x1474], ebx
mov dword [ebp - 4], ebx
call fcn.0041198a
push eax
lea ecx, [ebp - 0x1480]
call fcn.004490b3
mov ecx, esi
call fcn.0047b99c
call fcn.00404c71
mov ecx, esi
call fcn.0044fdd5
mov ecx, esi
call fcn.0045c25b
call fcn.00404c71
lea eax, [ebp - 0x1480]
push eax
lea ecx, [ebp - 0x146c]
call fcn.0047b40a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x22
pop esi
movzx edx, word [eax]
cmp dx, si
je 0x47ffdb
test dx, dx
je 0x47ffee
push 0x20
pop ecx
cmp dx, cx
je 0x47fff3
add eax, 2
movzx edx, word [eax]
test dx, dx
jne 0x47ffc4
jmp 0x47fff6
cmp cx, si
je 0x47ffeb
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x47ffd6
cmp word [eax], si
jne 0x47ffee
add eax, 2
push 0x20
pop ecx
jmp 0x47fff6
add eax, 2
cmp word [eax], cx
je 0x47fff3
push eax
lea ecx, [ebp - 0x146c]
mov byte [ebp - 4], 2
call fcn.0047e24b
lea ecx, [ebp - 0x146c]
call fcn.0047fe53
mov esi, eax
jmp 0x480037
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x146c]
mov byte [ebp - 4], bl
call fcn.0047b89d
call fcn.0045c7d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1480]
call fcn.0044907e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x484cf2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bed5d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add ecx, 0x12d8
push eax
lea eax, [esp + 0xc]
push eax
call fcn.0048cceb
and dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
inc eax
push eax
call fcn.004935bf
cmp dword [esp + 0x20], 0x10
mov esi, eax
pop ecx
mov ecx, dword [esp + 8]
jae 0x484d5d
lea ecx, [esp + 8]
push ecx
push esi
call fcn.00494cb0
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0x10]
call fcn.0040177c
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 4