joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44edd1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x47d605
call fcn.004690f0
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0044bc48
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x44ee1c
call fcn.0044bc48
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x44ee2d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x44ee3a
or eax, 0xffffffff
jmp 0x44ef96
mov ecx, esi
call fcn.0044e923
mov dword [ebp - 0x14], eax
call fcn.00445b09
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x44eeb8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x44eeb8
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44eeb8
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00444350
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x44eeb8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x44eeb8
mov ecx, ebx
call fcn.0044caef
test eax, eax
je 0x44eeb8
push 0
mov ecx, ebx
call fcn.0044cb0a
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00447878
push dword [ebp - 0x14]
call fcn.00445a61
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0044ebd9
xor edi, edi
cmp eax, edi
je 0x44ef15
test byte [esi + 0x3c], 0x10
je 0x44eeff
push 4
pop edi
mov ecx, esi
call fcn.0044c989
test ax, 0x100
je 0x44eef5
push 5
pop edi
push edi
mov ecx, esi
call fcn.00445629
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x44ef15
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0044ccb4
or dword [ebp - 4], 0xffffffff
jmp 0x44ef40
cmp dword [ebp - 0x28], edi
je 0x44ef4e
push 1
mov ecx, ebx
call fcn.0044cb0a
cmp dword [ebp - 0x2c], edi
je 0x44ef5e
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x44ef77
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x44ef77
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0044e95d
cmp dword [esi + 0x58], edi
je 0x44ef93
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00469195
ret
Function at 0x44efc7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0044bc48
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44effe
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0044ebd9
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x44f056
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x44f076
cmp dword [edi + 0x54], 0
jne 0x44f076
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044bc48
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044f01d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x4622e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x462326
call fcn.0044bc48
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x462326
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x462369
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x462352
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x462352
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x462366
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x467769
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a4a28]
jne 0x467773
repz ret
jmp fcn.0046e225
Function at 0x46bfa7
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4a4bc0]
je 0x46bfc2
inc edi
cmp edi, 0x17
jb 0x46bfb3
cmp edi, 0x17
jae 0x46c142
push ebp
push 3
call fcn.00475938
cmp eax, 1
pop ecx
je 0x46c10e
push 3
call fcn.00475938
test eax, eax
pop ecx
jne 0x46bff6
cmp dword [0x4a4784], 1
je 0x46c10e
cmp ebx, 0xfc
je 0x46c141
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4a8820
push ebp
call fcn.004758d3
add esp, 0xc
test eax, eax
je 0x46c02c
push esi
push esi
push esi
push esi
push esi
call fcn.0046dd92
add esp, 0x14
push 0x104
mov esi, 0x4a8839
push esi
push 0
mov byte [0x4a893d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46c070
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004758d3
add esp, 0xc
test eax, eax
je 0x46c070
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0046dd92
add esp, 0x14
push esi
call fcn.0046b200
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x46c0b5
push esi
call fcn.0046b200
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4a8b34
push 0x4899fc
sub ecx, eax
push ecx
push eax
call fcn.00475820
add esp, 0x14
test eax, eax
je 0x46c0b5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0046dd92
add esp, 0x14
jmp 0x46c0b7
xor esi, esi
push 0x4899f8
push ebx
push ebp
call fcn.004757af
add esp, 0xc
test eax, eax
je 0x46c0d7
push esi
push esi
push esi
push esi
push esi
call fcn.0046dd92
add esp, 0x14
push dword [edi*8 + 0x4a4bc4]
push ebx
push ebp
call fcn.004757af
add esp, 0xc
test eax, eax
je 0x46c0f9
push esi
push esi
push esi
push esi
push esi
call fcn.0046dd92
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004755f2
add esp, 0xc
jmp 0x46c141
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x46c141
cmp ebp, 0xffffffff
je 0x46c141
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4a4bc4]
push dword [esi]
call fcn.0046b200
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4755f2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046cb57
xor ebx, ebx
cmp dword [0x4a9320], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4756c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4757a8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4757a8
push eax
call fcn.0046cae9
mov dword [esp], 0x489ca4
push edi
mov dword [0x4a9320], eax
call esi
push eax
call fcn.0046cae9
mov dword [esp], 0x489c90
push edi
mov dword [0x4a9324], eax
call esi
push eax
call fcn.0046cae9
mov dword [0x4a9328], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046accb
test eax, eax
pop ecx
pop ecx
je 0x475696
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0046dd92
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4756c8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0046cae9
cmp eax, ebx
pop ecx
mov dword [0x4a9330], eax
je 0x4756c8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046cae9
pop ecx
mov dword [0x4a932c], eax
mov eax, dword [0x4a932c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x47574d
cmp dword [0x4a9330], ecx
je 0x47574d
push eax
call fcn.0046cb60
push dword [0x4a9330]
mov esi, eax
call fcn.0046cb60
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x47574d
cmp edi, ebx
je 0x47574d
call esi
cmp eax, ebx
je 0x47571a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47571a
test byte [ebp - 0x18], 1
jne 0x47574d
lea eax, [ebp - 0x10]
push eax
call fcn.0046ad02
test eax, eax
pop ecx
je 0x475735
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0046dd92
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x475744
or dword [ebp + 0x10], 0x200000
jmp 0x475788
or dword [ebp + 0x10], 0x40000
jmp 0x475788
mov eax, dword [0x4a9324]
cmp eax, dword [ebp - 8]
je 0x475788
push eax
call fcn.0046cb60
cmp eax, ebx
pop ecx
je 0x475788
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x475788
mov eax, dword [0x4a9328]
cmp eax, dword [ebp - 8]
je 0x475788
push eax
call fcn.0046cb60
cmp eax, ebx
pop ecx
je 0x475788
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a9320]
call fcn.0046cb60
cmp eax, ebx
pop ecx
je 0x4757a8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4757aa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47caee
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a4a28]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0047ca83
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004692d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x47cb3d
cmp dword [ebp - 0x1c], 5
jb 0x47cb55
jmp 0x47cb51
cmp dword [ebp - 0x10], 1
jne 0x47cb55
cmp dword [ebp - 0x1c], 4
ja 0x47cb51
jne 0x47cb55
cmp dword [ebp - 0x18], 0
jbe 0x47cb55
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x48b6a8
call fcn.0047c974
test eax, eax
jge 0x47cb76
mov byte [0x4a9595], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00467769
add ebp, 0x78
leave
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x408959
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
call fcn.00408975
and esi, ebx
xor dword [eax], edi
inc eax
sub ebx, esi
sub esi, esi
cmp eax, edx
jne fcn.00408959
ret
Function at 0x4034e0
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x4034f4
inc dword [0x4a9e8c]
add dword [0x4a6440], 0xe8
mov edx, dword [0x4a6440]
push esi
push edi
mov ecx, 0x3a
mov esi, 0x4a89d0
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
mov esi, edx
mov dword [esi + 0x2c], ecx
test al, al
je 0x403523
push 0
mov eax, 0x4abd80
call fcn.004156a0
cmp dword [0x4a9ebc], 0
mov dword [0x4ac388], 0
mov dword [0x4ac38c], 0
je 0x40354b
push 0x4aa520
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [esp + 0x10], 0
jne 0x4035cf
or ecx, 0xffffffff
cmp byte [esi + 0xca], 0
jne 0x40357a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xca], al
test al, al
je 0x40357a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4ac394], 0
je 0x40358c
cmp dword [0x4ac390], 0
jne 0x403595
cmp byte [esi + 0xca], 0
je 0x4035cf
cmp byte [esi + 0xca], 0
mov byte [esi + 0xc8], 0
jne 0x4035cf
cmp dword [0x4ac394], 0
jge 0x4035b7
pop edi
mov dword [esi + 0xbc], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb8], eax
mov edx, dword [0x4ac394]
mov dword [esi + 0xbc], edx
pop edi
pop esi
ret
Function at 0x404250
Capabilities:
Write clipboard data

Disassembly:
cmp dword [0x4ac3ec], 0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
je 0x404268
pop ebp
xor eax, eax
pop ebx
ret 4
push esi
test ebp, ebp
je 0x4042b5
cmp ebx, 0xffffffff
jne 0x404282
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404277
sub eax, edx
mov ebx, eax
test ebx, ebx
je 0x4042b5
push edi
lea edi, [ebx + 1]
mov esi, 0x4ac3e0
call fcn.004042d0
pop edi
test eax, eax
jne 0x40429f
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [0x4ac3ec]
push ebx
push ebp
push eax
mov esi, eax
call fcn.00487da0
add esp, 0xc
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4ac3e0
jmp fcn.00404340

Function at 0x404340
Capabilities:
Write clipboard data

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x18], edi
jne 0x404364
push esi
call fcn.00404620
test eax, eax
jne 0x404364
push str.Cant_open_clipboard_for_writing.
call fcn.00404450
pop edi
pop esi
ret 4
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40439e
cmp dword [esi + 0x18], edi
je 0x40438f
cmp dword [esi + 8], edi
je 0x404384
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
mov dword [esi], edi
push 0x4989e4
call fcn.00404450
pop edi
pop esi
ret 4
mov ecx, dword [esi + 4]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp ecx, edi
je 0x4043e1
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x404409
cmp dword [esp + 0x10], 0xd
push ebx
jne 0x4043c0
cmp word [eax], di
jmp 0x4043c3
cmp byte [eax], 0
push ecx
sete bl
call ebp
test bl, bl
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
pop ebx
je 0x404409
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], edi
je 0x4043fe
cmp dword [esi + 8], edi
je 0x4043f3
mov edx, dword [esi]
push edx
call ebp
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
mov dword [esi], edi
pop ebp
pop edi
mov eax, 1
pop esi
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x404421
mov dword [esi + 4], edi
jmp 0x4043e1
cmp dword [esi + 0x18], edi
je 0x40443e
cmp dword [esi + 8], edi
je 0x404433
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], edi
mov dword [esi], edi
push 0x4989f4
call fcn.00404450
pop ebp
pop edi
pop esi
ret 4
Function at 0x404520
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x108
test esi, esi
je 0x404530
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x4045ff
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.00485880
add esp, 0xc
test eax, eax
je 0x4045f6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.00484e01
add esp, 8
test eax, eax
je 0x4045f6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.00484e01
add esp, 8
test eax, eax
je 0x4045f6
lea edx, [esp]
push str.Native
push edx
call fcn.00484e01
add esp, 8
test eax, eax
je 0x4045f6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.00484e01
add esp, 8
test eax, eax
je 0x4045f6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.00484e01
add esp, 8
test eax, eax
je 0x4045ec
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.00484e01
add esp, 8
test eax, eax
jne 0x404603
test esi, esi
je 0x4045f6
mov dword [esi], 1
xor eax, eax
add esp, 0x108
ret
mov byte [esp], 0
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x108
ret

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

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0
je 0x404632
mov eax, 1
ret 4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [0x4a9d20]
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push ecx
mov edi, eax
call ebx
test eax, eax
jne 0x4046a0
mov eax, dword [0x4a63a0]
cmp eax, 0xffffffff
je 0x404671
test eax, eax
je 0x4046b6
call esi
mov edx, dword [0x4a63a0]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x4046b6
push 1
push 0x8000012f
mov dword [0x4a63a4], 0
call fcn.00401330
mov eax, dword [0x4a9d20]
add esp, 8
push eax
mov dword [0x4a63a4], 1
call ebx
test eax, eax
je 0x404652
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx + 0x18], 1
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x407760
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4a8c22], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x40781b
mov al, byte [0x4a8c2a]
cmp al, 0xa0
je 0x407786
cmp al, 0x10
jne 0x40781b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4a8c24]
cmp eax, 0x16
jae 0x40781b
test ebp, 0x100
jne case.0x4077b7.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x4077b7.13
movzx eax, byte [eax + 0x4079c4]
jmp dword [eax*4 + 0x4079bc]
mov cl, 1
jmp 0x4077c4
xor cl, cl
cmp byte [0x4a8c23], 0
jne 0x4077e1
xor ecx, ecx
nop
cmp byte [ecx + 0x4a8c0c], 0
jne 0x4077ec
inc ecx
cmp ecx, 0x16
jl 0x4077d0
jmp 0x40781b
cmp byte [esp + 0x1c], 0
je 0x4077f5
test cl, cl
je 0x40781b
mov byte [0x4a8c2b], 1
jmp 0x4077f9
test cl, cl
je 0x40781b
mov cl, byte [0x4a8b2f]
mov dl, byte [0x4a8b2e]
mov al, byte [0x4a8b2d]
mov byte [0x4a9d1f], cl
mov byte [0x4a9d50], dl
mov byte [0x4a9de0], al
mov cl, byte [0x4a9d1f]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4a9d50]
mov al, byte [0x4a9de0]
mov byte [0x4a8b2f], cl
lea ecx, [esi + esi*8]
mov byte [0x4a8b2e], dl
mov edx, dword [0x4aa650]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x4a8b2d], al
test bl, bl
je case.default.0x407992
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x407872
xor al, al
jmp 0x407887
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.00407a20
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x40795e
cmp byte [esp + 0x20], 0
jne 0x4078b1
mov cl, bl
not cl
and byte [0x4a9d1d], cl
test dl, dl
je 0x4078b1
and byte [0x4a9d1e], cl
cmp byte [esp + 0x18], 0
je case.default.0x407992
not bl
and byte [0x4a9d1f], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4a9d40], 0
cmp ecx, 5
ja case.default.0x407992
jmp dword [ecx*4 + 0x4079e8]
mov cl, byte [0x4a9de1]
mov byte [0x4a9d50], cl
jmp case.default.0x407992
mov dl, byte [0x4a9de0]
mov byte [0x4a9d50], dl
jmp case.default.0x407992
mov al, byte [0x4a9de3]
mov byte [0x4a9d51], al
jmp case.default.0x407992
mov cl, byte [0x4a9de2]
mov byte [0x4a9d51], cl
jmp case.default.0x407992
mov dl, byte [0x4a9de5]
mov byte [0x4a9d52], dl
jmp case.default.0x407992
mov al, byte [0x4a9de4]
mov byte [0x4a9d52], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4a8c28], bp
pop ebp
mov byte [0x4a8c2a], al
mov byte [0x4a8c23], cl
pop ebx
je 0x4079a0
xor al, al
mov byte [0x4a8c22], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a8c24], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x407975
or byte [0x4a9d1d], bl
test dl, dl
je 0x407975
or byte [0x4a9d1e], bl
test al, al
je case.default.0x407992
or byte [0x4a9d1f], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4a9d40], al
cmp ecx, 5
ja case.default.0x407992
jmp dword [ecx*4 + 0x407a00]
mov byte [0x4a9d50], al
jmp case.default.0x407992
push ecx
call fcn.00407a20
add esp, 4
mov byte [0x4a8c22], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4a8c24], eax
pop ecx
ret
Function at 0x407a20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x407a2f
cmp al, 0x10
jne case.0x407a86.13
cmp byte [esp + 8], 0
jne case.0x407a86.13
cmp byte [0x4a8c2b], 0
je 0x407a5b
xor eax, eax
cmp byte [eax + 0x4a8c0c], 0
jne 0x407a5b
inc eax
cmp eax, 0x16
jl 0x407a41
mov byte [0x4a8c2b], 0
xor al, al
pop esi
ret
cmp byte [0x4a8c23], 0
je case.0x407a86.13
test dword [0x4a8c28], 0x100
jne case.0x407a86.13
movzx eax, byte [0x4a8c2a]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407a86.13
movzx eax, byte [eax + 0x407ab0]
jmp dword [eax*4 + 0x407aa8]
call esi
sub eax, dword [0x4a8c24]
cmp eax, 0x16
jb 0x407a57
call esi
mov dword [0x4ac54c], eax
mov al, 1
pop esi
ret