joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010c0a2
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10234000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [0x1023d070]
mov dword [ebp - 0x20], ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
test eax, eax
jne 0x1010c0fb
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1010c120
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x1023d070], eax
jmp 0x1010c104
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x1010c120
mov eax, dword [ebp - 0x18]
mov ecx, esi
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [0x101cdb00]
call esi
jmp 0x1010c262
and dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
lea eax, [ebp - 0x14]
push 7
push eax
push ebx
call fcn.1010c501
lea eax, [ebp - 0x14]
push eax
call fcn.1019f37f
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.1019f1f9
mov eax, dword [ebp - 0x20]
lea edi, [esi + 1]
push 7
and ebx, 0x3ff
inc dword [eax]
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.1010c501
lea eax, [ebp - 0x14]
push eax
call fcn.1019f37f
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + edi*2]
push ecx
call fcn.1019f1f9
mov eax, dword [ebp - 0x20]
add esp, 0x38
add edi, esi
inc dword [eax]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ebx, ax
lea eax, [ebp - 0x14]
push 7
push eax
push ebx
call fcn.1010c501
lea eax, [ebp - 0x14]
push eax
call fcn.1019f37f
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.1019f1f9
mov eax, dword [ebp - 0x20]
add edi, esi
push 7
and ebx, 0x3ff
inc dword [eax]
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.1010c501
lea eax, [ebp - 0x14]
push eax
call fcn.1019f37f
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.1019f1f9
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push 7
push eax
add edi, esi
inc dword [ebx]
push 0x800
call fcn.1010c501
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.1019f37f
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.1019f1f9
mov ecx, dword [ebp - 0x1c]
lea eax, [edi + esi]
add esp, 0x10
xor edx, edx
inc dword [ebx]
mov word [ecx + eax*2 + 2], dx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1018ec70
leave
ret
Function at 0x1010e566
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x1010e5bc
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1010e595
call fcn.10038281
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x1010e5aa
call fcn.10038281
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1010e5bc
call fcn.10038281
call fcn.1003d497
cmp dword [eax + 0x3c], 0
je 0x1010e5d1
push esi
mov ecx, ebx
call fcn.1010dc98
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.1010e7bb
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1010e5fa
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1010e606
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1010f88f
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10234000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x1010f8bb
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1010f8e6
cmp dword [0x1023bbb4], 0
jne 0x1010f8e6
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x1010f8e2
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1010f8e2
push edi
call fcn.101a52d0
pop ecx
jmp 0x1010f95d
mov eax, edi
jmp 0x1010f95d
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.10191e30
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x1010f96c
push esi
call fcn.1005ff88
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push esi
push 1
push 2
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1018ec70
leave
ret 4
call fcn.1003bca0
int3

Function at 0x10116af4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x10116b1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10116b24
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.10003890
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.1015c503
int3
Function at 0x10116bd2
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x10116c19
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10116c28
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10116c28
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x101cdb00]
call edi
jmp 0x10116c2a
cmp dword [esi + 4], ebx
je 0x10116c28
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10116e82
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x10116e93
xor eax, eax
jmp 0x10116eaf
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10116eb4
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.10003890
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.1015c503
int3

Function at 0x10116f8f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x101cdb00]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x10116fc2
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.10003890
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.1015c503
int3

Function at 0x10117097
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x101170c2
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x101170c8
cmp dword [ebp - 4], esi
jne 0x101170df
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.10003890
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.1015c503
lea ecx, [edi + 0xc]
call fcn.10003890
push eax
push 0xffffffffffffffff
push 0xd
call fcn.1015c159
int3
Function at 0x101218c0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x101218f6
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.100044d0
test eax, eax
je 0x101218de
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10122c6e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10122c9b
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x10122cb0
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10122cb0
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.1003157d
jmp 0x10122d81
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.1003157d
cmp eax, edi
jne 0x10122d8b
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x10122d1d
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10122d61
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x10122d8b
cmp eax, 0x205
je 0x10122d8b
cmp eax, 0x201
je 0x10122d8b
cmp eax, 0x204
je 0x10122d8b
cmp eax, 0x100
jne 0x10122d49
cmp dword [ebp - 0x18], 0x1b
je 0x10122d8b
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x10122d81
ja 0x10122d7a
cmp eax, dword [0x1023d344]
jbe 0x10122d81
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x10122cd2
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x101254d6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x102335c0], 0
push esi
push edi
je 0x1012555e
cmp dword [0x1023396c], 0xfffffffe
jne 0x1012554a
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x1012555e
mov edi, 0x1023d360
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1023d378], 0
jne 0x10125562
push 0
push 0
push 0x10125568
call fcn.101a1034
add esp, 0xc
mov dword [0x1023d378], eax
test eax, eax
je 0x1012553a
cmp eax, 0xffffffff
je 0x1012553a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x1023396c], esi
jmp 0x10125541
and dword [0x1023d378], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1012555e
mov eax, dword [ebp + 8]
mov dword [0x1023396c], eax
cmp eax, 0xffffffff
jne 0x1012555e
and dword [0x1023d378], 0
pop edi
pop esi
pop ebp
ret
call fcn.1003bca0
int3

Function at 0x1012896a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10234000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.10036a23
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
mov ebx, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.1003116b
mov esi, eax
push 2
pop eax
test edi, 0x1000
je 0x101289df
cmp esi, 3
push eax
cmove esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x101289dc
xor eax, eax
jmp 0x10128a33
push 2
pop eax
push 0xa
pop edi
cmp esi, edi
jl 0x101289eb
cmp esi, 0x11
jle 0x101289f0
cmp esi, 4
jne 0x10128a31
test dword [ebp - 0x18], 0x800
jne 0x10128a33
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test dword [ebp - 0x18], 0x200
je 0x10128a31
mov eax, esi
sub eax, 4
je 0x10128a72
sub eax, 9
je 0x10128a62
sub eax, 1
je 0x10128a52
dec eax
sub eax, 1
je 0x10128a44
sub eax, 1
je 0x10128a72
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1018ec70
leave
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
push 0xf
pop ecx
cmovg edi, ecx
jmp 0x10128a6e
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x10128a33
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x10]
push 0xc
pop eax
cmovl edi, eax
mov eax, edi
jmp 0x10128a33
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 8]
push 0xb
pop eax
push 0xf
pop edx
cmovg eax, edx
jmp 0x10128a33
Function at 0x10130d62
Capabilities:
Get graphical window text

Disassembly:
push 0x264
mov eax, 0x101c79ee
call fcn.1018ece3
mov edi, ecx
mov dword [ebp - 0x220], edi
xor ebx, ebx
lea esi, [edi + 0xa8]
push ebx
push ebx
push 0xb
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x184
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x218], ebx
call fcn.100378d9
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100d6cb2
push eax
lea ecx, [ebp - 0x238]
call fcn.10038b08
lea ecx, [edi + 0x134]
mov dword [ebp - 0x224], eax
mov dword [edi + 0x130], 1
call fcn.1002e3d6
lea ecx, [edi + 0x150]
call fcn.1002e3d6
mov eax, dword [edi + 0x128]
push 5
push dword [eax + 0x120]
jmp 0x10130f87
push ebx
call fcn.1003157d
push eax
push 0x101d07b8
call fcn.1003d016
mov dword [ebp - 0x214], eax
pop ecx
pop ecx
test eax, eax
je 0x10130f84
mov eax, dword [eax]
mov esi, dword [eax + 0x1e8]
mov ecx, esi
call dword [0x101cdb00]
mov ecx, dword [ebp - 0x214]
call esi
test eax, eax
je 0x10130f84
push 0x100
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x210]
push eax
push 0
push 0x180
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
lea ecx, [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
call fcn.10025db0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x238]
call fcn.10025180
mov ecx, dword [ebp - 0x21c]
mov esi, dword [eax]
lea ecx, [ecx - 0x10]
call fcn.10002420
cmp dword [ebp - 0x218], esi
push ebx
cmovg esi, dword [ebp - 0x218]
push edi
mov edi, dword [ebp - 0x220]
push 0x19a
mov dword [ebp - 0x218], esi
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx]
mov esi, dword [eax + 0x1ec]
mov ecx, esi
call dword [0x101cdb00]
mov ecx, dword [ebp - 0x214]
call esi
test eax, eax
je 0x10130f07
push ebx
lea ecx, [edi + 0x150]
call fcn.1003e4d7
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x10130f26
push 0
push ebx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
test esi, esi
jne 0x10130f2f
and dword [edi + 0x130], 0
jmp 0x10130f84
push 0x30
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.10191e30
add esp, 0xc
mov dword [ebp - 0x270], 0x30
lea eax, [ebp - 0x270]
mov dword [ebp - 0x26c], 1
push eax
push 0
push 0xf060
push esi
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x10130f78
test byte [ebp - 0x264], 3
je 0x10130f84
push ebx
lea ecx, [edi + 0x134]
call fcn.1003e4d7
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test ebx, ebx
jne 0x10130e02
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x218]
add ecx, 0x1e
push ebx
add eax, ecx
push eax
push 0x194
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x224]
lea ecx, [ebp - 0x238]
call fcn.10038b08
push ebx
push 1
push 0xb
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x238]
call fcn.10037a36
call fcn.1018ec92
ret
Function at 0x10130ff6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
call fcn.1003d497
mov ecx, dword [eax + 4]
call fcn.1003d649
push 0
push 0
push 0x18b
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jle 0x101310a3
mov ecx, dword [esi + 0x128]
push ebx
mov ebx, dword [ecx + 0x120]
push ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
sub edi, 1
js 0x1013108b
mov ebx, esi
push 0
push edi
push 0x199
push dword [ebx + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
push 0x187
push dword [ebx + 0xc8]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 6
pop ecx
push 9
pop edx
test eax, eax
cmovg ecx, edx
push ecx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
sub edi, 1
jns 0x10131046
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
pop ebx
lea ecx, [ebp - 1]
call fcn.1001e2b0
pop edi
pop esi
leave
ret 8
Function at 0x10132cff
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10234000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x18], eax
cmp edi, 0x20
jne 0x10132d6b
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
mov ecx, esi
add eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
add eax, 0x17
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10133b9a
mov ecx, esi
call fcn.10133069
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x10132db7
push ebx
xor ebx, ebx
cmp dword [esi + 0x318], ebx
jne 0x10132d87
cmp edi, 0x79
je 0x10132d80
cmp edi, 0x12
jne 0x10132d83
xor ebx, ebx
inc ebx
mov eax, ebx
jmp 0x10132db6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
push 0x10
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
cmp edi, 0x12
je 0x10132dc7
cmp edi, 0x79
je 0x10132dc7
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1018ec70
leave
ret 0xc
cmp dword [0x1023c5ac], ebx
jne 0x10132db4
test byte [esi + 0x330], 2
jne 0x10132db4
cmp edi, 0x12
je 0x10132df0
cmp edi, 0x79
jne 0x10132db4
mov ecx, 0x8000
test dword [ebp - 0x20], ecx
jne 0x10132db4
test ecx, eax
jne 0x10132db4
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.1003157d
cmp eax, esi
jne 0x10132e13
test dword [ebp + 0x10], 0x40000000
jne 0x10132e13
cmp edi, 0x79
jne 0x10132e21
mov ecx, dword [ebp - 0x18]
jmp 0x10132e1a
cmp edi, 0x79
jne 0x10132e21
mov ecx, esi
call fcn.10036f65
jmp 0x10132e3d
cmp dword [esi + 0x2d4], ebx
jge 0x10132e3d
push ebx
push 0xc8
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x10132db6
Function at 0x101559c3
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x10234000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test edx, edx
je 0x10155bea
test ebx, ebx
je 0x10155bea
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
xor edi, edi
movlpd qword [ebp - 0x644], xmm0
movlpd qword [ebp - 0x63c], xmm0
movlpd qword [ebp - 0x634], xmm0
movlpd qword [ebp - 0x874], xmm0
movlpd qword [ebp - 0x86c], xmm0
movlpd qword [ebp - 0x864], xmm0
sub eax, edi
je 0x10155bb3
sub eax, 1
je 0x10155a46
sub eax, 1
je 0x10155b17
sub eax, 1
jne 0x10155be6
lea eax, [ebp - 0x20c]
push eax
push dword [edx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10155bae
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1015cb5a
test eax, eax
je 0x10155bae
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10155ba9
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.1015cb5a
test eax, eax
je 0x10155ba9
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x10155b72
test byte [ebp - 0x624], 0x10
jne 0x10155bae
test byte [ebp - 0x854], 0x10
jne 0x10155b10
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x10155b10
jb 0x10155bae
cmp dword [ebp - 0x62c], eax
jb 0x10155bae
cmp dword [ebp - 0x628], ecx
jb 0x10155be6
ja 0x10155b10
cmp dword [ebp - 0x62c], eax
jbe 0x10155be6
mov edi, edx
jmp 0x10155be6
mov esi, 0x408
lea eax, [ebp - 0xddc]
push esi
push 0x2b4
push eax
push edi
push dword [edx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x10155be6
push esi
push 0x2b4
lea eax, [ebp - 0xb28]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x10155be6
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x10155be6
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x10155b10
jl 0x10155bae
cmp dword [ebp - 0x63c], eax
jb 0x10155bae
cmp dword [ebp - 0x638], ecx
jl 0x10155be6
jg 0x10155b10
cmp dword [ebp - 0x63c], eax
jmp 0x10155b0a
xor edi, edi
inc edi
jmp 0x10155be6
or edi, 0xffffffff
jmp 0x10155be6
mov ecx, dword [edx]
push dword [ebx + 8]
push dword [edx + 8]
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x101cdb00]
call esi
test eax, eax
jns 0x10155be3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1018ec70
leave
ret 0xc
movsx edi, ax
mov eax, edi
jmp 0x10155bd2
call fcn.1003bca0
int3