joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba300
Capabilities:
Delete service
Stop service
Terminate process

Disassembly:
sub esp, 0x224
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
je 0x4ba44b
push ebx
push esi
push edi
lea eax, [esp + 0x2c]
push eax
call fcn.004ba120
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 0x24
lea ecx, [esp + 0x30]
push ecx
push ebp
call ebx
mov esi, eax
test esi, esi
jne 0x4ba361
push 4
lea edx, [esp + 0x30]
push edx
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x4ba3a7
mov edx, esi
call fcn.004ba2b0
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test edi, edi
je 0x4ba39c
push 0xea60
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4ba395
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call edi
jmp 0x4ba3ad
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x10000
lea ecx, [esp + 0x30]
push ecx
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x4ba40c
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x4ba401
cmp dword [esp + 0x238], eax
je 0x4ba401
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x430
je 0x4ba401
call ebx
push eax
mov eax, dword [0x58deec]
mov edx, dword [eax + 0x1050]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
push esi
call edi
push ebp
call edi
pop edi
pop esi
pop ebx
jmp 0x4ba477
cmp dword [esp + 0x238], 0
je 0x4ba443
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x424
je 0x4ba443
call esi
push eax
mov eax, dword [0x58deec]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
push ebp
call edi
pop edi
pop esi
pop ebx
jmp 0x4ba477
cmp dword [esp + 0x22c], 0
je 0x4ba477
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
push 0
push str.InstallService
call fcn.004fdd30
mov ecx, dword [esp + 0x224]
pop ebp
xor ecx, esp
call fcn.00549750
add esp, 0x224
ret 4
Function at 0x4ba4a0
Capabilities:
Start service

Disassembly:
sub esp, 0x208
mov eax, dword [0x596fb8]
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 0x4ba5c8
push ebp
push esi
lea eax, [esp + 0xc]
push eax
call fcn.004ba120
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 0x4ba57f
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4ba54d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
push str.start_service__08x_n
call fcn.0048f0d0
add esp, 8
cmp dword [esp + 0x21c], 0
je 0x4ba54c
call ebx
cmp eax, 0x420
je 0x4ba54c
call ebx
push eax
mov eax, dword [0x58deec]
mov edx, dword [eax + 0x1048]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
pop ebx
push 4
push 0xea60
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004ba1d0
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
pop edi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.00549750
add esp, 0x208
ret 4
cmp dword [esp + 0x218], 0
je 0x4ba5ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov edx, dword [eax + 0x103c]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
push edi
call ebp
pop esi
pop ebp
pop edi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.00549750
add esp, 0x208
ret 4
cmp dword [esp + 0x210], 0
je 0x4ba5f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
mov ecx, dword [esp + 0x208]
pop edi
xor ecx, esp
call fcn.00549750
add esp, 0x208
ret 4
Function at 0x4ba610
Capabilities:
Stop service
Terminate process

Disassembly:
sub esp, 0x224
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x4ba71d
push ebp
push esi
push edi
lea eax, [esp + 0x2c]
push eax
call fcn.004ba120
mov edi, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 0x24
lea ecx, [esp + 0x30]
push ecx
push ebx
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x4ba677
push 4
lea edx, [esp + 0x30]
push edx
push ebx
call edi
mov esi, eax
test esi, esi
je 0x4ba6d3
mov edx, esi
call fcn.004ba2b0
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test edi, edi
je 0x4ba6b2
push 0xea60
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4ba6ab
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebp
push ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00549750
add esp, 0x224
ret 4
cmp dword [esp + 0x238], 0
je 0x4ba6ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
push ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00549750
add esp, 0x224
ret 4
cmp dword [esp + 0x22c], 0
je 0x4ba749
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
mov ecx, dword [esp + 0x224]
pop ebx
xor ecx, esp
call fcn.00549750
add esp, 0x224
ret 4
Function at 0x4ba770
Capabilities:
Create service
Persist via windows service

Disassembly:
sub esp, 0x420
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
mov ebx, dword [esp + 0x42c]
push ebp
mov ebp, dword [esp + 0x434]
push esi
push edi
push 0
call fcn.004ba300
push str.install_service..._n
mov dword [esp + 0x14], 0x1e
call fcn.0048f0d0
add esp, 4
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4ba8cf
jmp 0x4ba7d0
lea eax, [esp + 0x14]
push eax
call fcn.00401210
push ebp
push ebx
lea ecx, [esp + 0x1c]
push ecx
xor edi, edi
call fcn.004ba020
lea edx, [esp + 0x228]
push edx
call fcn.004ba120
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 0x4ba832
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x434]
push eax
call fcn.004ba4a0
jmp 0x4ba894
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x4ba84e
mov ecx, dword [esp + 0x434]
push ecx
call fcn.004ba4a0
jmp 0x4ba894
cmp dword [esp + 0x10], 0
je 0x4ba86e
cmp eax, 0x430
jne 0x4ba86e
sub dword [esp + 0x10], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4ba899
cmp dword [esp + 0x434], 0
je 0x4ba894
push eax
mov eax, dword [0x58deec]
mov edx, dword [eax + 0x1040]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esp + 0x14]
push ecx
call fcn.00401230
test edi, edi
jne 0x4ba8fb
push str.install_service..._n
call fcn.0048f0d0
add esp, 4
push 2
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x4ba7d0
cmp dword [esp + 0x434], 0
je 0x4ba8fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58deec]
mov edx, dword [eax + 0x1044]
mov eax, dword [eax]
push edx
push eax
push 0x10
push 0
call fcn.004a9ef0
add esp, 0x14
push 1
push str.InstallService
call fcn.004fdd30
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00549750
add esp, 0x420
ret 0xc
Function at 0x4bb510
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, dword [edi + 0x50]
xor ebx, ebx
cmp esi, ebx
je 0x4bb569
push ebp
cmp dword [esi + 0xc], ebx
mov ebp, dword [esi]
je 0x4bb5aa
jmp 0x4bb530
cmp dword [edi + 0x58], ebx
je 0x4bb572
mov edx, dword [edi + 0x30]
push ebx
lea eax, [esp + 0x34]
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 0x4bb59b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
je 0x4bb657
mov dword [edi + 0x38], 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
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 + 0x34]
push ecx
mov ecx, dword [edi + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4bb639
mov eax, dword [esp + 0x30]
add dword [esi + 8], eax
sub dword [esi + 0xc], eax
cmp dword [esi + 0xc], ebx
jne 0x4bb530
cmp dword [edi + 0xb0], ebx
je 0x4bb60c
mov eax, dword [0x5982c4]
cmp eax, ebx
je 0x4bb5f3
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 3
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0xbb8
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov eax, dword [0x5982c0]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [0x5982bc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 4]
push edx
call fcn.004a4a00
push esi
call fcn.004a4a00
cmp ebp, ebx
mov dword [edi + 0x50], ebp
jne 0x4bb625
mov dword [edi + 0x54], ebx
cmp ebp, ebx
mov esi, ebp
jne 0x4bb524
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4bb561
push str.write_pending..._n
call fcn.0048f0d0
add esp, 4
pop ebp
mov dword [edi + 0x58], 1
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
Function at 0x4bc850
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push edi
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x4bc8ed
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x4bc870
cmp dword [esi + 0x4c], edi
je 0x4bc89c
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 0x4bc8de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jmp 0x4bc969
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 0x4bc95e
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.0048f0d0
add esp, 0x10
mov eax, dword [esp + 0xc]
add dword [esi + 0x40], eax
sub dword [esi + 0x3c], eax
cmp dword [esi + 0x3c], edi
jne 0x4bc870
cmp dword [esi + 0x48], edi
je 0x4bc922
mov eax, esi
call fcn.004bbb10
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x4bc906
push eax
call fcn.004a4a00
push 4
call fcn.004a49a0
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 0x4bc977
push eax
call fcn.004a4a00
push edi
call fcn.004a49a0
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 0x4bc977
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 0x4cb2c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x218
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x214], eax
cmp byte [0x5981a0], 0
push ebx
push esi
mov esi, dword [esp + 0x224]
push edi
jne 0x4cb3b0
cmp dword [0x5981a4], 5
jae 0x4cb3b0
lea eax, [esp + 0xc]
push eax
call fcn.00401210
mov edi, dword [esp + 0x22c]
push edi
push esi
xor ebx, ebx
call fcn.004c42a0
mov dword [esp + 0xc], eax
add eax, 1
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00527330
mov ebx, dword [esp + 0x14]
push edi
push esi
call fcn.004c42a0
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 0x4cb3a4
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 0x4cb39d
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.00401230
jmp 0x4cb418
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0xc]
push ecx
call fcn.00401230
jmp 0x4cb418
push ebp
mov ebp, dword [esp + 0x230]
push ebp
push esi
xor ebx, ebx
call fcn.004c42a0
lea edx, [eax + eax + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4cb417
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
push esi
mov ebx, eax
call fcn.004c42a0
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 0x4cb410
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 0x4cb417
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
mov ecx, dword [esi + 0x180]
push ecx
call fcn.004b8290
push esi
call fcn.004cae90
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00549750
add esp, 0x218
ret 8

Function at 0x4cb7a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push str.ui_close_n
call fcn.0048f0d0
mov esi, dword [esp + 0x10]
add esp, 4
call fcn.004c78d0
mov eax, dword [esi + 0x60]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, esi
call fcn.004c4560
cmp dword [esi + 0x440], 0
jne 0x4cb808
cmp byte [0x597f12], 0
je 0x4cb7e5
push esi
call fcn.0050fca0
jmp 0x4cb808
mov eax, esi
mov dword [esi + 0x440], 1
call fcn.004c2f40
mov ecx, dword [0x598318]
mov dword [esi + 0x124], ecx
mov dword [0x598318], esi
cmp byte [0x58a62a], 0
pop esi
pop ebx
jne 0x4cb824
cmp dword [0x59832c], 0
jne 0x4cb824
call fcn.004bfde0
ret 4
call fcn.004b70c0
mov dword [esp + 4], 0
jmp fcn.00409710
Function at 0x4ccb80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
cmp byte [0x58a6a1], 0
je 0x4cccb3
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00510a40
test eax, eax
je 0x4ccca3
mov eax, dword [esi + 0x180]
push eax
call fcn.004b8290
push esi
call fcn.004cae90
mov ecx, dword [esi + 0x2d4]
push ecx
push str.CUT_isviewing__d_n
push 0xffffffffffffffff
call fcn.0048f0f0
add esp, 0xc
cmp dword [esi + 0x2d4], 0
je 0x4ccbec
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 0x4ccc3a
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call fcn.004c2700
test eax, eax
je 0x4ccc34
mov edi, dword [sym.imp.USER32.dll_SetClipboardData]
push eax
push 0xf
call edi
push 2
call fcn.004c26b0
test eax, eax
je 0x4ccc2f
push eax
call fcn.004c2ce0
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.0048f0f0
add esp, 0xc
test edi, edi
je 0x4ccc9c
push str.ghost_selection_n
push 0xffffffffffffffff
call fcn.0048f0f0
add esp, 8
push esi
call fcn.004f06a0
mov eax, dword [esi + 0x2d4]
push eax
push str.viewing__d_n
push 0xffffffffffffffff
call fcn.0048f0f0
add esp, 0xc
cmp dword [esi + 0x2d4], 0
jne 0x4ccc9c
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.0048f0f0
add esp, 8
pop esi
ret 4
Function at 0x4d4580
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x114
mov eax, dword [0x596fb8]
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 0x4d4490
mov dword [esi + 0x6c], 0
call fcn.004b1f80
mov dword [esi + 0x68], eax
lea eax, [esp + 8]
push eax
call fcn.00401210
mov eax, dword [0x58deec]
mov ecx, dword [eax]
mov edx, dword [eax + 0x14]
push ecx
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00524170
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.004aa020
lea eax, [esp + 8]
push eax
call fcn.00401230
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.004aa0c0
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.00549750
add esp, 0x114
ret
Function at 0x4f6930
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.00510d40
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0
mov ebp, 1
je 0x4f6999
cmp dword [esi + 0x354], ebp
push esi
jne 0x4f6974
call fcn.004edf40
mov edi, eax
imul edi, dword [esi + 0x35c]
jmp 0x4f697b
call fcn.004edf40
mov edi, eax
push edi
push esi
call fcn.004ee360
cmp ebx, edi
jl 0x4f698c
add eax, edi
cmp ebx, eax
jl 0x4f6995
cmp byte [0x597ea1], 0
je 0x4f6999
mov dword [esp + 0x10], ebp
push esi
call fcn.004edf40
cmp dword [esi + 0x354], ebp
mov dword [esp + 0x14], eax
jne 0x4f69b7
mov eax, dword [esi + 0x35c]
mov dword [esp + 0x20], eax
jmp 0x4f69bb
mov dword [esp + 0x20], ebp
xor edi, edi
push edi
push esi
call fcn.004f4410
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esi + 0x60]
push eax
push ecx
call fcn.004ace10
test eax, eax
je 0x4f69de
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 0x4f6a40
mov edx, dword [esi + 0x2e4]
push 0
push 0
push edx
mov dword [esi + 0x354], ebx
call ebp
test ebx, ebx
jne 0x4f6a1b
mov eax, dword [esi + 0x6c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.004ee220
jmp 0x4f6a27
mov ecx, dword [esi + 0x6c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call fcn.004f4410
push esi
call fcn.004ef7f0
push esi
call fcn.004f5e00
mov edi, 1
cmp ebx, 1
jne 0x4f6a77
mov eax, dword [esp + 0x28]
cmp eax, dword [esi + 0x358]
je 0x4f6a71
mov dword [esi + 0x358], eax
call fcn.004f0780
push esi
call fcn.004f5e00
mov edx, dword [esi + 0x2e4]
push 0
push 0
push edx
call ebp
mov edi, ebx
push esi
call fcn.004ef7f0
test edi, edi
je 0x4f6ac8
cmp ebx, 1
jne 0x4f6a88
mov ecx, dword [esi + 0x35c]
jmp 0x4f6a8d
mov ecx, 1
mov eax, dword [esp + 0x20]
cmp ecx, eax
je 0x4f6ab4
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.0054a300
push eax
push esi
call fcn.004f6590
cmp dword [esp + 0x10], 0
je 0x4f6ac8
mov eax, dword [esp + 0x18]
push 0
push eax
push esi
call fcn.004f6760
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4fb500
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x334
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x330], eax
push esi
lea eax, [esp + 0x114]
push eax
call fcn.00401210
lea ecx, [esp + 0x114]
push ecx
push 0x553af8
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
xor esi, esi
call fcn.004ae360
test eax, eax
je 0x4fb63b
lea edx, [esp + 4]
push edx
call fcn.00401210
lea eax, [esp + 0x224]
push eax
mov esi, 2
call fcn.00401210
push 0
lea ecx, [esp + 0x228]
push ecx
call fcn.004ad3a0
mov edx, dword [esp + 0x22c]
push edx
lea eax, [esp + 8]
push str.__s___startup
push eax
call fcn.00524170
add esp, 0xc
call fcn.004a3aa0
test eax, eax
je 0x4fb5ae
call fcn.004a3aa0
push eax
lea ecx, [esp + 8]
push str.__instance___s_
push ecx
call fcn.00524310
add esp, 0xc
mov eax, dword [0x598188]
cmp dword [eax + 0x10], 0
je 0x4fb5cf
mov edx, dword [eax + 0x10]
push edx
lea eax, [esp + 8]
push str.__config___s_
push eax
call fcn.00524310
add esp, 0xc
lea ecx, [esp + 0x224]
push ecx
call fcn.00401230
mov edx, dword [esp + 0x11c]
push edx
push str.reg:__s_n
call fcn.0048f0d0
mov eax, dword [esp + 0x14]
push eax
push str.set:__s_n
call fcn.0048f0d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x12c]
mov dl, byte [eax]
add esp, 0x10
cmp dl, byte [ecx]
jne 0x4fb622
test dl, dl
je 0x4fb62c
mov dl, byte [eax + 1]
add eax, 1
add ecx, 1
cmp dl, byte [ecx]
je 0x4fb611
movzx ecx, byte [ecx]
movzx eax, byte [eax]
sub eax, ecx
jne 0x4fb631
mov esi, 1
lea edx, [esp + 4]
push edx
call fcn.00401230
lea eax, [esp + 0x114]
push eax
call fcn.00401230
mov ecx, dword [esp + 0x334]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00549750
add esp, 0x334
ret
Function at 0x501f00
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x220], eax
push 0x553af8
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.004b3a50
push 0
push str.InstallRunOnStartup
call fcn.004fdd30
lea eax, [esp]
push eax
call fcn.00401210
lea ecx, [esp + 0x110]
push ecx
call fcn.00401210
push 0
lea edx, [esp + 0x114]
push edx
call fcn.004ad3a0
mov eax, dword [esp + 0x118]
push eax
lea ecx, [esp + 4]
push str.__s___startup
push ecx
call fcn.00524170
add esp, 0xc
call fcn.004a3aa0
test eax, eax
je 0x501f94
call fcn.004a3aa0
push eax
lea edx, [esp + 4]
push str.__instance___s_
push edx
call fcn.00524310
add esp, 0xc
mov eax, dword [0x598188]
cmp dword [eax + 0x10], 0
je 0x501fb5
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 4]
push str.__config___s_
push ecx
call fcn.00524310
add esp, 0xc
lea edx, [esp + 0x110]
push edx
call fcn.00401230
mov eax, dword [esp + 8]
push eax
push 0x553af8
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.004b38b0
push 1
push str.InstallRunOnStartup
call fcn.004fdd30
lea ecx, [esp]
push ecx
call fcn.00401230
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00549750
add esp, 0x224
ret