joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c6e60
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e049d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100f0040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x101218a8]
mov edi, dword [esi + 0x174]
test edi, edi
setg byte [ebp - 0x14]
cmp dword [0x100f0464], 4
jne 0x100c6ec9
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x10121850]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x14]
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x1012706c], 0
jne 0x100c6fff
movaps xmm0, xmmword [0x100e6700]
xor eax, eax
movaps xmm2, xmmword [0x100e6520]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x1c], 0x9590
movaps xmm0, xmmword [0x100e68a0]
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x1a], 0xd6
nop
movups xmm0, xmmword [ebp + eax - 0x3c]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x3c], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100c6f00
cmp eax, 0x23
jae 0x100c6f2b
nop dword [eax]
xor byte [ebp + eax - 0x3c], 0xd6
inc eax
cmp eax, 0x23
jb 0x100c6f20
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c6f46
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.1002ebb0
mov dword [ebp - 4], 0
mov edx, dword [0x10121808]
test edx, edx
je 0x100c6f72
mov edx, dword [edx + 0x50]
jmp 0x100c6f74
xor edx, edx
mov eax, dword [0x10121800]
test eax, eax
je 0x100c6f82
mov eax, dword [eax + 0x18]
jmp 0x100c6f84
xor eax, eax
lea ecx, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10051ec0
mov edi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x40]
inc edi
cmp ecx, 0xf
jbe 0x100c6fce
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c6fc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c6fc4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7387
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x1012706c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d6f0c
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Check for peb beingdebugged flag

Disassembly:
pushal
pushfd
call 0x4010cf
inc ebx
jb 0x40106f
popal
je 0x401072
inc esi
imul ebp, dword [ebp + 0x41], 0x74654700
inc esi
imul ebp, dword [ebp + 0x53], 0x657a69
inc ebx
jb 0x401087
popal
je 0x40108a
inc esi
imul ebp, dword [ebp + 0x4d], 0x69707061
outsb dx, byte [esi]
add byte [di + 0x61], cl
jo 0x40108b
imul esp, dword [ebp + 0x77], 0x4946664f
insb byte es:[edi], dx
add byte gs:[ebp + 0x6e], dl
insd dword es:[edi], dx
popal
jo 0x40109b
imul esp, dword [ebp + 0x77], 0x6946664f
insb byte es:[edi], dx
add byte gs:[ebx + 0x6c], al
outsd dx, dword [esi]
jae 0x4010b9
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
add byte gs:[edx + 0x65], al
jo 0x401060
inc esi
imul ebp, dword [esi + 0x64], 0x73726946
je 0x4010b0
imul ebp, dword [ebp + 0x41], 0x6e694600
inc esi
imul ebp, dword [esi + 0x64], 0x7478654e
dec esi
js 0x4010eb
inc esi
imul ebp, dword [ebp + 0x41], 0x6e694600
inc ebx
insb byte es:[edi], dx
outsd dx, dword [esi]
jae 0x4010eb
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx - 0x18], bl
mov ebx, 0x9d000001
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
pop ebx
call 0x401290
popfd
popal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 8]
cmp dword [eax + 2], 0x68736873
je 0x4010ee
push 0x89898989
invalid
invalid
mov ebx, eax
int3
ret
Function at 0x4010cf
Capabilities:
Check for peb beingdebugged flag

Disassembly:
pushal
pushfd
call 0x4010cf
inc ebx
jb 0x40106f
popal
je 0x401072
inc esi
imul ebp, dword [ebp + 0x41], 0x74654700
inc esi
imul ebp, dword [ebp + 0x53], 0x657a69
inc ebx
jb 0x401087
popal
je 0x40108a
inc esi
imul ebp, dword [ebp + 0x4d], 0x69707061
outsb dx, byte [esi]
add byte [di + 0x61], cl
jo 0x40108b
imul esp, dword [ebp + 0x77], 0x4946664f
insb byte es:[edi], dx
add byte gs:[ebp + 0x6e], dl
insd dword es:[edi], dx
popal
jo 0x40109b
imul esp, dword [ebp + 0x77], 0x6946664f
insb byte es:[edi], dx
add byte gs:[ebx + 0x6c], al
outsd dx, dword [esi]
jae 0x4010b9
dec eax
popal
outsb dx, byte [esi]
insb byte es:[edi], dx
add byte gs:[edx + 0x65], al
jo 0x401060
inc esi
imul ebp, dword [esi + 0x64], 0x73726946
je 0x4010b0
imul ebp, dword [ebp + 0x41], 0x6e694600
inc esi
imul ebp, dword [esi + 0x64], 0x7478654e
dec esi
js 0x4010eb
inc esi
imul ebp, dword [ebp + 0x41], 0x6e694600
inc ebx
insb byte es:[edi], dx
outsd dx, dword [esi]
jae 0x4010eb
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx - 0x18], bl
mov ebx, 0x9d000001
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
pop ebx
call 0x401290
popfd
popal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 8]
cmp dword [eax + 2], 0x68736873
je 0x4010ee
push 0x89898989
invalid
invalid
mov ebx, eax
int3
ret
Function at 0x401140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x18]
jae 0x4011b9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 4]
lea eax, [ecx + edx*4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401110
add esp, 8
cmp eax, 1
jne 0x4011ae
jmp 0x4011b9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x401174
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jne 0x4011c8
xor eax, eax
jmp 0x4011f0
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov ecx, dword [ebp - 4]
movzx edx, word [eax + ecx*2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x34]
mov esp, ebp
pop ebp
ret

Function at 0x401270
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
ret

Function at 0x401740
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov dword [ebp - 0x214], 0x745c3a63
mov dword [ebp - 0x210], 0x5c747365
mov dword [ebp - 0x20c], 0x78652e2a
mov dword [ebp - 0x208], 0x65
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x401814
mov dword [ebp - 4], 0
jmp 0x4017b8
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movsx ecx, byte [ebp + eax - 0x328]
test ecx, ecx
je 0x4017dd
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax - 0x328]
mov byte [ebp + edx - 0x20c], cl
jmp 0x4017af
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x20c], 0
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004016d0
add esp, 8
lea edx, [ebp - 0x354]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 0x10]
test eax, eax
jne 0x4017a6
mov ecx, dword [ebp - 8]
push ecx
call dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x10012830
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x1001f640]
test eax, eax
je 0x100128e8
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x10012870
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x1001285c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x1001291d
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x1001f640], eax
sub esp, 8
test eax, eax
jne 0x1001284d
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x1001285e
Function at 0x4bae70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x78000]
push edi
jmp 0x4bae8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bae91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bae80
mov eax, 1
add ebx, ebx
jne 0x4baea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4baeb4
jne 0x4baed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4baed3
dec eax
add ebx, ebx
jne 0x4baec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bae98
add ebx, ebx
jne 0x4baecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4baf25
xor ecx, ecx
sub eax, 3
jb 0x4baeeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4baf5a
sar eax, 1
mov ebp, eax
jmp 0x4baef6
add ebx, ebx
jne 0x4baef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4baec4
inc ecx
add ebx, ebx
jne 0x4baf04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4baec4
add ebx, ebx
jne 0x4baf11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4baf06
jne 0x4baf22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4baf06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4baf44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4baf36
jmp 0x4bae86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4baf44
add edi, ecx
jmp 0x4bae86
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4baf62
cmp byte [edi], 0x13
jne 0x4baf62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4baf67
lea edi, [esi + 0xb6000]
mov eax, dword [edi]
or eax, eax
je 0x4bafdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc498c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc4ae0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4baf94
mov ecx, edi
jns 0x4bafc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc4ae4]
or eax, eax
je 0x4bafd9
mov dword [ebx], eax
add ebx, 4
jmp 0x4bafb1
call dword [esi + 0xc4af4]
mov ebp, dword [esi + 0xc4ae8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4bb013
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x404340
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x404364
push esi
call fcn.00404610
test eax, eax
jne 0x404364
push str.Cant_open_clipboard_for_writing.
call fcn.00404440
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40439d
cmp dword [esi + 0x18], ebx
je 0x40438f
cmp dword [esi + 8], ebx
je 0x404384
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4a1bd4
call fcn.00404440
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp eax, ebx
je 0x4043d6
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4043fd
cmp word [ecx], bx
push eax
sete byte [esp + 0x13]
call edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
cmp byte [esp + 0xf], bl
je 0x4043fd
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], ebx
je 0x4043f3
cmp dword [esi + 8], ebx
je 0x4043e8
mov ecx, dword [esi]
push ecx
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov edx, dword [esi + 4]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x404412
mov dword [esi + 4], ebx
jmp 0x4043d6
cmp dword [esi + 0x18], ebx
je 0x40442f
cmp dword [esi + 8], ebx
je 0x404424
mov eax, dword [esi]
push eax
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4a1bf4
call fcn.00404440
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x404510
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x404520
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x4045ef
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.0048e367
add esp, 0xc
test eax, eax
je 0x4045e6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.0048db19
add esp, 8
test eax, eax
je 0x4045e6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.0048db19
add esp, 8
test eax, eax
je 0x4045e6
lea edx, [esp]
push str.Native
push edx
call fcn.0048db19
add esp, 8
test eax, eax
je 0x4045e6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.0048db19
add esp, 8
test eax, eax
je 0x4045e6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.0048db19
add esp, 8
test eax, eax
je 0x4045dc
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.0048db19
add esp, 8
test eax, eax
jne 0x4045f5
test esi, esi
je 0x4045e6
mov dword [esi], 1
xor eax, eax
add esp, 0x20c
ret
xor eax, eax
mov word [esp], ax
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x20c
ret
Function at 0x407a30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4c73b0], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x407aeb
mov al, byte [0x4c73b2]
cmp al, 0xa0
je 0x407a56
cmp al, 0x10
jne 0x407aeb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c73ac]
cmp eax, 0x16
jae 0x407aeb
test ebp, 0x100
jne case.0x407a87.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407a87.13
movzx eax, byte [eax + 0x407c94]
jmp dword [eax*4 + 0x407c8c]
mov cl, 1
jmp 0x407a94
xor cl, cl
cmp byte [0x4c73b1], 0
jne 0x407ab1
xor ecx, ecx
nop
cmp byte [ecx + 0x4c7394], 0
jne 0x407abc
inc ecx
cmp ecx, 0x16
jl 0x407aa0
jmp 0x407aeb
cmp byte [esp + 0x1c], 0
je 0x407ac5
test cl, cl
je 0x407aeb
mov byte [0x4c73b3], 1
jmp 0x407ac9
test cl, cl
je 0x407aeb
mov cl, byte [0x4c73ab]
mov dl, byte [0x4c73aa]
mov al, byte [0x4c72b7]
mov byte [0x4c84a7], cl
mov byte [0x4c84d8], dl
mov byte [0x4c8568], al
mov cl, byte [0x4c84a7]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4c84d8]
mov al, byte [0x4c8568]
mov byte [0x4c73ab], cl
lea ecx, [esi + esi*8]
mov byte [0x4c73aa], dl
mov edx, dword [0x4c8ee0]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x4c72b7], al
test bl, bl
je case.default.0x407c62
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x407b42
xor al, al
jmp 0x407b57
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.00407cf0
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x407c2e
cmp byte [esp + 0x20], 0
jne 0x407b81
mov cl, bl
not cl
and byte [0x4c84a5], cl
test dl, dl
je 0x407b81
and byte [0x4c84a6], cl
cmp byte [esp + 0x18], 0
je case.default.0x407c62
not bl
and byte [0x4c84a7], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4c84c8], 0
cmp ecx, 5
ja case.default.0x407c62
jmp dword [ecx*4 + 0x407cb8]
mov cl, byte [0x4c8569]
mov byte [0x4c84d8], cl
jmp case.default.0x407c62
mov dl, byte [0x4c8568]
mov byte [0x4c84d8], dl
jmp case.default.0x407c62
mov al, byte [0x4c856b]
mov byte [0x4c84d9], al
jmp case.default.0x407c62
mov cl, byte [0x4c856a]
mov byte [0x4c84d9], cl
jmp case.default.0x407c62
mov dl, byte [0x4c856d]
mov byte [0x4c84da], dl
jmp case.default.0x407c62
mov al, byte [0x4c856c]
mov byte [0x4c84da], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4c73b4], bp
pop ebp
mov byte [0x4c73b2], al
mov byte [0x4c73b1], cl
pop ebx
je 0x407c70
xor al, al
mov byte [0x4c73b0], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c73ac], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x407c45
or byte [0x4c84a5], bl
test dl, dl
je 0x407c45
or byte [0x4c84a6], bl
test al, al
je case.default.0x407c62
or byte [0x4c84a7], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4c84c8], al
cmp ecx, 5
ja case.default.0x407c62
jmp dword [ecx*4 + 0x407cd0]
mov byte [0x4c84d8], al
jmp case.default.0x407c62
push ecx
call fcn.00407cf0
add esp, 4
mov byte [0x4c73b0], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c73ac], eax
pop ecx
ret
Function at 0x407cf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x407cff
cmp al, 0x10
jne case.0x407d56.13
cmp byte [esp + 8], 0
jne case.0x407d56.13
cmp byte [0x4c73b3], 0
je 0x407d2b
xor eax, eax
cmp byte [eax + 0x4c7394], 0
jne 0x407d2b
inc eax
cmp eax, 0x16
jl 0x407d11
mov byte [0x4c73b3], 0
xor al, al
pop esi
ret
cmp byte [0x4c73b1], 0
je case.0x407d56.13
test dword [0x4c73b4], 0x100
jne case.0x407d56.13
movzx eax, byte [0x4c73b2]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407d56.13
movzx eax, byte [eax + 0x407d80]
jmp dword [eax*4 + 0x407d78]
call esi
sub eax, dword [0x4c73ac]
cmp eax, 0x16
jb 0x407d27
call esi
mov dword [0x4cb2cc], eax
mov al, 1
pop esi
ret