joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c458
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47c744
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x43c], 1
jne 0x47c4be
mov eax, dword [ebp - 4]
cmp dword [eax + 0x444], 0
jne 0x47c4ab
mov ecx, 0x47c758
mov dl, 1
mov eax, dword [0x406078]
call fcn.0040956c
call fcn.00403214
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x444]
call fcn.004037ec
jmp 0x47c4cf
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x440]
call fcn.004037ec
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
call fcn.00421fc4
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0
lea edx, [ebp - 0x68]
xor ecx, ecx
mov eax, 0x47c7b8
call fcn.00407a44
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x464]
lea eax, [ebp - 0xc]
call fcn.00403a1c
mov eax, dword [ebp - 4]
call fcn.0047bbd0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x384]
call fcn.00436158
push 0
push 0
push 0x194
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x384]
call fcn.00421fc4
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov edx, 1
call fcn.00466db4
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00479088
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040292c
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], 0x540
mov eax, dword [0x48026c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3ee], 0
je 0x47c59f
mov eax, dword [0x480184]
cmp dword [eax], 5
jl 0x47c59f
mov eax, 0x47c7c8
mov dword [ebp - 0x50], eax
jmp 0x47c5a7
mov eax, 0x47c7d0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
call fcn.00403b94
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
call fcn.00403b94
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0042f308
mov eax, dword [ebp - 0x10]
call fcn.00403b94
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 1
call sub.user32.dll_GetFocus
mov dword [ebp - 0x14], eax
xor eax, eax
call fcn.00427e18
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x47c64e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_SetFocus
mov eax, dword [0x480184]
cmp dword [eax], 6
jl 0x47c61b
mov eax, dword [0x48026c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_SetActiveWindow
lea eax, [ebp - 0x5c]
push eax
call sub.shell32.dll_ShellExecuteExA
mov dword [ebp - 0x1c], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c655
mov eax, dword [ebp - 0x18]
call fcn.00427ec8
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetFocus
ret
Function at 0x40358b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x4035ca
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x4035ce
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x4035c8
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4056c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x40bed7
call fcn.0040954e
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x405721
call fcn.00402660
mov esi, eax
jmp 0x4057f9
push dword [ebp - 0x41c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40573f
call fcn.00402660
jmp 0x4057f0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x405735
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x41c], esi
cmp eax, esi
jae 0x405772
mov esi, 0x8007000e
jmp 0x4057f2
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00405849
mov dword [ebp - 4], 1
jmp 0x4057a6
cmp dword [ebp - 0x418], 0
je 0x405768
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x405735
mov eax, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.004045dc
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x405812
lea ecx, [ebp - 0x418]
call fcn.004058ff
lea ecx, [ebp - 0x428]
call fcn.004025ac
mov eax, esi
call fcn.004095a7
ret 0x10

Function at 0x4086e1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x401c38], eax
je 0x408703
cmp dword [0x401c38], ebx
jne 0x40879c
push esi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x401c38
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x401c38], esi
test esi, esi
jne 0x408772
mov dword [0x401c38], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov esi, 0x401c38
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push esi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x401c38]
not eax
mov dword [0x40f114], eax
pop esi
pop ebx
leave
ret
Function at 0x40879f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x401c38]
jne fcn.004093a3
ret

Function at 0x4089db
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x401324
push SysReAllocString
mov dword [ebp - 8], ebx
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x408a79
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call esi
test eax, eax
jne 0x408a6f
push 4
pop esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x401c50
push dword [ebp - 4]
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408a6f
cmp dword [ebp + 8], esi
jne 0x408a6f
mov esi, dword [ebp - 0xc]
cmp esi, 3
ja 0x408a6f
cmp dword [ebp - 4], ebx
je 0x408a61
push dword [ebp - 4]
call edi
cmp dword [ebp - 8], ebx
je 0x408a6b
push dword [ebp - 8]
call edi
mov eax, esi
jmp 0x408a85
cmp dword [ebp - 4], ebx
je 0x408a79
push dword [ebp - 4]
call edi
cmp dword [ebp - 8], ebx
je 0x408a83
push dword [ebp - 8]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x408e06
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x40f308], 0
je 0x408e1b
mov eax, dword [0x40f30c]
leave
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x401d38
push SysReAllocString
mov dword [ebp - 4], esi
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408e92
lea eax, [ebp - 8]
push eax
push 0x40f30c
push esi
push esi
push dword [0x40f118]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call edi
test eax, eax
jne 0x408e92
cmp dword [ebp - 8], 4
jne 0x408e92
mov esi, dword [0x40f30c]
mov byte [0x40f308], 1
cmp dword [ebp - 4], eax
je 0x408e8b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x408f1d
mov eax, dword [ebp - 4]
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x408ea5
push eax
call esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x401d84
push SysReAllocString
call ebx
test eax, eax
jne 0x408f02
push 4
pop ebx
lea eax, [ebp - 8]
push eax
push 0x40f30c
push 0
push 0
push dword [0x40f118]
mov dword [ebp - 8], ebx
push dword [ebp - 4]
call edi
test eax, eax
jne 0x408f02
cmp dword [ebp - 8], ebx
jne 0x408f02
mov edi, dword [0x40f30c]
mov byte [0x40f308], 1
cmp dword [ebp - 4], eax
je 0x408efe
push dword [ebp - 4]
call esi
mov eax, edi
jmp 0x408f1d
and dword [0x40f30c], 0
cmp dword [ebp - 4], 0
mov byte [0x40f308], 1
je 0x408f1b
push dword [ebp - 4]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4093a3
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40f438], eax
mov dword [0x40f434], ecx
mov dword [0x40f430], edx
mov dword [0x40f42c], ebx
mov dword [0x40f428], esi
mov dword [0x40f424], edi
mov word [0x40f450], ss
mov word [0x40f444], cs
mov word [0x40f420], ds
mov word [0x40f41c], es
mov word [0x40f418], fs
mov word [0x40f414], gs
pushfd
pop dword [0x40f448]
mov eax, dword [ebp]
mov dword [0x40f43c], eax
mov eax, dword [ebp + 4]
mov dword [0x40f440], eax
lea eax, [ebp + 8]
mov dword [0x40f44c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x40f388], 0x10001
mov eax, dword [0x40f440]
mov dword [0x40f33c], eax
mov dword [0x40f330], 0xc0000409
mov dword [0x40f334], 1
mov eax, dword [0x401c38]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40f114]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x40f380], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x401e28
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x40f380], 0
jne 0x40948f
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x409a48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x401c38]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 2
push 0x401ef4
push 0x401ea0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x409ada
mov ecx, dword [ebp - 0x210]
cmp ecx, 4
jb 0x409ada
shr ecx, 1
cmp word [ebp + ecx*2 - 0x210], 0x5c
push 0xffffffffffffffff
sete al
lea eax, [eax*2 + 0x401f88]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call fcn.00409b5f
jmp 0x409adc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040879f
leave
ret 4

Function at 0x409aeb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x401c38]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 2
push 0x401f14
push 0x401e38
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x409b4e
cmp dword [ebp - 0x210], 4
jb 0x409b4e
lea eax, [ebp - 0x20c]
push eax
call fcn.00409b5f
jmp 0x409b50
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040879f
leave
ret 4
Function at 0x40b85a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x401c38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
lea ecx, [ebp - 0x468]
push ecx
push 0x101
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push ebx
mov dword [ebp - 0x478], eax
mov eax, dword [ebp + 0x10]
push 0x402100
push eax
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x468], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ba9c
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x474]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x468]
mov dword [ebp - 0x474], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x40ba90
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x40ba90
push esi
mov esi, ebx
xor eax, eax
push 0x206
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push ebx
push eax
call sub.MSVCR100.dll_memset
xor eax, eax
push 0x4c
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push ebx
push eax
mov dword [ebp - 0x47c], 0x104
call sub.MSVCR100.dll_memset
add esp, 0x18
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x480]
push eax
push ebx
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
push dword [ebp - 0x468]
mov dword [ebp - 0x484], 0x4e
mov dword [ebp - 0x480], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40b995
cmp dword [ebp - 0x480], 1
jne 0x40b995
mov eax, dword [ebp - 0x47c]
dec eax
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.MSVCR100.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x40b9a7
inc esi
cmp esi, dword [ebp - 0x474]
jb 0x40b8ee
jmp 0x40ba8f
mov esi, dword [ebp - 0x478]
xor eax, eax
cmp dword [ebp - 0x470], 0x80000001
push 0xffffffffffffffff
setne al
inc eax
mov dword [esi], eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [esi + 4]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push eax
add esi, 0x20c
push 0x27
push esi
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x20
lea eax, [ebp - 0x46c]
push eax
push 0x101
push ebx
push esi
push dword [ebp - 0x468]
mov dword [ebp - 0x46c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ba8f
push 0x206
mov word [ebp - 0x464], ax
lea eax, [ebp - 0x462]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x464]
push eax
push ebx
push ebx
push 0x402170
push dword [ebp - 0x46c]
mov dword [ebp - 0x470], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ba83
push 0xffffffffffffffff
lea eax, [ebp - 0x464]
push eax
mov eax, dword [ebp - 0x478]
add eax, 0x25a
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
mov bl, 1
push dword [ebp - 0x46c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push dword [ebp - 0x468]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0040879f
leave
ret 0xc
Function at 0x41f573
Capabilities:
Parse pe header

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

Function at 0x431790
Capabilities:
Parse pe header

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

Function at 0x432005
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x566d1c97
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x76f408a8
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1002515
Capabilities:
Query or enumerate registry value

Disassembly:
cmp esi, dword [0x104608c]
je 0x1002532
mov ebx, dword [ebp + 8]
xor edi, edi
push edi
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.010022ed
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov eax, 0xc40000
and ecx, eax
cmp ecx, eax
lea eax, [ebp - 0x10]
push eax
push esi
jne 0x10025e1
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x10]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x1002532
jmp 0x1023736
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1002498
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x10024e7
push edi
push edi
push 0x1023774
push 0x100bde0
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x102374f
mov dword [ebp + 0x14], edi
cmp dword [ebp + 0x10], ebx
jne 0x1002532
cmp dword [ebp + 0x14], edi
jne 0x102376b
push esi
call fcn.0102d5a9
test eax, eax
je 0x1002532
xor eax, eax
inc eax
jmp 0x1002534

Function at 0x1002540
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push esi
mov esi, ecx
push 2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push dword [esi + 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10237a4
lea eax, [ebp - 0x10]
push eax
push fcn.01002597
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
pop esi
leave
ret 4
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x50]
call fcn.01002597
test eax, eax
jne 0x1002578
mov eax, dword [ebp - 0xc]
jmp 0x100258d
Function at 0x1002db9
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x102385d
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 8]
cmp ecx, 0xdbba00
jbe 0x1002dc8
mov dword [esi + 8], eax
mov ecx, esi
pop esi
jmp fcn.0102d20f
Function at 0x1003d6d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
cmp eax, 0xffffffea
mov esi, ecx
jbe 0x10051bf
cmp eax, 0xffffffec
je 0x1024343
cmp eax, 0xfffffff1
je 0x10242d2
cmp eax, 0xfffffff4
jne 0x10051f2
push 0
push edi
mov ecx, esi
call fcn.01003dba
pop edi
pop esi
pop ebx
leave
ret 4
je 0x10148cf
cmp eax, 0xfffffd33
je 0x10148db
cmp eax, 0xfffffd37
je 0x1021faf
cmp eax, 0xfffffd3a
je 0x102424d
cmp eax, 0xfffffdee
jne 0x10051f2
jmp 0x10241e7
xor eax, eax
jmp 0x1003dae
mov ecx, esi
call fcn.0100fb4d
jmp 0x10051f2
push edi
mov ecx, esi
call fcn.0102faea
jmp 0x10051f2
cmp dword [esi + 0x64], 0
jne 0x10242b2
test byte [edi + 0x14], 2
je 0x10051f2
jmp 0x10242ba
push dword [edi + 4]
lea ecx, [esi + 0x3c]
call fcn.0102dad8
push 1
xor ebx, ebx
push ebx
push eax
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.010021c0
test eax, eax
je 0x1024231
cmp dword [eax], ebx
jne 0x1024231
push dword [ebp + 8]
mov ecx, esi
lea ebx, [edi + 0x10]
call fcn.01004bdc
push eax
push 0x102437c
push 0x50
push ebx
call fcn.0101f955
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push 0
push 0x50
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*2 + 0x10]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.01004442
jmp 0x10051f2
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0102dad8
mov ecx, esi
mov edi, eax
call fcn.0100261b
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esi + 0x48], eax
je 0x1024284
push eax
mov ecx, esi
call fcn.010027e8
cmp eax, edi
jne 0x1024284
push 0x11
call ebx
test ax, ax
jge 0x102428e
push 0
push edi
mov ecx, esi
call fcn.0100385e
push 0x11
call ebx
test ax, ax
jl 0x10051f2
push 0
push edi
mov ecx, esi
call fcn.0100385e
push edi
mov ecx, esi
call fcn.0102f182
jmp 0x10051f2
xor eax, eax
inc eax
jmp 0x1003dae
push dword [edi + 0x10]
lea ecx, [esi + 0x3c]
call fcn.0102dad8
push eax
mov ecx, esi
call fcn.01003821
jmp 0x10051f2
mov edi, dword [edi + 0xc]
cmp edi, 0xd
je 0x10242e3
cmp edi, 0x20
jne 0x10051f2
push 0
push 0
push 0x447
lea edi, [esi + 0x3c]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jl 0x10242b2
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], 0x80000004
call fcn.0100222f
xor byte [ebp - 0x10], 1
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
call fcn.01003b77
push 1
push 0
push ebx
mov ecx, esi
call fcn.010021c0
push 0
push eax
push ebx
mov ecx, esi
call fcn.0102fa4b
jmp 0x10242b2
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0102dad8
push 1
push 0
push eax
mov ecx, esi
call fcn.010021c0
test eax, eax
je 0x10051f2
cmp dword [eax], 0
je 0x10051f2
mov ecx, esi
call fcn.0100261b
mov dword [esi + 0x48], eax
jmp 0x10051f2