joyce8/EMBER2024-capa huggingface dataset:
Function at 0x62de90
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0xd22d60]
cmp dword [eax + 0x30], 0
je 0x62df3a
cmp dword [ebx + 0x94], 0
jne 0x62df34
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x62de20
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x62df34
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_GetWindowLongA
test al, 8
je 0x62defa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x62df34
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.005d2d70
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x62df09
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x62ea18
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x62ea4d
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.005f5160
jmp 0x62ea5a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.005f50c4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x62faf8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x62fb39
mov eax, esi
call fcn.00640e50
test al, al
je 0x62fb39
mov eax, dword [ebx + 0x84]
call fcn.00640b4c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x62fb39
push 0
mov eax, dword [ebx + 0x84]
call fcn.00640b4c
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x633fa4
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.005f5510
xor eax, eax
push ebp
push 0x6340d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x6340a5
xor eax, eax
push ebp
push 0x63409e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005f5328
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x634073
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x634062
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005f5328
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.005f5520
mov edx, ebx
pop ecx
call fcn.005f37b8
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x634069
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x82f69c]
mov dl, 1
mov eax, dword [0x5e07bc]
call fcn.005e5d20
call fcn.005f4cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6340d9
lea eax, [ebp - 4]
call fcn.005f5070
ret
Function at 0x6340e0
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 0x634291
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.005f5710
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x6342a8
call fcn.005f5374
mov eax, ebx
call fcn.005dd544
mov edi, eax
dec edi
test edi, edi
jl 0x634198
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.005dd518
mov edx, dword [0x5fff44]
call fcn.005f4694
test al, al
je 0x634194
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.005dd518
lea edx, [ebp - 0x14]
call fcn.0063a364
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.005f5710
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.005f53e8
inc esi
dec edi
jne 0x634146
mov al, byte [0x6342ac]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x6342b8
mov eax, dword [ebp - 0xc]
call fcn.005e7064
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.005f5108
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.0063a364
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x6342a8
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.0063a364
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x6342a8
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, 0x6342a8
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, 0x6342c4
call fcn.005e2d60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x634298
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.005f5094
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.005f5094
lea eax, [ebp - 0x14]
call fcn.005f5070
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.005f5094
ret
Function at 0x637ea4
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 [0xd22e04], 0
je 0x637ff3
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x82f524]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x637ff3
mov eax, dword [0xd22e08]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0xd22e04]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x637fc2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0xd22e04]
call fcn.005d2d70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x637fba
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x637fba
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x637fba
mov eax, dword [ebp - 0x14]
call fcn.00640b4c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x637fba
push ebp
call fcn.00637e60
pop ecx
test al, al
jne 0x637fba
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x637f76
mov eax, dword [ebp - 0x14]
call fcn.0063f6e0
dec eax
jle 0x637fba
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.005f4704
cmp byte [ebp - 1], 0
je 0x637fba
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x637fba
mov edx, dword [ebp - 0x14]
mov eax, dword [0xd22e08]
call fcn.00637628
inc edi
dec ebx
jne 0x637f09
mov eax, dword [0xd22e08]
cmp dword [eax + 8], 0
jle 0x637fda
mov eax, dword [0xd22e08]
call fcn.006376b8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x637ff3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00637cc8
pop ecx
test al, al
jne 0x637ff3
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 0x63b628
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 0x63b674
mov eax, esi
call fcn.00625eac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x63b674
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x63b674
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 0x63b7b3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x63b6b4
cmp eax, 0x108
ja 0x63b6b4
mov eax, esi
call fcn.00625eac
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x63b7aa
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x63b7b3
jmp 0x63b7aa
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x63b793
cmp eax, 0x20a
ja 0x63b793
test byte [esi + 0x50], 0x80
jne 0x63b6e6
sub eax, 0x203
je 0x63b6e3
sub eax, 3
je 0x63b6e3
sub eax, 3
jne 0x63b6e6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x63b6fa
dec eax
je 0x63b70f
dec eax
je 0x63b72c
dec eax
je 0x63b70f
jmp 0x63b733
mov ecx, ebx
mov eax, dword [0x82f524]
mov eax, dword [eax]
mov edx, esi
call fcn.0062f9b0
jmp 0x63b7aa
cmp byte [esi + 0x5d], 1
jne 0x63b725
mov eax, esi
mov si, 0xffed
call fcn.005f4704
jmp 0x63b7b3
or word [esi + 0x54], 1
jmp 0x63b7aa
and word [esi + 0x54], 0xfffe
jmp 0x63b7aa
mov eax, dword [0xd22dc0]
cmp byte [eax + 0x20], 0
je 0x63b7aa
mov eax, dword [0xd22dc0]
cmp dword [eax + 0x1c], 0
je 0x63b7aa
mov eax, dword [ebx]
mov edx, dword [0xd22dc0]
cmp eax, dword [edx + 0x1c]
jne 0x63b7aa
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.00625dd0
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.005f4704
jmp 0x63b7b3
cmp eax, 0xb00b
jne 0x63b7aa
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00639f04
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 0x63ed7c
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 0x63ed98
cmp dword [esi + 4], 0
je 0x63edc5
test byte [ebx + 0x55], 1
jne 0x63edb7
mov eax, ebx
call fcn.0063d9d4
test eax, eax
jne 0x63edb7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x63eed5
mov edx, esi
mov eax, ebx
call fcn.0063e89c
jmp 0x63eed5
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 0x63eece
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00640b4c
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.0063b55c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0063ed7c
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.00640b4c
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63eed5
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 0x6453f8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x82f508]
cmp byte [eax + 0xc], 0
je 0x645565
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x64555e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xd22e14], 0
jne 0x64544c
push 0x64556c
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x645574
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e14], eax
cmp dword [0x82aa64], 0
jne 0x645547
push 0x645584
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x82aa64], eax
cmp dword [0x82aa64], 0
je 0x645547
push 0x645590
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e18], eax
push 0x6455a0
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e1c], eax
push 0x6455b4
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e20], eax
push 0x6455cc
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e24], eax
push 0x6455e4
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e28], eax
push 0x6455f8
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e2c], eax
push 0x645610
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e30], eax
push 0x645628
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e34], eax
push 0x645644
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e38], eax
push 0x645650
mov eax, dword [0x82aa64]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0xd22e3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x645565
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x64fa8c
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 0x64fb64
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xd22e50], 0
jne 0x64fb48
lea eax, [ebp - 4]
mov edx, 0x64fb7c
call fcn.005f5108
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.005f5520
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x64fb48
mov eax, ebx
call fcn.005f3554
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x64fb41
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 0x64fb2b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x64fb8c
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x64fb2b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0xd22e50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64fb48
mov eax, dword [ebp - 0xc]
call fcn.005f3574
ret
mov ebx, dword [0xd22e50]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64fb6b
lea eax, [ebp - 4]
call fcn.005f5070
ret

Function at 0x662d38
Capabilities:
Set global application hook

Disassembly:
cmp dword [0xd22e74], 0
jne 0x662d5b
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x662cac
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0xd22e74], eax
ret

Function at 0x66628c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00640e50
test al, al
je 0x6662e7
cmp bl, 7
jne 0x6662c3
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x6662c8
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
test eax, eax
je 0x6662e7
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, edi
call fcn.005cd648
mov byte [esi + 0x220], bl
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x6682ac
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 0x66831e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x6682f2
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.005f5260
jmp 0x6682f9
mov eax, ebx
call fcn.005f5070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x668325
cmp dword [ebp - 8], 0
je 0x668315
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 0x66832c
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 0x6683ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x6683a1
mov edx, ebx
mov eax, dword [0x61a01c]
call fcn.0061e780
test al, al
je 0x668391
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.0061e690
call fcn.005f4d60
jmp 0x6683d5
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x66835c
mov ecx, dword [0x82f750]
mov dl, 1
mov eax, dword [0x5e07bc]
call fcn.005e5d20
call fcn.005f4cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6683d5
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 0x6683dc
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 0x668434
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 0x66843b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x668444
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 0x668499
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 0x6684a0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x668510
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 0x668585
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.006681e8
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.0061e754
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 0x66856f
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 0x66858c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x668594
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 0x668609
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.006681e8
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 0x6685f3
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 0x668610
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret