joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451760
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45181c
cmp word [esp + 0x10], si
je 0x45181c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x4517e6
lea ecx, [esp + 0x10]
push 0x539bc8
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x21c]
lea edx, [esp + 0x10]
push str.360ver.dll
push edx
push 0x539c6c
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x210
ret
mov eax, esi
pop edi
pop esi
add esp, 0x210
ret

Function at 0x451830
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4518ec
cmp word [esp + 0x10], si
je 0x4518ec
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x4518b6
lea ecx, [esp + 0x10]
push 0x539bc8
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x21c]
lea edx, [esp + 0x10]
push str.SDVersion.dll
push edx
push 0x539c6c
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x210
ret
mov eax, esi
pop edi
pop esi
add esp, 0x210
ret
Function at 0x451900
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4519bc
cmp word [esp + 0x10], si
je 0x4519bc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x451986
lea ecx, [esp + 0x10]
push 0x539bc8
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x21c]
lea edx, [esp + 0x10]
push str.safemon_safemon.dll
push edx
push 0x539c6c
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x210
ret
mov eax, esi
pop edi
pop esi
add esp, 0x210
ret

Function at 0x4520d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x18]
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
lea edx, [esp + 4]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret

Function at 0x452170
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push 4
push eax
mov eax, dword [esp + 0xc]
push 4
push ecx
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
ret
Function at 0x453360
Capabilities:
Capture screenshot

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0x2c]
test edi, edi
jle 0x453488
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x453488
mov ebx, dword [esp + 0x18]
test ebx, ebx
jle 0x453488
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x453488
push ebp
mov ebp, dword [esp + 0x24]
push esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
push ebx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0xcc0020
push ecx
push edx
push ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x30], eax
push ebp
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
cmp edi, ebx
mov dword [esp + 0x34], edi
jge 0x453415
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push esi
push eax
push edi
push 0
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
add eax, edi
add edi, edi
cmp eax, ebx
mov dword [esp + 0x34], eax
jl 0x4533e7
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x453443
push 0xcc0020
push 0
push 0
push esi
push ebp
push ebx
push edi
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
add edi, ebp
add ebp, ebp
cmp edi, eax
jl 0x453421
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push esi
push edx
mov edx, dword [esp + 0x28]
push ebx
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x20]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
pop ebp
pop edi
pop ebx
ret 0x28

Function at 0x455e40
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51efc8
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00455ec0
mov edi, eax
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004216c0
push edi
mov ecx, esi
call fcn.00455bd0
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.00421600
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x18
Function at 0x456390
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
je 0x456482
push ebp
push 0x80
push 4
push ebp
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x456482
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x6400000
mov dword [esi + 0x244], eax
mov dword [esi + 0x248], eax
mov dword [esp + 0x18], ebp
jbe 0x4563f4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esi + 0x240], edi
jne 0x456414
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 0x244]
xor eax, eax
inc ecx
push ebp
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x244]
mov edx, dword [esi + 0x240]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x456462
mov eax, dword [esi + 0x244]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x456462
mov dword [esp + 0x10], 1
jmp 0x45647b
mov eax, dword [esi + 0x240]
cmp eax, ebp
je 0x45647b
push eax
call fcn.0051d19a
add esp, 4
mov dword [esi + 0x240], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x24c], ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x456730
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x456796
mov esi, dword [esp + 0x18]
test esi, esi
je 0x456796
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80000080
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x456796
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
jne 0x45679e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, edi
pop edi
pop esi
pop ebx
sete al
ret 0xc
Function at 0x456ca0
Capabilities:
Parse url

Disassembly:
sub esp, 0x654
push esi
mov esi, dword [esp + 0x65c]
test esi, esi
je 0x456d93
mov dx, word [0x56d150]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24e]
mov word [esp + 0x24c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x456]
mov word [esp + 0x454], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
lea edx, [esp + 0x454]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x24c]
mov dword [esp + 0xc], eax
mov eax, 0x104
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 8]
push eax
push 0
push esi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
je 0x456d93
mov eax, dword [esp + 0x30]
test eax, eax
je 0x456d86
cmp word [eax], 0
je 0x456d86
push 0x556d34
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x456d93
mov eax, 1
pop esi
add esp, 0x654
ret
xor eax, eax
pop esi
add esp, 0x654
ret
Function at 0x4599d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x70
push ebx
mov ebx, ecx
push 0
push str.history.dat
mov ecx, 0x56d188
call fcn.0040c290
test eax, eax
je 0x4599fa
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x459b9a
push esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00449700
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x459b8b
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
push esi
call dword [eax + 0x1c]
test eax, eax
jl 0x459b85
mov edx, dword [esp + 8]
test edx, edx
je 0x459b85
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], 0x28
mov eax, dword [edx]
push edx
call dword [eax + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x58]
mov dword [esp + 0x14], 0
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x459b7a
mov esi, dword [sym.imp.MSVCRT.dll_mktime]
or edi, 0xffffffff
cmp dword [esp + 0x10], 1
jne 0x459b76
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x459b58
mov eax, dword [esp + 0x58]
test eax, eax
je 0x459b58
lea eax, [esp + 0x18]
lea ecx, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x459b40
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x459b40
mov eax, dword [esp + 0x20]
cmp ax, 0x76c
jae 0x459add
xor eax, eax
jmp 0x459b40
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2a]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x26]
and ecx, 0xffff
and edx, 0xffff
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x22]
mov dword [esp + 0x3c], edx
and ecx, 0xffff
and eax, 0xffff
lea edx, [esp + 0x30]
dec ecx
sub eax, 0x76c
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
call esi
add esp, 4
mov ecx, dword [esp + 0x5c]
push 1
push eax
mov eax, dword [esp + 0x60]
push 0
push eax
push ecx
push 0
mov ecx, ebx
call fcn.00457020
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x58]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x459a80
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebx + 0x68]
call fcn.004561c0
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
pop ebx
add esp, 0x70
ret
Function at 0x460740
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push str.IECompatVersionHigh
mov edi, 4
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
push SysReAllocStringLen
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], edi
call esi
test eax, eax
jne 0x4607d3
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push str.IECompatVersionLow
push str.SoftwareMicrosoftInternet_ExplorerBrowserEmulation
push SysReAllocStringLen
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call esi
test eax, eax
jne 0x4607d3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
pop edi
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov dword [edx], eax
mov eax, 1
pop esi
add esp, 0x10
ret
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
Function at 0x4617b0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
mov edx, dword [ebx]
push ecx
lea esi, [eax*4]
push 0x40
add edx, esi
push 4
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebx]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 4
add edx, esi
push ecx
push edx
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x461847
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x46185d
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push 4
mov dword [ecx], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x28]
add ecx, esi
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x461847
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push eax
push 0x76d
call fcn.004d7370
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x463d10
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Delete registry value
Query or enumerate registry value
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x51f37e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push edi
push str.WindowPos
push str.SoftwareMicrosoftInternet_ExplorerIEDevTools
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], bx
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
push 0x56d150
push str.CLSID1a6fe369_f28c_4ad9_a3e6_2bcb50807cf1InProcServer32
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHRegGetPathW]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov al, 0xa3
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], al
mov byte [esp + 0x18], al
lea eax, [esp + 8]
lea edx, [esp + 0x1c]
push eax
push ecx
push 1
push ebx
push edx
mov dword [esp + 0x30], 0x1a6fe369
mov word [esp + 0x34], 0xf28c
mov word [esp + 0x36], 0x4ad9
mov byte [esp + 0x39], 0xe6
mov byte [esp + 0x3a], 0x2b
mov byte [esp + 0x3b], 0xcb
mov byte [esp + 0x3c], 0x50
mov byte [esp + 0x3d], 0x80
mov byte [esp + 0x3e], 0x7c
mov byte [esp + 0x3f], 0xf1
mov dword [esp + 0x20], 0x59055df
mov word [esp + 0x24], 0x6bb0
mov word [esp + 0x26], 0x402a
mov byte [esp + 0x28], 0xba
mov byte [esp + 0x29], 0x48
mov byte [esp + 0x2a], 0x58
mov byte [esp + 0x2b], 0xbf
mov byte [esp + 0x2d], 0x43
mov byte [esp + 0x2e], 0x71
mov byte [esp + 0x2f], 0x9c
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esp + 8], ebx
jne 0x463e42
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
add esp, 0x240
ret
push esi
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebx
mov dword [esp + 0x248], ebx
je 0x463e8b
mov ecx, dword [esp + 0x250]
lea eax, [esi + 8]
cmp ecx, ebx
mov dword [eax], ebx
je 0x463e79
mov edx, dword [ecx]
push eax
push 0x5601b0
push ecx
call dword [edx]
mov dword [esi + 4], 0x525938
mov dword [esi + 0xc], ebx
mov dword [esi], 0x525910
jmp 0x463e8d
xor esi, esi
mov eax, dword [esp + 0xc]
push esi
push eax
mov dword [esp + 0x250], 0xffffffff
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [esp + 0xc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0xc]
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, dword [esp + 0x240]
mov eax, dword [esp + 0xc]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x240
ret
Function at 0x465560
Capabilities:
Create thread

Disassembly:
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x4655c4
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 4]
mov dword [eax + 0x10], edx
lea edx, [esp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
push fcn.004655d0
push 0
push 0
mov dword [eax], 1
mov dword [eax + 0x14], ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4655c4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x465730
Capabilities:
Allocate thread local storage

Disassembly:
mov al, byte [0x559e74]
test al, al
je 0x46575c
mov byte [0x559e74], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x56d1d0], eax
call fcn.00443010
call fcn.00411c40
mov ecx, eax
jmp fcn.00411c70
ret
Function at 0x466370
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, ecx
push 0x11
call edi
shr eax, 8
test al, al
je 0x4663f6
mov eax, dword [0x5a0b08]
test eax, eax
je 0x46639f
mov eax, dword [esi + 0x677c]
test eax, eax
je 0x4663f6
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x4663f6
push 0x12
call edi
movsx eax, ax
shr eax, 0x10
je 0x4663c1
mov edx, dword [esi]
push 0x64
mov ecx, esi
call dword [edx + 0xa0]
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [esi + 0x6760]
cmp eax, 0xffffffff
jne 0x4663d1
mov eax, 0x64
cmp word [esp + 0xc], 0
jle 0x4663de
add eax, 5
jmp 0x4663e1
add eax, 0xfffffffb
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xa0]
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4

Function at 0x469000
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x46909e
mov eax, dword [esi + 0x6c]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0xa25c], 0
test eax, eax
jne 0x469058
mov eax, dword [esi + 4]
push 0
push eax
call edi
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
and eax, 0xbfffffff
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetParent]
push 1
push 0
push 6
mov ecx, esi
call fcn.004154d0
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x58], 1
test eax, eax
je 0x469094
mov eax, dword [0x5be9e0]
test eax, eax
je 0x469085
push 0
mov ecx, esi
call fcn.0046d670
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x469094
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0x78]
pop edi
pop esi
ret
Function at 0x469dd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x587488]
push esi
test eax, eax
push edi
mov esi, ecx
mov word [esp + 0x14], 3
je 0x469ee5
mov eax, dword [0x5a08b4]
test eax, eax
jne 0x469ee5
mov eax, dword [esi + 0x6790]
test eax, eax
je 0x469ee5
cmp dword [esi + 0x6760], 0xffffffff
jne 0x469ee5
call fcn.0046a7e0
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x58
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 4
lea ecx, [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea edx, [esp + 0xc]
push eax
push ecx
push edx
push str.LogPixels
mov edi, 0x60
push str.Control_PanelDesktop
push SysReAllocStringLen
mov dword [esp + 0x20], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 8], edi
jne 0x469ee5
mov eax, dword [esi + 0x6790]
lea edx, [esp + 0x14]
push edx
push 0
mov ecx, dword [eax]
push 0
push 0x3f
push eax
call dword [ecx + 0xd8]
test eax, eax
jne 0x469ee5
mov ecx, 0x81
lea edi, [esp + 0x26]
mov word [esp + 0x24], ax
push ebx
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
stosw word es:[edi], ax
mov eax, dword [esp + 0xc]
push eax
push ebx
push str._d_dwLogPixels_d
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov dx, bx
mov ecx, esi
mov dword [esi + 0x6760], ebx
push 0
push edx
push 0xd
mov dword [esi + 0x6764], ebx
call fcn.004154d0
pop ebx
pop edi
pop esi
add esp, 0x224
ret

Function at 0x46a5b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x100
jne 0x46a626
mov eax, dword [edi + 8]
add eax, 0xfffffff7
cmp eax, 0x72
ja case.0x46a644.21
xor ecx, ecx
mov cl, byte [eax + 0x46a6cc]
jmp dword [ecx*4 + 0x46a6bc]
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x46a644.21
mov eax, dword [0x58746c]
test eax, eax
je case.0x46a644.21
push 1
push 1
mov ecx, esi
call fcn.00415920
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.004154d0
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
cmp eax, 0x104
jne case.0x46a644.21
mov eax, dword [edi + 8]
add eax, 0xffffffee
cmp eax, 0x67
ja case.0x46a644.21
xor ecx, ecx
mov cl, byte [eax + 0x46a750]
jmp dword [ecx*4 + 0x46a740]
mov dx, word [edi + 8]
push 1
push edx
push 0xc
mov ecx, esi
call fcn.004154d0
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x46a644.21
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.004154d0
mov ebx, 1
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x46a644.21
mov cx, word [edi + 8]
push 1
push ecx
push 0xc
mov ecx, esi
call fcn.004154d0
push 1
push 1
mov ecx, esi
xor ebx, ebx
call fcn.00415920
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4