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

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x20]
mov eax, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x1064]
push edi
mov edi, dword [edx + 0x1058]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x49d96a
push ebx
mov edx, dword [edx + 0x1060]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x49d945
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0x1c
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 8]
mov ecx, eax
and ecx, 0xffff00e3
mov ebx, ebp
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00e3
shr edx, 2
lea ecx, [ecx + ebx + 0x42]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xe3
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0x1c
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x49d893
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1058]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1058]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x49d86f
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x49da0e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
mov ebp, dword [edx + 0x1058]
push edi
mov edi, dword [edx + 0x1064]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x20]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x49db52
push ebx
push esi
mov esi, 0xff1c
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1060]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x49db2c
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xe3
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 0x42]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x208]
shr eax, 2
and edx, 0xffff00e3
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x49da77
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1058]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1058]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x49da4e
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x49dc7b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
mov ebp, dword [edx + 0x1058]
push edi
mov edi, dword [edx + 0x1064]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x20]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x49ddbf
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1060]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x49dd99
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x49dce4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1058]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1058]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x49dcbb
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x49ddc7
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x20]
mov eax, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x1064]
push edi
mov edi, dword [edx + 0x1058]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x49defd
push ebx
mov edx, dword [edx + 0x1060]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x49ded8
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x49de26
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1058]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1058]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x49de02
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x4bb500
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x4bb523
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4bb549
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x4bb530
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x4bb600
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4bb632
push esi
call fcn.004f3690
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4bb62b
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x4bb6b5
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4bb6a0
lea ebx, [ebx]
mov eax, dword [esi + 8]
test eax, eax
je 0x4bb65a
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x4bb69a
cmp eax, 2
je 0x4bb6a0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4bb650
cmp eax, 3
je 0x4bb67d
cmp eax, 1
jne 0x4bb650
mov eax, dword [ecx + 4]
inc eax
mov edx, eax
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x4bb650
mov edx, dword [esi + 0x144]
add edx, eax
mov dword [ecx + 8], edx
jmp 0x4bb650
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.004bb500
pop esi
ret 4
cmp ecx, 0xcc
je 0x4bb6cc
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.004bb500
pop esi
ret 4
Function at 0x4ee41a
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4ee421
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4ee43f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4ee49d
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4ee484
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4ee48d
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4ee497
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4ee479
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4ee403
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4ee4ea
dec eax
je 0x4ee4e1
sub eax, 3
je 0x4ee4d8
mov dword [ebp - 4], 0x40
jmp 0x4ee507
mov dword [ebp - 4], 4
jmp 0x4ee4ed
mov dword [ebp - 4], 0x20
jmp 0x4ee4ed
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4ee539
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4ee4b9
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004edd4a
and byte [ebx], ch
push eax
or edi, edi
jne 0x4ee544
push 1
push esi
call edi
mov eax, esi
jmp 0x4ee545
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f6172
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x4f6181
xor eax, eax
jmp 0x4f6264
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x4f6244
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x591970]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x591970]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x591970]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x591970]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x591970]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x591970]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x591970]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x591970]
inc edx
dec edi
jne 0x4f61a1
pop edi
test eax, eax
je 0x4f625e
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x591970]
inc edx
dec eax
jne 0x4f6248
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x547aa7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5c5bf0]
jne 0x547ab1
repz ret
jmp fcn.0055099d

Function at 0x56063c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00551066
and dword [ebp - 4], 0
cmp dword [0x6f36c8], 0
mov ebx, eax
jne 0x5606ed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x56079e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5a62d8
push edi
call esi
test eax, eax
je 0x56079e
push eax
call fcn.00550ff4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6f36c8], eax
call esi
push eax
call fcn.00550ff4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6f36cc], eax
call esi
push eax
call fcn.00550ff4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6f36d0], eax
call esi
push eax
call fcn.00550ff4
pop ecx
mov dword [0x6f36d8], eax
test eax, eax
je 0x5606ed
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00550ff4
pop ecx
mov dword [0x6f36d4], eax
mov eax, dword [0x6f36d4]
cmp eax, ebx
je 0x560745
cmp dword [0x6f36d8], ebx
je 0x560745
push eax
call fcn.0055106f
push dword [0x6f36d8]
mov esi, eax
call fcn.0055106f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x560745
test edi, edi
je 0x560745
call esi
test eax, eax
je 0x56073c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x56073c
test byte [ebp - 0xc], 1
jne 0x560745
or dword [ebp + 0x10], 0x200000
jmp 0x56077e
mov eax, dword [0x6f36cc]
cmp eax, ebx
je 0x56077e
push eax
call fcn.0055106f
pop ecx
test eax, eax
je 0x56077e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x56077e
mov eax, dword [0x6f36d0]
cmp eax, ebx
je 0x56077e
push eax
call fcn.0055106f
pop ecx
test eax, eax
je 0x56077e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6f36c8]
call fcn.0055106f
pop ecx
test eax, eax
je 0x56079e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5607a0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x6f7b5abf
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x1cc745f0
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x404120
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
mov edx, dword [0x4dbc60]
mov eax, dword [edi + 8]
lea esi, [eax + eax*2]
mov eax, dword [0x4dcd3c]
lea ebx, [eax + esi*4]
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
cmp edx, dword [0x4d78c4]
jge 0x40432d
mov al, byte [ebx + 8]
cmp al, byte [ebx + 9]
jae 0x40432d
mov esi, dword [0x4d78c8]
cmp dword [esi + 0x3c], 0
jg 0x40432d
inc edx
add esi, 0xa0
mov dword [0x4dbc60], edx
mov edx, dword [0x4dbc48]
mov dword [0x4d78c8], esi
test edx, edx
je 0x404190
add edx, 0x58
jmp 0x404192
xor edx, edx
movups xmm0, xmmword [edx]
mov ecx, esi
lea eax, [esi + 0x58]
neg ecx
push 0x58
sbb ecx, ecx
and ecx, eax
push 0
push esi
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x40], eax
call fcn.004956d0
add esp, 0xc
mov byte [esi + 0x53], 1
mov ecx, 0x4dcd68
mov dword [esi + 0x3c], 0
push 0
call fcn.00415750
mov al, byte [esi + 0x96]
test al, al
jne 0x4041f5
mov byte [esi + 0x96], al
cmp dword [0x4dd440], 0
je 0x404207
cmp dword [0x4dd43c], 0
jne 0x40420b
test al, al
je 0x404236
mov byte [esi + 0x53], 0
test al, al
jne 0x404236
cmp dword [0x4dd440], 0
jge 0x404225
mov dword [esi + 0x44], 0xffffffff
jmp 0x404236
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x48], eax
mov eax, dword [0x4dd440]
mov dword [esi + 0x44], eax
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0047fe00
mov ecx, dword [0x4d78c8]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x404258
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
mov ecx, edx
mov dword [0x4dd444], eax
inc byte [ebx + 8]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push 0
push eax
push 4
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], 1
push eax
push 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x5c], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x6c], 1
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 0
call fcn.0046f110
add esp, 0x14
cmp eax, 7
sete bl
jne 0x4042f2
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
call fcn.00404340
cmp byte [edi + 0x10], 0
jne 0x404320
mov eax, dword [edi + 8]
lea ecx, [eax + eax*2]
mov eax, dword [0x4dcd3c]
lea ecx, [eax + ecx*4]
mov al, byte [ecx + 8]
test al, al
je 0x404324
dec al
mov byte [ecx + 8], al
mov al, bl
pop edi
pop esi
pop ebx
add esp, 0x54
ret
mov byte [edi + 0x10], 0
mov al, bl
pop edi
pop esi
pop ebx
add esp, 0x54
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret
Function at 0x404d70
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x4dcd58], 0
push ebx
push esi
push edi
jne 0x404e08
mov edi, dword [ebp + 8]
test edi, edi
je 0x404e39
mov esi, dword [ebp + 0xc]
cmp esi, 0xffffffff
jne 0x404daf
mov esi, edi
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x404da0
sub esi, ecx
sar esi, 1
test esi, esi
je 0x404e39
lea ebx, [esi + 1]
test ebx, ebx
je 0x404e08
lea eax, [ebx + ebx]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x4dcd50], eax
test eax, eax
je 0x404df4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x4dcd58], eax
test eax, eax
jne 0x404e13
push dword [0x4dcd50]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x4dcd50], eax
push 0x4b431c
push str.An_internal_function_call_failed.
mov ecx, 0x4dcd68
call fcn.00428f20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
mov dword [0x4dcd60], ebx
mov word [eax], cx
mov ebx, dword [0x4dcd58]
test ebx, ebx
je 0x404e08
push esi
push edi
push ebx
call fcn.0049fc44
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2], ax
cmp dword [0x4dcd64], 0
jne 0x404e5e
call fcn.004051a0
test eax, eax
jne 0x404e5e
push str.Cant_open_clipboard_for_writing.
call fcn.00404fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x404ebb
cmp dword [0x4dcd64], eax
je 0x404ea8
cmp dword [0x4dcd54], eax
je 0x404e8e
push dword [0x4dcd4c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4dcd54], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4dcd64], 0
mov dword [0x4dcd4c], 0
push 0x4b4764
call fcn.00404fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4dcd50]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
je 0x404f08
mov ecx, dword [0x4dcd58]
test ecx, ecx
je 0x404f59
movzx esi, word [ecx]
push eax
call edi
mov dword [0x4dcd58], 0
mov dword [0x4dcd60], 0
test si, si
jne 0x404f54
push dword [0x4dcd50]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x4dcd50], eax
cmp dword [0x4dcd64], 0
je 0x404f46
cmp dword [0x4dcd54], 0
je 0x404f2c
push dword [0x4dcd4c]
call edi
mov dword [0x4dcd54], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4dcd64], 0
mov dword [0x4dcd4c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4dcd50]
push eax
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x404f72
mov dword [0x4dcd50], 0
jmp 0x404f08
cmp dword [0x4dcd64], 0
je 0x404fb0
cmp dword [0x4dcd54], 0
je 0x404f96
push dword [0x4dcd4c]
call edi
mov dword [0x4dcd54], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4dcd64], 0
mov dword [0x4dcd4c], 0
push 0x4b4784
call fcn.00404fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x405080
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x218]
push edi
test esi, esi
je 0x405099
mov dword [esi], 0
mov edi, dword [esp + 0x218]
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x405179
push 0x104
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea eax, [esp + 0xc]
push str.Link_Source
push eax
call fcn.00497b0e
add esp, 0xc
test eax, eax
je 0x40516c
lea eax, [esp + 8]
push str.ObjectLink
push eax
call fcn.004979b3
add esp, 8
test eax, eax
je 0x40516c
lea eax, [esp + 8]
push str.OwnerLink
push eax
call fcn.004979b3
add esp, 8
test eax, eax
je 0x40516c
lea eax, [esp + 8]
push str.Native
push eax
call fcn.004979b3
add esp, 8
test eax, eax
je 0x40516c
lea eax, [esp + 8]
push str.Embed_Source
push eax
call fcn.004979b3
add esp, 8
test eax, eax
je 0x40516c
lea eax, [esp + 8]
push str.MSDEVColumnSelect
push eax
call fcn.004979b3
add esp, 8
test eax, eax
je 0x405162
lea eax, [esp + 8]
push str.MSDEVLineSelect
push eax
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x405180
test esi, esi
je 0x40516c
mov dword [esi], 1
pop edi
xor eax, eax
pop esi
add esp, 0x20c
ret 8
xor eax, eax
mov word [esp + 8], ax
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
pop edi
pop esi
add esp, 0x20c
ret 8

Function at 0x4051a0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
cmp dword [0x4dcd64], 0
je 0x4051af
mov eax, 1
ret
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
push dword [0x4dbc70]
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
mov ebx, eax
call edi
test eax, eax
jne 0x40521e
nop
mov eax, dword [0x4d78d4]
cmp eax, 0xffffffff
je 0x4051ef
test eax, eax
je 0x405231
call esi
mov ecx, dword [0x4d78d4]
add ecx, ebx
sub ecx, eax
cmp ecx, 5
jle 0x405231
mov edx, 1
mov dword [0x4d78c0], 0
mov ecx, 0x8000012f
call fcn.00401950
push dword [0x4dbc70]
mov dword [0x4d78c0], 1
call edi
test eax, eax
je 0x4051d0
pop edi
pop esi
mov dword [0x4dcd64], 1
mov eax, 1
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret