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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ac2e3
add esp, 0xfffffff0
call fcn.00465a30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424cd8
mov eax, dword [0x58aab8]
cmp byte [eax], 0
jne 0x4ac310
push 0
call sub.OLE32.DLL_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x58ab00]
cmp word [eax + 2], 0
jne 0x4ac32a
mov eax, dword [0x58ab00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ae394
mov eax, dword [0x58ab04]
cmp word [eax + 2], 0
jne 0x4ac344
mov eax, dword [0x58ab04]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ae598
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4887d4]
call fcn.0048ed38
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4aeb10
mov dl, 1
mov eax, dword [0x40d354]
call fcn.004654d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x40d354]
call fcn.004654d0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x48ced0]
call fcn.00498290
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4ac524
mov eax, dword [0x58aab0]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00498724
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4aedf8
mov dl, 1
mov eax, dword [0x40d354]
call fcn.004654d0
mov dword [ebx + 0x98], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x58aab0]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0044bd48
test eax, eax
je 0x4ac455
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0044bafc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0044bd2c
test eax, eax
je 0x4ac46d
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 + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.00467d04
push ebx
push 0x4add80
call fcn.004a1fd4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x58aab8]
cmp byte [eax], 0
jne 0x4ac4be
mov eax, ebx
call fcn.004ac698
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004af024
mov eax, ebx
call fcn.004afc54
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ac51b
call fcn.00465a88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ac964
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4aca06
cmp dword [ebx + 0x94], 0
jne 0x4aca00
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ac8b0
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4aca00
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 0x4ac9c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4aca00
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418800
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4ac9d5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5905b8]
cmp dword [eax + 0x170], 0
je 0x4acd89
test bl, bl
jne 0x4accd7
cmp dword [esi + 0x9c], 0
jne 0x4acccc
mov eax, esi
call fcn.004afaa4
push eax
push 0x4acb30
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4acc9d
mov eax, dword [0x5905b8]
cmp byte [eax + 0xd3], 0
je 0x4acc9d
mov eax, dword [esi + 0xd8]
call fcn.00468e40
mov edi, eax
cmp edi, 0
jl 0x4acc9d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4acc86
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4acccc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418800
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4accac
inc dword [esi + 0x9c]
jmp 0x4acd89
cmp dword [esi + 0x9c], 0
jle 0x4acd89
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4acd89
cmp dword [esi + 0x44], 0
je 0x4acd34
mov eax, dword [0x5905b8]
cmp byte [eax + 0xd3], 0
je 0x4acd34
mov eax, dword [esi + 0xd8]
call fcn.00468e40
mov edi, eax
cmp edi, 0
jl 0x4acd34
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4acd1d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4acd63
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418800
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4acd43
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x49feac]
call fcn.00469000
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4ad9cc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4ada37
cmp byte [ebx + 0xd3], 0
jne 0x4ada37
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.0046703c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4ada24
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ada44
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00467294
jmp 0x4ada44
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00467294
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4af20c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4af27a
mov eax, esi
call fcn.004ce59c
test al, al
je 0x4af27a
mov eax, dword [ebx + 0x84]
call fcn.004ce1f0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4af27a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4af26e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004ce1f0
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004c516c
jmp 0x4af27a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004af044
pop esi
pop ebx
ret

Function at 0x4b54a8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00466f98
xor eax, eax
push ebp
push 0x4b55e7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x4b55ba
xor edx, edx
push ebp
push 0x4b55b3
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x4b54f5
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 - 8], eax
xor edx, edx
push ebp
push 0x4b5588
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4b5577
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x4b553a
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00467c60
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00464af0
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b557e
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x58af58]
mov dl, 1
mov eax, dword [0x444cf8]
call fcn.004500fc
call fcn.0046668c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b55ee
lea eax, [ebp - 4]
call fcn.00466eb4
ret
Function at 0x4c280c
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 [0x590680], 0
je 0x4c294d
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x58aaec]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4c294d
mov eax, dword [0x590684]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x590680]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4c291c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x590680]
call fcn.00418800
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4c2914
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x4c2914
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x4c2914
mov eax, dword [ebp - 0x14]
call fcn.004ce1f0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4c2914
push ebp
call fcn.004c27c8
pop ecx
test al, al
jne 0x4c2914
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00465788
test al, al
je 0x4c2914
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.00465788
cmp byte [ebp - 1], 0
je 0x4c2914
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00461160
test al, al
je 0x4c2914
mov edx, dword [ebp - 0x14]
mov eax, dword [0x590684]
call fcn.004c1f20
inc edi
dec ebx
jne 0x4c2871
mov eax, dword [0x590684]
cmp dword [eax + 8], 0
jle 0x4c2934
mov eax, dword [0x590684]
call fcn.004c1fd8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4c294d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004c262c
pop ecx
test al, al
jne 0x4c294d
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 0x4cad68
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.00461148
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.004c4d8c
test ebx, ebx
jne 0x4cadbb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004cabe4
mov ebx, eax
test ebx, ebx
je 0x4caeb1
cmp esi, ebx
je 0x4cade4
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 0x4cadf9
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 0x4cae31
add eax, 0xffffff5f
sub eax, 2
jb 0x4cae49
dec eax
sub eax, 2
jb 0x4cae5d
dec eax
sub eax, 2
jb 0x4cae53
jmp 0x4cae67
add eax, 0xfffffdff
sub eax, 2
jb 0x4cae49
dec eax
sub eax, 2
jb 0x4cae5d
dec eax
sub eax, 2
jb 0x4cae53
jmp 0x4cae67
mov byte [esp + 0x120], 0
jmp 0x4cae6f
mov byte [esp + 0x120], 2
jmp 0x4cae6f
mov byte [esp + 0x120], 1
jmp 0x4cae6f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004a2084
mov esi, eax
call fcn.004c16c0
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004c6764
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4caeb3
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4d8444
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4d8531
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4d8503
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x4d84f2
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00464af0
mov eax, dword [ebp - 4]
call fcn.004d8184
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.DLL_SetClipboardData
test eax, eax
jne 0x4d84db
mov ecx, dword [0x58ae60]
mov dl, 1
mov eax, dword [0x40ced8]
call fcn.004500fc
call fcn.0046668c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d84f9
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
Function at 0x4d8710
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 0x4d87b8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4d878b
mov edx, ebx
mov eax, dword [0x48b488]
call fcn.00493840
test al, al
je 0x4d877b
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.00493758
call fcn.00466780
jmp 0x4d87bf
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4d8743
mov ecx, dword [0x58afc0]
mov dl, 1
mov eax, dword [0x4d8098]
call fcn.004500fc
call fcn.0046668c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d87bf
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 0x4d87c8
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 0x4d8824
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 0x4d882b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4d8834
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 0x4d8889
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 0x4d8890
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4d8900
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 0x4d8975
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004d8184
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.0049381c
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 0x4d895f
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 0x4d897c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4d8984
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 0x4d89f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004d8184
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 0x4d89e3
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 0x4d8a00
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x5098f4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x509a1c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.005097e0
mov eax, dword [esi]
call fcn.00468e38
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x509ec4]
call fcn.00469000
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00464af0
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00464af0
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00468e38
mov dword [ebp - 0xc], eax
mov eax, dword [0x58aba4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.0050ee58
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00464ee4
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00468e38
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.0050ed48
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.0050e8c4
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.0050ee50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509a23
lea eax, [ebp - 4]
mov edx, dword [0x509ec4]
call fcn.00469124
ret
Function at 0x52f4b8
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x52f624
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x52f4ed
mov eax, esi
call fcn.0052f384
test al, al
jne 0x52f4f1
xor eax, eax
jmp 0x52f4f3
mov al, 1
mov ebx, eax
cmp byte [ebp + 0xc], 0
je 0x52f572
test bl, bl
jne 0x52f572
mov eax, edi
call fcn.00467c60
push eax
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x52f55f
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x10], eax
mov eax, edi
call fcn.00467c60
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x52f556
test ah, 4
je 0x52f556
test al, 0x10
je 0x52f556
mov eax, edi
call fcn.00467c60
push eax
call sub.KERNEL32.DLL_RemoveDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
jmp 0x52f55f
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_SetLastError
mov ecx, edi
mov dl, 1
mov eax, dword [0x50e1fc]
call fcn.0050e8e0
mov dword [ebp - 8], eax
jmp 0x52f5d0
movzx eax, byte [ebp + 0xc]
xor al, 1
test al, bl
je 0x52f58f
mov ecx, edi
mov dl, 1
mov eax, dword [0x50dee0]
call fcn.0050e91c
mov dword [ebp - 8], eax
jmp 0x52f5d0
mov dl, 1
mov eax, edi
call fcn.0044b588
test al, al
jne 0x52f5af
mov ecx, edi
mov dl, 1
mov eax, dword [0x50e1fc]
call fcn.0050e8e0
mov dword [ebp - 8], eax
jmp 0x52f5d0
lea edx, [ebp - 0x14]
mov eax, dword [0x58b130]
call fcn.0046ab4c
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x52d80c]
call fcn.005121d0
call fcn.0046668c
xor edx, edx
push ebp
push 0x52f607
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0052f400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f60e
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00465500
ret

Function at 0x546740
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x546791
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x546778
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x546768
jmp 0x546791
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x546779
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56f8a0
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 0x56f8bc
call fcn.00570a1c
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x56f8db
test bl, 1
je 0x56f8db
call fcn.00577f80
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret