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

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x4053a1
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
nop dword [eax]
call esi
add byte [edi + ebp], 0x7a
call esi
add byte [edi + ebp], 0x61
call esi
xor byte [edi + ebp], 2
call esi
add byte [edi + ebp], 0x2c
call esi
add byte [edi + ebp], 0xf4
call esi
add byte [edi + ebp], 0xd4
call esi
add byte [edi + ebp], 0xe2
call esi
xor byte [edi + ebp], 0xb
call esi
add byte [edi + ebp], 0x38
call esi
add byte [edi + ebp], 0x79
call esi
xor byte [edi + ebp], 0x65
call esi
add byte [edi + ebp], 0x98
call esi
add byte [edi + ebp], 0x32
call esi
add byte [edi + ebp], 0xcc
call esi
add byte [edi + ebp], 0x86
call esi
add byte [edi + ebp], 0xf8
call esi
xor byte [edi + ebp], 0xb0
call esi
add byte [edi + ebp], 0xa3
call esi
add byte [edi + ebp], 0xdd
call esi
add byte [edi + ebp], 0xd8
call esi
add byte [edi + ebp], 0x7f
call esi
add byte [edi + ebp], 0xf8
call esi
add byte [edi + ebp], 0xd8
call esi
add byte [edi + ebp], 0x17
call esi
add byte [edi + ebp], 0x2d
call esi
xor byte [edi + ebp], 0xf5
call esi
add byte [edi + ebp], 0xb6
call esi
add byte [edi + ebp], 0x77
call esi
add byte [edi + ebp], 0x6d
call esi
add byte [edi + ebp], 0x6f
call esi
add byte [edi + ebp], 0x93
call esi
xor byte [edi + ebp], 0xd1
call esi
xor byte [edi + ebp], 0xbd
call esi
xor byte [edi + ebp], 0xd8
call esi
add byte [edi + ebp], 0xab
call esi
add byte [edi + ebp], 0x74
call esi
xor byte [edi + ebp], 0x91
call esi
add byte [edi + ebp], 0x64
call esi
add byte [edi + ebp], 0x16
call esi
xor byte [edi + ebp], 0x70
call esi
add byte [edi + ebp], 0x7b
call esi
xor byte [edi + ebp], 9
call esi
add byte [edi + ebp], 0x83
call esi
xor byte [edi + ebp], 0x14
call esi
add byte [edi + ebp], 0xc4
call esi
xor byte [edi + ebp], 0x90
call esi
add byte [edi + ebp], 0x5c
call esi
add byte [edi + ebp], 0x2e
call esi
add byte [edi + ebp], 0x2b
inc edi
cmp edi, ebx
jb 0x405270
pop esi
pop ebp
pop edi
pop ebx
ret
Function at 0x4266a0
Capabilities:
Parse pe header

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

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x593b21a8
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x7c3a1b22
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4487f3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4594c5
sub esp, 0x24
mov eax, dword [0x503038]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0xc], eax
push edi
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x459533
mov eax, dword [edi]
lea ecx, [esp + 0x18]
add eax, esi
push eax
call fcn.00448e56
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.0044aab2
pop ecx
pop ecx
test al, al
jne 0x45954a
lea ecx, [esp + 0x18]
add edi, 4
call fcn.0044aa49
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x4594fe
xor esi, esi
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044a044
add esp, 0x24
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + esi]
lea ecx, [esp + 0x18]
call fcn.0044aa49
jmp 0x459535

Function at 0x44a5e4
Capabilities:
Terminate process

Disassembly:
jmp 0x49134e
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x49135f
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0044c934
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x44a710
Capabilities:
Query environment variable

Disassembly:
jmp 0x4cfb35
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4cfb49
xor edi, edi
jmp 0x4cfb80
push ebx
push esi
call fcn.004cfa3f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0044afd5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4cfb70
push ebx
push esi
push edi
call fcn.0044c6f5
add esp, 0xc
push 0
call fcn.0044d2ad
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x44ac10
Capabilities:
Encode data using xor

Disassembly:
jmp 0x459a4e
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x459b42
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0x505738
mov bl, byte [esi + edi]
push str.ugAyuisyx
push ebp
call fcn.00449d65
xor edx, edx
mov eax, esi
div dword [esp + 0x24]
pop ecx
pop ecx
push 0x44d159
push str.Bicycle_water
mov bh, byte [edx + section..LED0]
push 0x505820
xor bh, bl
call fcn.00449d65
pop ecx
pop ecx
mov ecx, eax
call fcn.0044c6e6
mov bl, byte [esi + edi]
push 0x44d159
push str.dijovhyuGSYYSyus
push ebp
call fcn.00449d65
pop ecx
pop ecx
mov ecx, eax
call fcn.0044c6e6
add byte [esi + edi], bh
push 0x44d159
push str.fdiogiuAsdoiHYUAUAY87234
push ebp
call fcn.00449d65
pop ecx
pop ecx
mov ecx, eax
call fcn.0044c6e6
dec byte [esi + edi]
push str.suih89Ah3
push ebp
call fcn.00449d65
add byte [esi + edi], 0xfe
push str.XScdyhjkujktyyt
push ebp
call fcn.00449d65
sub byte [esi + edi], bl
push str.sJBCsKJ2BJN
push ebp
call fcn.00449d65
inc byte [esi + edi]
push str.sDGTFsE
push ebp
call fcn.00449d65
inc byte [esi + edi]
push str.ZASwe23
push ebp
call fcn.00449d65
inc byte [esi + edi]
push str.uhgiyGAuyisua
push ebp
call fcn.00449d65
add esp, 0x30
inc esi
cmp esi, dword [esp + 0x18]
jb 0x459a67
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x44c7cc
Capabilities:
Parse pe header

Disassembly:
jmp 0x4804a1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4804e0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4804e0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4804e0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4804e0
cmp dword [ecx + 0x74], 0xe
jbe 0x4804e0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44ca6f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x459590
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x52c990], eax
pop edi
pop esi
ret
Function at 0x40b5b9
Capabilities:
Check mutex on windows

Disassembly:
push esi
push dword [esp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40b5d7
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop esi
ret

Function at 0x40b989
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0x48adc4], 0
jne 0x40b9ac
push 0
push dword [0x48add0]
push 0x40b8d1
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x48adc4], eax
ret

Function at 0x40bbef
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push edi
je 0x40bc13
cmp dword [ebp + 0xc], 2
jne 0x40bc42
mov edi, dword [ebp + 0x14]
push 0x104
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x40bc16
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x18], 0
je 0x40bc26
push dword [ebp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi + 2]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
push esi
mov ecx, 0x48aec0
call fcn.00428e1b
pop esi
pop edi
pop ebp
ret
Function at 0x40e5ee
Capabilities:
Acquire debug privileges

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
mov byte [esi], 0
je 0x40e61c
test byte [0x48b16c], 4
jne 0x40e61c
push 2
mov byte [esi], 1
or byte [0x48b16c], 4
push str.SeDebugPrivilege
call fcn.0040c09f
pop ecx
pop ecx
mov eax, esi
pop esi
ret 4

Function at 0x40e622
Capabilities:
Acquire debug privileges

Disassembly:
cmp byte [ecx], 0
je 0x40e63c
and byte [0x48b16c], 0xfb
push 4
push str.SeDebugPrivilege
call fcn.0040c09f
pop ecx
pop ecx
ret

Function at 0x40e71f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x40e746
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0040a3ba
test eax, eax
je 0x40e746
call fcn.0040a441
test eax, eax
mov dword [esp + 0xc], eax
jne 0x40e74d
xor eax, eax
jmp 0x40e80f
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x34]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebp
push edi
push 0x40
mov ebp, 0x3000
push ebp
push eax
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x40e785
push 0x40
push ebp
push dword [esp + 0x20]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x40e785
xor eax, eax
jmp 0x40e80c
push dword [esp + 0x14]
mov ecx, esi
push edi
call fcn.0040a4b2
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp dword [eax + 0xa0], ebx
jbe 0x40e7b2
cmp dword [eax + 0xa4], ebx
jbe 0x40e7b2
push edi
mov ecx, esi
call fcn.0040a27c
test eax, eax
je 0x40e77e
push edi
mov ecx, esi
call fcn.0040a2db
test eax, eax
jne 0x40e7cd
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40e77e
mov eax, dword [esi + 0x10]
mov dword [eax + 0x34], edi
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x28]
push ebx
xor ebp, ebp
inc ebp
push ebp
add eax, edi
push edi
mov dword [esi + 4], eax
call eax
test eax, eax
jne 0x40e805
push ebx
push ebx
push edi
call dword [esi + 4]
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 4], ebx
jmp 0x40e77e
mov dword [esi], ebp
mov dword [esi + 8], edi
mov eax, ebp
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x40e9a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40e9d1
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
jmp 0x40e9d3
xor edi, edi
test esi, esi
je 0x40e9e3
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x40e9e5
xor eax, eax
test byte [ebp + 0x18], 1
je 0x40e9fa
test eax, eax
je 0x40eaa8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40eaa8
test edi, edi
jle 0x40eaa8
test byte [ebp + 0x18], 2
jne 0x40ea6a
push 0
push edi
push ebx
call fcn.00426ea7
add esp, 0xc
test al, al
je 0x40ea6a
test byte [ebp + 0x18], 0x20
je 0x40ea2c
test al, 2
jne 0x40eaa8
push 0
lea ecx, [ebp - 0xc]
call fcn.0042a0e9
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.0042ebe9
mov eax, dword [esi + 4]
pop ecx
pop ecx
add eax, 6
push eax
mov ecx, esi
call fcn.0042459d
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
call fcn.00424686
jmp 0x40ea8a
mov esi, dword [ebp + 0x14]
lea eax, [edi + 6]
push eax
mov ecx, esi
call fcn.0042459d
push edi
push ebx
push dword [esi]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.00461a50
add esp, 0xc
mov eax, dword [esi + 4]
lea ecx, [eax + 6]
mov dword [esi + 8], ecx
mov ecx, dword [esi]
push 6
add ecx, eax
push 0
push ecx
call fcn.00461780
mov eax, dword [esi]
add esp, 0xc
jmp 0x40eaaa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d97e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x20a
lea ecx, [ebp - 4]
call fcn.0042465d
mov eax, dword [ebp - 4]
mov word [eax], 0x20
mov eax, dword [ebp - 4]
and word [eax + 2], 0
mov eax, dword [ebp - 4]
push 0x208
add eax, 2
push eax
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.System32OnShutdown.wcs
lea ecx, [ebp - 4]
call fcn.004246c0
mov cl, byte [ebp + 0xc]
test cl, 0x20
mov eax, str.unknown
je 0x41d9d5
mov eax, 0x475e5c
test cl, 0x10
je 0x41d9df
mov eax, str.reboot
test cl, 2
je 0x41d9e9
mov eax, str.logout
test cl, 4
je 0x41d9f3
mov eax, str.suspend
test cl, 8
je 0x41d9fd
mov eax, str.hiber
test cl, 0x40
je 0x41da07
mov eax, str.poweroff
test cl, cl
jns 0x41da10
mov eax, str.lock
push eax
lea ecx, [ebp - 4]
call fcn.004246c0
push 0x476010
lea ecx, [ebp - 4]
call fcn.004246c0
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.004246c0
push dword [ebp - 4]
mov ecx, 0x48aec0
call fcn.00418c8f
lea ecx, [ebp - 4]
call fcn.00424686
leave
ret
Function at 0x4275c8
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push edi
push dword [ebp + 8]
call fcn.0042572e
add esp, 0x10
cmp eax, edi
jne 0x427689
cmp edx, dword [ebp + 0x10]
jne 0x427689
push esi
push ebx
lea eax, [ebp - 4]
push eax
mov esi, 0x200
push esi
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427688
push esi
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00461a50
push 0x10
push dword [ebp + 0x14]
lea eax, [ebp - 0x36]
push eax
call fcn.00461a50
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.0042572e
add esp, 0x28
cmp eax, edi
jne 0x427688
cmp edx, dword [ebp + 0x10]
jne 0x427688
push esi
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00461880
add esp, 0xc
test eax, eax
je 0x427688
push ebx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x42774b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x134
mov ecx, edi
call fcn.00424699
push 0xca
lea ecx, [ebp - 0x10]
call fcn.0042465d
mov eax, dword [ebp + 0x18]
movzx esi, byte [ebp + 0x18]
and eax, 0x100
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [edi]
test esi, esi
sete bl
neg esi
sbb esi, esi
and esi, 0x19
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], eax
mov byte [ebp + 0x1b], 0
lea ebx, [ebx + ebx - 1]
mov edx, esi
je 0x427820
cmp dword [ebp + 0x14], 1
not dword [ebp - 4]
jle 0x427820
and dword [ebp - 4], 0xfffffffc
jmp 0x427820
test edx, edx
jl 0x427825
xor eax, eax
mov ecx, edx
inc eax
shl eax, cl
movsx esi, bl
mov cl, dl
add edx, esi
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
add cl, 0x41
test edx, eax
mov byte [ebp + 0x17], cl
je 0x42781d
cmp dword [ebp - 8], 0
je 0x4277ef
movsx ax, cl
push eax
call fcn.004612e9
test eax, eax
pop ecx
je 0x42781d
mov cl, byte [ebp + 0x17]
cmp byte [ebp + 0x1b], 0
je 0x427803
mov ax, word [ebp + 0xc]
test ax, ax
je 0x427803
mov word [edi], ax
inc edi
inc edi
movsx ax, cl
mov word [edi], ax
inc edi
inc edi
cmp dword [ebp + 0x10], 0
mov byte [ebp + 0x1b], 1
je 0x42781d
mov word [edi], 0x3a
inc edi
inc edi
mov edx, dword [ebp - 0xc]
cmp edx, 0x1a
jl 0x4277b5
mov eax, dword [ebp + 8]
and word [edi], 0
mov esi, dword [eax]
lea ecx, [ebp - 0x10]
call fcn.00424686
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x427ae4
Capabilities:
Open clipboard

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x427b41
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0xc]
call fcn.0046176a
pop ecx
lea esi, [eax + eax + 2]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [esp + 0x10]
push eax
call fcn.00461a50
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret

Function at 0x427cca
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x40
mov esi, ecx
push 0xc
push dword [esi]
lea edi, [esi + 4]
call ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 0x12
push edi
call ebx
push 0x12
push 0x47989c
push edi
call fcn.00461a50
mov ecx, dword [ebp + 8]
lea eax, [edi + 0xe]
sub ecx, eax
sub ecx, 4
mov dword [eax], ecx
mov esi, dword [esi + 0x18]
add esp, 0xc
test esi, esi
je 0x427d2e
push edi
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x427d2e
mov dword [ecx], eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x429279
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
adc ecx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0
push eax
push ecx
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x4292c6
push 0
push dword [ebp + 0x18]
and esi, 4
push dword [ebp + 0x1c]
or esi, 8
shr esi, 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
ret

Function at 0x4297be
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push 0xf0000000
push 1
xor edi, edi
push edi
push edi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4297e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4298d5
push esi
lea eax, [ebp - 8]
push eax
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x429819
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
jmp 0x4298d4
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x429840
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x429808
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push ebx
push 4
pop eax
push edi
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 8]
mov dword [ebp - 4], eax
call esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00424576
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
push 2
push dword [ebp - 8]
call esi
mov esi, dword [ebp + 0x14]
push 0x4761ce
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x10], esi
xor esi, esi
cmp dword [ebp - 4], edi
jbe 0x4298b6
movzx eax, byte [esi + ebx]
push eax
push str._02X
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_wsprintfA]
add dword [ebp - 0x10], 2
add esp, 0xc
inc esi
cmp esi, dword [ebp - 4]
jb 0x429896
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [ebp - 0x18]
call fcn.00424686
xor eax, eax
pop ebx
pop esi
pop edi
leave
ret
Function at 0x429911
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x48b174], 0
jne 0x42991f
call fcn.004298d8
mov ecx, dword [esp + 8]
push esi
or esi, 0xffffffff
test ecx, ecx
je 0x42994e
mov eax, dword [esp + 8]
push edi
movzx edi, byte [eax]
mov edx, esi
and edx, 0xff
xor edx, edi
mov edi, dword [0x48b174]
shr esi, 8
xor esi, dword [edi + edx*4]
inc eax
dec ecx
jne 0x429930
pop edi
cmp dword [esp + 0x10], 0
not esi
je 0x42996a
push esi
push str._08X
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x429b35
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [esp + 0x10]
mov edi, eax
lea eax, [edi + 2]
push eax
mov ecx, ebx
call fcn.00424699
mov eax, dword [ebx]
and word [eax], 0
inc edi
push edi
push dword [ebx]
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop edi
pop esi
pop ebx
ret 4