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

Disassembly:
sub esp, 0x21c
mov eax, dword [0x597fa8]
xor eax, esp
mov dword [esp + 0x218], eax
push edi
xor edi, edi
call fcn.004aefd0
test eax, eax
jne 0x4ba0d1
push ebp
push esi
lea eax, [esp + 0x10]
push eax
call fcn.00523650
lea esi, [esp + 0x10]
call fcn.004b8df0
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 0x4ba0c5
push ebx
mov ebx, dword [0x598ccc]
lea ecx, [ecx]
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 0x4ba02e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Open_pipe_failed__d_n
call fcn.0048f080
add esp, 8
call fcn.004b8c30
test eax, eax
je 0x4ba0c4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebp
sub eax, dword [esp + 0x10]
cmp eax, 0xea60
jbe 0x4b9fd0
jmp 0x4ba0c4
push 0xb8
call fcn.004a47b0
push 0xb8
mov edi, eax
push 0
push edi
call fcn.00549ff0
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.004acc50
mov dword [edi + 0x14], eax
call fcn.004acc50
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.004acc50
mov dword [edi + 0x50], eax
call fcn.004acc50
mov dword [edi + 0x54], eax
call fcn.004acc50
push edi
push 0x4b9bd0
mov dword [edi + 0x58], eax
call fcn.004b21c0
mov edx, edi
mov dword [edi + 0x4c], eax
call fcn.004b9f30
test eax, eax
jne 0x4ba0c4
push edi
call fcn.004b8f50
xor edi, edi
pop ebx
lea ecx, [esp + 0x10]
push ecx
call fcn.00401210
pop esi
pop ebp
mov ecx, dword [esp + 0x21c]
mov eax, edi
pop edi
xor ecx, esp
call fcn.005498fd
add esp, 0x21c
ret 8

Function at 0x4ba390
Capabilities:
Terminate process

Disassembly:
sub esp, 0x24
push ebx
push edi
push str.terminate_service..._n
xor ebx, ebx
call fcn.0048f080
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add esp, 4
push 4
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x4ba416
lea edx, [esp + 0x34]
push edx
push 0x24
lea eax, [esp + 0x10]
push eax
push ebx
push edi
call dword [0x58ef68]
test eax, eax
je 0x4ba40f
mov ecx, dword [esp + 0x24]
push esi
push ecx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4ba40e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4ba407
push str.Service_terminated_n
call fcn.0048f080
add esp, 4
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, ebx
pop ebx
add esp, 0x24
ret 8
Function at 0x4ba420
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x38]
push esi
push eax
xor esi, esi
push str.wait_for_service_state__u..._n
mov dword [esp + 0xc], esi
call fcn.0048f080
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
add esp, 8
push 4
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
mov dword [esp + 0x34], eax
je 0x4ba4e8
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push ebp
push edi
call esi
mov edi, eax
call esi
mov ebx, dword [esp + 0x44]
sub eax, edi
cmp eax, ebx
jae 0x4ba4b3
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
push eax
push 0x24
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
call dword [0x58ef68]
test eax, eax
je 0x4ba4cf
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x18], eax
je 0x4ba4c7
push 0xa
call ebp
call esi
sub eax, edi
cmp eax, ebx
jb 0x4ba480
mov ecx, dword [esp + 0x48]
push ecx
push str.wait_for_service_state__u_timeout_n
call fcn.0048f080
add esp, 8
jmp 0x4ba4cf
mov dword [esp + 0x10], 1
mov edx, dword [esp + 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x28
ret 0x10
mov eax, esi
pop esi
add esp, 0x28
ret 0x10
Function at 0x4ba500
Capabilities:
Start service

Disassembly:
sub esp, 0x208
mov eax, dword [0x597fa8]
xor eax, esp
mov dword [esp + 0x204], eax
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4ba628
push ebp
push esi
lea eax, [esp + 0xc]
push eax
call fcn.004ba2e0
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4ba5df
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4ba5ad
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
push str.start_service__08x_n
call fcn.0048f080
add esp, 8
cmp dword [esp + 0x21c], 0
je 0x4ba5ac
call ebx
cmp eax, 0x420
je 0x4ba5ac
call ebx
push eax
mov eax, dword [0x58eedc]
mov edx, dword [eax + 0x1048]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
pop ebx
push 4
push 0xea60
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004ba420
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
pop edi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.005498fd
add esp, 0x208
ret 4
cmp dword [esp + 0x218], 0
je 0x4ba60b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eedc]
mov edx, dword [eax + 0x103c]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push edi
call ebp
pop esi
pop ebp
pop edi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.005498fd
add esp, 0x208
ret 4
cmp dword [esp + 0x210], 0
je 0x4ba654
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eedc]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
mov ecx, dword [esp + 0x208]
pop edi
xor ecx, esp
call fcn.005498fd
add esp, 0x208
ret 4
Function at 0x4ba670
Capabilities:
Stop service

Disassembly:
sub esp, 0x224
mov eax, dword [0x597fa8]
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 0x4ba7e3
push ebx
push esi
lea eax, [esp + 0x28]
push eax
call fcn.004ba2e0
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 0x4ba79a
lea edx, [esp + 0xc]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4ba74e
push 1
push 0xea60
lea eax, [esp + 0x30]
push eax
push edi
call fcn.004ba420
test eax, eax
jne 0x4ba77a
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.004ba390
test eax, eax
jne 0x4ba77a
cmp dword [esp + 0x234], eax
je 0x4ba77a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eedc]
mov edx, dword [eax + 0x104c]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.005498fd
add esp, 0x224
ret 4
cmp dword [esp + 0x234], 0
je 0x4ba77a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eedc]
mov ecx, dword [eax + 0x104c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.005498fd
add esp, 0x224
ret 4
cmp dword [esp + 0x234], 0
je 0x4ba7c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eedc]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push edi
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.005498fd
add esp, 0x224
ret 4
cmp dword [esp + 0x22c], 0
je 0x4ba80f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eedc]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
mov ecx, dword [esp + 0x224]
pop edi
xor ecx, esp
call fcn.005498fd
add esp, 0x224
ret 4
Function at 0x4ba830
Capabilities:
Delete service

Disassembly:
sub esp, 0x208
mov eax, dword [0x597fa8]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x4ba919
push ebp
push esi
lea eax, [esp + 0xc]
push eax
call fcn.004ba2e0
push 0
call fcn.004ba670
push 0x10000
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 0x4ba8db
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x4ba8d1
cmp dword [esp + 0x218], eax
je 0x4ba8d1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x430
je 0x4ba8d0
call edi
push eax
mov eax, dword [0x58eedc]
mov edx, dword [eax + 0x1050]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
pop edi
push esi
call ebp
push ebx
call ebp
pop esi
pop ebp
jmp 0x4ba945
cmp dword [esp + 0x218], 0
je 0x4ba912
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x424
je 0x4ba912
call esi
push eax
mov eax, dword [0x58eedc]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push ebx
call ebp
pop esi
pop ebp
jmp 0x4ba945
cmp dword [esp + 0x210], 0
je 0x4ba945
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eedc]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push 0
push str.InstallService
call fcn.004fdf70
mov ecx, dword [esp + 0x208]
pop ebx
xor ecx, esp
call fcn.005498fd
add esp, 0x208
ret 4
Function at 0x4ba970
Capabilities:
Create service
Delete service
Persist via windows service

Disassembly:
sub esp, 0x428
mov eax, dword [0x597fa8]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [esp + 0x430]
mov ecx, dword [esp + 0x434]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push ebp
push esi
push edi
push 0xf003f
push 0
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call ebx
mov esi, eax
test esi, esi
je 0x4ba9f8
lea edx, [esp + 0x230]
push edx
call fcn.004ba2e0
push 0
call fcn.004ba670
push 0x10000
lea eax, [esp + 0x234]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x4ba9f1
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push str.InstallService
call fcn.004fdf70
push str.install_service..._n
mov dword [esp + 0x14], 0x1e
call fcn.0048f080
add esp, 4
push 2
push 0
push 0
call ebx
mov ebx, dword [esp + 0x43c]
mov esi, eax
test esi, esi
je 0x4bab2f
mov ebp, dword [sym.imp.ADVAPI32.dll_CreateServiceW]
jmp 0x4baa40
lea ecx, [esp + 0x1c]
push ecx
call fcn.00523650
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
xor edi, edi
call fcn.004ba1e0
lea edx, [esp + 0x230]
push edx
call fcn.004ba2e0
mov eax, dword [esp + 0x24]
push edi
push edi
push edi
push edi
push edi
push eax
push edi
push 2
push 0x10
push 2
lea ecx, [esp + 0x258]
push ecx
mov edx, ecx
push edx
push esi
call ebp
test eax, eax
je 0x4baa9f
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call fcn.004ba500
jmp 0x4baaf4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x4baab4
push ebx
call fcn.004ba500
jmp 0x4baaf4
cmp dword [esp + 0x10], 0
je 0x4baad4
cmp eax, 0x430
jne 0x4baad4
sub dword [esp + 0x10], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4baaf9
test ebx, ebx
je 0x4baaf4
push eax
mov eax, dword [0x58eedc]
mov ecx, dword [eax + 0x1040]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [esp + 0x1c]
push eax
call fcn.00401210
test edi, edi
jne 0x4bab55
push str.install_service..._n
call fcn.0048f080
add esp, 4
push 2
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x4baa40
test ebx, ebx
je 0x4bab55
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eedc]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push 1
push str.InstallService
call fcn.004fdf70
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005498fd
add esp, 0x428
ret 0xc
Function at 0x4cb250
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x218
mov eax, dword [0x597fa8]
xor eax, esp
mov dword [esp + 0x214], eax
cmp byte [0x599180], 0
push ebx
push esi
mov esi, dword [esp + 0x224]
push edi
jne 0x4cb340
cmp dword [0x599184], 5
jae 0x4cb340
lea eax, [esp + 0xc]
push eax
call fcn.00523650
mov edi, dword [esp + 0x22c]
push edi
push esi
xor ebx, ebx
call fcn.004c4560
mov dword [esp + 0xc], eax
add eax, 1
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00527580
mov ebx, dword [esp + 0x14]
push edi
push esi
call fcn.004c4560
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 0x4cb334
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 0x4cb32d
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.00401210
jmp 0x4cb3a8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0xc]
push ecx
call fcn.00401210
jmp 0x4cb3a8
push ebp
mov ebp, dword [esp + 0x230]
push ebp
push esi
xor ebx, ebx
call fcn.004c4560
lea edx, [eax + eax + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4cb3a7
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
push esi
mov ebx, eax
call fcn.004c4560
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 0x4cb3a0
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 0x4cb3a7
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
mov ecx, dword [esi + 0x180]
push ecx
call fcn.004b84b0
push esi
call fcn.004cae20
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005498fd
add esp, 0x218
ret 8

Function at 0x4cb730
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push str.ui_close_n
call fcn.0048f080
mov esi, dword [esp + 0x10]
add esp, 4
call fcn.004c7b80
mov eax, dword [esi + 0x60]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, esi
call fcn.004c4820
cmp dword [esi + 0x440], 0
jne 0x4cb798
cmp byte [0x598ef2], 0
je 0x4cb775
push esi
call fcn.0050fef0
jmp 0x4cb798
mov eax, esi
mov dword [esi + 0x440], 1
call fcn.004c3200
mov ecx, dword [0x5992f8]
mov dword [esi + 0x124], ecx
mov dword [0x5992f8], esi
cmp byte [0x58b62a], 0
pop esi
pop ebx
jne 0x4cb7b4
cmp dword [0x59930c], 0
jne 0x4cb7b4
call fcn.004c0090
ret 4
call fcn.004b72e0
mov dword [esp + 4], 0
jmp fcn.004096e0
Function at 0x4cc4a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
cmp byte [0x58b6a0], 0
je 0x4cc5d3
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00510c80
test eax, eax
je 0x4cc5c3
mov eax, dword [esi + 0x180]
push eax
call fcn.004b84b0
push esi
call fcn.004cae20
mov ecx, dword [esi + 0x2d4]
push ecx
push str.CUT_isviewing__d_n
push 0xffffffffffffffff
call fcn.0048f0a0
add esp, 0xc
cmp dword [esi + 0x2d4], 0
je 0x4cc50c
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 0x4cc55a
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call fcn.004c29c0
test eax, eax
je 0x4cc554
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
push eax
push 0xf
call edi
push 2
call fcn.004c2970
test eax, eax
je 0x4cc54f
push eax
call fcn.004c2fa0
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.0048f0a0
add esp, 0xc
test edi, edi
je 0x4cc5bc
push str.ghost_selection_n
push 0xffffffffffffffff
call fcn.0048f0a0
add esp, 8
push esi
call fcn.004f0950
mov eax, dword [esi + 0x2d4]
push eax
push str.viewing__d_n
push 0xffffffffffffffff
call fcn.0048f0a0
add esp, 0xc
cmp dword [esi + 0x2d4], 0
jne 0x4cc5bc
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.0048f0a0
add esp, 8
pop esi
ret 4
Function at 0x4d4850
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x114
mov eax, dword [0x597fa8]
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 0x4d4760
mov dword [esi + 0x6c], 0
call fcn.004b21c0
mov dword [esi + 0x68], eax
lea eax, [esp + 8]
push eax
call fcn.00523650
mov eax, dword [0x58eedc]
mov ecx, dword [eax]
mov edx, dword [eax + 0x14]
push ecx
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00524470
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.004aa2e0
lea eax, [esp + 8]
push eax
call fcn.00401210
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.004aa380
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.005498fd
add esp, 0x114
ret
Function at 0x4f6be0
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.00510f80
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0
mov ebp, 1
je 0x4f6c49
cmp dword [esi + 0x354], ebp
push esi
jne 0x4f6c24
call fcn.004ee200
mov edi, eax
imul edi, dword [esi + 0x35c]
jmp 0x4f6c2b
call fcn.004ee200
mov edi, eax
push edi
push esi
call fcn.004ee620
cmp ebx, edi
jl 0x4f6c3c
add eax, edi
cmp ebx, eax
jl 0x4f6c45
cmp byte [0x598e81], 0
je 0x4f6c49
mov dword [esp + 0x10], ebp
push esi
call fcn.004ee200
cmp dword [esi + 0x354], ebp
mov dword [esp + 0x14], eax
jne 0x4f6c67
mov eax, dword [esi + 0x35c]
mov dword [esp + 0x20], eax
jmp 0x4f6c6b
mov dword [esp + 0x20], ebp
xor edi, edi
push edi
push esi
call fcn.004f46c0
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esi + 0x60]
push eax
push ecx
call fcn.004ad0c0
test eax, eax
je 0x4f6c8e
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 0x4f6cf0
mov edx, dword [esi + 0x2e4]
push 0
push 0
push edx
mov dword [esi + 0x354], ebx
call ebp
test ebx, ebx
jne 0x4f6ccb
mov eax, dword [esi + 0x6c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.004ee4e0
jmp 0x4f6cd7
mov ecx, dword [esi + 0x6c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call fcn.004f46c0
push esi
call fcn.004efab0
push esi
call fcn.004f60b0
mov edi, 1
cmp ebx, 1
jne 0x4f6d27
mov eax, dword [esp + 0x28]
cmp eax, dword [esi + 0x358]
je 0x4f6d21
mov dword [esi + 0x358], eax
call fcn.004f0a30
push esi
call fcn.004f60b0
mov edx, dword [esi + 0x2e4]
push 0
push 0
push edx
call ebp
mov edi, ebx
push esi
call fcn.004efab0
test edi, edi
je 0x4f6d78
cmp ebx, 1
jne 0x4f6d38
mov ecx, dword [esi + 0x35c]
jmp 0x4f6d3d
mov ecx, 1
mov eax, dword [esp + 0x20]
cmp ecx, eax
je 0x4f6d64
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.0054a4b0
push eax
push esi
call fcn.004f6840
cmp dword [esp + 0x10], 0
je 0x4f6d78
mov eax, dword [esp + 0x18]
push 0
push eax
push esi
call fcn.004f6a10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4fb7b0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x334
mov eax, dword [0x597fa8]
xor eax, esp
mov dword [esp + 0x330], eax
push esi
lea eax, [esp + 0x114]
push eax
call fcn.00523650
lea ecx, [esp + 0x114]
push ecx
push 0x554ae4
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
xor esi, esi
call fcn.004ae600
test eax, eax
je 0x4fb8eb
lea edx, [esp + 4]
push edx
call fcn.00523650
lea eax, [esp + 0x224]
push eax
mov esi, 2
call fcn.00523650
push 0
lea ecx, [esp + 0x228]
push ecx
call fcn.004ad650
mov edx, dword [esp + 0x22c]
push edx
lea eax, [esp + 8]
push str.__s___startup
push eax
call fcn.00524470
add esp, 0xc
call fcn.004a3a20
test eax, eax
je 0x4fb85e
call fcn.004a3a20
push eax
lea ecx, [esp + 8]
push str.__instance___s_
push ecx
call fcn.00524610
add esp, 0xc
mov eax, dword [0x599168]
cmp dword [eax + 0x10], 0
je 0x4fb87f
mov edx, dword [eax + 0x10]
push edx
lea eax, [esp + 8]
push str.__config___s_
push eax
call fcn.00524610
add esp, 0xc
lea ecx, [esp + 0x224]
push ecx
call fcn.00401210
mov edx, dword [esp + 0x11c]
push edx
push str.reg:__s_n
call fcn.0048f080
mov eax, dword [esp + 0x14]
push eax
push str.set:__s_n
call fcn.0048f080
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x12c]
mov dl, byte [eax]
add esp, 0x10
cmp dl, byte [ecx]
jne 0x4fb8d2
test dl, dl
je 0x4fb8dc
mov dl, byte [eax + 1]
add eax, 1
add ecx, 1
cmp dl, byte [ecx]
je 0x4fb8c1
movzx ecx, byte [ecx]
movzx eax, byte [eax]
sub eax, ecx
jne 0x4fb8e1
mov esi, 1
lea edx, [esp + 4]
push edx
call fcn.00401210
lea eax, [esp + 0x114]
push eax
call fcn.00401210
mov ecx, dword [esp + 0x334]
mov eax, esi
pop esi
xor ecx, esp
call fcn.005498fd
add esp, 0x334
ret