joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e080
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push 0x1000
push 0
push dword [0x48c828]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
je 0x44e23f
mov ax, word [esp + 0x1c]
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], 0x1000
mov dword [esp + 0x18], 0x7ff
mov ecx, dword [esp + 0x30]
cmp ecx, 0xffffffff
je 0x44e0d9
test ecx, ecx
je 0x44e19c
dec ecx
mov dword [esp + 0x30], ecx
cmp dword [ebx + 4], 0
lea ebp, [ebx + 4]
je 0x44e0f5
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0044dda0
mov dword [esp + 0x10], eax
jmp 0x44e10f
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x34]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
cmp eax, 2
mov ax, word [esp + 0x28]
jne 0x44e19f
test ax, ax
je 0x44e12d
mov word [edi], ax
add edi, 2
mov ax, word [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, edi
mov ecx, dword [esp + 0x18]
sub esi, edx
sar esi, 1
cmp esi, ecx
jle 0x44e174
mov eax, dword [esp + 0x1c]
add ecx, 0x800
add eax, 0x1000
mov dword [esp + 0x18], ecx
push eax
push edx
push 8
push dword [0x48c828]
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
mov ax, word [esp + 0x28]
mov dword [esp + 0x14], edx
lea edi, [edx + esi*2]
test ax, ax
je 0x44e19f
cmp dword [esp + 0x2c], 0
jne 0x44e0c3
cmp ax, 0xd
je 0x44e1a6
cmp ax, 0xa
jne 0x44e0c3
sub edi, 2
jmp 0x44e21e
lea ebp, [ebx + 4]
cmp dword [esp + 0x2c], 0
jne 0x44e21e
cmp ax, 0xa
jne 0x44e1b1
sub edi, 2
jmp 0x44e21e
cmp ax, 0xd
jne 0x44e21e
sub edi, 2
cmp dword [ebp], 0
je 0x44e1d3
push 2
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0044dda0
mov dword [esp + 0x10], eax
jmp 0x44e1e9
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x34]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [esp + 0x28], 0xa
je 0x44e21e
cmp dword [ebp], 0
je 0x44e1fd
add dword [ebx + 0xc], 2
jmp 0x44e21e
push 1
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0xfffffffe
push eax
push 0xfffffffffffffffe
push dword [ebx]
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, edi
sub ecx, dword [esp + 0x14]
sar ecx, 1
mov dword [eax], ecx
xor eax, eax
mov word [edi], ax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
pop ebx
add esp, 0x14
ret 0x10
Function at 0x44e250
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push 0x1000
push 0
push dword [0x48c828]
mov dword [esp + 0x10], 0x1000
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x44e3a0
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 3]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, edx
cmp edi, 0xffffffff
je 0x44e29c
test edi, edi
je 0x44e30d
dec edi
push esi
push ebp
call fcn.0044e5a0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44e2af
xor cl, cl
jmp 0x44e2b1
mov cl, byte [esi]
mov edx, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x14]
mov ebx, esi
sub ebx, edx
mov byte [esp + 0x13], cl
add eax, 0xfffffffb
cmp ebx, eax
jle 0x44e2f4
mov eax, dword [esp + 0x14]
add eax, 0x1000
push eax
push edx
push 8
push dword [0x48c828]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov cl, byte [esp + 0x13]
mov edx, eax
mov dword [esp + 0x1c], edx
lea esi, [ebx + edx]
mov eax, dword [esp + 0x2c]
test cl, cl
je 0x44e30d
test eax, eax
jne 0x44e292
cmp cl, 0xd
je 0x44e311
cmp cl, 0xa
jne 0x44e292
dec esi
jmp 0x44e383
test eax, eax
jne 0x44e383
cmp cl, 0xa
jne 0x44e319
dec esi
jmp 0x44e383
cmp cl, 0xd
jne 0x44e383
dec esi
cmp dword [ebp + 4], 0
je 0x44e338
push 1
lea eax, [esp + 0x17]
push eax
push ebp
call fcn.0044dda0
mov dword [esp + 0x20], eax
jmp 0x44e34f
push 0
lea eax, [esp + 0x24]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x13], 0xa
je 0x44e383
cmp dword [ebp + 4], 0
je 0x44e361
inc dword [ebp + 0xc]
jmp 0x44e383
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [ebp]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, dword [esp + 0x1c]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov byte [esi], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x44e410
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], 0
cmp dword [edi + 0x1c], 0
jne 0x44e527
cmp dword [edi + 0x14], 1
push ebx
push ebp
jne 0x44e45d
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x10]
push 1
neg eax
cdq
push ecx
push eax
push dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
push esi
mov esi, dword [esp + 0x24]
cmp eax, esi
jle 0x44e4e6
mov ecx, dword [edi + 4]
sub ecx, eax
mov eax, esi
add ecx, dword [edi + 8]
sub eax, 1
je 0x44e4cf
sub eax, 1
je 0x44e4b6
sub eax, 2
je 0x44e49f
push esi
push dword [esp + 0x24]
push ecx
call fcn.0042dac0
add esp, 0xc
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov ax, word [eax]
mov word [ecx], ax
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
mov al, byte [eax]
mov byte [ecx], al
mov eax, esi
sub dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
push edi
call fcn.0044d230
mov eax, dword [edi + 8]
cmp esi, eax
jl 0x44e515
push 0
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x2c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 0xc
mov ecx, dword [edi + 4]
sub ecx, dword [edi + 0xc]
push esi
push dword [esp + 0x24]
add ecx, eax
jmp 0x44e487
xor eax, eax
pop edi
add esp, 8
ret 0xc
Function at 0x44e5a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [edi + 4], 0
je 0x44e5c7
push 1
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0044dda0
mov dword [esp + 4], eax
jmp 0x44e5e1
push 0
lea eax, [esp + 8]
push eax
push 1
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
cmp eax, 1
jne 0x44e694
mov cl, byte [esp + 0xc]
test cl, cl
js 0x44e606
mov eax, dword [esp + 0x10]
pop edi
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, 1
pop ecx
ret 8
mov al, cl
and al, 0xe0
push esi
cmp al, 0xc0
jne 0x44e616
mov esi, 2
jmp 0x44e632
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x44e625
mov esi, 3
jmp 0x44e632
mov al, cl
and al, 0xf8
cmp al, 0xf0
jne 0x44e680
mov esi, 4
mov eax, dword [esp + 0x14]
push ebx
lea ebx, [esi - 1]
mov byte [eax], cl
inc eax
cmp dword [edi + 4], 0
je 0x44e65b
push ebx
push eax
push edi
call fcn.0044dda0
xor ecx, ecx
cmp eax, ebx
pop ebx
cmovne esi, ecx
mov eax, esi
pop esi
pop edi
pop ecx
ret 8
push 0
lea ecx, [esp + 0x10]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp eax, ebx
pop ebx
cmovne esi, ecx
mov eax, esi
pop esi
pop edi
pop ecx
ret 8
mov eax, dword [esp + 0x14]
pop esi
pop edi
mov word [eax], 0x3f
mov eax, 1
pop ecx
ret 8
xor eax, eax
pop edi
pop ecx
ret 8

Function at 0x450233
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
je 0x450291
add ebx, 2
lea eax, [ebx*2 + 2]
push eax
push edi
push dword [0x48c828]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x450291
cmp dword [ebp + 0xc], 0
je 0x450280
push dword [ebp + 0xc]
push edi
call fcn.00467e12
push 0x478d64
push edi
call fcn.00467e34
add esp, 0x10
jmp 0x45028d
push 0x478d64
push edi
call fcn.00467e12
pop ecx
pop ecx
mov esi, edi
jmp 0x450294
mov esi, dword [ebp + 0xc]
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x4502fd
mov eax, dword [0x48a86c]
dec eax
sub eax, 1
je 0x4502d7
sub eax, 0x16
je 0x4502cf
push 0
lea eax, [ebp + 0x10]
push eax
lea eax, [ebx + ebx]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4502fd
push esi
call fcn.00451ca0
jmp 0x4502dd
push esi
call fcn.00451d40
mov esi, eax
lea eax, [ebp + 0x10]
push 0
push eax
push esi
call fcn.00467eb0
pop ecx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.00451c90
test edi, edi
je 0x450310
push edi
push 0
push dword [0x48c828]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4521f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45221d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45221d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x468c54
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004520b0
mov eax, dword [0x489fc8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00427004
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x468c96
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x468df2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00472160
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x48d870]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00429c2f
mov ecx, dword [esi*4 + 0x48d870]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x468deb
cmp eax, dword [ecx + edi + 0x24]
jne 0x468deb
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x468deb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00429c2f
add esp, 0x14
test edx, edx
jl 0x468deb
jg 0x468d61
test eax, eax
jb 0x468deb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x468deb
jl 0x468d7b
cmp dword [ebp - 0x1008], eax
ja 0x468deb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x468d99
test ebx, ebx
je 0x468dd2
cmp ecx, edi
jae 0x468dd2
mov al, byte [ecx]
cmp al, 0xd
jne 0x468db3
lea eax, [edi - 1]
cmp ecx, eax
jae 0x468dbf
cmp byte [ecx + 1], 0xa
jne 0x468dbf
inc ecx
jmp 0x468dbf
movzx eax, al
movsx eax, byte [eax + 0x48a720]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x468d99
cmp edx, ebx
jne 0x468d99
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x468df0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00414d7f
leave
ret

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 0x401c00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00405ab4

Function at 0x4023b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4023c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402404
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402400
lea ebx, [ebx]
cmp esi, eax
jae 0x402404
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4023f0
cmp esi, eax
jb 0x40240a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x405a1d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00407c33
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 0x405a56
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.00405669
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 0x410a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x410a67
call fcn.00407c33
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x410a67
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410a83
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00410598
mov esi, eax
test edi, edi
je 0x410a81
test ebx, ebx
je 0x410a81
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43934c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x520d0f
call fcn.005048e8
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.00409d57
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00409564
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00409fc0
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.004175b4
cmp eax, ebx
jne 0x4393e3
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0040728a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0040a153
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00409caf
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00409dab
xor eax, eax
call fcn.0050498d
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040a137
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x57bf9c
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.004094e1
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.00436fc3
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.004387e6
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004356f5
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0040a137
call fcn.0040288b
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4393a6
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x439495
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0040728a
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4393b3
lea ecx, [ebp - 0x20]
call fcn.00409f2e
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x4394b7
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0040728a
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0040a153
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00409caf
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00409dab
xor eax, eax
inc eax
jmp 0x4393db
Function at 0x4772f8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x524f3d
call fcn.005048e8
mov dword [ebp - 0x14], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.00409d57
mov edi, dword [0x57c018]
mov ebx, dword [0x57c01c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00409564
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00409fc0
mov dword [ebp - 0x1c], esi
mov esi, vtable.CBitmap.0
mov dword [ebp - 0x20], esi
push ebx
push edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004175b4
test eax, eax
jne 0x477398
push 0xffffffffffffffff
push 0
push 0x3e8a
call fcn.0040728a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.0040a153
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00409caf
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00409dab
xor eax, eax
call fcn.0050498d
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a137
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
push 0x57bf9c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call fcn.004094e1
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00477161
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0040a137
call fcn.0040288b
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47735b
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x477419
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0040728a
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x477369
lea ecx, [ebp - 0x20]
call fcn.00409f2e
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x47743b
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0040728a
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.0040a153
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00409caf
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00409dab
xor eax, eax
inc eax
jmp 0x477392
Function at 0x4774c6
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x524f6e
call fcn.0050491e
mov esi, ecx
lea edi, [esi + 0x14]
push edi
lea ecx, [ebp - 0x4d0]
call fcn.004040bc
xor ebx, ebx
push ebx
push 0x558044
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 4], ebx
call fcn.00401ba0
cmp eax, 0xffffffff
jne 0x4775a9
push ebx
push 0x533894
lea ecx, [ebp - 0x4d0]
call fcn.00401ba0
cmp eax, 0xffffffff
jne 0x4775a9
push ebx
push 0x533890
lea ecx, [ebp - 0x4d0]
call fcn.00401ba0
cmp eax, 0xffffffff
jne 0x4775a9
push edi
lea ecx, [ebp - 0x4d4]
call fcn.004040bc
mov edi, dword [ebp - 0x4d4]
push ebx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ebx
push edi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x47758c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.00402040
mov ecx, dword [ebp - 0x4d0]
add ecx, 0xfffffff0
call fcn.00402040
mov eax, esi
call fcn.005049a1
ret
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004026e0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00402040
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push ebx
push dword [ebp - 0x4d0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4775d3
mov esi, dword [ebp - 0x4cc]
jmp 0x477576
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov esi, eax
jmp 0x477576
Function at 0x4f607b
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x525748
call fcn.005048b5
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x4f6154
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4f6154
cmp ebx, 0x43
je 0x4f60bd
cmp ebx, 0x2d
jne 0x4f6154
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f6154
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00402080
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.00401fd0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00402040
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.00473db5
call fcn.0050498d
ret 4

Function at 0x4fe22d
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x4fe272
test edi, edi
jl 0x4fe272
cmp ax, 0x20
je 0x4fe267
cmp word [ebp + 8], 0x71
jne 0x4fe272
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x5035ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x578a10]
jne 0x5035b6
repz ret
jmp fcn.0050ad56