joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a220
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4734a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00466f30
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046c5c8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046dae4
test eax, eax
je 0x43a33c
mov ecx, dword [esp + 0x3c]
call fcn.0046c5f5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43a300
push edi
mov ecx, esi
call fcn.00469c60
mov ecx, esi
call fcn.0043a4a0
cmp dword [esp + 0x38], 1
jne 0x43a335
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00469d9b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43cd60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43cd93
push esi
call fcn.0043fe60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43cd8c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43ce19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ce02
mov eax, dword [esi + 8]
test eax, eax
je 0x43cdb7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43cdfe
cmp eax, 2
je 0x43ce02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43cdaa
cmp eax, 3
je 0x43cddd
cmp eax, 1
jne 0x43cdaa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43cdaa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43cdaa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ce40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ce28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ce40
add esp, 4
pop esi
ret
Function at 0x44ede0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x44ee2c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x44ee2c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x44ee16
push eax
call ebp
test ax, ax
jl 0x44ee24
inc esi
add edi, 4
cmp esi, 6
jb 0x44ee08
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0044eae0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x452c30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x452c90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x452c90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x452c90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x452c90
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x452ca0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x467d25
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x467d5d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00465ddc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00465db4
jmp 0x467d69
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46941a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46945c
call fcn.0046f055
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46945c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x469453
xor eax, eax
jmp 0x469464
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046946a
pop edi
pop esi
pop ebx
ret 4

Function at 0x46f585
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46f5b3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46f5d1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046f4eb
jmp 0x46f5d1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46f5d1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046f4eb
test edi, edi
mov eax, edi
jne 0x46f5bb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x54cb06
Capabilities:
Encode data using xor

Disassembly:
bswap ax
lea eax, [ebx + ecx*4 + 0x390]
mov dword [esp], edx
lea esp, [esp + 4]
call fcn.0055bc74
jmp 0x6857c8
shl dword [eax], cl
retf 0x216a
add byte [0x3509ba2b], cl
jp 0x682628
fcomi st(1)
bound edx, qword [ebp - 0x19]
arpl dx, bp
xchg dword [ebp - 0x28], edx
mov byte [esp], 0xc6
call fcn.0054c078
jg 0x682721
sub eax, 0xf4ae7f5e
jecxz 0x682669
test byte [ebp + edx*2 + 0x578cbad0], bl
not dword [edx]
hlt
sar dword [ecx - 0x2e789fdb], 1
in al, 0x2a
jns 0x6826ab
and dh, byte [ebx]
cdq
inc ecx
mov cl, 0x42
xor byte [ecx + 0x10], 0xe5
test byte [ecx - 0x2f], bl
dec ebp
or bh, cl
sbb byte [eax + edx*8], cl
cmpsd dword [esi], dword es:[edi]
jo 0x68270a
sub ebx, ebp
ficomp word [eax]
pop ss
invalid
push edi
jmp 0x6826b0
Function at 0x545fe0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb0000]
push edi
or ebp, 0xffffffff
jmp 0x546002
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x546009
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x545ff8
mov eax, 1
add ebx, ebx
jne 0x54601b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54602c
jne 0x54604b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54604b
dec eax
add ebx, ebx
jne 0x546038
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x546010
add ebx, ebx
jne 0x546047
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54609d
xor ecx, ecx
sub eax, 3
jb 0x546063
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5460d2
sar eax, 1
mov ebp, eax
jmp 0x54606e
add ebx, ebx
jne 0x54606e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54603c
inc ecx
add ebx, ebx
jne 0x54607c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54603c
add ebx, ebx
jne 0x546089
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54607e
jne 0x54609a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54607e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5460bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5460ae
jmp 0x545ffe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5460bc
add edi, ecx
jmp 0x545ffe
pop esi
mov edi, esi
mov ecx, 0x562b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5460da
cmp byte [edi], 0xe
jne 0x5460da
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 0x5460df
lea edi, [esi + 0x142000]
mov eax, dword [edi]
or eax, eax
je 0x546157
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14743c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x147560]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54610c
mov ecx, edi
jns 0x54613b
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 + 0x147568]
or eax, eax
je 0x546151
mov dword [ebx], eax
add ebx, 4
jmp 0x546129
call dword [esi + 0x147564]
mov ebp, dword [esi + 0x14756c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x54618b
sub esp, 0xffffff80
jmp 0x4a5c01
Function at 0x4016e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x401729
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x40172f
add eax, 4
pop esi
dec esi
push esi
jne 0x401711
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8

Function at 0x404d0c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x404d44
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x404d32
mov al, 1
jmp 0x404d95
cmp dword [ebx + 0x54], ecx
jne 0x404d3b
mov al, 2
jmp 0x404d95
cmp dword [ebx + 0x7c], ecx
jne 0x404d95
mov al, 3
jmp 0x404d95
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x404d59
mov al, 4
jmp 0x404d95
cmp ecx, 5
jne 0x404d79
cmp ebx, 0
jne 0x404d67
mov al, 5
jmp 0x404d95
cmp ebx, 1
jne 0x404d70
mov al, 6
jmp 0x404d95
cmp ebx, 2
jne 0x404d79
mov al, 7
jmp 0x404d95
cmp ecx, 6
jne 0x404d85
cmp ebx, 0
jne 0x404d87
mov al, 8
jmp 0x404d95
cmp ebx, 1
jne 0x404d8e
mov al, 9
cmp ebx, 2
jne 0x404d95
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c5fd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
test ecx, ecx
je 0x44c65a
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x44c629
cmp word [ecx], ax
je 0x44c62e
jmp 0x44c61d
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x44c61d
jmp 0x44c62e
mov eax, edx
lea ecx, [ecx + edx*2]
cdq
sub eax, edx
sar eax, 1
sub ecx, 2
test eax, eax
jle 0x44c65a
lea ecx, [ecx]
mov dx, word [esi]
xor word [ecx], dx
movzx edx, word [ecx]
xor word [esi], dx
movzx edx, word [esi]
xor word [ecx], dx
dec eax
sub ecx, 2
add esi, 2
test eax, eax
jg 0x44c63d
pop esi
pop ebp
ret 8
Function at 0x4d1940
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4d19a9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.004d15c0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x4d1ad0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.004d2ce0
mov esi, dword [esp + 0x38]
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x4d1c20
test ecx, ecx
je 0x4d1c20
inc ecx
push ecx
call fcn.004d35a7
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004d3580
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4d1b49
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4d1c0d
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.004d35a7
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x4d1bd1
cmp eax, 0xea
jne 0x4d1bf9
push esi
call fcn.004d356f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004d35a7
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x4d1b9c
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x4d1bdf
cmp eax, 2
jne 0x4d1bf9
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.004d2ca0
add esp, 8
mov dword [esp + 0x10], eax
push esi
call fcn.004d356f
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.004d356f
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x4d1c4e
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4d1c5a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4d1c5a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.004d2ca0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4d2530
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
test esi, esi
je 0x4d25b3
push ebp
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d25b3
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4d25a6
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebp, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
ret
mov eax, ebp
pop esi
pop ebp
ret

Function at 0x4d2830
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d2880
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4d2875
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.004d2ca0
add esp, 8
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x4d2970
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x4d298e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x4d2983
pop esi
ret
Function at 0x4144e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b9eeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004aded3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x414562
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004aadf4
mov eax, dword [eax]
push 0x531210
push eax
call fcn.0049d0d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ae15e
test bl, bl
je 0x414562
push 0x531210
lea ecx, [esp + 0xc]
call fcn.004ae4ee
push 0x534dac
lea ecx, [esp + 0xc]
call fcn.004ae4ee
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41459e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ae15e
jmp 0x414669
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x414622
lea edx, [esp + 0x7c]
push 0x534da8
push edx
call fcn.0049d0d4
add esp, 8
test eax, eax
je 0x414622
lea eax, [esp + 0x7c]
push 0x534da4
push eax
call fcn.0049d0d4
add esp, 8
test eax, eax
je 0x414622
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4145b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ae15e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x414e60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b9f6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5440d4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x414f98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x414ec6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ae15e
xor eax, eax
jmp 0x41500f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ae29b
push esi
lea ecx, [esp + 0xc]
call fcn.004ae52a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x534de4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x414fed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x534ddc
push accept
call fcn.0048ad90
test eax, eax
jne 0x414fed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x534dc8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0048ad90
test eax, eax
jne 0x414fed
lea eax, [esp + 0x14]
push 0x534dc0
push eax
call fcn.0049e110
mov esi, eax
add esp, 8
test esi, esi
jne 0x414fcc
lea ecx, [esp + 0x14]
push 0x534dbc
push ecx
call fcn.0049e090
mov esi, eax
add esp, 8
test esi, esi
jne 0x414fcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x414fcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ae24b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x414ede
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ae15e
xor eax, eax
jmp 0x41500f
mov byte [esi], 0
push 0x534db8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004ae15e
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4