joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b93a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x21c
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
xor edi, edi
call fcn.00522730
lea esi, [esp + 0x10]
call fcn.004b8220
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov esi, eax
mov dword [esp + 0xc], esi
call ebp
sub eax, esi
cmp eax, 0xea60
ja 0x4b94e5
push ebx
mov ebx, dword [0x597c6c]
mov ecx, dword [esp + 0x1c]
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b944e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Open_pipe_failed__d_n
call fcn.0048f0a0
add esp, 8
call fcn.004b8060
test eax, eax
je 0x4b94e4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebp
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x4b93f0
jmp 0x4b94e4
push 0xb8
call fcn.004a3fd0
push 0xb8
mov edi, eax
push 0
push edi
call fcn.00549090
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 0xc
lea edx, [edi + 0x64]
push edx
call ebx
lea eax, [edi + 0x7c]
push eax
call ebx
lea ecx, [edi + 0x94]
push ecx
call ebx
mov dword [edi], esi
call fcn.004ac4b0
mov dword [edi + 0x14], eax
call fcn.004ac4b0
mov edx, dword [esp + 0x230]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x234]
mov dword [edi + 0x5c], edx
mov dword [edi + 0x60], eax
call fcn.004ac4b0
mov dword [edi + 0x50], eax
call fcn.004ac4b0
mov dword [edi + 0x54], eax
call fcn.004ac4b0
push edi
push 0x4b9000
mov dword [edi + 0x58], eax
call fcn.004b1890
mov edx, edi
mov dword [edi + 0x4c], eax
call fcn.004b9360
test eax, eax
jne 0x4b94e4
push edi
call fcn.004b8380
xor edi, edi
pop ebx
lea ecx, [esp + 0x10]
push ecx
call fcn.00401260
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0054899c
add esp, 0x21c
ret 8

Function at 0x4b97b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x24
push edi
push 4
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x4b9813
lea edx, [esp + 0x30]
push edx
push 0x24
lea eax, [esp + 0xc]
push eax
push 0
push edi
call dword [0x58df08]
test eax, eax
je 0x4b980c
mov ecx, dword [esp + 0x20]
push esi
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4b980b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
add esp, 0x24
ret 8
Function at 0x4b9820
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x224
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x220], eax
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4b994a
push ebx
push ebp
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.004b9700
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 0x20
lea ecx, [esp + 0x30]
push ecx
push edi
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4b9897
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4b9894
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004b97b0
push esi
call ebp
push 0x10000
lea ecx, [esp + 0x30]
push ecx
push edi
call ebx
mov esi, eax
test esi, esi
je 0x4b9901
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x4b98e2
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x430
je 0x4b98e2
call ebx
push eax
mov eax, dword [0x58de7c]
mov edx, dword [eax + 0x1050]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a98f0
add esp, 0x14
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0054899c
add esp, 0x224
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x424
je 0x4b992e
call esi
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a98f0
add esp, 0x14
push edi
call ebp
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0054899c
add esp, 0x224
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a98f0
mov ecx, dword [esp + 0x238]
add esp, 0x14
pop edi
xor ecx, esp
call fcn.0054899c
add esp, 0x224
ret
Function at 0x4b9990
Capabilities:
Start service

Disassembly:
sub esp, 0x208
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x4b9a8a
push ebp
push esi
lea eax, [esp + 0xc]
push eax
call fcn.004b9700
push 0x10
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4b9a4d
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4b9a2f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push str.start_service__08x_n
call fcn.0048f0a0
add esp, 8
call edi
cmp eax, 0x420
je 0x4b9a2e
call edi
push eax
mov eax, dword [0x58de7c]
mov edx, dword [eax + 0x1048]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a98f0
add esp, 0x14
pop edi
push esi
call ebp
push ebx
call ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.0054899c
add esp, 0x208
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a98f0
add esp, 0x14
push ebx
call ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.0054899c
add esp, 0x208
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a98f0
mov ecx, dword [esp + 0x21c]
add esp, 0x14
pop ebx
xor ecx, esp
call fcn.0054899c
add esp, 0x208
ret

Function at 0x4b9ad0
Capabilities:
Stop service

Disassembly:
sub esp, 0x224
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x220], eax
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4b9b9c
push ebx
push esi
lea eax, [esp + 0x28]
push eax
call fcn.004b9700
push 0x20
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4b9b5f
lea edx, [esp + 0xc]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4b9b41
lea eax, [esp + 0x28]
push eax
push edi
call fcn.004b97b0
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0054899c
add esp, 0x224
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a98f0
add esp, 0x14
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0054899c
add esp, 0x224
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a98f0
mov ecx, dword [esp + 0x238]
add esp, 0x14
pop edi
xor ecx, esp
call fcn.0054899c
add esp, 0x224
ret
Function at 0x4b9be0
Capabilities:
Create service
Persist via windows service

Disassembly:
sub esp, 0x420
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
mov ebx, dword [esp + 0x428]
push ebp
mov ebp, dword [esp + 0x430]
push esi
push edi
call fcn.004b9820
push str.install_service..._n
mov dword [esp + 0x14], 0x1e
call fcn.0048f0a0
add esp, 4
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4b9d1b
lea eax, [esp + 0x14]
push eax
call fcn.00522730
push ebp
push ebx
lea ecx, [esp + 0x1c]
push ecx
xor edi, edi
call fcn.004b9600
lea edx, [esp + 0x228]
push edx
call fcn.004b9700
mov eax, dword [esp + 0x1c]
push edi
push edi
push edi
push edi
push edi
push eax
push edi
push 2
push 0x10
push 2
lea ecx, [esp + 0x250]
push ecx
mov edx, ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test eax, eax
je 0x4b9c90
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.004b9990
jmp 0x4b9ce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x4b9ca4
call fcn.004b9990
jmp 0x4b9ce0
cmp dword [esp + 0x10], 0
je 0x4b9cc4
cmp eax, 0x430
jne 0x4b9cc4
sub dword [esp + 0x10], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4b9ce5
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x1040]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a98f0
add esp, 0x14
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [esp + 0x14]
push eax
call fcn.00401260
test edi, edi
jne 0x4b9d3d
push str.install_service..._n
call fcn.0048f0a0
add esp, 4
push 2
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x4b9c36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58de7c]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a98f0
add esp, 0x14
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0054899c
add esp, 0x420
ret 8
Function at 0x4ba7f0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 0x50]
xor ebx, ebx
cmp esi, ebx
je 0x4ba841
push ebp
cmp dword [esi + 0xc], ebx
mov ebp, dword [esi]
je 0x4ba87b
cmp dword [edi + 0x58], ebx
je 0x4ba847
mov edx, dword [edi + 0x30]
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x1c]
push ecx
push edx
mov dword [edi + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x4ba86c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
je 0x4ba8bf
mov dword [edi + 0x38], 1
pop ebp
pop edi
pop esi
pop ebx
ret 4
lea eax, [edi + 0x1c]
push eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edi + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4ba8a5
mov eax, dword [esp + 0x14]
add dword [esi + 8], eax
sub dword [esi + 0xc], eax
cmp dword [esi + 0xc], ebx
jne 0x4ba808
mov edx, dword [esi + 4]
push edx
call fcn.004a4030
push esi
call fcn.004a4030
cmp ebp, ebx
mov dword [edi + 0x50], ebp
jne 0x4ba894
mov dword [edi + 0x54], ebx
cmp ebp, ebx
mov esi, ebp
jne 0x4ba801
pop ebp
pop edi
pop esi
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4ba839
push str.write_pending..._n
call fcn.0048f0a0
add esp, 4
pop ebp
mov dword [edi + 0x58], 1
pop edi
pop esi
pop ebx
ret 4
Function at 0x4bbb30
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push edi
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x4bbbcd
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x4bbb50
cmp dword [esi + 0x4c], edi
je 0x4bbb7c
mov edx, dword [esi + 0x30]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 8]
push ecx
push edx
mov dword [esi + 0x4c], edi
call ebx
test eax, eax
jne 0x4bbbbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jmp 0x4bbc49
mov edx, dword [esi + 0x3c]
lea eax, [esi + 8]
push eax
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x30]
push edx
push eax
push ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call ebp
test eax, eax
je 0x4bbc3e
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
sub ecx, dword [esi + 0x44]
push edx
push eax
push ecx
push str.read_total:_p__remaining:__u__numread:__u_n
call fcn.0048f0a0
add esp, 0x10
mov eax, dword [esp + 0xc]
add dword [esi + 0x40], eax
sub dword [esi + 0x3c], eax
cmp dword [esi + 0x3c], edi
jne 0x4bbb50
cmp dword [esi + 0x48], edi
je 0x4bbc02
mov eax, esi
call fcn.004bae20
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x4bbbe6
push eax
call fcn.004a4030
push 4
call fcn.004a3fd0
mov dword [esi + 0x48], edi
pop edi
pop ebp
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], 4
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x44]
mov edi, dword [eax]
lea edx, [edi - 8]
cmp edx, 0x7ffff8
ja 0x4bbc57
push eax
call fcn.004a4030
push edi
call fcn.004a3fd0
mov dword [esi + 0x44], eax
mov dword [eax], edi
mov eax, dword [esi + 0x44]
add eax, 4
add edi, 0xfffffffc
mov dword [esi + 0x3c], edi
pop edi
pop ebp
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], 1
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4bbc57
pop edi
pop ebp
mov dword [esi + 0x4c], 1
pop ebx
pop ecx
ret
pop edi
pop ebp
mov dword [esi + 0x38], 1
pop ebx
pop ecx
ret
Function at 0x4ca1d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x218
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x214], eax
cmp byte [0x59811c], 0
push ebx
push esi
mov esi, dword [esp + 0x224]
push edi
jne 0x4ca2c0
cmp dword [0x598120], 5
jae 0x4ca2c0
lea eax, [esp + 0xc]
push eax
call fcn.00522730
mov edi, dword [esp + 0x22c]
push edi
push esi
xor ebx, ebx
call fcn.004c35d0
mov dword [esp + 0xc], eax
add eax, 1
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00526610
mov ebx, dword [esp + 0x14]
push edi
push esi
call fcn.004c35d0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00401000
add eax, 1
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4ca2b4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.00401120
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 0x60]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ca2ad
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
push ecx
call fcn.00401260
jmp 0x4ca328
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0xc]
push ecx
call fcn.00401260
jmp 0x4ca328
push ebp
mov ebp, dword [esp + 0x230]
push ebp
push esi
xor ebx, ebx
call fcn.004c35d0
lea edx, [eax + eax + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4ca327
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
push esi
mov ebx, eax
call fcn.004c35d0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 0x60]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ca320
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4ca327
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
mov ecx, dword [esi + 0x180]
push ecx
call fcn.004b78e0
push esi
call fcn.004c9da0
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054899c
add esp, 0x218
ret 8

Function at 0x4ca6b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push str.ui_close_n
call fcn.0048f0a0
mov esi, dword [esp + 0x10]
add esp, 4
call fcn.004c6b00
mov eax, dword [esi + 0x60]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, esi
call fcn.004c3890
cmp dword [esi + 0x440], 0
jne 0x4ca718
cmp byte [0x597e92], 0
je 0x4ca6f5
push esi
call fcn.0050f040
jmp 0x4ca718
mov eax, esi
mov dword [esi + 0x440], 1
call fcn.004c2280
mov ecx, dword [0x598278]
mov dword [esi + 0x124], ecx
mov dword [0x598278], esi
cmp byte [0x58a5e2], 0
pop esi
pop ebx
jne 0x4ca734
cmp dword [0x59828c], 0
jne 0x4ca734
call fcn.004bf0d0
ret 4
call fcn.004b6750
mov dword [esp + 4], 0
jmp fcn.004096f0
Function at 0x4cb430
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
cmp byte [0x58a657], 0
je 0x4cb563
push esi
mov esi, dword [esp + 8]
push esi
call fcn.0050fdd0
test eax, eax
je 0x4cb553
mov eax, dword [esi + 0x180]
push eax
call fcn.004b78e0
push esi
call fcn.004c9da0
mov ecx, dword [esi + 0x2d4]
push ecx
push str.CUT_isviewing__d_n
push 0xffffffffffffffff
call fcn.0048f0c0
add esp, 0xc
cmp dword [esi + 0x2d4], 0
je 0x4cb49c
mov edx, dword [esi + 0x2d8]
mov eax, dword [esi + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_ChangeClipboardChain]
mov dword [esi + 0x2d4], 0
mov ecx, dword [esi + 0x60]
push edi
push ecx
xor edi, edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4cb4ea
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call fcn.004c1a40
test eax, eax
je 0x4cb4e4
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
push eax
push 0xf
call edi
push 2
call fcn.004c19f0
test eax, eax
je 0x4cb4df
push eax
call fcn.004c2020
movzx edx, ax
push edx
call edi
mov edi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
push str.iscut__d_n
push 0xffffffffffffffff
call fcn.0048f0c0
add esp, 0xc
test edi, edi
je 0x4cb54c
push str.ghost_selection_n
push 0xffffffffffffffff
call fcn.0048f0c0
add esp, 8
push esi
call fcn.004ef870
mov eax, dword [esi + 0x2d4]
push eax
push str.viewing__d_n
push 0xffffffffffffffff
call fcn.0048f0c0
add esp, 0xc
cmp dword [esi + 0x2d4], 0
jne 0x4cb54c
mov ecx, dword [esi + 0x60]
push ecx
call dword [sym.imp.USER32.dll_SetClipboardViewer]
mov dword [esi + 0x2d8], eax
mov dword [esi + 0x2d4], 1
mov dword [esi + 0x2d0], edi
pop edi
push str.is_cut_done_n
push 0xffffffffffffffff
call fcn.0048f0c0
add esp, 8
pop esi
ret 4
Function at 0x4d3770
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x114
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push edi
push esi
mov dword [esi + 4], 0xff
mov dword [esi + 0x10], 1
mov dword [esi], 0
mov dword [esi + 8], 0
push 0x4d3680
mov dword [esi + 0x6c], 0
call fcn.004b1890
mov dword [esi + 0x68], eax
lea eax, [esp + 8]
push eax
call fcn.00522730
mov eax, dword [0x58de7c]
mov ecx, dword [eax]
mov edx, dword [eax + 0x14]
push ecx
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00523500
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x58]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
push ecx
push 0x2711
push edx
call edi
push eax
call fcn.004a9a20
lea eax, [esp + 8]
push eax
call fcn.00401260
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [esi + 0x58]
push eax
push ecx
push 0x2711
push edx
call fcn.004a9ac0
mov eax, dword [esi + 0x58]
push 0
push 0x2712
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
mov ecx, dword [esi + 0x58]
push 0
push 0x2713
push ecx
call edi
push eax
call ebx
mov edx, dword [esi + 0x58]
push 0
push 0x2714
push edx
call edi
push eax
call ebx
mov eax, dword [esi + 0x58]
push 0
push 0x2715
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 0x58]
push 0
push 0x2716
push ecx
call edi
push eax
call ebx
mov ecx, dword [esp + 0x118]
pop edi
pop ebx
xor ecx, esp
call fcn.0054899c
add esp, 0x114
ret

Function at 0x4ddc40
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, dword [ebp + 4]
cmp eax, 0x100
push esi
je 0x4ddc57
cmp eax, 0x104
jne 0x4ddc78
mov esi, dword [0x598294]
test esi, esi
je 0x4ddc78
mov eax, dword [ebp]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.004ac910
test eax, eax
jne 0x4ddc7f
mov esi, dword [esi]
test esi, esi
jne 0x4ddc61
pop esi
xor eax, eax
pop ebp
ret 4
mov edx, dword [esi + 0xc]
push 0x400
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp], eax
jne 0x4ddc78
push ebx
push edi
call fcn.004b2990
mov edi, dword [ebp + 8]
mov ebx, eax
lea eax, [edi - 8]
cmp eax, 0xdd
ja case.0x4ddcb0.10
movzx eax, byte [eax + 0x4ddd00]
jmp dword [eax*4 + 0x4ddcf0]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret 4
test ebx, ebx
jne case.0x4ddcb0.10
xor edi, edi
jmp case.0x4ddcb0.10
mov ecx, dword [ebp]
push ecx
call sub.IMM32.dll_ImmGetVirtualKey
mov edi, eax
mov edx, dword [ebp]
push edi
push ebx
push edx
call fcn.004b3230
mov dword [esi + 0x20], edi
pop edi
mov dword [esi + 0x1c], ebx
pop ebx
pop esi
mov eax, 1
pop ebp
ret 4
Function at 0x4e9fa0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, dword [ebp + 4]
cmp eax, 0x100
push esi
je 0x4e9fb7
cmp eax, 0x104
jne 0x4e9fd8
mov esi, dword [0x5982a4]
test esi, esi
je 0x4e9fd8
mov eax, dword [ebp]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.004ac910
test eax, eax
jne 0x4e9fdf
mov esi, dword [esi]
test esi, esi
jne 0x4e9fc1
pop esi
xor eax, eax
pop ebp
ret 4
mov edx, dword [esi + 0xc]
push 0x3f0
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp], eax
jne 0x4e9fd8
push ebx
push edi
call fcn.004b2990
mov edi, dword [ebp + 8]
mov ebx, eax
lea eax, [edi - 8]
cmp eax, 0xdd
ja case.0x4ea010.10
movzx eax, byte [eax + 0x4ea060]
jmp dword [eax*4 + 0x4ea050]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
ret 4
test ebx, ebx
jne case.0x4ea010.10
xor edi, edi
jmp case.0x4ea010.10
mov ecx, dword [ebp]
push ecx
call sub.IMM32.dll_ImmGetVirtualKey
mov edi, eax
mov edx, dword [ebp]
push edi
push ebx
push edx
call fcn.004b3230
mov dword [esi + 0x20], edi
pop edi
mov dword [esi + 0x1c], ebx
pop ebx
pop esi
mov eax, 1
pop ebp
ret 4
Function at 0x4f5b00
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
push 2
push esi
call fcn.005100d0
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0
mov ebp, 1
je 0x4f5b69
cmp dword [esi + 0x354], ebp
push esi
jne 0x4f5b44
call fcn.004ed120
mov edi, eax
imul edi, dword [esi + 0x35c]
jmp 0x4f5b4b
call fcn.004ed120
mov edi, eax
push edi
push esi
call fcn.004ed540
cmp ebx, edi
jl 0x4f5b5c
add eax, edi
cmp ebx, eax
jl 0x4f5b65
cmp byte [0x597e21], 0
je 0x4f5b69
mov dword [esp + 0x10], ebp
push esi
call fcn.004ed120
cmp dword [esi + 0x354], ebp
mov dword [esp + 0x14], eax
jne 0x4f5b87
mov eax, dword [esi + 0x35c]
mov dword [esp + 0x20], eax
jmp 0x4f5b8b
mov dword [esp + 0x20], ebp
xor edi, edi
push edi
push esi
call fcn.004f35e0
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esi + 0x60]
push eax
push ecx
call fcn.004ac910
test eax, eax
je 0x4f5bae
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ebx, dword [esp + 0x24]
cmp ebx, dword [esi + 0x354]
mov ebp, dword [sym.imp.USER32.dll_InvalidateRect]
je 0x4f5c10
mov edx, dword [esi + 0x2e4]
push 0
push 0
push edx
mov dword [esi + 0x354], ebx
call ebp
test ebx, ebx
jne 0x4f5beb
mov eax, dword [esi + 0x6c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.004ed400
jmp 0x4f5bf7
mov ecx, dword [esi + 0x6c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call fcn.004f35e0
push esi
call fcn.004ee9d0
push esi
call fcn.004f4fd0
mov edi, 1
cmp ebx, 1
jne 0x4f5c47
mov eax, dword [esp + 0x28]
cmp eax, dword [esi + 0x358]
je 0x4f5c41
mov dword [esi + 0x358], eax
call fcn.004ef950
push esi
call fcn.004f4fd0
mov edx, dword [esi + 0x2e4]
push 0
push 0
push edx
call ebp
mov edi, ebx
push esi
call fcn.004ee9d0
test edi, edi
je 0x4f5c98
cmp ebx, 1
jne 0x4f5c58
mov ecx, dword [esi + 0x35c]
jmp 0x4f5c5d
mov ecx, 1
mov eax, dword [esp + 0x20]
cmp ecx, eax
je 0x4f5c84
imul dword [esp + 0x14]
push 1
mov edi, eax
push 1
mov ebx, edx
mov eax, ecx
cdq
push edx
push eax
push ebx
push edi
call fcn.00549550
push eax
push esi
call fcn.004f5760
cmp dword [esp + 0x10], 0
je 0x4f5c98
mov eax, dword [esp + 0x18]
push 0
push eax
push esi
call fcn.004f5930
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc