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

Disassembly:
push 0x10
mov eax, 0x10562a0
call fcn.0100f160
mov esi, ecx
mov edi, dword [0x1061d3c]
push 0xf1
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x1017066
xor eax, eax
call fcn.0100f24c
ret 0x14
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x101705c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x101705c
lea eax, [edi + 8]
mov dword [ebp - 0x1c], eax
movzx eax, word [edi + 6]
mov dword [ebp - 0x18], eax
movzx eax, word [edi + 4]
push eax
movzx eax, word [edi + 2]
push eax
mov ecx, esi
call fcn.01014f82
cmp dword [esi + 0x48], 0
jne 0x10170ca
push dword [ebp + 8]
call fcn.01015388
shl al, 5
lea ecx, [esi + 0x85]
xor al, byte [ecx]
and al, 0x20
xor byte [ecx], al
movzx eax, word [edi + 6]
push eax
mov ecx, esi
call fcn.01015055
test al, al
je 0x101705c
push dword [esi + 0x48]
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
call ebx
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
cmp byte [ebp + 0xc], 0
je 0x1017100
push dword [ebp + 0x18]
movzx ecx, word [ebp + 0x10]
push dword [ebp + 0x14]
movsx eax, word [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.01015027
jmp 0x101713e
test byte [esi + 0x85], 0x20
je 0x101712b
push 0x2040
push edi
push edi
push edi
push dword [ebp + 8]
push dword [0x1061d3c]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
lea ecx, [ebp - 0x10]
call fcn.01010ed0
jmp 0x101713e
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x10]
mov dword [ebp + 0xc], esp
call fcn.01010def
cmp dword [ebp - 0x10], edi
jne 0x101714c
or dword [ebp - 4], 0xffffffff
jmp 0x101705c
push dword [esi + 0xa0]
push dword [ebp - 0x10]
push dword [esi + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
jne 0x1017173
or dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
call fcn.01010e7b
jmp 0x101705c
mov eax, dword [ebp - 0x18]
cmp eax, edi
jle 0x1017196
mov edi, dword [ebp - 0x1c]
mov dword [ebp + 0xc], eax
cmp word [edi], 0
je 0x101718f
push edi
lea ecx, [esi + 0x4c]
call fcn.01007616
inc edi
inc edi
dec dword [ebp + 0xc]
jne 0x1017180
push dword [esi + 0x48]
call ebx
mov edi, eax
cmp edi, dword [esi + 0x50]
je 0x10171b7
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01010e7b
mov eax, esi
jmp 0x101705e
call fcn.010152ba
test al, al
je 0x10171ce
sub edi, dword [ebp - 0x14]
mov ecx, esi
push edi
push dword [ebp - 0x14]
call fcn.01016c2d
xor esi, esi
inc esi
jmp 0x10171a4

Function at 0x101871c
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
push 0x419
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret 4
Function at 0x101afa3
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
and dword [edi], 0
mov esi, ecx
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x101afd7
cmp eax, 0x79
jne 0x101afce
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x101afd7
cmp dword [esi + 0xa8], 0x20
jne 0x101b049
cmp dword [ebp + 0xc], 0xf100
jne 0x101b049
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x101b006
mov ecx, esi
call fcn.0101a350
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x101b049
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x101b049
test byte [esi + 0x84], 0x40
jne 0x101b03e
mov al, byte [esi + 0x85]
test al, 2
je 0x101b035
test al, 4
jne 0x101b035
test al, 8
je 0x101b035
push 1
mov ecx, esi
call fcn.010191c6
mov ecx, esi
call fcn.010189dc
jmp 0x101b043
cmp eax, 0x20
je 0x101b049
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x101d095
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x101d0a9
mov eax, 0x80004003
jmp 0x101d0e0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x101d0bd
mov eax, 0x80004005
jmp 0x101d0e0
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
setne al
mov byte [esi], al
call dword [sym.imp.USER32.dll_CloseClipboard]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop esi
pop ebp
ret 4

Function at 0x101e7aa
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x64]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x101e7fc
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
add esi, 4
mov eax, dword [esi]
push eax
mov dword [ebp - 0x14], eax
call edi
push dword [esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0xfffffffe
call edi
mov edi, eax
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.01008aad
lea ecx, [ebp - 0x14]
push ecx
push edi
push 0x4e
jmp 0x101e826
shr eax, 2
test al, 1
je 0x101e830
add esi, 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.01008aad
push dword [esi]
movzx ecx, di
push ecx
push 0x111
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x101e863
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x1002988
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x101e862
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret
Function at 0x1020333
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1056ca8
call fcn.0100f160
mov esi, ecx
mov eax, dword [esi + 0x124]
test eax, eax
jne 0x1020352
mov eax, 0x80004003
jmp 0x10203c2
mov eax, 0x8d0
cmp word [ebp + 0xc], ax
jne 0x10203c0
mov eax, dword [0x1061024]
mov dword [ebp + 0xc], eax
and dword [ebp - 4], 0
push 0x21
lea ecx, [ebp + 0xc]
call fcn.01007539
push 0x21
push eax
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.01008355
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.010103e4
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x124]
add ecx, 0x100
mov byte [ebp - 4], 0
call fcn.01046410
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.010061d0
xor eax, eax
call fcn.0100f24c
ret 0x10

Function at 0x10211e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xc
mov eax, 0x1057fcb
call fcn.0100f160
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
test al, al
jne 0x102120a
mov eax, 0x80004005
jmp 0x102128b
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
je 0x102127b
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.010489b7
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
setne al
test al, al
jne 0x1021256
mov esi, 0x80004005
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01011732
mov eax, esi
jmp 0x102128b
test esi, esi
jl 0x1021246
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.010210d6
test eax, eax
jge 0x102126d
mov esi, eax
jmp 0x1021246
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01011732
jmp 0x1021289
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
je 0x1021200
xor eax, eax
call fcn.0100f24c
ret
Function at 0x1023ffb
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
push edi
xor edi, edi
cmp eax, edi
je 0x10241b8
movzx ecx, word [ebp + 0xc]
sub ecx, 0x901
push ebx
mov dword [ebp - 4], edi
je 0x1024145
dec ecx
je 0x102411b
dec ecx
je 0x10240f1
dec ecx
je 0x10240b6
dec ecx
jne 0x10241b7
mov ecx, dword [eax + 0x2d8]
mov ebx, dword [ecx - 8]
mov edi, 0x101
push edi
lea ecx, [eax + 0x2d8]
call fcn.01007539
push edi
push eax
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x80]
push 0xffffffffffffffff
add ecx, 0x2d8
call fcn.01008355
mov eax, dword [esi + 0x80]
mov ecx, dword [eax + 0x2d8]
mov edi, dword [ecx - 8]
lea ecx, [eax + 0x140]
call fcn.01044171
test eax, eax
jl 0x10241b7
xor eax, eax
inc eax
test ebx, ebx
je 0x1024177
test edi, edi
jne 0x102417a
jmp 0x1024177
push 0x21
lea ecx, [eax + 0x2d0]
call fcn.01007539
push 0x21
push eax
push dword [esi + 0x100]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x80]
add ecx, 0x2d0
push 0xffffffffffffffff
call fcn.01008355
mov dword [ebp - 4], 1
jmp 0x102417c
push 0x21
lea ecx, [eax + 0x2d4]
call fcn.01007539
push 0x21
push eax
push dword [esi + 0x104]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x80]
add ecx, 0x2d4
jmp 0x10240de
push 0x21
lea ecx, [eax + 0x2cc]
call fcn.01007539
push 0x21
push eax
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x80]
add ecx, 0x2cc
jmp 0x10240de
push 0x21
lea ecx, [eax + 0x29c]
call fcn.01007539
push 0x21
push eax
push dword [esi + 0xf8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x80]
push 0xffffffffffffffff
add ecx, 0x29c
call fcn.01008355
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov edi, eax
mov eax, dword [esi + 0x80]
add eax, 0x100
lea ecx, [eax + 0x40]
call fcn.01044171
test eax, eax
jl 0x10241b7
cmp dword [ebp - 4], 0
je 0x10241a8
lea ecx, [esi + 0x11c]
call fcn.0104a9a7
test eax, eax
jl 0x10241b7
test edi, edi
je 0x10241b7
lea ecx, [esi + 0x180]
call fcn.0104a9a7
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x102e786
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc
mov eax, 0x1057b0a
call fcn.0100f160
mov esi, ecx
lea eax, [esi + 0xc8]
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], bl
call fcn.0100fb9c
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x10], eax
jmp 0x102e7e7
call fcn.0102e591
cmp eax, ebx
jl 0x102e7f9
call edi
sub eax, dword [ebp - 0x10]
cmp eax, 0xfa
jbe 0x102e7df
call edi
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0102e03f
cmp eax, ebx
jl 0x102e7f9
cmp byte [esi + 0xc4], bl
jne 0x102e7f9
mov eax, dword [esi + 0x2c]
cmp dword [esi + 0x40], eax
mov ecx, esi
jl 0x102e7ba
mov dword [esi + 0x5c], ebx
call fcn.0102e03f
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x14], bl
je 0x102e80a
lea ecx, [ebp - 0x18]
call fcn.0100fbcf
call fcn.0100f24c
ret
Function at 0x102e967
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x24
mov eax, 0x1057b42
call fcn.0100f160
mov esi, ecx
mov eax, dword [esi + 0x2c]
xor ebx, ebx
cmp eax, ebx
jne 0x102e985
xor eax, eax
jmp 0x102eb30
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [ebp - 0xd], bl
call edi
mov dword [ebp - 0x14], eax
jmp 0x102e9d4
push dword [esi + 0x40]
lea ecx, [esi + 0x28]
call fcn.01018489
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp eax, ebx
je 0x102e9c1
add eax, 2
push 0x1003118
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x102e9e6
mov ecx, esi
call fcn.0102e591
cmp eax, ebx
jl 0x102e97e
mov eax, dword [esi + 0x2c]
cmp dword [esi + 0x40], eax
je 0x102e9e2
call edi
sub eax, dword [ebp - 0x14]
cmp eax, 0x1f4
jb 0x102e995
jmp 0x102e9e6
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x14], ebx
cmp byte [ebp - 0xd], bl
jne 0x102ea1c
mov eax, dword [esi + 0x50]
mov ecx, esi
cmp byte [eax + 0xf80], bl
je 0x102ea0c
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ebx
call fcn.0102e892
mov eax, dword [ebp + 8]
jmp 0x102ea19
push ebx
push dword [ebp + 8]
mov byte [esi + 0x20], 1
call fcn.0102dfe5
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x50]
lea eax, [ecx + 0x2bc]
cmp byte [eax], bl
je 0x102eadc
cmp byte [ecx + 0x245], bl
jne 0x102eadc
lea ecx, [ebp - 0x30]
mov byte [eax], bl
call fcn.0102d184
mov dword [ebp - 4], ebx
push 0x1001d98
lea ecx, [ebp + 8]
mov dword [ebp - 0x24], 0xf7bd
mov byte [ebp - 0x20], 1
call fcn.01010421
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x50]
push ebx
push 0xf7bc
push 0xf7bb
push 0xf692
push dword [eax + 4]
lea ecx, [ebp - 0x30]
call fcn.0102d245
mov edi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.010061d0
cmp edi, ebx
jge 0x102eaaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0102d1aa
jmp 0x102e97e
cmp byte [ebp - 0x20], bl
je 0x102ead0
mov eax, dword [esi + 0x50]
mov byte [eax + 0x245], 1
mov eax, dword [esi + 0x50]
add eax, 0x100
lea ecx, [eax + 0xe4]
call fcn.01047ad6
cmp eax, ebx
jl 0x102ea99
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0102d1aa
lea eax, [esi + 0xc8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], bl
call fcn.0100fb9c
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.0102e140
cmp eax, ebx
jge 0x102eb1c
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x18], bl
je 0x102e97e
lea ecx, [ebp - 0x1c]
call fcn.0100fbcf
jmp 0x102e97e
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x18], bl
je 0x102eb2d
lea ecx, [ebp - 0x1c]
call fcn.0100fbcf
mov eax, dword [ebp - 0x14]
call fcn.0100f24c
ret 4
Function at 0x102f963
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x1061184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x100333c
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
cmp edi, esi
jne 0x102f995
mov eax, 0x80004005
jmp 0x102f9e1
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push 0x1003330
push 0x100
push eax
call fcn.01028279
add esp, 0x10
push esi
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x208]
push eax
push esi
push 1
push esi
push 0xc94703ea
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100f14b
leave
ret 4

Function at 0x102fb02
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, ecx
add ecx, 0xffffffe0
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
lea ecx, [esi + 4]
je 0x102fb76
push ebx
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.01008aca
mov edi, dword [eax]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 8], 0xffffffff
mov ebx, eax
push ebx
call fcn.0102fad2
test eax, eax
je 0x102fb69
lea ecx, [ebx + 1]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call fcn.01008355
cmp dword [ebp - 8], ebx
pop edi
pop ebx
jge 0x102fb9a
and dword [ebp - 4], 0
jmp 0x102fb8a
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call fcn.0102f901
mov dword [ebp - 4], eax
test eax, eax
jne 0x102fbc3
push dword [ebp + 0x14]
lea ecx, [esi + 0x20]
push dword [ebp + 8]
call fcn.0102fa5a
jmp 0x102fbc3
cmp dword [ebp + 0x18], 0
je 0x102fbc3
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x102fbc3
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x20]
push dword [ebp + 8]
call fcn.0102fa96
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18
Function at 0x10305ef
Capabilities:
Inspect load icon resource

Disassembly:
push 0xc
mov eax, 0x1057d4d
call fcn.0100f160
mov esi, ecx
push 0x1db
push dword [0x1061d3c]
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
test ebx, ebx
jne 0x103062c
or dword [ebp - 4], 0xffffffff
mov eax, 0x80004003
call fcn.0100f24c
ret 4
mov eax, dword [0x1061024]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
push 0xf692
lea ecx, [ebp - 0x10]
call fcn.010086cc
test eax, eax
setne al
test al, al
jne 0x103066f
mov esi, 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.010061d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01010e7b
mov eax, esi
jmp 0x1030624
push 0x60
lea edi, [esi + 0x54]
push 0
push edi
call sub.msvcrt.dll_memset
and dword [esi + 0x58], 0
mov dword [edi], 0x60
mov eax, dword [0x1061d3c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x48]
add esp, 0xc
mov dword [esi + 0x74], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov dword [esi + 0x60], 0x820b
push edi
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x64], 8
mov dword [esi + 0x70], 0xf78f
mov dword [esi + 0x80], 2
mov dword [esi + 0xa8], 0x10304a9
mov dword [esi + 0xac], esi
call fcn.01037dc5
test eax, eax
jge 0x10306e7
mov esi, eax
jmp 0x1030653
xor esi, esi
jmp 0x1030653
Function at 0x10309a6
Capabilities:
Inspect load icon resource

Disassembly:
push 0x20
mov eax, 0x1057d8d
call fcn.0100f160
mov esi, ecx
push 0x1db
push dword [0x1061d3c]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
test eax, eax
jne 0x10309e4
or dword [ebp - 4], 0xffffffff
mov eax, 0x80004003
call fcn.0100f24c
ret 4
mov eax, dword [0x1061024]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
push 0xf692
lea ecx, [ebp - 0x10]
call fcn.010086cc
test eax, eax
setne al
test al, al
jne 0x1030a25
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.010061d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01010e7b
mov eax, 0x80004005
jmp 0x10309dc
mov eax, dword [0x1061024]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push 0xf777
lea ecx, [ebp - 0x14]
call fcn.010086cc
test eax, eax
setne al
test al, al
jne 0x1030a55
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.010061d0
jmp 0x1030a06
mov eax, dword [0x1061024]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
push 0xf778
lea ecx, [ebp - 0x1c]
call fcn.010086cc
test eax, eax
setne al
test al, al
jne 0x1030ab3
mov esi, 0x80004005
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.010061d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.010061d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.010061d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01010e7b
mov eax, esi
jmp 0x10309dc
mov eax, dword [ebp - 0x1c]
push 0x60
lea edi, [esi + 0x100]
push 0
push edi
mov dword [ebp - 0x2c], 0x961
mov dword [ebp - 0x28], eax
call sub.msvcrt.dll_memset
and dword [esi + 0x104], 0
mov dword [edi], 0x60
mov eax, dword [0x1061d3c]
and dword [esi + 0x120], 0
mov dword [esi + 0x108], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x118], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x11c], eax
lea eax, [ebp - 0x2c]
add esp, 0xc
mov dword [esi + 0x128], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
mov dword [esi + 0x10c], 0x1b
push edi
mov dword [esi + 0x110], 0x20
mov dword [esi + 0x12c], 2
mov dword [esi + 0x154], 0x103091c
mov dword [esi + 0x158], esi
mov dword [esi + 0x124], 1
call fcn.01037dc5
test eax, eax
jge 0x1030b66
mov esi, eax
jmp 0x1030a7c
xor esi, esi
jmp 0x1030a7c
Function at 0x10326d0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, ecx
add ecx, 0xffffff98
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
lea ecx, [esi + 4]
je 0x1032744
push ebx
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.01008aca
mov edi, dword [eax]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 8], 0xffffffff
mov ebx, eax
push ebx
call fcn.0102fad2
test eax, eax
je 0x1032737
lea ecx, [ebx + 1]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call fcn.01008355
cmp dword [ebp - 8], ebx
pop edi
pop ebx
jge 0x1032768
and dword [ebp - 4], 0
jmp 0x1032758
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call fcn.0102f901
mov dword [ebp - 4], eax
test eax, eax
jne 0x1032791
push dword [ebp + 0x14]
lea ecx, [esi + 0x68]
push dword [ebp + 8]
call fcn.0103261a
jmp 0x1032791
cmp dword [ebp + 0x18], 0
je 0x1032791
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x1032791
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x68]
push dword [ebp + 8]
call fcn.01032656
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18
Function at 0x1033d58
Capabilities:
Inspect load icon resource

Disassembly:
push 0xc
mov eax, 0x1057d4d
call fcn.0100f160
mov esi, ecx
push 0x1db
push dword [0x1061d3c]
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
test ebx, ebx
jne 0x1033d95
or dword [ebp - 4], 0xffffffff
mov eax, 0x80004003
call fcn.0100f24c
ret 4
mov eax, dword [0x1061024]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
push 0xf692
lea ecx, [ebp - 0x10]
call fcn.010086cc
test eax, eax
setne al
test al, al
jne 0x1033dd8
mov esi, 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.010061d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01010e7b
mov eax, esi
jmp 0x1033d8d
push 0x60
lea edi, [esi + 0x3c]
push 0
push edi
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x34]
mov dword [edi], 0x60
mov eax, dword [eax + 4]
mov dword [esi + 0x40], eax
mov eax, dword [0x1061d3c]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [esi + 0x50], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov dword [esi + 0x48], 0x20b
push edi
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], 8
mov dword [esi + 0x58], 0xf772
mov dword [esi + 0x5c], 0xf794
mov dword [esi + 0x68], 2
mov dword [esi + 0x90], 0x1033c50
mov dword [esi + 0x94], esi
call fcn.01037dc5
test eax, eax
jge 0x1033e53
mov esi, eax
jmp 0x1033dbc
xor esi, esi
jmp 0x1033dbc

Function at 0x10353dc
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push esi
push edi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x14], edx
call fcn.0101d607
cmp eax, 0xffffffff
je 0x1035432
cmp dword [ebp - 0x10], 8
jne 0x1035432
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x1035432
push dword [ebp - 0xc]
mov ecx, esi
call fcn.01035356
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
pop edi
inc eax
pop esi
leave
ret 0x10