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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1023c000]
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 [0x10245130]
mov dword [ebp - 0x20], ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
test eax, eax
jne 0x10111930
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10111955
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 [0x10245130], eax
jmp 0x10111939
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x10111955
mov eax, dword [ebp - 0x18]
mov ecx, esi
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [0x101d4b00]
call esi
jmp 0x10111a97
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.10111d36
lea eax, [ebp - 0x14]
push eax
call fcn.101a4e8f
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.101a4d09
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.10111d36
lea eax, [ebp - 0x14]
push eax
call fcn.101a4e8f
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.101a4d09
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.10111d36
lea eax, [ebp - 0x14]
push eax
call fcn.101a4e8f
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.101a4d09
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.10111d36
lea eax, [ebp - 0x14]
push eax
call fcn.101a4e8f
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.101a4d09
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push 7
push eax
add edi, esi
inc dword [ebx]
push 0x800
call fcn.10111d36
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.101a4e8f
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.101a4d09
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.10194762
leave
ret
Function at 0x10113d9b
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 0x10113df1
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10113dca
call fcn.1003a40c
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x10113ddf
call fcn.1003a40c
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10113df1
call fcn.1003a40c
call fcn.1003f6c4
cmp dword [eax + 0x3c], 0
je 0x10113e06
push esi
mov ecx, ebx
call fcn.101134cd
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.10113ff0
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x10113e2f
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x10113e3b
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 0x101150c4
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1023c000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x101150f0
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1011511b
cmp dword [0x10243c74], 0
jne 0x1011511b
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x10115117
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x10115117
push edi
call fcn.101aade0
pop ecx
jmp 0x10115192
mov eax, edi
jmp 0x10115192
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.10197940
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x101151a1
push esi
call fcn.100622e2
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.10194762
leave
ret 4
call fcn.1003decd
int3

Function at 0x1011c327
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 0x1011c351
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1011c357
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.100036a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.10161d7e
int3
Function at 0x1011c405
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 0x1011c44c
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1011c45b
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1011c45b
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x101d4b00]
call edi
jmp 0x1011c45d
cmp dword [esi + 4], ebx
je 0x1011c45b
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 0x1011c6b5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x1011c6c6
xor eax, eax
jmp 0x1011c6e2
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 0x1011c6e7
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.100036a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.10161d7e
int3

Function at 0x1011c7c2
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 [0x101d4b00]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1011c7f5
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.100036a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.10161d7e
int3

Function at 0x1011c8ca
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 0x1011c8f5
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 0x1011c8fb
cmp dword [ebp - 4], esi
jne 0x1011c912
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.100036a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.10161d7e
lea ecx, [edi + 0xc]
call fcn.100036a0
push eax
push 0xffffffffffffffff
push 0xd
call fcn.101619d4
int3
Function at 0x101270cc
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x10127102
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.10004260
test eax, eax
je 0x101270ea
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 0x1012847a
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 0x101284a7
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x101284bc
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x101284bc
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.10033708
jmp 0x1012858d
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.10033708
cmp eax, edi
jne 0x10128597
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 0x10128529
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 0x1012856d
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x10128597
cmp eax, 0x205
je 0x10128597
cmp eax, 0x201
je 0x10128597
cmp eax, 0x204
je 0x10128597
cmp eax, 0x100
jne 0x10128555
cmp dword [ebp - 0x18], 0x1b
je 0x10128597
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 0x1012858d
ja 0x10128586
cmp eax, dword [0x10245404]
jbe 0x1012858d
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x101284de
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1012ace2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1023b5c0], 0
push esi
push edi
je 0x1012ad6a
cmp dword [0x1023b96c], 0xfffffffe
jne 0x1012ad56
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x1012ad6a
mov edi, 0x10245420
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10245438], 0
jne 0x1012ad6e
push 0
push 0
push 0x1012ad74
call fcn.101a6b44
add esp, 0xc
mov dword [0x10245438], eax
test eax, eax
je 0x1012ad46
cmp eax, 0xffffffff
je 0x1012ad46
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x1023b96c], esi
jmp 0x1012ad4d
and dword [0x10245438], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1012ad6a
mov eax, dword [ebp + 8]
mov dword [0x1023b96c], eax
cmp eax, 0xffffffff
jne 0x1012ad6a
and dword [0x10245438], 0
pop edi
pop esi
pop ebp
ret
call fcn.1003decd
int3

Function at 0x1012e179
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1023c000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.10038bae
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.100332f6
mov esi, eax
push 2
pop eax
test edi, 0x1000
je 0x1012e1ee
cmp esi, 3
push eax
cmove esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1012e1eb
xor eax, eax
jmp 0x1012e242
push 2
pop eax
push 0xa
pop edi
cmp esi, edi
jl 0x1012e1fa
cmp esi, 0x11
jle 0x1012e1ff
cmp esi, 4
jne 0x1012e240
test dword [ebp - 0x18], 0x800
jne 0x1012e242
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 0x1012e240
mov eax, esi
sub eax, 4
je 0x1012e281
sub eax, 9
je 0x1012e271
sub eax, 1
je 0x1012e261
dec eax
sub eax, 1
je 0x1012e253
sub eax, 1
je 0x1012e281
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10194762
leave
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
push 0xf
pop ecx
cmovg edi, ecx
jmp 0x1012e27d
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x1012e242
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x10]
push 0xc
pop eax
cmovl edi, eax
mov eax, edi
jmp 0x1012e242
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 8]
push 0xb
pop eax
push 0xf
pop edx
cmovg eax, edx
jmp 0x1012e242
Function at 0x10136571
Capabilities:
Get graphical window text

Disassembly:
push 0x264
mov eax, 0x101cdfce
call fcn.101947d5
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.10039a64
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100da1be
push eax
lea ecx, [ebp - 0x238]
call fcn.1003ac93
lea ecx, [edi + 0x134]
mov dword [ebp - 0x224], eax
mov dword [edi + 0x130], 1
call fcn.10030561
lea ecx, [edi + 0x150]
call fcn.10030561
mov eax, dword [edi + 0x128]
push 5
push dword [eax + 0x120]
jmp 0x10136796
push ebx
call fcn.10033708
push eax
push 0x101d77b8
call fcn.1003f243
mov dword [ebp - 0x214], eax
pop ecx
pop ecx
test eax, eax
je 0x10136793
mov eax, dword [eax]
mov esi, dword [eax + 0x1e8]
mov ecx, esi
call dword [0x101d4b00]
mov ecx, dword [ebp - 0x214]
call esi
test eax, eax
je 0x10136793
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.10027f20
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x238]
call fcn.10025540
mov ecx, dword [ebp - 0x21c]
mov esi, dword [eax]
lea ecx, [ecx - 0x10]
call fcn.100023f0
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 [0x101d4b00]
mov ecx, dword [ebp - 0x214]
call esi
test eax, eax
je 0x10136716
push ebx
lea ecx, [edi + 0x150]
call fcn.10040704
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x10136735
push 0
push ebx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
test esi, esi
jne 0x1013673e
and dword [edi + 0x130], 0
jmp 0x10136793
push 0x30
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.10197940
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 0x10136787
test byte [ebp - 0x264], 3
je 0x10136793
push ebx
lea ecx, [edi + 0x134]
call fcn.10040704
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test ebx, ebx
jne 0x10136611
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.1003ac93
push ebx
push 1
push 0xb
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x238]
call fcn.10039bc1
call fcn.10194784
ret
Function at 0x10136805
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
call fcn.1003f6c4
mov ecx, dword [eax + 4]
call fcn.1003f876
push 0
push 0
push 0x18b
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jle 0x101368b2
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 0x1013689a
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 0x10136855
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.1001eb30
pop edi
pop esi
leave
ret 8
Function at 0x10138514
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1023c000]
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 0x10138580
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.101393af
mov ecx, esi
call fcn.1013887e
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x101385cc
push ebx
xor ebx, ebx
cmp dword [esi + 0x318], ebx
jne 0x1013859c
cmp edi, 0x79
je 0x10138595
cmp edi, 0x12
jne 0x10138598
xor ebx, ebx
inc ebx
mov eax, ebx
jmp 0x101385cb
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 0x101385dc
cmp edi, 0x79
je 0x101385dc
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.10194762
leave
ret 0xc
cmp dword [0x1024466c], ebx
jne 0x101385c9
test byte [esi + 0x330], 2
jne 0x101385c9
cmp edi, 0x12
je 0x10138605
cmp edi, 0x79
jne 0x101385c9
mov ecx, 0x8000
test dword [ebp - 0x20], ecx
jne 0x101385c9
test ecx, eax
jne 0x101385c9
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.10033708
cmp eax, esi
jne 0x10138628
test dword [ebp + 0x10], 0x40000000
jne 0x10138628
cmp edi, 0x79
jne 0x10138636
mov ecx, dword [ebp - 0x18]
jmp 0x1013862f
cmp edi, 0x79
jne 0x10138636
mov ecx, esi
call fcn.100390f0
jmp 0x10138652
cmp dword [esi + 0x2d4], ebx
jge 0x10138652
push ebx
push 0xc8
push 0xec1a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x101385cb
Function at 0x1015b23e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xddc
mov eax, dword [0x1023c000]
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 0x1015b465
test ebx, ebx
je 0x1015b465
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 0x1015b42e
sub eax, 1
je 0x1015b2c1
sub eax, 1
je 0x1015b392
sub eax, 1
jne 0x1015b461
lea eax, [ebp - 0x20c]
push eax
push dword [edx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1015b429
push edi
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.101623d5
test eax, eax
je 0x1015b429
lea eax, [ebp - 0x414]
push eax
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1015b424
push edi
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.101623d5
test eax, eax
je 0x1015b424
xor edx, edx
inc edx
cmp dword [ebp + 0x10], edx
jne 0x1015b3ed
test byte [ebp - 0x624], 0x10
jne 0x1015b429
test byte [ebp - 0x854], 0x10
jne 0x1015b38b
mov ecx, dword [ebp - 0x858]
mov eax, dword [ebp - 0x85c]
cmp dword [ebp - 0x628], ecx
ja 0x1015b38b
jb 0x1015b429
cmp dword [ebp - 0x62c], eax
jb 0x1015b429
cmp dword [ebp - 0x628], ecx
jb 0x1015b461
ja 0x1015b38b
cmp dword [ebp - 0x62c], eax
jbe 0x1015b461
mov edi, edx
jmp 0x1015b461
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 0x1015b461
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 0x1015b461
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0xbc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
jmp 0x1015b461
mov ecx, dword [ebp - 0x868]
mov eax, dword [ebp - 0x86c]
cmp dword [ebp - 0x638], ecx
jg 0x1015b38b
jl 0x1015b429
cmp dword [ebp - 0x63c], eax
jb 0x1015b429
cmp dword [ebp - 0x638], ecx
jl 0x1015b461
jg 0x1015b38b
cmp dword [ebp - 0x63c], eax
jmp 0x1015b385
xor edi, edi
inc edi
jmp 0x1015b461
or edi, 0xffffffff
jmp 0x1015b461
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 [0x101d4b00]
call esi
test eax, eax
jns 0x1015b45e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10194762
leave
ret 0xc
movsx edi, ax
mov eax, edi
jmp 0x1015b44d
call fcn.1003decd
int3