joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7350
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4b7381
dec al
je 0x4b73c2
dec al
je 0x4b7406
dec al
je 0x4b7471
jmp 0x4b74fb
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4b74fb
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4b7391
jmp 0x4b74fb
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b74fb
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4b73d2
jmp 0x4b74fb
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b74fb
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4b7434
xor ebp, ebp
jmp 0x4b7445
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4b744e
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4b7416
jmp 0x4b74fb
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b74fb
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4b74c9
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004b5528
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4b7485
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bec44
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x4be7fc]
call fcn.004bf378
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov ecx, edi
mov edx, ebx
call fcn.004bfa38
xor eax, eax
push ebp
push 0x4bee0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x410c5c]
call fcn.00403140
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4beded
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.004c05b0
xor eax, eax
mov dword [ebp - 0x10], eax
call fcn.00431bf8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.004313a0
xor eax, eax
push ebp
push 0x4bedd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.00431314
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
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 0x4bed04
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
mov eax, dword [ebp - 4]
call fcn.004144d0
push eax
mov eax, dword [0x767ab0]
movzx eax, word [eax]
push eax
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4beda2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4bed98
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4bed91
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
call fcn.004144d0
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x768d9c]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bed98
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bedba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bedd7
mov eax, dword [ebp - 0x18]
call fcn.00431374
ret
Function at 0x4bee18
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x4be7fc]
call fcn.004bf378
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x4bad80]
call fcn.004bc61c
mov ebx, eax
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.004bf434
mov dl, 1
mov eax, dword [0x41b0d4]
call fcn.0042178c
mov dword [ebp - 0x1c], eax
mov ecx, edi
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.004bd918
xor eax, eax
push ebp
push 0x4bf01c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x410c5c]
call fcn.00403140
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4beff7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.004c05b0
xor eax, eax
mov dword [ebp - 0x14], eax
call fcn.00431bf8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
call fcn.004313a0
xor eax, eax
push ebp
push 0x4befda
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x4beedd
mov eax, dword [ebp - 0x20]
call fcn.00431314
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x14], 0
je 0x4bef0e
mov eax, dword [ebp - 0x14]
push eax
push 9
call sub.user32.dll_SetClipboardData
mov eax, dword [ebp - 8]
call fcn.004144d0
push eax
mov eax, dword [0x767ab0]
movzx eax, word [eax]
push eax
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4befac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x4befa2
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4bef9b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 8]
call fcn.004144d0
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x768d9c]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4befa2
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4befc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4befe1
mov eax, dword [ebp - 0x20]
call fcn.00431374
ret
Function at 0x4bf02c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, eax
mov eax, dword [0x768d9c]
push eax
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x4bf12e
call fcn.00431bf8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.004313a0
xor eax, eax
push ebp
push 0x4bf127
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x768d9c]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x4bf10a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x410c5c]
call fcn.00403140
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bf0ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, esi
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004c0518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf0f3
mov eax, dword [ebp - 4]
call fcn.00403170
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c4de0
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 0x4c4e31
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4c4e18
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4c4e08
jmp 0x4c4e31
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 0x4c4e19
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c7c30
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov edi, eax
mov dl, 1
mov eax, dword [0x41b0d4]
call fcn.0042178c
mov dword [esp + 4], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
je 0x4c7dc3
mov ebp, eax
dec ebp
mov eax, edi
call fcn.00421ddc
test al, al
je 0x4c7c78
sub al, 8
je 0x4c7c78
xor eax, eax
jmp 0x4c7c7a
mov al, 1
test al, al
jne 0x4c7d0f
mov eax, edi
call fcn.004c5198
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
call fcn.0040279c
mov dword [esp + 0xc], eax
mov esi, ebp
sar esi, 1
jns 0x4c7ca3
adc esi, 0
test esi, esi
jl 0x4c7cfd
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, edi
call fcn.00421e60
mov dword [esp + 0x10], eax
mov edx, ebp
sub edx, ebx
mov eax, edi
call fcn.00421e60
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
call fcn.00408128
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.00408128
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
call fcn.00408128
inc ebx
dec esi
jne 0x4c7caa
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
call fcn.004027b4
jmp 0x4c7dc3
mov edx, dword [esp]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 1
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, edi
call fcn.00421cf8
call fcn.0041d564
mov edi, eax
mov eax, dword [esp + 4]
call fcn.00421cf8
call fcn.0041d564
mov dword [esp + 8], eax
mov esi, ebp
sar esi, 1
jns 0x4c7d52
adc esi, 0
test esi, esi
jl 0x4c7dba
inc esi
xor ebx, ebx
push 0xcc0020
push ebx
push 0
push edi
push 1
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
mov eax, dword [esp + 0x28]
push eax
call sub.gdi32.dll_BitBlt
push 0xcc0020
mov eax, ebp
sub eax, ebx
push eax
push 0
push edi
push 1
mov eax, dword [esp + 0x14]
push eax
push ebx
push 0
push edi
call sub.gdi32.dll_BitBlt
push 0xcc0020
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
push 1
mov eax, dword [esp + 0x14]
push eax
mov eax, ebp
sub eax, ebx
push eax
push 0
push edi
call sub.gdi32.dll_BitBlt
inc ebx
dec esi
jne 0x4c7d59
mov eax, dword [esp + 4]
call fcn.00403170
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c7dcc
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
je 0x4c7f9a
mov ebp, dword [esp]
dec ebp
mov ebx, eax
dec ebx
mov eax, edi
call fcn.00421ddc
and eax, 0x7f
cmp eax, 7
ja case.0x4c7e08.0
jmp dword [eax*4 + 0x4c7e0f]
test ebx, ebx
jl 0x4c7f9a
inc ebx
xor esi, esi
mov edx, esi
mov eax, edi
call fcn.00421e60
mov edx, ebp
call fcn.004c51d0
inc esi
dec ebx
jne 0x4c7e3a
jmp 0x4c7f9a
test ebx, ebx
jl 0x4c7f9a
inc ebx
xor esi, esi
mov edx, esi
mov eax, edi
call fcn.00421e60
mov edx, ebp
call fcn.00465350
inc esi
dec ebx
jne 0x4c7e5e
jmp 0x4c7f9a
test ebx, ebx
jl 0x4c7f9a
inc ebx
xor esi, esi
mov edx, esi
mov eax, edi
call fcn.00421e60
mov edx, ebp
call fcn.004653b8
inc esi
dec ebx
jne 0x4c7e82
jmp 0x4c7f9a
test ebx, ebx
jl 0x4c7f9a
inc ebx
xor esi, esi
mov edx, esi
mov eax, edi
call fcn.00421e60
mov edx, ebp
call fcn.004653f0
inc esi
dec ebx
jne 0x4c7ea6
jmp 0x4c7f9a
test ebx, ebx
jl 0x4c7f9a
inc ebx
xor esi, esi
mov edx, esi
mov eax, edi
call fcn.00421e60
mov edx, ebp
call fcn.00465384
inc esi
dec ebx
jne 0x4c7eca
jmp 0x4c7f9a
mov dl, 1
mov eax, dword [0x41b0d4]
call fcn.0042178c
mov dword [esp + 4], eax
mov dl, 7
mov eax, dword [esp + 4]
call fcn.00422cfc
mov edx, 1
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esp]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 4]
call fcn.00421cf8
call fcn.0041d564
mov dword [esp + 8], eax
mov eax, edi
call fcn.00421cf8
call fcn.0041d564
mov edi, eax
test ebx, ebx
jl 0x4c7f91
inc ebx
xor esi, esi
push 0xcc0020
push esi
push 0
push edi
push 1
mov eax, dword [esp + 0x14]
push eax
push 0
push 0
mov eax, dword [esp + 0x28]
push eax
call sub.gdi32.dll_BitBlt
xor edx, edx
mov eax, dword [esp + 4]
call fcn.00421e60
mov edx, ebp
call fcn.00465384
push 0xcc0020
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
push 1
mov eax, dword [esp + 0x14]
push eax
push esi
push 0
push edi
call sub.gdi32.dll_BitBlt
inc esi
dec ebx
jne 0x4c7f3f
mov eax, dword [esp + 4]
call fcn.00403170
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cee10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x14], eax
mov eax, esi
call fcn.00421ddc
cmp al, 7
jne 0x4cefce
cmp dword [ebp - 0x10], 4
jl 0x4cefce
cmp dword [ebp - 0x14], 4
jl 0x4cefce
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x14]
cmp eax, 0x28
jg 0x4cefce
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x10]
cmp eax, 0x28
jg 0x4cefce
mov ebx, dword [ebp - 0x14]
dec ebx
mov edx, ebx
mov eax, esi
call fcn.00421e60
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jns 0x4cee93
add eax, 0x1f
sar eax, 5
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
test ebx, ebx
jl 0x4cef12
inc ebx
mov dword [ebp - 0x24], ebx
xor esi, esi
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4ceed7
inc eax
xor ebx, ebx
mov edx, dword [ebp - 0x14]
dec edx
sub edx, esi
imul edx, dword [ebp - 0x10]
add edx, ebx
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + edx*4 + 3]
and edx, 0xff
add dword [ebp - 0x1c], edx
inc ebx
dec eax
jne 0x4ceeb7
mov ebx, dword [ebp - 0x10]
dec ebx
mov edx, ebx
sub edx, dword [ebp - 0x18]
xor eax, eax
call fcn.004660ac
sub eax, ebx
jg 0x4cef0c
dec eax
mov edx, dword [ebp - 0x14]
dec edx
sub edx, esi
imul edx, dword [ebp - 0x10]
add edx, ebx
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + edx*4 + 3]
and edx, 0xff
add dword [ebp - 0x20], edx
dec ebx
inc eax
jne 0x4ceeec
inc esi
dec dword [ebp - 0x24]
jne 0x4ceead
mov ecx, dword [ebp - 0x18]
inc ecx
imul ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cdq
idiv ecx
mov edx, dword [ebp - 4]
mov byte [edx], al
mov eax, dword [ebp - 0x20]
cdq
idiv ecx
mov edx, dword [ebp + 0xc]
mov byte [edx], al
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x4cefae
inc eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x4cef73
inc eax
xor esi, esi
mov edx, dword [ebp - 0x14]
dec edx
sub edx, esi
imul edx, dword [ebp - 0x10]
add edx, ebx
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + edx*4 + 3]
and edx, 0xff
add dword [ebp - 0x1c], edx
inc esi
dec eax
jne 0x4cef53
mov esi, dword [ebp - 0x14]
dec esi
mov edx, esi
sub edx, dword [ebp - 0x18]
xor eax, eax
call fcn.004660ac
sub eax, esi
jg 0x4cefa8
dec eax
mov edx, dword [ebp - 0x14]
dec edx
sub edx, esi
imul edx, dword [ebp - 0x10]
add edx, ebx
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + edx*4 + 3]
and edx, 0xff
add dword [ebp - 0x20], edx
dec esi
inc eax
jne 0x4cef88
inc ebx
dec dword [ebp - 0x24]
jne 0x4cef48
mov ecx, dword [ebp - 0x18]
inc ecx
imul ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
cdq
idiv ecx
mov edx, dword [ebp - 8]
mov byte [edx], al
mov eax, dword [ebp - 0x20]
cdq
idiv ecx
mov edx, dword [ebp + 8]
mov byte [edx], al
mov bl, 1
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d8618
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
mov byte [ebp - 1], 0
push ebx
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x4d86d5
call fcn.0048f470
mov dword [ebp - 0xc], eax
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.0048ef7c
xor eax, eax
push ebp
push 0x4d86ce
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4d86b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalSize
cmp esi, eax
ja 0x4d869a
mov edx, edi
mov eax, ebx
mov ecx, esi
call fcn.00402a0c
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d86b8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d86e0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
push ebx
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x4d8796
call fcn.0048f470
mov dword [ebp - 0xc], eax
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.0048ef7c
xor eax, eax
push ebp
push 0x4d878f
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4d8772
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalSize
mov ecx, eax
mov edx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 8]
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8779
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dcb60
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4dcb8e
mov eax, ebx
call fcn.004dd604
cmp dword [ebx + 0x3c], 0
je 0x4dcb87
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4dcbff
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4dcbf1
cmp dword [ebx + 8], 0
je 0x4dcbb0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4dcbc2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4dcbf1
cmp dword [ebx + 8], 0
je 0x4dcba3
cmp eax, 3
je 0x4dcbd5
dec eax
jne 0x4dcba3
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 0x4dcba3
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4dcba3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4dcc1d
cmp dword [ebx + 0x10], 0xcc
je 0x4dcc1d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004dcc28
pop ebx
ret