joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478390
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x130
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [edi + 0x94]
push ebp
mov ebp, dword [sym.imp.user32.dll_SendMessageA]
push esi
push 0
push 0
push 0xb
push eax
call ebp
mov ecx, dword [edi + 0x94]
push 0
push 0
push 0x184
push ecx
call ebp
lea ecx, [edi + 0xd4]
mov dword [edi + 0xd0], 1
call fcn.00454f60
mov edx, dword [edi + 0xc8]
mov eax, dword [edx + 0xd4]
push 5
push eax
call dword [sym.imp.user32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x4784d9
push ebx
push esi
call dword [sym.imp.user32.dll_IsWindowVisible]
test eax, eax
je 0x4784c5
push 0x100
lea ecx, [esp + 0x3c]
push ecx
push esi
call dword [sym.imp.user32.dll_GetWindowTextA]
mov eax, dword [edi + 0x94]
lea edx, [esp + 0x38]
push edx
push 0
push 0x180
push eax
call ebp
mov ecx, dword [edi + 0x94]
push esi
push eax
push 0x19a
push ecx
call ebp
push 0xfffffffffffffff0
push esi
call dword [sym.imp.user32.dll_GetWindowLongA]
test eax, 0x80000
jne 0x478463
mov dword [edi + 0xd0], 0
jmp 0x4784c5
push 0
push esi
call dword [sym.imp.user32.dll_GetSystemMenu]
mov ebx, eax
test ebx, ebx
jne 0x47847a
mov dword [edi + 0xd0], eax
jmp 0x4784c5
push 0x2c
lea edx, [esp + 0x10]
push 0
push edx
call fcn.005a3bb0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
push 0xf060
push ebx
mov dword [esp + 0x1c], 0x2c
mov dword [esp + 0x20], 1
call dword [sym.imp.user32.dll_GetMenuItemInfoA]
test eax, eax
je 0x4784b9
test byte [esp + 0x18], 3
je 0x4784c5
push esi
lea ecx, [edi + 0xd4]
call fcn.00454f30
push 2
push esi
call dword [sym.imp.user32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x478402
pop ebx
mov ecx, dword [edi + 0x94]
push 0
push 1
push 0xb
push ecx
call ebp
mov ecx, dword [esp + 0x134]
pop esi
pop ebp
xor ecx, esp
call fcn.0059e0c2
add esp, 0x130
ret
Function at 0x47dd80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x60baa3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x20]
mov eax, esi
call fcn.00466e60
mov dword [esp + 0x18], 0
push 0xa
lea ecx, [esi + 0x64]
mov dword [esi], vtable.CBCGToolbarMenuButton.0
call fcn.00586471
mov eax, esi
mov byte [esp + 0x18], 1
call fcn.0047de40
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov dword [esi + 4], ecx
push edx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004683a0
test edi, edi
jne 0x47ddf7
mov edi, 0x639ce8
test edi, edi
lea ecx, [esi + 0x10]
jne 0x47de02
xor eax, eax
jmp 0x47de12
mov eax, edi
lea ebx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x47de07
sub eax, ebx
push eax
push edi
call fcn.00401480
mov eax, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.0047ec90
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x14
Function at 0x4818b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
test eax, eax
push ebp
mov ebp, dword [esp + 0x10]
je 0x4818c4
mov dword [eax], 1
mov eax, dword [0x6b41c0]
test eax, eax
je 0x4818fd
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x4818fd
mov ecx, dword [0x6b41c0]
mov edx, dword [ecx + 0x20]
push 0
push ebp
push 0x100
push edx
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, 1
pop ebp
pop ecx
ret 0xc
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x50]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.user32.dll_IsIconic]
test eax, eax
jne 0x4818f3
cmp dword [0x6b4174], eax
je 0x48191f
pop ebp
pop ecx
ret 0xc
push ebx
mov ebx, dword [0x6b4ba4]
push esi
mov dword [esp + 0xc], 0
push edi
test ebx, ebx
je 0x481986
mov eax, ebx
mov edi, dword [eax + 8]
mov edx, dword [edi + 0x20]
mov ebx, dword [ebx]
push edx
call fcn.0056070b
test eax, eax
je 0x481930
mov eax, edi
xor esi, esi
call fcn.00462d50
test eax, eax
jle 0x481930
mov eax, esi
mov ecx, edi
call fcn.0045f850
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x98]
call eax
test eax, eax
jne 0x48197e
mov eax, edi
add esi, 1
call fcn.00462d50
cmp esi, eax
jl 0x481955
jmp 0x481930
mov dword [esp + 0x10], 1
mov esi, dword [sym.imp.user32.dll_GetAsyncKeyState]
push 0x11
mov byte [esp + 0x20], 0
call esi
test ax, ax
jns 0x48199f
mov byte [esp + 0x1c], 8
push 0x12
call esi
test ax, ax
jns 0x4819ad
or byte [esp + 0x1c], 0x10
push 0x10
call esi
test ax, ax
jns 0x4819bb
or byte [esp + 0x1c], 4
mov edi, dword [esp + 0x10]
test edi, edi
mov esi, dword [esp + 0x18]
jne 0x481a00
movzx ebx, byte [esp + 0x1c]
mov ecx, dword [esi + 0x50]
push 1
or ebx, 1
push ebx
push ebp
call fcn.00455a10
add esp, 0xc
test eax, eax
jne 0x481a32
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x140]
call eax
push ebx
push ebp
mov ecx, eax
call fcn.00455a10
add esp, 0xc
test eax, eax
jne 0x481a32
cmp byte [esp + 0x1c], 0x10
jne 0x481a20
push ebp
mov ebx, esi
call fcn.00482720
test eax, eax
je 0x481a20
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
pop ecx
ret 0xc
test edi, edi
je 0x481a32
mov eax, dword [esp + 0x20]
test eax, eax
je 0x481a32
mov dword [eax], 0
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret 0xc
Function at 0x48dab0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x607abe
mov eax, dword fs:[0]
push eax
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
cmp dword [0x69ee7c], 0xfffffffe
jne 0x48db93
cmp esi, 0xffffffff
je 0x48dba8
mov eax, 1
test byte [0x6b59cc], al
jne 0x48db1b
or dword [0x6b59cc], eax
mov dword [esp + 0xc], 0
call fcn.0048d8f0
push 0x619320
call fcn.0059e40a
add esp, 4
mov dword [esp + 0xc], 0xffffffff
push 0x6b5598
call fcn.0048d990
push 0
push 0
push 0x48da40
call fcn.005a7bdd
add esp, 0xc
test eax, eax
mov dword [0x6b41fc], eax
jbe 0x48db6e
cmp eax, 0xffffffff
je 0x48db6e
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push 0x6b55a0
mov dword [0x69ee7c], esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
push 0x6b55a0
mov dword [0x6b41fc], 0
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
cmp esi, 0xffffffff
mov dword [0x69ee7c], esi
jne 0x48dba8
mov dword [0x6b41fc], 0
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
Function at 0x49b4b0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x609036
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CBCGOutlookBarPage.0
mov dword [esp + 0x18], 1
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x60]
lea edi, [esi + 0x10]
mov ecx, edi
call edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49b504
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.0046df20
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esi + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49b537
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4a2d51
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x148]
push edi
call edx
mov bx, word [esp + 0x10]
mov edi, eax
movzx eax, bx
push 2
push eax
call dword [sym.imp.user32.dll_MapVirtualKeyA]
cmp byte [esp + 0x14], 0
jne 0x4a2da4
test edi, edi
jl 0x4a2da4
cmp al, 0x20
je 0x4a2d87
cmp bx, 0x71
jne 0x4a2da4
mov edx, dword [esi]
mov eax, dword [edx + 0x148]
mov ecx, esi
call eax
test eax, eax
jl 0x4a2da4
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x160]
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x4a9bb0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push GetKeyNameTextA
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[DefFrameProcA], eax
mov esi, dword [sym.imp.gdi32.dll_GetStockObject]
xor ebx, ebx
push ebx
call esi
push eax
call fcn.0056fcdc
push 4
mov dword [esp + 0x30], eax
call esi
push eax
call fcn.0056fcdc
mov ebp, eax
mov eax, vtable.CRgn.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xcc], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov byte [esp + 0xcc], 2
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
add eax, 2
push eax
sub ebx, 1
push ecx
lea esi, [esp + 0x68]
call fcn.004a9a60
push 1
push 6
mov edx, esi
push edx
call dword [sym.imp.gdi32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x28]
call fcn.0056fcea
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a9c65
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx + 4]
push 2
push 2
push eax
mov eax, dword [esp + 0x34]
push eax
push edx
call dword [sym.imp.gdi32.dll_FrameRgn]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
add eax, 2
push eax
push ecx
lea esi, [esp + 0x38]
call fcn.004a9a60
push 1
push 6
mov edx, esi
push edx
call dword [sym.imp.gdi32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x20]
call fcn.0056fcea
test ebp, ebp
jne 0x4a9cb6
xor eax, eax
jmp SwapMouseButton
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx + 4]
push 1
push 1
push eax
mov eax, dword [esp + 0x2c]
push eax
push edx
call dword [sym.imp.gdi32.dll_FrameRgn]
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x3c]
mov ebx, dword [edi + 0x40]
sub eax, 1
push eax
push ecx
lea esi, [esp + 0x98]
call fcn.004a9a60
push 1
push 6
mov edx, esi
push edx
call dword [sym.imp.gdi32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x18]
call fcn.0056fcea
test ebp, ebp
je 0x4a9d0c
mov ebp, dword [ebp + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx + 4]
push 1
push 1
push ebp
push eax
push edx
call dword [sym.imp.gdi32.dll_FrameRgn]
mov byte [esp + 0xcc], 1
mov esi, vtable.CRgn.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.00423d70
mov byte [esp + SetDlgItemIntxcc], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.00423d70
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00423d70
mov ecx, dword [esp + 0xc4]
mov dword fs:[GetNextDlgGroupItem], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 4
Function at 0x4ad220
Capabilities:
Create thread
Link many functions at runtime

Disassembly:
cmp dword [0x6b420c], 0
je 0x4ad22f
mov eax, 1
ret
call fcn.004aca00
test eax, 0x4003
jne 0x4ad23e
xor eax, eax
ret
push ebx
push str.HSTxtCap.dll
xor ebx, ebx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [0x6b420c], eax
je 0x4ad343
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.GetSharedData
push eax
call esi
mov dword [0x6b4210], eax
mov eax, dword [0x6b420c]
push str.CaptureConsoleText
push eax
call esi
mov ecx, dword [0x6b4210]
test ecx, ecx
mov dword [0x6b4234], eax
je 0x4ad329
test eax, eax
je 0x4ad329
call ecx
test eax, eax
mov dword [0x6b4220], eax
je 0x4ad329
mov ecx, dword [0x6b4238]
test ecx, ecx
je 0x4ad2bd
cmp dword [eax + 8], ecx
jne 0x4ad2bd
mov ebx, 1
pop esi
mov eax, ebx
pop ebx
ret
cmp dword [eax + 8], ebx
jne 0x4ad329
mov ecx, dword [0x6b420c]
push str.InstallTxMsgHook
push ecx
call esi
mov edx, dword [0x6b420c]
push str.ReleaseTxMsgHook
push edx
mov dword [0x6b4214], eax
call esi
mov dword [0x6b4218], eax
mov eax, dword [0x6b420c]
push str.TxSnap_SetSnapMoreMode
push eax
call esi
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0x4ace70
mov dword [0x6b421c], eax
mov dword [0x6b4230], ecx
mov ebx, 1
mov dword [0x6b4228], 0
call fcn.005a7bdd
add esp, 0xc
pop esi
mov eax, ebx
pop ebx
ret
mov edx, dword [0x6b420c]
push edx
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [0x6b420c], ebx
mov dword [0x6b4220], ebx
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4ad550
Capabilities:
Delete file
Open clipboard
Write clipboard data

Disassembly:
push ecx
mov eax, dword [0x69ee74]
push ebx
mov ebx, dword [sym.imp.user32.dll_SetClipboardData]
push ebp
push esi
push edi
xor ebp, ebp
xor edi, edi
test al, 1
je 0x4ad5a4
test eax, 0x4000
jne 0x4ad5a4
call fcn.004af470
mov esi, eax
test esi, esi
je 0x4ad5a4
push edi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x4ad59d
call dword [sym.imp.user32.dll_EmptyClipboard]
push esi
push 0xd
lea ebp, [edi + 1]
call ebx
call dword [sym.imp.user32.dll_CloseClipboard]
mov edi, ebp
jmp 0x4ad5a4
push esi
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [0x69ee74]
test eax, 0x4002
je 0x4ad602
test eax, 0x4000
je 0x4ad5be
call fcn.004b0b40
jmp 0x4ad5c3
call fcn.004afae0
mov esi, eax
test esi, esi
je 0x4ad602
push 0
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x4ad5fb
test ebp, ebp
jne 0x4ad5df
call dword [sym.imp.user32.dll_EmptyClipboard]
push esi
push str.Rich_Text_Format
call dword [sym.imp.user32.dll_RegisterClipboardFormatA]
push eax
call ebx
call dword [sym.imp.user32.dll_CloseClipboard]
mov edi, 1
jmp 0x4ad602
push esi
call dword [sym.imp.kernel32.dll_GlobalFree]
mov esi, dword [0x6b4220]
cmp byte [esi + 0x50], 0
lea eax, [esi + 0x50]
je 0x4ad631
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov esi, dword [0x6b4220]
push 0x106
lea eax, [esi + 0x50]
push 0
push eax
call fcn.005a3bb0
add esp, 0xc
mov eax, dword [0x6b4230]
xor ecx, ecx
cmp eax, ecx
je 0x4ad66a
cmp edi, ecx
je 0x4ad66a
push ecx
mov ecx, dword [0x6b53a4]
push 4
push ecx
push eax
call dword [sym.imp.user32.dll_PostMessageA]
mov eax, dword [0x6b4220]
mov dword [eax + 0x3c], 0
mov dword [eax + 0x4c], 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
mov dword [esi + 0x4c], 1
mov dword [esi + 0x3c], ecx
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4ada80
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x605d58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.0055f1a4
mov dword [esp + 0x38], 0
push 0x4c
mov dword [esi], vtable.CTxCoverWin.0
call fcn.0055dd4d
push 0x4d
mov ebp, eax
call fcn.0055dd4d
mov edi, eax
push 0x4e
mov dword [esp + 0x28], edi
call fcn.0055dd4d
add eax, ebp
push 0x4f
mov dword [esp + 0x2c], eax
call fcn.0055dd4d
push 0
push 0
push 0
add eax, edi
push str.DISPLAY
mov dword [esp + 0x3c], eax
call dword [sym.imp.gdi32.dll_CreateDCA]
mov edi, eax
push edi
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub ecx, ebp
push eax
push ecx
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esi + 0x54], eax
call dword [sym.imp.gdi32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0x40cc0020
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push eax
push ebp
push edi
push ecx
push edx
push 0
push 0
push ebx
call dword [sym.imp.gdi32.dll_BitBlt]
mov eax, dword [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.gdi32.dll_SelectObject]
push ebx
mov ebx, dword [sym.imp.gdi32.dll_DeleteDC]
call ebx
push edi
call ebx
xor edi, edi
cmp dword [0x6b4240], edi
mov ebx, 1
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0x8c], 0xffffffff
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
jne 0x4adbb9
push edi
push edi
push edi
push 8
call fcn.005631ce
mov dword [0x6b4240], eax
mov dword [esi + 0x58], 2
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call dword [sym.imp.user32.dll_GetDesktopWindow]
push eax
call fcn.005606e4
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edi
push edi
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [0x6b4240]
push eax
push ecx
push ebp
push SysReAllocStringLen
push 0x639ce8
push edx
push 0x80
mov ecx, esi
call fcn.00562550
mov eax, dword [esi + 0x20]
mov dword [0x6b4110], eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x4af070
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [0x6b4254]
test ecx, ecx
jne 0x4af093
mov ecx, dword [0x6b4258]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x6b4220]
lea eax, [edx + eax + 0x158]
ret
lea edx, [eax + eax*4]
mov eax, dword [0x6b4258]
mov edx, dword [eax + edx*4]
push 0
push edx
push ecx
call fcn.005a1be7
add esp, 0xc
test eax, eax
je 0x4af0b1
xor eax, eax
ret
mov eax, dword [0x6b4254]
push esi
mov esi, dword [0x6b4220]
push eax
push 1
add esi, 0x158
push 0x70
push esi
call fcn.005a210e
add esp, 0x10
cmp eax, 1
jne 0x4af100
movzx ecx, word [esi]
mov edx, dword [0x6b4254]
lea eax, [ecx + ecx + 3]
shr eax, 2
push edx
lea eax, [eax*4 + 0x70]
add eax, 0xffffff90
push 1
push eax
lea eax, [esi + 0x70]
push eax
call fcn.005a210e
add esp, 0x10
xor ecx, ecx
cmp eax, 1
setl cl
sub ecx, 1
and ecx, esi
mov eax, ecx
pop esi
ret
Function at 0x4b4090
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0x10
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4b4169
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0xa00]
push ebx
mov ebx, dword [ecx + 4]
sub ebx, dword [ebp + 0xa04]
push esi
push edi
mov edi, dword [ecx]
sub edi, eax
mov eax, edi
cdq
mov esi, eax
xor esi, edx
sub esi, edx
mov eax, ebx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
xor edx, edx
test edi, edi
setge dl
xor eax, eax
test ebx, ebx
setge al
lea edx, [edx + edx - 1]
mov dword [esp + 0x14], edx
lea eax, [eax + eax - 1]
mov edi, eax
mov eax, dword [ebp + 0x9b0]
cmp eax, 0xc
je 0x4b4141
cmp eax, 0xd
je 0x4b4141
cmp eax, 0xe
je 0x4b4141
cmp eax, 0xf
je 0x4b4141
cmp eax, 0x10
je 0x4b4141
cmp eax, 0x11
je 0x4b4141
cmp eax, 0x12
je 0x4b4141
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jle 0x4b412d
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jg 0x4b413d
cmp esi, ecx
mov edx, dword [esp + 0x14]
jle 0x4b4139
xor ecx, ecx
jmp 0x4b414b
xor esi, esi
jmp 0x4b414b
mov edx, dword [esp + 0x14]
cmp esi, ecx
jle 0x4b4149
mov esi, ecx
jmp 0x4b414b
mov ecx, esi
mov eax, dword [esp + 0x18]
imul edx, esi
imul edi, ecx
add edx, dword [ebp + 0xa00]
mov dword [eax], edx
add edi, dword [ebp + 0xa04]
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4b77e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov ebx, eax
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x90], eax
push edi
jne 0x4b7803
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
cmp dword [esi + 0xa8c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], eax
jbe 0x4b78e9
call fcn.005a0cad
cdq
mov ecx, 0x168
idiv ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul qword [0x655aa8]
fstp qword [esp + 0x20]
call fcn.005a0cad
xor edx, edx
div ebp
test edx, edx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
jge 0x4b7851
fadd qword [0x655778]
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
call fcn.005a3d20
fmul qword [esp + 0x18]
call fcn.005a3c30
fld qword [esp + 0x20]
mov edi, eax
add edi, dword [ebx]
call fcn.005a3e50
fmul qword [esp + 0x18]
call fcn.005a3c30
add eax, dword [ebx + 4]
cmp dword [esi + 0x9e0], 0
mov dword [esp + 0x2c], eax
jne 0x4b789e
push 2
call dword [sym.imp.user32.dll_GetKeyState]
test ax, ax
mov eax, dword [esp + 0x2c]
jns 0x4b78a6
mov ecx, dword [esi + 0x9c0]
jmp 0x4b78ac
mov ecx, dword [esi + 0x9b8]
push eax
push edi
push ecx
lea ecx, [esi + 0x74]
call fcn.004e6300
test eax, eax
je 0x4b78ca
cmp dword [esp + 0x44], 0
mov dword [esp + 0x44], 1
jne 0x4b78d2
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esi + 0xa8c]
mov dword [esp + 0x14], eax
jb 0x4b7817
mov eax, dword [ebx]
mov dword [0x6b53b0], eax
mov ecx, dword [ebx + 4]
sub eax, ebp
sub ecx, ebp
mov edi, 0x6b53b0
mov dword [0x6b53b0], eax
mov dword [0x6b53b4], ecx
call fcn.004b2280
call fcn.004b2420
mov eax, dword [ebx]
mov dword [0x6b53b8], eax
mov ebx, dword [ebx + 4]
add eax, ebp
add ebx, ebp
mov edi, 0x6b53b8
mov dword [0x6b53b8], eax
mov dword [0x6b53bc], ebx
call fcn.004b2280
call fcn.004b2420
mov eax, dword [0x6b53b0]
mov ecx, dword [0x6b53b8]
cmp eax, ecx
mov edi, dword [0x6b53b4]
mov ebx, dword [0x6b53bc]
mov edx, eax
jle 0x4b795a
mov edx, ecx
mov ecx, eax
mov eax, dword [0x6b53b4]
mov ebp, dword [0x6b53bc]
cmp eax, ebp
jle 0x4b796d
mov edi, ebp
mov ebx, eax
mov eax, dword [esi + 0x20]
sub edx, 1
mov dword [esp + 0x30], edx
push 0
lea edx, [esp + 0x34]
push edx
sub edi, 1
add ecx, 1
add ebx, 1
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x4bbbd0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esi + 0x20]
push edi
mov edi, dword [sym.imp.user32.dll_SendMessageA]
push 0
push 0xce26
push 0x419
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push eax
push 0x416
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0xce28
push 0x419
push edx
call edi
push 0
push eax
mov eax, dword [esi + 0x20]
push 0x416
push eax
call edi
mov cx, word [esi + 0x86c]
mov eax, dword [esi + 0x20]
sub cx, 1
movzx edx, cx
push 0
or edx, 0x10000
push edx
push 0x427
push eax
call edi
pop edi
ret