joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e9ac5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e9add
mov edi, dword [esi + 0xc]
jmp 0x4e9b1d
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e9af6
call fcn.00416aaa
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e9b0b
call fcn.00416aaa
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e9b1d
call fcn.00416aaa
call fcn.0041a5ff
cmp dword [eax + 0x3c], 0
je 0x4e9b32
push edi
mov ecx, ebx
call fcn.004e89a8
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e99eb
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4e9b50
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e9b5c
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4f1144
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4f118e
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f118e
call fcn.004f09ff
test eax, eax
je 0x4f118e
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.00407df0
xor eax, eax
inc eax
jmp 0x4f13a6
cmp dword [ebx + 4], 0x100
push edi
jne 0x4f139d
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4f128b
push 0x11
call edi
test ax, ax
jl 0x4f128b
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f128b
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4f11fe
cmp eax, 0x20
jbe 0x4f128b
cmp eax, 0x24
jbe 0x4f11f1
cmp eax, 0x26
je 0x4f11f1
cmp eax, 0x28
jne 0x4f128b
call fcn.004f09ff
test eax, eax
je 0x4f128b
mov ecx, esi
call fcn.00415186
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004f09ff
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4f1233
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00407df0
jmp 0x4f1398
call fcn.004130bf
test eax, eax
je 0x4f1398
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.00413126
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4f1261
xor edi, edi
jmp 0x4f1264
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.004130bf
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4f1398
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4f1367
sub eax, 0x12
je 0x4f133f
sub eax, 0xb
je 0x4f12ad
dec eax
dec eax
jne 0x4f139d
push 0x12
call edi
test ax, ax
jl 0x4f139d
push 0x11
call edi
test ax, ax
jl 0x4f139d
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f139d
call fcn.004f09ff
test eax, eax
jne 0x4f1398
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004f0979
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00411a24
test eax, eax
je 0x4f1398
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.00411a24
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4f1398
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4f1353
push 0
call fcn.004f0979
mov ecx, esi
call fcn.00412b85
test eax, eax
je 0x4f139d
mov ecx, esi
call fcn.00412b85
jmp 0x4f1391
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00411a24
test eax, eax
je 0x4f139d
push dword [esi + 0x20]
call edi
push eax
call fcn.00411a24
push 0
push esi
mov ecx, eax
call fcn.0040d69a
mov ecx, eax
call fcn.00415186
xor eax, eax
inc eax
jmp 0x4f13a5
push ebx
mov ecx, esi
call fcn.0040f75e
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4fe6a9
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x5798cc
call fcn.005101b0
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x4fe782
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4fe782
cmp ebx, 0x43
je 0x4fe6eb
cmp ebx, 0x2d
jne 0x4fe782
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4fe782
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00401760
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.004019f0
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.004017b0
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.0047d0b7
call fcn.00510288
ret 4

Function at 0x506f83
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x506fc8
test edi, edi
jl 0x506fc8
cmp ax, 0x20
je 0x506fbd
cmp word [ebp + 8], 0x71
jne 0x506fc8
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x50c2f2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5e68f0]
jne 0x50c2fc
repz ret
jmp fcn.00516066
Function at 0x523428
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005159ca
and dword [ebp - 4], 0
cmp dword [0x5ef13c], 0
mov ebx, eax
jne 0x5234d9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x52358a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5ab820
push edi
call esi
test eax, eax
je 0x52358a
push eax
call fcn.00515958
mov dword [esp], 0x5ab810
push edi
mov dword [0x5ef13c], eax
call esi
push eax
call fcn.00515958
mov dword [esp], 0x5ab7fc
push edi
mov dword [0x5ef140], eax
call esi
push eax
call fcn.00515958
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5ef144], eax
call esi
push eax
call fcn.00515958
pop ecx
mov dword [0x5ef14c], eax
test eax, eax
je 0x5234d9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00515958
pop ecx
mov dword [0x5ef148], eax
mov eax, dword [0x5ef148]
cmp eax, ebx
je 0x523531
cmp dword [0x5ef14c], ebx
je 0x523531
push eax
call fcn.005159d3
push dword [0x5ef14c]
mov esi, eax
call fcn.005159d3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x523531
test edi, edi
je 0x523531
call esi
test eax, eax
je 0x523528
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x523528
test byte [ebp - 0xc], 1
jne 0x523531
or dword [ebp + 0x10], 0x200000
jmp 0x52356a
mov eax, dword [0x5ef140]
cmp eax, ebx
je 0x52356a
push eax
call fcn.005159d3
pop ecx
test eax, eax
je 0x52356a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x52356a
mov eax, dword [0x5ef144]
cmp eax, ebx
je 0x52356a
push eax
call fcn.005159d3
pop ecx
test eax, eax
je 0x52356a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5ef13c]
call fcn.005159d3
pop ecx
test eax, eax
je 0x52358a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x52358c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x530090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57c268
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esi + 0x70]
push ecx
lea ecx, [esp + 0xc]
call fcn.00541690
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
mov dword [esp + 0x10], ecx
push eax
lea ecx, [esi + 0x98]
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edx
call fcn.0052fc20
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.005416b0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 0x10

Function at 0x5305f0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
call fcn.0041e26e
test eax, eax
je 0x53061d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x53061d
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x15
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [edi + 0x34]
neg esi
push 0
sbb esi, esi
push 0x52f4d0
mov dword [esp + 0x10], esi
call dword [sym.imp.USER32.dll_EnumWindows]
test esi, esi
je 0x53068e
push ebx
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [edi + 0x28]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00556c40
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x53067d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x13c]
push ebp
push eax
call edx
jmp 0x530685
push esi
mov ecx, edi
call fcn.00530580
cmp dword [esp + 0x10], 0
jne 0x530642
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret 8
Function at 0x531300
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
sub esp, 0x24
push esi
mov esi, ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0xc]
push 0x32
push ecx
mov dword [esi], vtable.CXTPSkinManagerApiFunction.0
mov dword [esi + 8], 0
mov dword [esi + 0x60], edx
call fcn.00517bac
mov edx, dword [esp + 0x40]
push edx
lea eax, [esi + 0x3e]
push 0x1e
push eax
call fcn.00517bac
add esp, 0x18
cmp dword [0x5ef69c], 0
jne 0x53135e
call fcn.00412a15
mov dword [0x5ef69c], eax
mov ecx, dword [0x5ef698]
test ecx, ecx
jne 0x53137d
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x10]
mov dword [0x5ef698], ecx
mov eax, dword [esi + 0x5c]
cmp eax, ecx
jbe 0x53138f
cmp byte [eax], 0x68
jne 0x53138f
mov edx, dword [eax + 1]
mov dword [esi + 0x5c], edx
mov eax, esi
pop esi
add esp, 0x24
ret 0x14
Function at 0x5405c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x57cd38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
push str.TEXTFILE
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x28]
push str.THEMES_INI
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x54061a
mov esi, dword [esp + 0x20]
push 0x5be98c
mov ecx, esi
call fcn.00407d30
jmp 0x5406b3
mov ecx, dword [esi + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x540605
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push str._File.
push eax
call fcn.0050e34e
mov edi, eax
add esp, 8
test edi, edi
je 0x540605
push 0x5d
push edi
call fcn.0050d647
add esp, 8
mov esi, eax
call fcn.00418ab3
sub esi, edi
push eax
sar esi, 1
sub esi, 6
push esi
add edi, 0xc
push edi
lea ecx, [esp + 0x18]
call fcn.0040b570
mov esi, dword [esp + 0x20]
push 0x5b0238
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x24], 0
call fcn.0040b130
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5406b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x541360
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
push eax
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x5412e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
test eax, eax
je 0x5413ad
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret

Function at 0x5413b0
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xc], edi
je 0x541435
mov eax, dword [esi + 0x14]
push ebx
push eax
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], edi
call ebx
test eax, eax
je 0x541423
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, edi
cmp dword [esp + 0x10], 0x103
jne 0x541422
mov eax, dword [esi + 0xc]
inc edi
cmp edi, 0xa
ja 0x541419
push 0x64
push eax
call ebp
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebx
test eax, eax
jne 0x5413f0
jmp 0x541422
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop ebp
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x544030
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
cmp dword [ebx + 0xe4], 0
push esi
push edi
je 0x544046
call fcn.00543b00
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xc]
mov dword [esp + 0x10], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x10], eax
call fcn.00542170
xor esi, esi
lea edi, [ebx + 0xf4]
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edi
mov ecx, ebx
call fcn.00552d50
test eax, eax
jne 0x5440b7
inc esi
add edi, 0x60
cmp esi, 2
jl 0x544070
mov eax, dword [esp + 0x18]
cmp eax, 9
je 0x5440ae
cmp eax, 8
je 0x5440ae
cmp eax, 0x14
je 0x5440ae
cmp eax, 0x15
je 0x5440ae
mov ecx, ebx
call fcn.0041197e
pop edi
pop esi
pop ebx
add esp, 8
ret 0xc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esp + 0xc]
xor edx, edx
test ax, ax
mov eax, dword [esp + 0x10]
setl dl
push edx
push edi
push eax
push ecx
mov ecx, ebx
call fcn.00553810
pop edi
pop esi
pop ebx
add esp, 8
ret 0xc
Function at 0x546250
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
lea eax, [edi + 4]
mov esi, ecx
push eax
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and eax, 1
mov dword [esi + 4], eax
mov dword [edi + 0x80], 0
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x5462a3
cmp dword [esi + 0x20], 0
jne 0x5462a3
push 0
push 0
push 0x211
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
ret 4
Function at 0x54b120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57d4eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0x48
call fcn.0040d49d
add esp, 4
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
cmp eax, esi
je 0x54b169
push edi
mov ecx, eax
call fcn.005461d0
mov esi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push edi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.0054aae0
mov ecx, esi
mov edi, eax
call fcn.00545c10
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x5507f0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [ebp + 0x1f4]
test bl, bl
js 0x5508cc
push esi
push edi
mov edi, ebx
and edi, 2
call fcn.00530540
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, edi
neg esi
sbb esi, esi
and esi, 3
add esi, 3
test bl, 8
jne 0x55085a
test edi, edi
jne 0x55084d
and ebx, 4
or ebx, 0x10
shr ebx, 2
mov esi, ebx
jmp 0x55085a
and bl, 4
movzx esi, bl
neg esi
sbb esi, esi
add esi, 8
cmp dword [ebp + 0x1f8], 0
mov edi, 1
je 0x55086d
mov edi, 2
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 0x20]
jne 0x55087f
mov edi, 3
jmp 0x5508a5
mov ebx, dword [ebp + 0x20]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x5508a5
push 0
push 0
push 0x129
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x5508a5
mov edi, 4
mov ecx, ebp
call fcn.00415144
test eax, eax
jne 0x5508b5
mov edi, 5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push edi
push esi
push eax
call fcn.0052b0c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x550d70
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 0x14]
push eax
push 0
mov esi, ecx
mov ecx, dword [esi + 0x20]
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, dword [esi + 0x1f8]
je 0x550df0
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
mov dword [esi + 0x1f8], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esi + 0x1f8], 0
je 0x550df0
mov eax, dword [esi + 0x20]
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov ecx, esi
call fcn.0041197e
pop esi
add esp, 0x20
ret 0xc
Function at 0x5534e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 0xf0]
test esi, esi
je 0x553578
push ebp
mov ebp, dword [esp + 0x10]
mov eax, ebp
shr eax, 8
push edi
mov edi, dword [esi + 0x44]
cmp al, 2
jne 0x553576
test edi, edi
je 0x553576
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esi + 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x553525
mov eax, dword [edi + 0x2c]
jmp 0x55354a
cmp dword [esi + 4], 0
mov ecx, dword [esp + 0x1c]
jne 0x553533
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x20]
add eax, ecx
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jl 0x553548
mov edx, dword [edi + 0x38]
add ecx, edx
cmp eax, ecx
jl 0x55354a
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00553450
mov dword [esi], 1
cmp ebp, 0x202
je 0x55356d
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x553576
push 0
mov ecx, ebx
call fcn.005533c0
pop edi
pop ebp
pop esi
pop ebx
ret 0xc
Function at 0x554e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x57da78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
push esi
push ebp
call fcn.005569b0
add esp, 8
test eax, eax
je 0x554eb0
mov eax, dword [esp + 0x48]
push eax
push esi
push ebp
call fcn.00559730
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 2
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x554f77
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x554f77
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x554f77
movzx eax, word [edi + 0xe]
mov edx, dword [esp + 0x48]
movzx esi, ax
imul esi, dword [edi + 4]
add esi, 0x1f
sar esi, 3
and esi, 0xfffffffc
imul esi, dword [edi + 8]
xor ecx, ecx
cmp ax, 0x20
sete cl
push ebx
push ebp
mov dword [esp + 0x1c], 0
mov dword [edx], ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + 0x28]
cmp eax, ecx
jb 0x555011
lea ecx, [esp + 0x20]
call fcn.00416b70
xor ebp, ebp
push ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.0041725e
cmp word [edi + 0xe], 0x18
jb 0x554fdf
push 0x34
call fcn.0050fbef
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x554f8d
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.004172dd
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x28
push edi
push ebx
call fcn.0053e340
add esp, 0xc
push ebp
push ebp
lea edx, [esp + 0x20]
push edx
push ebp
mov dword [ebx + 0x14], esi
mov eax, dword [esp + 0x34]
push ebx
push eax
mov dword [esp + 0x30], ebp
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
test ebp, ebp
je 0x554fd4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x554fd4
push esi
add edi, 0x28
push edi
push eax
call fcn.0053e340
add esp, 0xc
mov dword [esp + 0x14], ebp
push ebx
call fcn.0050fcb9
add esp, 4
jmp 0x555000
push edi
call fcn.00554630
mov esi, eax
push esi
push edi
call fcn.005546d0
add esp, 0xc
mov dword [esp + 0x14], eax
cmp esi, ebp
je 0x555000
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.004172dd
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret