joyce8/EMBER2024-capa huggingface dataset:
Function at 0x550ce4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00405ab4
xor eax, eax
push ebp
push 0x550ebf
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00403de0
mov edi, eax
cmp dword [ebp + 0x20], 0
je 0x550d8d
cmp dword [ebp - 0x10], 0
je 0x550d8d
mov eax, dword [ebp + 0x20]
call fcn.0040ae1c
test al, al
jne 0x550d43
mov eax, dword [ebp + 0x20]
call fcn.00550cc0
test al, al
je 0x550d66
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405ac4
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x550d87
push 0x4010
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405ac4
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, dword [ebp - 0x174]
cmp byte [ebp + 0x1c], 0
je 0x550db4
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x550ed0
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
jmp 0x550dd3
push 0x4001
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x550ed0
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0041b908
test bl, bl
je 0x550e13
cmp byte [ebp + 0x14], 0
jne 0x550e13
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00432068
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x550ea9
mov dl, 1
mov eax, dword [0x42f834]
call fcn.0043686c
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
push 0
mov eax, ebx
call fcn.00436e40
call fcn.00432068
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x184], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.004035b0
add eax, dword [ebp - 8]
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.004035b0
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x17c], eax
mov ecx, ebx
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.00550be4
mov eax, ebx
call fcn.004046b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x550ec6
lea eax, [ebp + 0x20]
call fcn.00405634
ret

Function at 0x558044
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x558070
cmp dword [esp + 4], 5
jne 0x55806c
cmp dword [esp + 8], 1
jae 0x558070
xor eax, eax
jmp 0x558072
mov al, 1
mov byte [0x5f1648], al
add esp, 0x94
ret
Function at 0x559db4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x559de0
cmp dword [esp + 4], 5
jne 0x559ddc
cmp dword [esp + 8], 1
jae 0x559de0
xor eax, eax
jmp 0x559de2
mov al, 1
add esp, 0x94
ret

Function at 0x56633c
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x56635d
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x56635d
xor eax, eax
ret
mov al, 1
ret

Function at 0x569bc0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x569bee
mov eax, ebx
call fcn.0056a674
cmp dword [ebx + 0x40], 0
je 0x569be7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x569c5f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x569c51
cmp dword [ebx + 8], 0
je 0x569c10
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x569c22
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x569c51
cmp dword [ebx + 8], 0
je 0x569c03
cmp eax, 3
je 0x569c35
dec eax
jne 0x569c03
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x569c03
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x569c03
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x569c7d
cmp dword [ebx + 0x14], 0xcc
je 0x569c7d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00569c88
pop ebx
ret

Function at 0x57a59c
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x57a5ae
add esp, 0xfffffff0
call fcn.00404a18
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407430
xor eax, eax
push ebp
push 0x57a640
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00404684
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0057a750
mov dl, 1
mov eax, dword [0x41ac9c]
call fcn.00404684
mov dword [esi + 0x28], eax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x57a62a
push 0x57a664
call sub.user32.dll_RegisterClipboardFormatA
mov dword [0x5f1698], eax
push 0x57a678
call sub.user32.dll_RegisterClipboardFormatA
mov dword [0x5f169c], eax
push 0x57a684
call sub.user32.dll_RegisterClipboardFormatA
mov dword [0x5f16a0], eax
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a647
lea eax, [ebp - 4]
call fcn.004073bc
ret
Function at 0x57e57c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x57e5e0
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004058a4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040aa54
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e5e7
lea eax, [ebp - 0xc]
call fcn.00405634
ret

Function at 0x57e8b4
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x57e9da
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [0x5e8064]
cmp dword [eax], 2
jne 0x57e9c4
cmp dword [ebp - 0x20], 0x10f
jne 0x57e9c4
test byte [ebp - 0x17], 8
je 0x57e9c4
mov eax, dword [ebp - 8]
push eax
call sub.imm32.dll_ImmGetContext
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x57e9c4
xor eax, eax
push ebp
push 0x57e98d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
push 0
push 0
push 0x800
mov eax, dword [ebp - 0x10]
push eax
call sub.imm32.dll_ImmGetCompositionStringW
mov edx, eax
sar edx, 1
jns 0x57e948
adc edx, 0
lea eax, [ebp - 4]
call fcn.00406130
mov eax, dword [ebp - 4]
call fcn.00405ff4
add eax, eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405fe4
push eax
push 0x800
mov eax, dword [ebp - 0x10]
push eax
call sub.imm32.dll_ImmGetCompositionStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e994
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.imm32.dll_ImmReleaseContext
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e9e1
lea eax, [ebp - 4]
call fcn.00405e3c
ret
Function at 0x57f39c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x57f45f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00462b30
test al, al
je 0x57f3d1
mov eax, ebx
call fcn.00462790
push eax
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x57f404
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0045a630
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00405fd4
mov eax, dword [0x5e8064]
cmp dword [eax], 2
jne 0x57f449
mov edx, dword [esi]
mov eax, ebx
call fcn.0057f070
mov edx, dword [eax + 0x30]
mov eax, esi
call fcn.00405e78
jmp 0x57f449
mov eax, ebx
call fcn.00462790
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, esi
call fcn.00406130
mov eax, dword [esi]
call fcn.00405ff4
push eax
mov eax, dword [esi]
call fcn.00405fe4
push eax
mov eax, ebx
call fcn.00462790
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [esi]
call fcn.00405ff4
mov edx, eax
dec edx
mov eax, esi
call fcn.00406130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57f466
lea eax, [ebp - 4]
call fcn.00405634
ret

Function at 0x580888
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x5808a9
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x5808a9
xor eax, eax
ret
mov al, 1
ret

Function at 0x581994
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ab4
xor eax, eax
push ebp
push 0x581a40
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 4]
call fcn.0040b460
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jle 0x581a2a
mov eax, ebx
call fcn.00402fc4
mov esi, eax
push esi
push ebx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x581a50
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x581a23
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfeef04bd
jne 0x581a23
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
mov eax, esi
call fcn.00402fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x581a47
lea eax, [ebp - 4]
call fcn.00405634
ret
Function at 0x582138
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x104], edx
mov esi, eax
xor eax, eax
push ebp
push 0x582383
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x304]
test eax, eax
je 0x58235f
cmp esi, dword [eax + 0x30]
je 0x58217c
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x304]
call fcn.0045a7d0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, eax
mov eax, dword [esi + 0x304]
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp byte [esi + 0x2f0], 2
sete dl
mov eax, dword [esi + 0x304]
call fcn.0045a550
mov eax, esi
call fcn.00582420
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esi + 0x304]
call fcn.004d8a90
mov eax, esi
call fcn.005824a4
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esi + 0x304]
call fcn.004d7ce0
lea edx, [ebp - 0x104]
mov eax, esi
call fcn.005825ac
mov edx, dword [ebp - 0x104]
mov eax, dword [esi + 0x304]
call fcn.004d8b3c
mov eax, dword [esi + 0x304]
mov eax, dword [eax + 0x68]
mov edx, dword [esi + 0x68]
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebx, dword [esi + 0x304]
cmp byte [ebx + 0x57], 0
jne 0x58223a
test byte [esi + 0x1c], 0x10
je 0x58223a
mov eax, ebx
call fcn.004046b4
xor eax, eax
mov dword [esi + 0x304], eax
jmp 0x58235f
push 0xff
lea eax, [ebp - 0x100]
push eax
mov eax, ebx
call fcn.00462790
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x100]
call fcn.0040b624
mov edx, dword [ebp - 0x110]
mov ecx, dword [esi + 0x68]
mov eax, esi
call fcn.00581a88
mov ebx, dword [ebp - 0x10c]
add ebx, 0x15
add ebx, 0xa
call fcn.00581950
test al, al
je 0x582314
xor edi, edi
cmp byte [esi + 0x193], 0
jne 0x5822a8
cmp byte [esi + 0x194], 0
je 0x5822b6
cmp byte [esi + 0x195], 0
je 0x5822b6
mov edi, 4
call fcn.00581a54
test al, al
je 0x5822eb
push ebx
mov eax, dword [esi + 0x4c]
sub eax, 2
sub eax, edi
push eax
mov edx, dword [esi + 0x48]
sub edx, ebx
sub edx, 0x15
sub edx, 0xd
sub edx, edi
mov ecx, 1
mov eax, dword [esi + 0x304]
mov ebx, dword [eax]
call dword [ebx + 0x88]
jmp 0x58235f
push ebx
mov eax, dword [esi + 0x4c]
sub eax, edi
push eax
mov edx, dword [esi + 0x48]
sub edx, ebx
sub edx, 0x15
sub edx, 2
sub edx, edi
mov ecx, 0xfffffffe
mov eax, dword [esi + 0x304]
mov ebx, dword [eax]
call dword [ebx + 0x88]
jmp 0x58235f
cmp byte [esi + 0x1d9], 0
je 0x58233f
push ebx
mov eax, dword [esi + 0x4c]
push eax
mov edx, dword [esi + 0x48]
sub edx, ebx
sub edx, 0x15
mov ecx, 0xfffffffe
mov eax, dword [esi + 0x304]
mov ebx, dword [eax]
call dword [ebx + 0x88]
jmp 0x58235f
push ebx
mov eax, dword [esi + 0x4c]
push eax
mov edx, dword [esi + 0x48]
sub edx, ebx
sub edx, 0x15
mov ecx, 0xfffffffe
mov eax, dword [esi + 0x304]
mov ebx, dword [eax]
call dword [ebx + 0x88]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58238a
lea eax, [ebp - 0x110]
call fcn.00405634
lea eax, [ebp - 0x104]
call fcn.00405634
ret
Function at 0x591c20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ab4
xor eax, eax
push ebp
push 0x591ccc
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 4]
call fcn.0040b460
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jle 0x591cb6
mov eax, ebx
call fcn.00402fc4
mov esi, eax
push esi
push ebx
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x591cdc
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x591caf
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xfeef04bd
jne 0x591caf
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
mov eax, esi
call fcn.00402fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x591cd3
lea eax, [ebp - 4]
call fcn.00405634
ret
Function at 0x5b9008
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd48], 0
jle 0x5b902b
xor eax, eax
mov dword [ebx + 0xc], eax
jmp 0x5b9188
mov eax, dword [ebp - 4]
cmp byte [eax + 0x240], 0
je 0x5b903d
cmp dword [ebx + 4], 0
je 0x5b9070
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x5b9061
mov eax, dword [ebp - 4]
call fcn.0045e664
test eax, eax
jne 0x5b9061
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004648cc
jmp 0x5b9188
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045fe28
jmp 0x5b9188
push 0
call sub.user32.dll_GetDC
mov esi, eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push esi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0xc], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5b9181
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
call fcn.00462790
push eax
call sub.user32.dll_BeginPaint
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0045b938
mov eax, dword [ebp - 8]
mov dword [ebx + 4], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005b9008
xor eax, eax
mov dword [ebx + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push esi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
call fcn.00462790
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b9188
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1d8], 0
jne 0x5b91b1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3338], 0
jne 0x5b91b1
mov eax, dword [ebp - 4]
inc dword [eax + 0x3338]
mov eax, dword [ebp - 4]
call fcn.005a3040
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c62e4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov dl, 1
mov eax, dword [0x41afa0]
call fcn.00404684
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x44b954]
call fcn.00404684
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x5c6402
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.005c5ce4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x5c63c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x5c63b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
call fcn.0040322c
mov eax, dword [ebp - 0x18]
push eax
movzx eax, word [0x5f1758]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c63ba
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x5c6410
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5c64f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0055e904
mov edx, dword [ebp - 4]
mov eax, 0x5c6508
call fcn.00405c10
test eax, eax
je 0x5c64db
mov eax, dword [ebp - 4]
test eax, eax
je 0x5c6463
sub eax, 4
mov eax, dword [eax]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov ebx, eax
test ebx, ebx
je 0x5c64db
push ebx
call sub.kernel32.dll_GlobalLock
mov esi, eax
test esi, esi
jne 0x5c6485
push ebx
call sub.kernel32.dll_GlobalFree
jmp 0x5c64db
mov edx, 0x5c650c
mov eax, esi
call fcn.0040b3f4
mov eax, dword [ebp - 4]
call fcn.00405ac4
mov edx, eax
mov eax, esi
call fcn.0040b4a8
push ebx
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 8]
call fcn.00462790
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x5c64c2
push ebx
call sub.kernel32.dll_GlobalFree
jmp 0x5c64db
push 0x5c6510
call sub.user32.dll_RegisterClipboardFormatA
push ebx
movzx eax, ax
push eax
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c64f8
lea eax, [ebp - 4]
call fcn.00405634
ret
Function at 0x5d3eb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
mov esi, eax
test esi, esi
je 0x5d3ef6
cmp byte [ebx + 0x3a], 0
jne 0x5d3ef6
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x2258]
mov dword [esi + 0x38], edx
mov edx, dword [eax + 0x225c]
mov dword [esi + 0x3c], edx
mov eax, esi
call fcn.00462b30
test al, al
je 0x5d3ef6
push 0
mov eax, esi
call fcn.00462790
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x5dcbf4
Capabilities:
Terminate process

Disassembly:
push 0
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
ret

Function at 0x5dcd24
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, eax
push edx
push 0
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_PostMessageA
cmp eax, 1
sbb eax, eax
inc eax
pop ebx
ret