joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453833
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
call fcn.00453ae6
and word [ebp + 0x10], 0xf7ef
test byte [ebp + 0x10], 8
je 0x45385b
push dword [ebp + 0xc]
call dword [ebp + 8]
or eax, 0xffffffff
jmp 0x453933
push 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x453874
mov ecx, eax
call fcn.0045393a
mov esi, eax
jmp 0x453876
xor esi, esi
cmp esi, ebx
je 0x4538c9
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], ebx
test ah, 1
lea eax, [ebp - 4]
push eax
push 4
push esi
je 0x4538ad
push 0x4539d7
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
jmp 0x4538ba
push 0x4539d7
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4538cd
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
xor eax, eax
jmp 0x453933
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4538d7
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
test byte [ebp + 0x10], 0x80
mov dword [esi + 0xc], eax
je 0x453907
push str.SHGetThreadRef
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x453907
lea ecx, [esi + 0x24]
push ecx
call eax
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x453911
mov dword [eax + 0xc], esi
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
inc dword [edi + 8]
push eax
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x453976
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov dword [esi], 0x4c89a0
test eax, eax
je 0x4539a2
mov ecx, dword [esi + 0x1c]
not ecx
test ch, 8
je 0x453999
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [esi + 0x1c], 0x10
je 0x4539b7
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4539c2
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x4539c2
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4539c2
and dword [eax + 0xc], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4539cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], 0x4c7aac
pop esi
ret
Function at 0x4539e3
Capabilities:
Log keystrokes

Disassembly:
push ecx
push esi
mov esi, ecx
test byte [esi + 0x1c], 1
je 0x4539f8
push 0xffffffffffffffff
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x1c]
push ebp
xor ebp, ebp
test al, 0x20
je 0x453a0b
push ebp
call dword [sym.imp.ole32.dll_OleInitialize]
jmp 0x453a26
test al, 4
je 0x453a18
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
jmp 0x453a26
test ah, 4
je 0x453a26
push 4
push ebp
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp dword [esi + 0x24], ebp
je 0x453a47
push str.SHSetThreadRef
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [esi + 0x24]
call eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push edi
xor edi, edi
test byte [esi + 0x1d], 2
je 0x453a63
push 1
push dword [esi + 0xc]
push dword [esi + 8]
call ebx
mov edi, eax
push dword [esi + 0x18]
call dword [esi + 0x14]
cmp edi, ebp
mov dword [esp + 0x10], eax
je 0x453a7a
push ebp
push dword [esi + 0xc]
push dword [esi + 8]
call ebx
cmp dword [esi + 0x18], ebp
pop edi
pop ebx
je 0x453a8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x18]
mov dword [ecx + 4], eax
cmp dword [esi + 0x24], ebp
je 0x453aa2
mov eax, dword [esi + 0x24]
cmp eax, ebp
je 0x453aa2
mov dword [esi + 0x24], ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
test al, 0x20
je 0x453ab1
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x453abd
test ax, 0x404
je 0x453abd
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esi + 0x20]
cmp eax, ebp
pop ebp
je 0x453adb
test byte [esi + 0x1c], 0x10
jne 0x453adb
push dword [esi + 0x18]
push dword [esi + 8]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
or byte [esi + 0x1d], 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret
Function at 0x453cf4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
mov eax, dword [ebx + 0x203c]
push edi
mov edi, dword [ebx + 8]
cmp dword [eax + 0xc], 0x58445732
mov dword [ebp - 8], edi
sete cl
xor eax, eax
mov dword [ebp - 0x10], ecx
push eax
push 0x8000000
push 3
push eax
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x453d56
mov eax, dword [ebp - 4]
test eax, eax
je 0x453d4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80070005
jmp 0x453e6e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp - 0xc], esi
jne 0x453d87
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x453d7d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x453e6e
cmp dword [ebp - 0x10], esi
je 0x453db2
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 0x203c]
add eax, 0xc
push 0x4ca24c
push eax
push dword [0x4d8290]
call fcn.0042c388
add esp, 0x14
jmp 0x453dc0
lea eax, [ebp - 4]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.004543e6
cmp dword [ebp - 4], esi
mov dword [ebp + 8], eax
je 0x453e4e
cmp edi, esi
mov esi, dword [0x4e9e94]
mov edi, dword fs:[0x2c]
je 0x453dfe
mov eax, dword [edi + esi*4]
push dword [ebp - 8]
mov ecx, dword [eax + 4]
add ecx, 0x14
call fcn.00453e75
test eax, eax
je 0x453dfe
mov dword [ebp + 8], 0x80004004
jmp 0x453e5e
xor eax, eax
cmp dword [ebx + 0x2038], eax
je 0x453e0d
mov dword [ebp + 8], eax
jmp 0x453e54
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
push eax
push eax
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ecx]
call dword [ecx + 0xc]
test eax, eax
mov dword [ebp + 8], eax
jl 0x453e5e
cmp dword [ebp - 8], 0
je 0x453e4e
mov eax, dword [edi + esi*4]
push dword [ebp - 8]
mov ecx, dword [eax + 4]
add ecx, 0x14
call fcn.00453e75
test eax, eax
je 0x453e4e
mov dword [ebp + 8], 0x80004004
cmp dword [ebp + 8], 0
jl 0x453e5e
mov eax, dword [ebp - 4]
and dword [ebp - 4], 0
mov dword [ebx + 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x453e6b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45d7af
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x84f0
call fcn.004c5de0
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
jne 0x45d7d8
lea eax, [ebp + 8]
push eax
call fcn.0040550a
mov esi, dword [eax]
lea ecx, [ebp + 8]
call fcn.004010b4
push 0x80e8
lea eax, [ebp - 0x84f0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x84f0]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
je 0x45d892
add eax, 3
and al, 0xfc
call fcn.004c5de0
mov edi, esp
lea eax, [ebp - 0x84f0]
push edi
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x45d892
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x45d892
cmp dword [ebp + 8], 0
je 0x45d892
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x408]
push str.StringFileInfo_04x_04x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x408]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x45d892
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
call fcn.00402e2b
push 1
pop eax
jmp 0x45d8a1
mov ecx, dword [ebp + 0x10]
push 0x4d823c
call fcn.00402e2b
xor eax, eax
lea esp, [ebp - 0x84f8]
pop edi
pop esi
leave
ret 0xc

Function at 0x45da96
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push esi
mov esi, ecx
push dword [ebp + 8]
call fcn.0046bde8
test eax, eax
pop ecx
jne 0x45dab4
mov eax, dword [esi + 8]
jmp 0x45db02
push eax
lea eax, [ebp - 0x102]
push eax
mov byte [ebp - 0x104], 0x2a
mov byte [ebp - 0x103], 0x2e
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 8]
push 0x4010
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x264]
push 0x160
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x260]
pop esi
leave
ret 4
Function at 0x45e353
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x48], 0xffffffff
jne 0x45e451
test byte [esi + 0x27], 0x40
jne 0x45e377
and dword [esi + 0x48], 0
jmp 0x45e451
mov ecx, esi
call fcn.0045e9b4
mov edi, eax
push edi
call fcn.0046bfa7
xor ebx, ebx
pop ecx
cmp eax, ebx
mov dword [esi + 0x48], eax
jne 0x45e39a
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [esi + 0x48], eax
cmp edi, ebx
je 0x45e3a4
cmp dword [esi + 0x48], 1
jne 0x45e3a7
mov dword [esi + 0x48], ebx
cmp dword [esi + 0x48], 3
jne 0x45e451
cmp dword [0x4d8e1c], 2
jne 0x45e451
mov eax, dword [0x4cfce8]
mov dword [ebp - 4], eax
movsx eax, byte [edi]
push eax
lea eax, [ebp - 4]
push 0x4d4ea0
push eax
call fcn.00404f20
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x45e449
mov eax, 0x228
call fcn.004c5de0
mov edi, esp
lea eax, [ebp - 0xc]
push ebx
push eax
mov dword [edi + 4], 0x227
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push dword [edi + 4]
lea eax, [ebp - 0x18]
push edi
push 0xc
push eax
push 0x2d1400
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e440
mov edi, dword [edi + 0x1c]
push 7
pop eax
cmp edi, eax
je 0x45e43d
cmp edi, 4
jne 0x45e440
mov dword [esi + 0x48], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 4]
call fcn.004010b4
mov eax, dword [esi + 0x48]
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45e45c
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
test byte [ebx + 0x27], 0x40
je 0x45e492
call fcn.0045e9b4
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 3
pop edi
cmp eax, edi
jne 0x45e492
mov ecx, ebx
call fcn.0045e353
cmp eax, 7
je 0x45e499
cmp eax, edi
je 0x45e499
xor eax, eax
jmp 0x45e51d
mov eax, dword [0x4cfce8]
mov dword [ebp - 4], eax
movsx eax, byte [esi]
push eax
lea eax, [ebp - 4]
push 0x4d4ea0
push eax
call fcn.00404f20
add esp, 0xc
xor esi, esi
push esi
push esi
push edi
push esi
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45e513
xor eax, eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], esi
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x20], 8
push eax
lea eax, [ebp - 0x14]
push 0xc
push eax
lea eax, [ebp - 0x20]
push 0xc
push eax
push 0x2d1400
push ebx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45e50c
cmp dword [ebp - 8], esi
je 0x45e50c
movzx esi, byte [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 4]
call fcn.004010b4
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45e8db
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
cmp dword [esi + 0x64], 0
jne 0x45e921
call fcn.0045e9b4
test eax, eax
je 0x45e91a
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x45e91a
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
mov dword [esi + 0x64], eax
jmp 0x45e921
mov dword [esi + 0x64], 0x1000
mov eax, dword [esi + 0x64]
pop esi
leave
ret

Function at 0x45f23f
Capabilities:
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
call fcn.0045e5b9
test eax, eax
jne 0x45f25e
mov ecx, esi
call fcn.0045e353
cmp eax, 7
jne 0x45f272
mov ecx, esi
call fcn.0045e353
dec eax
dec eax
je 0x45f280
sub eax, 3
je 0x45f279
dec eax
dec eax
je 0x45f280
xor eax, eax
jmp 0x45f349
mov edi, SysReAllocStringLen
jmp 0x45f285
mov edi, 0xc0000000
mov ecx, esi
call fcn.0045e9b4
mov al, byte [eax]
cmp al, 0x61
jl 0x45f298
cmp al, 0x7a
jg 0x45f298
add al, 0xe0
mov ecx, dword [0x4cfce8]
push ebx
movsx eax, al
push eax
lea eax, [ebp - 0xc]
push str.._c:
push eax
mov dword [ebp - 0xc], ecx
call fcn.00404f20
add esp, 0xc
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x45f33e
lea eax, [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90018
push edi
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
je 0x45f334
lea eax, [ebp - 8]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90020
push edi
call esi
test eax, eax
je 0x45f334
lea eax, [ebp - 8]
push ebx
push eax
push ebx
push ebx
lea eax, [ebp - 1]
push 1
push eax
push 0x2d4804
push edi
mov byte [ebp - 1], bl
call esi
test eax, eax
je 0x45f334
lea eax, [ebp - 8]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x2d4808
push edi
call esi
mov dword [ebp - 0x10], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
call fcn.004010b4
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x465168
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc01c]
lea edi, [esi + 0xc00c]
test eax, eax
je 0x465197
mov ecx, dword [eax]
push edi
lea edx, [esi + 4]
push 0x4000
push edx
push eax
call dword [ecx + 0xc]
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x4651ab
push 0
push edi
lea eax, [esi + 4]
push 0x4000
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [edi]
and byte [esi + ecx + 4], 0
cmp dword [edi], 0x4000
jae 0x4651c4
mov dword [esi + 0xc018], 1
pop edi
pop esi
ret
Function at 0x46762d
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
xor eax, eax
mov ecx, dword [esi + 0x30]
cmp ecx, eax
mov dword [ebp + 0xc], ecx
je 0x46783c
test byte [esi + 0xc], 0x22
push ebx
push edi
mov edi, dword [ecx]
je 0x467762
mov ecx, dword [0x4e9e94]
mov edx, dword fs:[0x2c]
mov ebx, dword [edx + ecx*4]
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0x4c], 3
je 0x467754
cmp edi, eax
je 0x467724
or dword [esi + 0x24], 0xffffffff
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0x84], eax
je 0x4676e6
mov ecx, edi
call fcn.00450513
test eax, eax
jne 0x4676e6
push 0x38
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x4676c0
mov ecx, dword [ebp - 4]
push edi
push dword [ecx + 4]
mov ecx, eax
push 0
push 0xc
call fcn.004c0f14
jmp 0x4676c2
xor eax, eax
test eax, eax
je 0x4676e6
mov ecx, dword [esi + 0x10]
push eax
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 4]
call fcn.0047a701
test eax, eax
je 0x4676e6
mov ecx, edi
call fcn.004504c5
mov dword [esi + 0x24], eax
cmp dword [esi + 0x24], 0xffffffff
jne 0x467757
mov ecx, edi
call fcn.004501ff
mov dword [esi + 0x24], eax
cmp dword [0x4d8eb8], eax
jne 0x467706
mov eax, dword [0x4d8ec0]
mov dword [esi + 0x24], eax
mov ecx, edi
call fcn.004502a4
test eax, eax
je 0x467757
or dword [esi + 0xc], 8
mov dword [esi + 0x18], 0xf00
shl eax, 8
mov dword [esi + 0x14], eax
jmp 0x467757
mov ecx, dword [0x4d8eb8]
push 0x4008
mov dword [ebp - 0x160], ecx
lea ecx, [ebp - 0x164]
push 0x160
push ecx
push eax
push dword [0x4d8508]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x160]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
xor eax, eax
test byte [esi + 0xc], 1
je 0x4677bd
cmp dword [ecx + 8], eax
je 0x467774
call fcn.00466c13
jmp 0x4677ba
cmp edi, eax
je 0x467785
push eax
push eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.0045518f
jmp 0x4677ba
push dword [0x4d8224]
mov eax, dword [ebp - 4]
push 0
lea ebx, [eax + 0x104]
push dword [0x4d8508]
lea eax, [ebp + 0xc]
push eax
call fcn.0046d225
add esp, 0x10
mov ecx, ebx
push eax
call fcn.00402dbe
lea ecx, [ebp + 0xc]
call fcn.004010b4
mov eax, dword [ebx]
mov dword [esi + 0x1c], eax
test byte [esi + 0xc], 0x40
je 0x467834
test edi, edi
je 0x46782d
mov ebx, 0x40000000
test dword [edi + 0x24], ebx
je 0x46782d
mov ecx, dword [edi + 0x48]
call fcn.0041f250
test eax, eax
jne 0x46782d
test dword [edi + 0x24], ebx
je 0x467816
mov eax, dword [edi + 0x48]
cmp word [eax + 0x130], 0
jne 0x46782d
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push 0
push ecx
mov ecx, edi
call dword [eax + 8]
push eax
call fcn.0046c0c4
pop ecx
cmp eax, 0xffffffff
pop ecx
lea ecx, [ebp + 0xc]
setne bl
call fcn.004010b4
test bl, bl
jne 0x46782d
push SysReAllocStringLen
mov ecx, edi
call fcn.0044e4a5
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x2c], eax
jmp 0x467834
mov dword [esi + 0x2c], 1
or byte [esi + 0xd], 0x10
pop edi
xor eax, eax
pop ebx
pop esi
leave
ret 0xc
Function at 0x467f28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebx + 0x14]
xor edi, edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov esi, ecx
push edi
push 0x110d
push dword [esi + 4]
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x3c]
push 0x10
mov dword [ebp - 0x24], eax
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 8
push eax
push edi
push 0x110d
mov dword [ebp - 0x18], edi
push dword [esi + 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x467fb6
mov eax, dword [eax]
cmp eax, edi
je 0x467fb6
and word [eax + 0x44], 0xfffd
cmp dword [ebx + 0x3c], edi
je 0x468052
mov eax, dword [ebx + 0x5c]
cmp eax, edi
je 0x467fd0
mov eax, dword [eax]
cmp eax, edi
je 0x467fd0
or byte [eax + 0x44], 2
mov eax, dword [esi + 0xc4]
cmp eax, edi
je 0x467fea
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0xc4], edi
cmp dword [esi + 0xd0], edi
lea eax, [esi + 0xd0]
je 0x467ffc
mov dword [eax], edi
jmp 0x468040
test byte [esi + 0xac], 1
je 0x468040
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x468040
mov eax, dword [0x4e9e94]
mov ecx, dword fs:[0x2c]
push edi
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x688]
push eax
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0xc4], eax
push dword [ebx + 0x3c]
push edi
push 0x1114
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc

Function at 0x4682d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1111
push dword [esi + 4]
call edi
mov ebx, eax
test ebx, ebx
je 0x468359
test byte [ebp - 8], 0x46
je 0x468359
push 0
push 9
push 0x110a
push dword [esi + 4]
call edi
cmp eax, ebx
je 0x468330
mov dword [esi + 0xd0], 1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
and ax, 0x8000
push 0
neg ax
sbb eax, eax
neg eax
add eax, 0x8009
push eax
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x468738
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x15c
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
push 0
mov edi, ecx
push 9
push 0x110a
push dword [edi + 4]
call ebx
mov ebp, eax
test ebp, ebp
je 0x468980
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ebp
push eax
push 0
push 0x110c
mov dword [esp + 0x1c], 4
push dword [edi + 4]
call ebx
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [esp + 0x34]
mov eax, dword [esi + 8]
test eax, eax
je 0x46887b
mov ecx, dword [esp + 0x174]
cmp cx, 0xe122
je 0x46885f
cmp cx, 0xe123
je 0x46885f
cmp cx, 0x8006
je 0x46885f
cmp cx, 0x8017
jne 0x46887b
cmp dword [edi + 0xe8], ebp
jne 0x4687e5
mov eax, dword [0x4e9e94]
mov ecx, dword fs:[0x2c]
push 0x30
mov eax, dword [ecx + eax*4]
jmp 0x468975
mov esi, 0x8000000
test dword [0x4d9114], esi
jne 0x468843
push 0
push 0x7f03
push 0x2e4d
push 0x80
lea ecx, [esp + 0x48]
call fcn.0040faa1
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x40]
call fcn.00417499
cmp dword [esp + 0x78], 0
je 0x46882b
or dword [0x4d9114], esi
cmp eax, 2
lea ecx, [esp + 0x38]
jne 0x46883e
call fcn.00411a4b
jmp 0x468980
call fcn.00411a4b
push ebp
push 0
push 0x1101
push dword [edi + 4]
call ebx
mov dword [edi + 0xb4], 1
jmp 0x468980
mov eax, dword [edi + 0x108]
push 1
push 0x2758
push 0x8002
push dword [eax + 4]
call ebx
jmp 0x468980
cmp dword [esi], 0
mov ebx, dword [0x4e9e94]
jne 0x4688ad
test eax, eax
je 0x4688ad
push ebp
push esi
mov ecx, edi
call fcn.00466fd2
test eax, eax
jne 0x4688ad
mov eax, dword fs:[0x2c]
push 0x10
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 4]
call fcn.0047a2e3
cmp dword [esi], 0
je 0x468980
cmp word [esp + 0x174], 0x8017
jne 0x4688da
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x468904
mov dword [esp + 0x174], 0x8006
mov ecx, dword [esp + 0x174]
cmp cx, 0xe123
jne 0x4688ef
mov edi, 0x4d1c38
jmp 0x468923
cmp cx, 0xe122
jne 0x4688fd
mov edi, str.copy
jmp 0x468923
cmp cx, 0x8017
jne 0x468912
mov ecx, dword [esp + 0x174]
mov edi, str.delete
jmp 0x468923
cmp cx, 0x8006
mov edi, str.shdel
je 0x468923
mov edi, 0x4d1bf0
mov eax, dword [esi]
test byte [eax + 0x27], 0x40
je 0x468957
cmp cx, 0x8017
je 0x468940
cmp cx, 0x8006
je 0x468940
cmp cx, 0xe123
jne 0x468957
push 1
push eax
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 4]
call fcn.0047ac23
mov eax, dword [esi]
push 0xffffffffffffffff
push 0
push edi
mov ecx, dword [eax + 0x48]
call fcn.0046308d
test eax, eax
jne 0x468980
mov eax, dword fs:[0x2c]
push 0x10
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 4]
call fcn.0047a2e3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x15c
ret 0x10