joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f77c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x47f793
add esp, 0xfffffff0
call fcn.00436aec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421b04
mov eax, dword [0x4edf94]
cmp byte [eax], 0
jne 0x47f7c0
push 0
call sub.OLE32.DLL_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4edfd8]
cmp word [eax + 2], 0
jne 0x47f7da
mov eax, dword [0x4edfd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004816c8
mov eax, dword [0x4edfdc]
cmp word [eax + 2], 0
jne 0x47f7f4
mov eax, dword [0x4edfdc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004818d8
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x468794]
call fcn.0046a620
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x481d5c
mov dl, 1
mov eax, dword [0x417898]
call fcn.0043666c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x417898]
call fcn.0043666c
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x469370]
call fcn.00472008
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x47f9d0
mov eax, dword [0x4edf8c]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0047240c
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48200c
mov dl, 1
mov eax, dword [0x417898]
call fcn.0043666c
mov dword [ebx + 0x94], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4edf8c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004280bc
test eax, eax
je 0x47f902
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00427ebc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004280a4
test eax, eax
je 0x47f91a
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.USER32.DLL_CharNextW
push eax
call sub.USER32.DLL_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.004381b0
push ebx
push 0x4810dc
call fcn.00475ec8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x4edf94]
cmp byte [eax], 0
jne 0x47f96b
mov eax, ebx
call fcn.0047fb44
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00482234
mov eax, ebx
call fcn.00482df8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47f9c8
call fcn.00436b44
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47fdec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x47fe8e
cmp dword [ebx + 0x90], 0
jne 0x47fe88
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47fd64
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x47fe88
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongW
test al, 8
je 0x47fe4e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47fe88
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.0041a134
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47fe5d
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4800ac
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x7cfcc0]
cmp dword [eax + 0x170], 0
je 0x480211
test bl, bl
jne 0x48015f
cmp dword [esi + 0x98], 0
jne 0x480154
mov eax, esi
call fcn.00482c48
push eax
push 0x47ffb8
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x40], 0
je 0x480125
mov eax, dword [0x7cfcc0]
cmp byte [eax + 0xcf], 0
je 0x480125
mov eax, dword [esi + 0xd4]
call fcn.00438e74
mov edi, eax
cmp edi, 0
jl 0x480125
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x48010e
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x480154
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041a134
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x480134
inc dword [esi + 0x98]
jmp 0x480211
cmp dword [esi + 0x98], 0
jle 0x480211
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x480211
cmp dword [esi + 0x40], 0
je 0x4801bc
mov eax, dword [0x7cfcc0]
cmp byte [eax + 0xcf], 0
je 0x4801bc
mov eax, dword [esi + 0xd4]
call fcn.00438e74
mov edi, eax
cmp edi, 0
jl 0x4801bc
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4801a5
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4801eb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041a134
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4801cb
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x4758d4]
call fcn.00439034
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x480dcc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x480e37
cmp byte [ebx + 0xcf], 0
jne 0x480e37
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.USER32.DLL_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00438104
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x480e24
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x480e44
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00437fc8
jmp 0x480e44
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00437fc8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x482408
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x482476
mov eax, esi
call fcn.0049d040
test al, al
je 0x482476
mov eax, dword [ebx + 0x80]
call fcn.0049cc94
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x482476
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x48246a
push 0
mov eax, dword [ebx + 0x80]
call fcn.0049cc94
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.00494258
jmp 0x482476
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00482254
pop esi
pop ebx
ret

Function at 0x487834
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x281], 0
jne 0x4878f6
mov eax, dword [ebp - 4]
mov byte [eax + 0x280], 1
xor eax, eax
push ebp
push 0x4878d0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.0049cc94
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
xor edx, edx
call fcn.00493608
mov eax, dword [ebp - 4]
mov byte [eax + 0x281], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x290], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x100]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004939d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4878d7
mov eax, dword [ebp - 4]
mov byte [eax + 0x280], 0
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x487fb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x281], 0
je 0x488088
mov eax, dword [ebp - 4]
mov byte [eax + 0x280], 1
xor eax, eax
push ebp
push 0x488062
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov dl, 5
call fcn.00493608
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
call fcn.0049cc94
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
mov byte [eax + 0x281], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x290]
mov eax, dword [ebp - 4]
call fcn.004939d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b4]
mov eax, dword [eax + 0x264]
call fcn.004763b0
test al, al
je 0x48804a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b4]
mov edx, dword [ebp - 4]
call fcn.00477084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488069
mov eax, dword [ebp - 4]
mov byte [eax + 0x280], 0
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x48bfe4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00437fb0
xor eax, eax
push ebp
push 0x48c179
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x48c147
xor edx, edx
push ebp
push 0x48c140
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0043801c
mov eax, dword [ebp - 8]
test eax, eax
je 0x48c053
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x48c053
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00437934
test eax, eax
je 0x48c05c
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x48c115
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x48c104
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0043801c
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x48c0be
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x48c0be
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00437934
test eax, eax
je 0x48c0c7
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00438054
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00435d34
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 0x10]
push eax
push 0xd
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c10b
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4ee1fc]
mov dl, 1
mov eax, dword [0x425568]
call fcn.0042b8cc
call fcn.00437090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c180
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00437fc0
ret
Function at 0x4919ec
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 - 0xc]
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 [0x7cfd84], 0
je 0x491b2d
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4edfc4]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x491b2d
mov eax, dword [0x7cfd88]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x7cfd84]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x491afc
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x7cfd84]
call fcn.0041a134
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x491af4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x491af4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x491af4
mov eax, dword [ebp - 0x14]
call fcn.0049cc94
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x491af4
push ebp
call fcn.004919a8
pop ecx
test al, al
jne 0x491af4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004368ac
test al, al
je 0x491af4
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004368ac
cmp byte [ebp - 1], 0
je 0x491af4
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.004247f4
test al, al
je 0x491af4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x7cfd88]
call fcn.0049111c
inc edi
dec ebx
jne 0x491a51
mov eax, dword [0x7cfd88]
cmp dword [eax + 8], 0
jle 0x491b14
mov eax, dword [0x7cfd88]
call fcn.004911d4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x491b2d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0049180c
pop ecx
test al, al
jne 0x491b2d
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4998fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.004247dc
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00493e68
test ebx, ebx
jne 0x49994f
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00499790
mov ebx, eax
test ebx, ebx
je 0x499a3a
cmp esi, ebx
je 0x499978
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x49998d
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4999c5
add eax, 0xffffff5f
sub eax, 2
jb 0x4999dd
dec eax
sub eax, 2
jb 0x4999f1
dec eax
sub eax, 2
jb 0x4999e7
jmp 0x4999fb
add eax, 0xfffffdff
sub eax, 2
jb 0x4999dd
dec eax
sub eax, 2
jb 0x4999f1
dec eax
sub eax, 2
jb 0x4999e7
jmp 0x4999fb
mov byte [esp + 0x120], 0
jmp 0x499a03
mov byte [esp + 0x120], 2
jmp 0x499a03
mov byte [esp + 0x120], 1
jmp 0x499a03
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00475f7c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00495658
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x499a3c
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4a4674
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 0xd
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a46e8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4a46ba
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00438174
jmp 0x4a46c3
mov eax, ebx
xor edx, edx
call fcn.00437fc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a46ef
cmp dword [ebp - 8], 0
je 0x4a46df
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 0x4a46f4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], 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 0x4a479c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4a476f
mov edx, ebx
mov eax, dword [0x468eec]
call fcn.0046dfe8
test al, al
je 0x4a475f
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0046df00
call fcn.00437184
jmp 0x4a47a3
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4a4727
mov ecx, dword [0x4ee1f4]
mov dl, 1
mov eax, dword [0x4a44a0]
call fcn.0042b8cc
call fcn.00437090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a47a3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a47ac
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], 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 0x4a4808
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a480f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4a4818
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 0x4a486d
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 + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4874
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4a48e4
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 0x4a4959
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a4558
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.0046dfc4
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 0x4a4943
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 0x4a4960
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4a4968
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 0x4a49dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a4558
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 + 0x68]
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 0x4a49c7
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 0x4a49e4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4bb684
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 0x4bb6a0
call fcn.004bcd90
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x4bb6bf
test bl, 1
je 0x4bb6bf
call fcn.004c3a4c
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4bb8a0
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.004bc90c
test byte [ebp + 0xd], 0xc0
jne 0x4bb8c4
mov eax, dword [0x4eaea0]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x4bb8d1
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x4bb8fe
je 0x4bb910
sub ecx, 0x100
je 0x4bb91e
sub ecx, 0x100
je 0x4bb925
sub ecx, 0x100
je 0x4bb917
jmp 0x4bb92c
sub ecx, 0x600
je 0x4bb925
sub ecx, 0x100
je 0x4bb910
jmp 0x4bb92c
mov edi, 1
jmp 0x4bb931
mov edi, 2
jmp 0x4bb931
mov edi, 4
jmp 0x4bb931
mov edi, 5
jmp 0x4bb931
mov edi, 3
test byte [ebp + 0xd], 1
je 0x4bb958
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4ea918]
test al, 0x80
je 0x4bb951
mov ebx, 0x80
jmp 0x4bb96a
mov ebx, 1
jmp 0x4bb96a
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4bb96a
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4bb97c
je 0x4bb985
dec eax
je 0x4bb98e
jmp 0x4bb997
mov dword [ebp - 4], SysReAllocStringLen
jmp 0x4bb9a6
mov dword [ebp - 4], 0x40000000
jmp 0x4bb9a6
mov dword [ebp - 4], 0xc0000000
jmp 0x4bb9a6
push 1
call fcn.004bcd24
pop ecx
mov ebx, eax
jmp 0x4bba96
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x4bb9c2
sub eax, 0x10
je 0x4bb9c9
sub eax, 0x10
je 0x4bb9d2
sub eax, 0x10
je 0x4bb9db
jmp 0x4bb9db
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4bb9e2
mov dword [ebp - 8], 1
jmp 0x4bb9e2
mov dword [ebp - 8], 2
jmp 0x4bb9e2
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 0x4bba4f
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x4bba44
test byte [ebp + 0xd], 1
je 0x4bba3f
mov ebx, 0x50
jmp 0x4bba44
mov ebx, 2
push ebx
call fcn.004bcd24
pop ecx
mov ebx, eax
jmp 0x4bba96
mov edi, esi
push edi
call fcn.004bb804
pop ecx
test eax, eax
je 0x4bba63
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4bba6f
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004bca4c
add esp, 8
mov ebx, eax
inc eax
jne 0x4bba96
push 4
call fcn.004bcd24
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.004bc940
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret