joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ced90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x663d68
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ceee9
test al, 0x10
jne 0x4ceee9
mov ecx, esi
call fcn.004ce8f0
test eax, eax
je 0x4ceee9
xor ebx, ebx
push edi
lea ecx, [esp + 0x18]
mov word [esp + 0x18], bx
call fcn.005ed9de
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x4cee13
push 0x80004003
call fcn.0061285a
lea edx, [esp + 0x44]
mov eax, dword [esi + 0x40]
push edx
sub esp, 0x10
mov ecx, dword [eax]
mov edx, esp
push eax
mov dword [edx], edi
mov edi, dword [esp + 0x48]
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
mov dword [edx + 0xc], edi
call dword [ecx + 0xe8]
mov edi, eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor ebp, ebp
cmp edi, ebp
jl 0x4ceee2
cmp word [esp + 0x44], bp
je 0x4ceee2
mov eax, dword [esi + 0x40]
cmp eax, ebp
je 0x4ceed0
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x7652b8
push eax
call dword [ecx]
mov ebx, eax
cmp ebx, ebp
jge 0x4ceeba
mov eax, dword [esi + 0x44]
cmp eax, ebp
je 0x4cee8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x44], ebp
cmp ebx, ebp
jge 0x4ceea0
cmp ebx, 0x80004002
je 0x4ceea0
push ebx
call fcn.0061285a
mov eax, dword [esi + 0x48]
cmp eax, ebp
je 0x4ceeb0
mov dword [esi + 0x48], ebp
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x34], ebp
mov eax, 1
jmp 0x4ceeeb
mov eax, dword [esi + 0x44]
mov edi, dword [esp + 0x10]
cmp eax, ebp
je 0x4ceecb
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x44], edi
jmp 0x4cee8e
mov eax, dword [esi + 0x44]
cmp eax, ebp
je 0x4ceea0
mov dword [esi + 0x44], ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4ceea0
mov ecx, esi
call fcn.004ce980
xor eax, eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 4

Function at 0x4d1240
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x664203
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x6a0ea8
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], 1
test eax, eax
jne 0x4d128a
mov eax, dword [esi + 0x44]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4d128a
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4d128a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 0x44]
call fcn.00622566
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0
call fcn.00622566
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004cb820
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4d85c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66445e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00621d89
xor edi, edi
mov dword [esi + 0x1c], 0x6a1b30
mov dword [esp + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], 0x6a1b24
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 2
call fcn.004d8540
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x44], edi
mov dword [esi], method.COleDropTarget.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4db510
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x664714
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00621d89
mov eax, dword [0x77bb1c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x1c], eax
mov ecx, dword [0x77bb1c]
mov dword [esi + 0x20], ecx
lea edi, [esi + 0x50]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.006289dc
mov dword [edi], method.CDC.virtual_0
mov dword [edi + 0x10], ebx
lea ebp, [esi + 0x70]
push 0xa
mov ecx, ebp
mov byte [esp + 0x20], 3
call fcn.0061d08d
push ebx
push 0xc7
mov ecx, ebp
mov byte [esp + 0x24], 4
mov dword [esi], method.COleDropTarget.virtual_0
call fcn.0061d0d0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x4c], ebx
call fcn.0063f37c
mov eax, dword [eax + 8]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.004dbf30
lea eax, [esi + 0x68]
push eax
push 0x200
push 0x200
push ebx
mov dword [eax], ebx
call fcn.0048f320
add esp, 0x10
mov dword [esi + 0x64], eax
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.00628a93
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea edx, [esi + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4db8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6647cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x30]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x28], ebx
call fcn.006222db
push ecx
mov byte [esp + 0x28], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Images
call fcn.006225d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
push ecx
mov ecx, esi
call fcn.004dc4b0
mov edx, dword [esp + 8]
mov byte [esp + 0x20], 3
mov eax, dword [edx - 8]
test eax, eax
je 0x4db952
lea eax, [esp + 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.0062269f
push 0x5f
push 0x2e
lea ecx, [esp + 0x34]
call fcn.00616df7
push 0x5f
push 0x5c
lea ecx, [esp + 0x34]
call fcn.00616df7
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.006222db
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call fcn.00622566
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.00622566
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x4dbbf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x664838
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
call fcn.004db830
mov eax, dword [esi + 0x20]
lea ebx, [esi + 0x20]
push str.TEXTFILE
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4dbc33
push eax
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
jmp 0x4dbc54
mov ecx, dword [esi + 0x24]
push str.OFFICE2007BLUE_INI
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4dbc58
push str.OFFICE2007BLUE_INI
mov ecx, ebx
call fcn.006226ef
test edi, edi
jne 0x4dbc6e
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4dbc6e
mov eax, dword [esi + 0x24]
mov ecx, esi
push eax
call fcn.004dbe80
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4dbca5
mov ecx, dword [esi + 0x24]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4dbca5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x24]
push edi
push edx
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esi + 0x28]
mov ebx, 1
add eax, ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x4dbcbc
push 0
push 0
push 0
push 0x294f
call fcn.004d8970
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.PremultiplyImages
call fcn.006225d4
push ecx
mov dword [esp + 0x28], 0
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Global
call fcn.006225d4
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.004dc3b0
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x4c], eax
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x4dc120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x664900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x30], 1
call fcn.006222db
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x34], 2
call fcn.006222db
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x34], 1
call fcn.004dc550
mov eax, dword [esp + 8]
xor ebx, ebx
cmp dword [eax - 8], ebx
jne 0x4dc1ca
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.00622566
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.00622566
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.00622566
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x24
ret 0xc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push edx
push ecx
push str._i__i__i
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.005fd556
mov eax, dword [esp + 0x28]
xor edx, edx
mov dh, byte [esp + 0x20]
and eax, 0xff
mov dl, byte [esp + 0x24]
add esp, 0x14
shl edx, 8
or edx, eax
lea ecx, [esp + 8]
mov esi, edx
mov byte [esp + 0x28], 1
call fcn.00622566
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.00622566
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.00622566
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0xc

Function at 0x4de0f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0x60]
test esi, esi
push edi
mov dword [esp + 8], ecx
je 0x4de19f
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x34]
shr eax, 8
cmp al, 2
jne 0x4de19f
test edi, edi
je 0x4de19f
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebx
lea ecx, [esi + 4]
push ebp
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4de14b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4de14b
mov eax, dword [edi + 0x2c]
jmp 0x4de170
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x58]
test ecx, ecx
mov ecx, ebx
jne 0x4de159
mov ecx, ebp
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x4de16e
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x4de170
mov eax, ecx
mov esi, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004de020
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, 0x202
pop ebx
je 0x4de196
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4de19f
push 0
mov ecx, esi
call fcn.004ddfa0
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x4e21b0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00487100
lea eax, [esp + 0xc]
push eax
push esi
call fcn.004886c0
mov eax, dword [esp + 0x14]
add esp, 8
cmp eax, 9
jne 0x4e2278
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, dword [esi + 0xf8]
jl 0x4e222d
test eax, eax
je 0x4e21f1
mov eax, dword [eax + 0x14]
inc eax
jmp 0x4e21f3
xor eax, eax
mov edx, dword [esi + 0xd8]
mov ecx, dword [esi + 0x104]
cmp eax, edx
jl 0x4e221a
mov eax, ecx
sub eax, edx
neg eax
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.004e2120
pop edi
pop esi
ret 0xc
cmp eax, ecx
jne 0x4e2220
xor eax, eax
push eax
mov ecx, esi
call fcn.004e2120
pop edi
pop esi
ret 0xc
test eax, eax
je 0x4e2236
mov eax, dword [eax + 0x14]
jmp 0x4e223c
mov eax, dword [esi + 0xd8]
dec eax
test eax, eax
jge 0x4e2259
mov eax, dword [esi + 0x104]
test eax, eax
je 0x4e2264
dec eax
mov ecx, esi
push eax
call fcn.004e2120
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x104]
dec ecx
cmp eax, ecx
jne 0x4e226b
mov eax, dword [esi + 0xd8]
dec eax
push eax
mov ecx, esi
call fcn.004e2120
pop edi
pop esi
ret 0xc
cmp eax, 0x25
jne 0x4e22cd
mov edi, dword [esi + 0xec]
cmp edi, 1
jle 0x4e2391
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4e2391
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
test ecx, ecx
lea eax, [ecx - 1]
jg 0x4e22aa
lea eax, [edi - 1]
mov ecx, dword [esi + 0xe8]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, edx
cmp ecx, eax
jg 0x4e22c0
mov eax, ecx
push eax
mov ecx, esi
call fcn.004e2120
pop edi
pop esi
ret 0xc
cmp eax, 0x27
jne 0x4e2324
mov edi, dword [esi + 0xec]
cmp edi, 1
jle 0x4e2391
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4e2391
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
dec edi
cmp ecx, edi
jge 0x4e22ff
lea eax, [ecx + 1]
jmp 0x4e2301
xor eax, eax
mov ecx, dword [esi + 0xe8]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, edx
cmp ecx, eax
jg 0x4e2317
mov eax, ecx
push eax
mov ecx, esi
call fcn.004e2120
pop edi
pop esi
ret 0xc
cmp eax, 0x28
jne 0x4e2358
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4e2339
mov eax, dword [eax + 0x14]
inc eax
jmp 0x4e233b
xor eax, eax
mov ecx, dword [esi + 0xd8]
xor edx, edx
cmp eax, ecx
mov ecx, esi
setge dl
dec edx
and edx, eax
push edx
call fcn.004e2120
pop edi
pop esi
ret 0xc
cmp eax, 0x26
jne 0x4e2383
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4e236f
mov eax, dword [eax + 0x14]
dec eax
test eax, eax
jge 0x4e2376
mov eax, dword [esi + 0xd8]
dec eax
push eax
mov ecx, esi
call fcn.004e2120
pop edi
pop esi
ret 0xc
cmp eax, 0x10
je 0x4e2391
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x74]
pop edi
pop esi
ret 0xc
Function at 0x4e2980
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x80]
push esi
cmp eax, ebp
push edi
mov esi, ecx
je 0x4e2b0e
cmp dword [esp + 0x18], ebp
je 0x4e2a4c
cmp eax, ebp
jne 0x4e29ac
xor eax, eax
jmp 0x4e29af
mov eax, dword [eax + 0x1c]
push eax
mov ecx, esi
call fcn.004e2940
test eax, eax
jne 0x4e2b0e
cmp dword [esi + 4], ebp
jne 0x4e29e4
call fcn.0063f37c
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x4e26a0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x80]
cmp eax, ebp
jne 0x4e29f2
xor edi, edi
jmp 0x4e29f5
mov edi, dword [eax + 0x1c]
lea eax, [esp + 0x14]
add esi, 8
push eax
push edi
mov ecx, esi
call fcn.004e3490
cmp eax, ebp
jne 0x4e2a42
cmp dword [esi + 4], ebp
jne 0x4e2a1b
mov ecx, dword [esi + 8]
push 1
push ecx
mov ecx, esi
call fcn.004e34d0
mov ecx, esi
call fcn.004e3540
mov edx, dword [esp + 0x14]
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x14]
mov dword [edx + ecx*4], eax
pop edi
pop esi
mov dword [eax + 0xc], ebx
pop ebp
pop ebx
ret 8
cmp eax, ebp
jne 0x4e2a54
xor eax, eax
jmp 0x4e2a57
mov eax, dword [eax + 0x1c]
push eax
mov ecx, esi
call fcn.004e2940
test eax, eax
je 0x4e2af8
mov eax, dword [ebx + 0x80]
cmp eax, ebp
jne 0x4e2a75
xor edi, edi
jmp 0x4e2a78
mov edi, dword [eax + 0x1c]
mov ecx, dword [esi + 0xc]
cmp ecx, ebp
je 0x4e2af8
mov eax, edi
xor edx, edx
shr eax, 4
div dword [esi + 0x10]
mov eax, dword [ecx + edx*4]
cmp eax, ebp
lea ecx, [ecx + edx*4]
je 0x4e2af8
cmp dword [eax + 8], edi
je 0x4e2aa2
mov ecx, eax
mov eax, dword [eax]
cmp eax, ebp
jne 0x4e2a93
jmp 0x4e2af8
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [esi + 0x18]
mov dword [eax], ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
dec eax
mov dword [esi + 0x14], eax
jne 0x4e2af8
mov edi, dword [esi + 0xc]
cmp edi, ebp
je 0x4e2adb
mov eax, dword [esi + 0x10]
cmp eax, ebp
jbe 0x4e2adb
mov ecx, edi
mov edx, eax
mov eax, dword [ecx]
cmp eax, ebp
je 0x4e2ad5
mov eax, dword [eax]
cmp eax, ebp
jne 0x4e2acf
add ecx, 4
dec edx
jne 0x4e2ac9
push edi
call fcn.0061d6ce
mov ecx, dword [esi + 0x1c]
add esp, 4
mov dword [esi + 0xc], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
call fcn.0061bb71
mov dword [esi + 0x1c], ebp
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4e2b0e
cmp dword [esi + 0x14], ebp
jne 0x4e2b0e
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi + 4], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4e4ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x665060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, vtable.CRgn.0
push esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov esi, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x30], 1
call esi
push eax
lea ecx, [esp + 0x10]
call fcn.00629d7a
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
push 0xfffffffffffffffc
lea edx, [esp + 0x18]
push 0xfffffffffffffffc
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [esp + 0x14]
push eax
call esi
push eax
lea ecx, [esp + 8]
call fcn.00629d7a
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.00629d7a
mov ecx, dword [esp + 8]
lea eax, [esp + 4]
neg eax
mov edx, dword [esp + 0x10]
push 3
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x10]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
mov esi, vtable.CGdiObject.0
mov dword [esp + 4], esi
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 2
call fcn.00629dd1
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 3
call fcn.00629dd1
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x14
Function at 0x4eb050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66545e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00621d89
xor edi, edi
mov eax, 0xa
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], 0x6a2c24
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 0x697018
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x1c]
lea edx, [esi + 0x5c]
xor ecx, ecx
mov dword [esi + 0x80], eax
mov dword [esi], method.COleDropTarget.virtual_0
mov dword [esi + 0x7c], 1
mov dword [edx], ecx
xor eax, eax
push esi
push 4
mov dword [edx + 4], ecx
mov byte [esp + 0x1c], 2
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea ecx, [esi + 0x6c]
mov dword [esi + 0x6c], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x80]
mov edx, dword [ecx]
call dword [edx + 0xc4]
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x20], eax
push esi
push 2
mov eax, dword [ecx]
call dword [eax + 0xc4]
cmp eax, edi
je 0x4eb11b
lea ecx, [eax - 0x1c]
jmp 0x4eb11d
xor ecx, ecx
mov edx, dword [esi + 0x80]
mov dword [esi + 0x1c], ecx
mov eax, dword [edx + 0x80]
mov edx, dword [esi + 0x20]
push eax
push 1
push edx
call fcn.004f98e0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4edb20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x665838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov ebx, 0x697018
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0xa
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
push edi
mov eax, dword [ecx]
mov dword [esp + 0x3c], edi
call dword [eax + 0xc]
cmp dword [esp + 0x1c], edi
jne 0x4edba1
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 1
cmp eax, edi
je 0x4edca4
mov eax, dword [eax]
cmp eax, edi
jne 0x4edb96
jmp 0x4edca4
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
cmp eax, edi
je 0x4edbb1
add eax, 0xffffffe4
jmp 0x4edbb3
xor eax, eax
push eax
mov ecx, ebp
call fcn.004ed9a0
cmp eax, edi
mov dword [esp + 0x40], eax
je 0x4edc8a
cmp dword [eax + 8], edi
je 0x4edc8a
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx + 0x78]
cmp esi, edi
je 0x4edc21
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
cmp eax, edi
je 0x4edbeb
lea ebx, [eax - 0x3c]
jmp 0x4edbed
xor ebx, ebx
lea ecx, [ebx + 0x3c]
call fcn.0055efc0
cmp eax, edi
je 0x4edc18
add eax, 0xffffffe4
cmp eax, edi
je 0x4edc18
push eax
mov ecx, ebp
call fcn.004ed9a0
cmp eax, edi
je 0x4edc18
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x40]
cmp edx, dword [eax + 8]
je 0x4edc3d
cmp esi, edi
jne 0x4edbdb
mov ebx, 0x697018
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 4
cmp eax, edi
je 0x4edca4
mov eax, dword [eax]
cmp eax, edi
jne 0x4edc35
jmp 0x4edca4
lea ecx, [esp + 0x10]
push 2
push ecx
push ebx
mov ecx, ebp
call fcn.004edab0
mov dword [esp + 0x10], 0x697018
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
cmp eax, edi
je 0x4edc6a
mov eax, dword [eax]
cmp eax, edi
jne 0x4edc64
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
call fcn.0061bb71
mov eax, 1
jmp 0x4edcbf
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 2
cmp eax, edi
je 0x4edca4
mov eax, dword [eax]
cmp eax, edi
jne 0x4edc9e
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
call fcn.0061bb71
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4f0500
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4f0587
lea edi, [esi + 0xcc]
push 0x11
mov ecx, edi
call fcn.0055f000
test eax, eax
jne 0x4f0587
mov ecx, edi
call fcn.004f5270
mov edi, dword [eax + 0xec]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, esi
call fcn.004ef700
test eax, eax
je 0x4f0553
add eax, 0x3c
jmp 0x4f0555
xor eax, eax
mov ecx, dword [esp + 8]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
push ecx
push eax
mov ecx, edi
call fcn.004e4a40
pop edi
pop esi
add esp, 0x10
ret 8