joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x748068]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x4e7888
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4e7888
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne al
test al, al
je 0x4e7888
mov al, 1
jmp 0x4e788a
xor al, al
test al, al
je 0x4e7a15
mov esi, edi
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x4e790f
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x4e7894
mov eax, edi
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x4e7901
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x4e78b0
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0xc]
push eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x3c]
mov dword [ecx + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4e793c
mov eax, dword [esi]
push 5
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4e793c
push dword [esi + 0x24]
push 1
jmp 0x4e792e
test eax, eax
je 0x4e78c3
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x4e78c5
mov eax, dword [esp + 0xc]
push 0
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4e793c
push 0
push 0
push 0xc9c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x9c]
sub ecx, dword [edi + 0x94]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
movaps xmm0, xmmword [esp + 0x14]
push eax
movaps xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
add eax, dword [edi + 0x90]
add ecx, dword [edi + 0x94]
mov edi, dword [edi + 0x88]
test edi, edi
jne 0x4e7990
mov esi, dword [esp + 0x30]
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
lea edx, [eax + ecx]
mov eax, edx
mov dword [esp + 0x2c], edx
sub eax, ecx
add dword [esp + 0x34], eax
mov eax, edi
sub eax, esi
add dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4e7a15
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e7a15
mov edi, dword [edi + 0x28]
push 0x10
call fcn.0064fb19
add esp, 4
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_CopyRect]
push esi
push 0
push 0xc9b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret
Function at 0x4f0d40
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a2707
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x748068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004d1630
mov dword [ebp - 4], 0
mov dword [edi + 0xbc], vtable.RC::RCMiniUITextInputClient.0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xf8]
mov dword [edi], vtable.RC::RCMiniUIEditView.2.0
mov dword [edi + 4], vtable.RC::RCMiniUIEditView.0
mov dword [edi + 0xbc], vtable.RC::RCMiniUIEditView.1.0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 1
mov dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xcc], 0xffffffff
mov dword [edi + 0xd0], 0x6d6d6d
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe4], 1
mov word [edi + 0xe8], 0x100
mov byte [edi + 0xea], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf4], 0x1000100
call fcn.004bf6b0
mov byte [ebp - 4], 2
push 0x38
mov word [edi + 0x168], 0
mov byte [edi + 0x175], 0
call fcn.0064fb19
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00405d80
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
call fcn.00405d80
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [edi + 0x178], esi
mov byte [esi + 0x30], 0
mov eax, dword [edi + 0x178]
movlpd qword [ebp - 0x1c], xmm0
push 0x68
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x170], eax
mov dword [edi + 0xfc], 0xff9933
mov dword [edi + 0x10c], 0xffffff
mov dword [edi + 0x14], 0xffffff
mov dword [edi + 0x24], 0
mov ecx, dword [edi + 0x58]
or dword [ecx + 0x18], 2
call fcn.0064fb19
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
push 0x68
push 0
push edi
call fcn.00652810
add esp, 0x10
mov dword [edi], 0
mov dword [edi + 4], 0
lea ecx, [edi + 0xc]
mov dword [edi + 8], 0
call fcn.00405d80
mov byte [ebp - 4], 6
lea ecx, [edi + 0x24]
call fcn.00405d80
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x4c], eax
lea esi, [edi + 0x60]
mov dword [edi + 0x50], 0
push 0
mov byte [edi + 0x5c], 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0050c7d0
mov dword [esi], eax
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x58], eax
movups xmmword [edi + 0x3c], xmm0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xf0], edi
mov dword [eax + 0xc], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f2570
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x748068]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, ecx
push edi
push dword [ebp + 8]
call fcn.004b8210
test byte [ebp + 8], 2
jne 0x4f263c
mov eax, dword [esi + 0x178]
mov ecx, dword [ebp + 0x10]
mov byte [eax + 0x30], cl
test cl, cl
je 0x4f25f9
push 0x7ed
mov ecx, esi
call fcn.004f30c0
test al, al
je 0x4f263c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xf0]
call fcn.0050bde0
mov ecx, esi
call fcn.004f3300
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa0]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0xf0], 0
je 0x4f263c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x4f261c
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x4f2621
mov byte [esp + 8], 1
push dword [edi + 4]
mov ecx, dword [esi + 0xf0]
push dword [edi]
push dword [esp + 0x10]
call fcn.0050b7d0
mov ecx, esi
call fcn.004f3300
mov ecx, dword [esp + 0xc]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f2660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x748068]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 8], eax
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x178]
mov cl, byte [eax + 0x30]
mov byte [eax + 0x30], 0
and edi, 2
je 0x4f26c3
cmp byte [esi + 0x168], 0
je 0x4f26c3
mov eax, dword [esi + 0x178]
mov ecx, esi
mov byte [eax + 0x30], 0
call fcn.004f28c0
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret 0xc
test cl, cl
jne 0x4f26ae
cmp dword [esi + 0xf0], 0
je 0x4f270f
cmp byte [esi + 0x175], cl
jne 0x4f270f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x4f26f2
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x4f26f7
mov byte [esp + 8], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xf0]
push dword [eax + 4]
push dword [eax]
push dword [esp + 0x10]
call fcn.0050b7d0
mov eax, dword [esi + 0x98]
lea ecx, [esp + 0x10]
sub eax, dword [esi + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x9c]
sub eax, dword [esi + 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
movaps xmm0, xmmword [esp + 0x10]
push 1
push ecx
mov ecx, esi
mov byte [esi + 0xf4], 0
movaps xmmword [esp + 0x18], xmm0
call dword [eax + 0xa4]
mov ecx, esi
call fcn.004f3300
test edi, edi
je 0x4f27a4
cmp byte [esi + 0x80], 0
je 0x4f27a4
mov eax, dword [esi + 0xa4]
mov ecx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x18], 9
mov eax, dword [eax + 8]
call eax
mov dword [esp + 0x20], eax
mov ecx, esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esi
push eax
call fcn.004b8b10
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f42a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6883d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x748068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 8], 0
je 0x4f4454
call fcn.004f3f80
push dword [ebx + 0x9c]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x4f43f1
push dword [ebx + 0x9c]
call fcn.004f4df0
mov ecx, eax
call fcn.004f4d20
test eax, eax
je 0x4f4313
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffffc
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x18], eax
call fcn.004f4df0
mov esi, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], esi
lea edi, [esi + 8]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4f4358
mov ecx, dword [edi]
test ecx, ecx
je 0x4f4358
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov esi, eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4f4384
nop
cmp dword [ecx + 0x10], edx
jae 0x4f437a
mov ecx, dword [ecx + 8]
jmp 0x4f437e
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4f4370
cmp esi, eax
je 0x4f438d
cmp edx, dword [esi + 0x10]
jae 0x4f43b6
lea eax, [ebp - 0x18]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004464c0
mov ecx, dword [ebp - 0x20]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.004b3fb0
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4f43d8
mov eax, dword [edi]
test eax, eax
je 0x4f43d1
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
push 0x4f4b60
push 0xfffffffffffffffc
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [ebx + 0x90]
xor esi, esi
test eax, eax
je 0x4f441c
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x4f4446
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x4f4400
xor ecx, ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
push esi
call edi
test eax, eax
je 0x4f4459
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x4f4459
push 0xb
push 0
push 0
push 0
push 0
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4f4459
test eax, eax
je 0x4f4413
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x4f4415
call fcn.004f49d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret 8
Function at 0x5040d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a3ef1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x748068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
call fcn.00405d80
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x504132
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00415050
jmp 0x504180
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x504175
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x50416f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00405ec0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00415050
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405ce0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret
Function at 0x506040
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a4377
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x748068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
push dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x20]
push eax
push 0x749a28
call fcn.004aeb00
add esp, 0xc
movzx eax, ax
mov ecx, edi
push edi
push eax
push 0
push 0x80
push 0x82000000
push 0
push 0
push dword [ebp + 8]
call fcn.00506370
mov dword [edi + 4], eax
test eax, eax
je 0x50620a
push 0x74
call fcn.0064fb19
mov esi, eax
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 0
push 0x74
push 0
push esi
call fcn.00652810
add esp, 0x10
mov dword [esi + 4], 0
call fcn.005147f0
lea eax, [esi + 8]
mov dword [ebp + 8], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 5
xor eax, eax
movups xmm0, xmmword [0x6c01e4]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x6c01e4]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xfefefefe
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [0x6c01e4]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x6c01e4]
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x50], vtable.RC::IERenderClientSiteDelegate.0
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov word [esi + 0x68], ax
mov byte [esi + 0x6a], al
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.RC::IERenderView.2.0
mov dword [esi + 0x24], vtable.RC::IERenderView.0
mov dword [esi + 0x50], vtable.RC::IERenderView.1.0
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
push 0
push 0
push esi
push 0x516700
push 0
mov dword [edi + 0x28], esi
push 0
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1c
mov dword [esi + 0x5c], eax
call fcn.0064fb19
mov ecx, eax
add esp, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx], vtable.RC::IEExternal.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov byte [ebp - 4], 7
mov dword [ecx + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x64], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x50c070
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a5040
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x748068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x50c0b9
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x50c0c0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
jmp 0x50c182
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
xor bl, bl
call fcn.0050bfc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00405c90
test al, al
jne 0x50c16b
lea ecx, [ebp - 0x30]
call fcn.00405eb0
lea ecx, [ebp - 0x30]
lea edi, [eax*2 + 2]
call fcn.00405ca0
push edi
push 0x2002
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x50c137
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
jne 0x50c13b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [ebp - 4], 0
xor bl, bl
jmp 0x50c16b
push edi
push ebx
push eax
call fcn.00651d10
add esp, 0xc
mov byte [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x50c169
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor bl, bl
jmp 0x50c16b
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00405ce0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret
Function at 0x515ac0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
cmp dword [esp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x515b7a
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x515c0a
push esi
mov dword [ebx + 0x58], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x515c0a
push dword [ebx + 4]
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x515c0a
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x46000000
cmp eax, ecx
je 0x515b32
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebx + 0x58]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
push 0
push dword [ebx + 0x58]
call esi
push eax
push 0
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0x57
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push ebp
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push dword [ebx + 0x58]
call esi
push 0
push edi
mov ebp, eax
call esi
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, eax
push 0
push ebp
push esi
call edi
test eax, eax
je 0x515bba
nop
push 0
push ebp
push esi
call edi
test eax, eax
jne 0x515bb0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0x39ffffff
or ecx, 0x80000000
pop ebp
cmp eax, ecx
je 0x515bef
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
push 0
push 0
push 0x7d00
push 0x7d00
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x52ff80
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a9450
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x748068]
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 edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.00405d80
mov dword [ebp - 4], 0
cmp byte [esi + 0x120], 0
je 0x530007
mov eax, dword [esi + 0xcc]
cmp eax, 5
je 0x52ffdd
cmp eax, 6
je 0x52ffdd
cmp eax, 7
jne 0x530007
lea ecx, [esi + 0x58]
call fcn.00405e20
lea edx, [ebp - 0x44]
cmp edx, eax
je 0x530007
call fcn.00405e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x52fffb
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00405ec0
lea eax, [edi + 0x70]
push eax
lea ecx, [ebp - 0x74]
call fcn.00406ff0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x74]
push dword [esi]
lea ecx, [ebp - 0x2c]
call fcn.00531540
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405c90
test al, al
jne 0x5300c6
lea ecx, [ebp - 0x2c]
call fcn.00436a10
test al, al
je 0x5300c6
lea ecx, [esi + 0x70]
mov bl, 1
call fcn.00436900
test al, al
je 0x530063
lea ecx, [esi + 0x70]
call fcn.00456230
neg al
sbb al, al
and bl, al
lea ecx, [ebp - 0x44]
call fcn.00405c90
test al, al
jne 0x53007d
lea ecx, [ebp - 0x44]
call fcn.00456230
neg al
sbb al, al
and bl, al
lea ecx, [ebp - 0x2c]
call fcn.00405ca0
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push eax
call esi
test eax, eax
jne 0x5300c8
lea ecx, [ebp - 0x5c]
call fcn.00405d80
mov byte [ebp - 4], 3
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.00456680
test al, al
je 0x5300b8
lea ecx, [ebp - 0x5c]
call fcn.00405ca0
push eax
call esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00405ce0
jmp 0x5300c8
mov bl, 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405ce0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00405ce0
mov al, bl
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.0064fb08
mov esp, ebp
pop ebp
ret 4