joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51bfb8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x51c169
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004d7b58
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x51c180
call fcn.004d77bc
mov eax, ebx
call fcn.004bcf00
mov edi, eax
dec edi
test edi, edi
jl 0x51c070
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004bced4
mov edx, dword [0x4e2df8]
call fcn.004d6834
test al, al
je 0x51c06c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004bced4
lea edx, [ebp - 0x14]
call fcn.00522398
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004d7b58
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004d7830
inc esi
dec edi
jne 0x51c01e
mov al, byte [0x51c184]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x51c190
mov eax, dword [ebp - 0xc]
call fcn.004c82fc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004d7550
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00522398
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x51c180
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.00522398
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x51c180
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x51c180
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x51c19c
call fcn.004c4050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c170
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004d74dc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004d74dc
lea eax, [ebp - 0x14]
call fcn.004d74b8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004d74dc
ret
Function at 0x51fed8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x586a64], 0
je 0x520027
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x58575c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x520027
mov eax, dword [0x586a68]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x586a64]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x51fff6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x586a64]
call fcn.004b43f8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x51ffee
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x51ffee
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x51ffee
mov eax, dword [ebp - 0x14]
call fcn.00528c08
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x51ffee
push ebp
call fcn.0051fe94
pop ecx
test al, al
jne 0x51ffee
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x51ffaa
mov eax, dword [ebp - 0x14]
call fcn.0052779c
dec eax
jle 0x51ffee
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004d68a4
cmp byte [ebp - 1], 0
je 0x51ffee
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x51ffee
mov edx, dword [ebp - 0x14]
mov eax, dword [0x586a68]
call fcn.0051f65c
inc edi
dec ebx
jne 0x51ff3d
mov eax, dword [0x586a68]
cmp dword [eax + 8], 0
Function at 0x523660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x5236ac
mov eax, esi
call fcn.0050d080
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5236ac
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x5236ac
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x5237eb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x5236ec
cmp eax, 0x108
ja 0x5236ec
mov eax, esi
call fcn.0050d080
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5237e2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x5237eb
jmp 0x5237e2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x5237cb
cmp eax, 0x20a
ja 0x5237cb
test byte [esi + 0x50], 0x80
jne 0x52371e
sub eax, 0x203
je 0x52371b
sub eax, 3
je 0x52371b
sub eax, 3
jne 0x52371e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x523732
dec eax
je 0x523747
dec eax
je 0x523764
dec eax
je 0x523747
jmp 0x52376b
mov ecx, ebx
mov eax, dword [0x58575c]
mov eax, dword [eax]
mov edx, esi
call fcn.00516bac
jmp 0x5237e2
cmp byte [esi + 0x5d], 1
jne 0x52375d
mov eax, esi
mov si, 0xffed
call fcn.004d68a4
jmp 0x5237eb
or word [esi + 0x54], 1
jmp 0x5237e2
and word [esi + 0x54], 0xfffe
jmp 0x5237e2
mov eax, dword [0x586a20]
cmp byte [eax + 0x20], 0
je 0x5237e2
mov eax, dword [0x586a20]
cmp dword [eax + 0x1c], 0
je 0x5237e2
mov eax, dword [ebx]
mov edx, dword [0x586a20]
cmp eax, dword [edx + 0x1c]
jne 0x5237e2
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0050cfc4
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004d68a4
jmp 0x5237eb
cmp eax, 0xb00b
jne 0x5237e2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00521f38
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x526db4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x526dd0
cmp dword [esi + 4], 0
je 0x526dfd
test byte [ebx + 0x55], 1
jne 0x526def
mov eax, ebx
call fcn.00525a0c
test eax, eax
jne 0x526def
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x526f0d
mov edx, esi
mov eax, ebx
call fcn.005268d4
jmp 0x526f0d
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x526f06
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00528c08
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00523594
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00526db4
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00528c08
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526f0d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52d4b4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x585520]
cmp byte [eax + 0xc], 0
je 0x52d621
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52d61a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x586a74], 0
jne 0x52d508
push 0x52d628
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x52d630
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a74], eax
cmp dword [0x57fe34], 0
jne 0x52d603
push 0x52d640
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x57fe34], eax
cmp dword [0x57fe34], 0
je 0x52d603
push 0x52d64c
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a78], eax
push 0x52d65c
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a7c], eax
push 0x52d670
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a80], eax
push 0x52d688
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a84], eax
push 0x52d6a0
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a88], eax
push 0x52d6b4
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a8c], eax
push 0x52d6cc
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a90], eax
push 0x52d6e4
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a94], eax
push 0x52d700
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a98], eax
push 0x52d70c
mov eax, dword [0x57fe34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x586a9c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d621
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x533d2c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x533e04
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x586ab0], 0
jne 0x533de8
lea eax, [ebp - 4]
mov edx, 0x533e1c
call fcn.004d7550
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004d7968
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x533de8
mov eax, ebx
call fcn.004d55a4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x533de1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x533dcb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x533e2c
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x533dcb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x586ab0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533de8
mov eax, dword [ebp - 0xc]
call fcn.004d55c4
ret
mov ebx, dword [0x586ab0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533e0b
lea eax, [ebp - 4]
call fcn.004d74b8
ret

Function at 0x545718
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x586ad4], 0
jne 0x54573b
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x54568c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x586ad4], eax
ret

Function at 0x5474e4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x547556
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x54752a
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.004d76a8
jmp 0x547531
mov eax, ebx
call fcn.004d74b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54755d
cmp dword [ebp - 8], 0
je 0x54754d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x547564
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x547606
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x5475d9
mov edx, ebx
mov eax, dword [0x5010c4]
call fcn.00505790
test al, al
je 0x5475c9
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.005056a0
call fcn.004d6fe4
jmp 0x54760d
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x547594
mov ecx, dword [0x585910]
mov dl, 1
mov eax, dword [0x4c1de8]
call fcn.004c7078
call fcn.004d6f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54760d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x547614
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x54766c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547673
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x54767c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x5476d1
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5476d8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x547748
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x5477bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00547420
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00505764
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x5477a7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5477c4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x5477cc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x547841
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00547420
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x54782b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547848
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x54d128
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x54d144
call fcn.0054e5d0
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x54d160
test bl, 1
je 0x54d160
call fcn.00552558
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x54d344
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0054e16c
test byte [ebp + 0xd], 0xc0
jne 0x54d368
mov eax, dword [0x580f90]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x54d375
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x54d3a2
je 0x54d3b4
sub ecx, 0x100
je 0x54d3c2
sub ecx, 0x100
je 0x54d3c9
sub ecx, 0x100
je 0x54d3bb
jmp 0x54d3d0
sub ecx, 0x600
je 0x54d3c9
sub ecx, 0x100
je 0x54d3b4
jmp 0x54d3d0
mov edi, 1
jmp 0x54d3d5
mov edi, 2
jmp 0x54d3d5
mov edi, 4
jmp 0x54d3d5
mov edi, 5
jmp 0x54d3d5
mov edi, 3
test byte [ebp + 0xd], 1
je 0x54d3fc
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x580a08]
test al, 0x80
je 0x54d3f5
mov ebx, 0x80
jmp 0x54d40e
mov ebx, 1
jmp 0x54d40e
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x54d40e
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x54d420
je 0x54d429
dec eax
je 0x54d432
jmp 0x54d43b
mov dword [ebp - 4], connect
jmp 0x54d44a
mov dword [ebp - 4], 0x40000000
jmp 0x54d44a
mov dword [ebp - 4], 0xc0000000
jmp 0x54d44a
push 1
call fcn.0054e564
pop ecx
mov ebx, eax
jmp 0x54d53a
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x54d466
sub eax, 0x10
je 0x54d46d
sub eax, 0x10
je 0x54d476
sub eax, 0x10
je 0x54d47f
jmp 0x54d47f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x54d486
mov dword [ebp - 8], 1
jmp 0x54d486
mov dword [ebp - 8], 2
jmp 0x54d486
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x54d4f3
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x54d4e8
test byte [ebp + 0xd], 1
je 0x54d4e3
mov ebx, 0x50
jmp 0x54d4e8
mov ebx, 2
push ebx
call fcn.0054e564
pop ecx
mov ebx, eax
jmp 0x54d53a
mov edi, esi
push edi
call fcn.0054d2a8
pop ecx
test eax, eax
je 0x54d507
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x54d513
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0054e28c
add esp, 8
mov ebx, eax
inc eax
jne 0x54d53a
push 4
call fcn.0054e564
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.0054e1a0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5524f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x552552
call fcn.005524a0
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0054bfac
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0054bfac
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x5525d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x582030], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x5526aa
cmp dword [0x58202c], 0
jne 0x5526aa
cmp dword [0x582210], 0
je 0x552664
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.005523a0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x55264a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.005523a0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x55264a
lea ebx, [ebp - 0x84]
jmp 0x55264b
inc ebx
call fcn.0055258c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x5526e5
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x582034
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0054bfac
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x582037
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x5526e5
cmp dword [0x58202c], 0
je 0x5526c4
cmp dword [0x58202c], 0xffffffff
je 0x5526e5
push esi
call dword [0x58202c]
pop ecx
mov eax, dword [0x582030]
test eax, eax
je 0x5526e5
cmp dword [0x582030], 0xffffffff
je 0x5526e5
cmp byte [eax], 0
je 0x5526e5
push esi
push eax
call fcn.005524f0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret