joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451cd0
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 0x451d8c
cmp word [esp + 0x10], si
je 0x451d8c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x451d56
lea ecx, [esp + 0x10]
push 0x53abc8
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 0x53ac6c
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 0x451da0
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 0x451e5c
cmp word [esp + 0x10], si
je 0x451e5c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x451e26
lea ecx, [esp + 0x10]
push 0x53abc8
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 0x53ac6c
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 0x451e70
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 0x451f2c
cmp word [esp + 0x10], si
je 0x451f2c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x451ef6
lea ecx, [esp + 0x10]
push 0x53abc8
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 0x53ac6c
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 0x452640
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 0x4526e0
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 0x453860
Capabilities:
Capture screenshot

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0x2c]
test edi, edi
jle 0x453988
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x453988
mov ebx, dword [esp + 0x18]
test ebx, ebx
jle 0x453988
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x453988
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 0x453915
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 0x4538e7
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x453943
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 0x453921
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 0x456340
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51f5c8
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.004563c0
mov edi, eax
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00421a90
push edi
mov ecx, esi
call fcn.004560d0
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.004219d0
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x18
Function at 0x456890
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 0x456982
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 0x456982
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 0x4568f4
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 0x456914
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 0x456962
mov eax, dword [esi + 0x244]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x456962
mov dword [esp + 0x10], 1
jmp 0x45697b
mov eax, dword [esi + 0x240]
cmp eax, ebp
je 0x45697b
push eax
call fcn.0051d79a
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 0x456c30
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x456c96
mov esi, dword [esp + 0x18]
test esi, esi
je 0x456c96
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 0x456c96
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 0x456c9e
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 0x4571d0
Capabilities:
Parse url

Disassembly:
sub esp, 0x654
push esi
mov esi, dword [esp + 0x65c]
test esi, esi
je 0x4572c3
mov dx, word [0x56e1d0]
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 0x4572c3
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4572b6
cmp word [eax], 0
je 0x4572b6
push 0x557d94
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4572c3
mov eax, 1
pop esi
add esp, 0x654
ret
xor eax, eax
pop esi
add esp, 0x654
ret
Function at 0x459f00
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x70
push ebx
mov ebx, ecx
push 0
push str.history.dat
mov ecx, 0x56e210
call fcn.0040c500
test eax, eax
je 0x459f2a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45a0ca
push esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00449c70
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x45a0bb
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
push esi
call dword [eax + 0x1c]
test eax, eax
jl 0x45a0b5
mov edx, dword [esp + 8]
test edx, edx
je 0x45a0b5
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 0x45a0aa
mov esi, dword [sym.imp.MSVCRT.dll_mktime]
or edi, 0xffffffff
cmp dword [esp + 0x10], 1
jne 0x45a0a6
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x45a088
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45a088
lea eax, [esp + 0x18]
lea ecx, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x45a070
lea edx, [esp + 0x20]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x45a070
mov eax, dword [esp + 0x20]
cmp ax, 0x76c
jae 0x45a00d
xor eax, eax
jmp 0x45a070
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.00457550
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 0x459fb0
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.004566c0
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
pop ebx
add esp, 0x70
ret
Function at 0x460c50
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 0x460ce3
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 0x460ce3
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 0x461cc0
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 0x461d57
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x461d6d
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 0x461d57
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.004d7a80
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x4641b0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Delete registry value
Query or enumerate registry value
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x51f97e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push edi
push 0x5612f8
push 0x561298
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 0x56e1d0
push 0x561220
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 0x4642e2
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 0x46432b
mov ecx, dword [esp + 0x250]
lea eax, [esi + 8]
cmp ecx, ebx
mov dword [eax], ebx
je 0x464319
mov edx, dword [ecx]
push eax
push 0x561210
push ecx
call dword [edx]
mov dword [esi + 4], 0x525958
mov dword [esi + 0xc], ebx
mov dword [esi], 0x525930
jmp 0x46432d
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 0x4659f0
Capabilities:
Create thread

Disassembly:
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x465a54
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.00465a60
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 0x465a54
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x465bc0
Capabilities:
Allocate thread local storage

Disassembly:
mov al, byte [0x55aed4]
test al, al
je 0x465bec
mov byte [0x55aed4], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x56e258], eax
call fcn.00443550
call fcn.00411f90
mov ecx, eax
jmp fcn.00411fc0
ret
Function at 0x466800
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 0x466886
mov eax, dword [0x5a1b08]
test eax, eax
je 0x46682f
mov eax, dword [esi + 0x6780]
test eax, eax
je 0x466886
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x466886
push 0x12
call edi
movsx eax, ax
shr eax, 0x10
je 0x466851
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 + 0x6764]
cmp eax, 0xffffffff
jne 0x466861
mov eax, 0x64
cmp word [esp + 0xc], 0
jle 0x46686e
add eax, 5
jmp 0x466871
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 0x469510
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x4695ae
mov eax, dword [esi + 0x6c]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0xa260], 0
test eax, eax
jne 0x469568
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.004158a0
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x58], 1
test eax, eax
je 0x4695a4
mov eax, dword [0x5bf9e0]
test eax, eax
je 0x469595
push 0
mov ecx, esi
call fcn.0046dc50
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4695a4
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 0x46a2e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x588510]
push esi
test eax, eax
push edi
mov esi, ecx
mov word [esp + 0x14], 3
je 0x46a3f5
mov eax, dword [0x5a18b4]
test eax, eax
jne 0x46a3f5
mov eax, dword [esi + 0x6794]
test eax, eax
je 0x46a3f5
cmp dword [esi + 0x6764], 0xffffffff
jne 0x46a3f5
call fcn.0046acf0
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 0x56154c
mov edi, 0x60
push 0x561520
push SysReAllocStringLen
mov dword [esp + 0x20], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 8], edi
jne 0x46a3f5
mov eax, dword [esi + 0x6794]
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 0x46a3f5
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 0x5614fc
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov dx, bx
mov ecx, esi
mov dword [esi + 0x6764], ebx
push 0
push edx
push 0xd
mov dword [esi + 0x6768], ebx
call fcn.004158a0
pop ebx
pop edi
pop esi
add esp, 0x224
ret

Function at 0x46aac0
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 0x46ab36
mov eax, dword [edi + 8]
add eax, 0xfffffff7
cmp eax, 0x72
ja case.0x46ab54.21
xor ecx, ecx
mov cl, byte [eax + 0x46abdc]
jmp dword [ecx*4 + 0x46abcc]
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x46ab54.21
mov eax, dword [0x5884f4]
test eax, eax
je case.0x46ab54.21
push 1
push 1
mov ecx, esi
call fcn.00415cf0
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.004158a0
mov ebx, eax
pop edi
pop esi
pop ebx
ret 4
cmp eax, 0x104
jne case.0x46ab54.21
mov eax, dword [edi + 8]
add eax, 0xffffffee
cmp eax, 0x67
ja case.0x46ab54.21
xor ecx, ecx
mov cl, byte [eax + 0x46ac60]
jmp dword [ecx*4 + 0x46ac50]
mov dx, word [edi + 8]
push 1
push edx
push 0xc
mov ecx, esi
call fcn.004158a0
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.0x46ab54.21
mov ax, word [edi + 8]
push 1
push eax
push 0xc
mov ecx, esi
call fcn.004158a0
mov ebx, 1
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
mov eax, dword [esi + 0x6c]
test eax, eax
je case.0x46ab54.21
mov cx, word [edi + 8]
push 1
push ecx
push 0xc
mov ecx, esi
call fcn.004158a0
push 1
push 1
mov ecx, esi
xor ebx, ebx
call fcn.00415cf0
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4