joyce8/EMBER2024-capa huggingface dataset:
Function at 0x23ae49c0
Capabilities:
Log keystrokes

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x74]
cmp dword [eax + 0x60], 2
jne 0x23ae49d2
xor eax, eax
pop edi
ret 4
push ebp
mov ebp, dword [esp + 0xc]
lea ecx, [ebp - 0x60]
cmp ecx, 9
ja 0x23ae49e8
cmp dword [eax + 0x80], 0
je 0x23ae49f5
push 2
push ebp
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x23ae49fc
pop ebp
xor eax, eax
pop edi
ret 4
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
push ebx
push esi
mov ecx, edi
call eax
mov ebx, eax
push ebx
call fcn.23ae2410
add esp, 4
mov esi, eax
neg esi
sbb esi, esi
and esi, ebx
xor ebx, ebx
cmp dword [edi + 0x84], ebx
jle 0x23ae4a64
push ebx
mov ecx, edi
call fcn.23ae2c80
mov ebp, eax
cmp dword [ebp + 0x9c], 0
jne 0x23ae4a5e
mov ecx, dword [edi + 0x74]
test byte [ecx + 0x60], 1
je 0x23ae4a53
test esi, esi
jne 0x23ae4a53
push ebp
call fcn.23ae2410
add esp, 4
test eax, eax
je 0x23ae4a53
mov esi, ebp
inc ebx
cmp ebx, dword [edi + 0x84]
jl 0x23ae4a24
jmp 0x23ae4a60
mov esi, ebp
mov ebp, dword [esp + 0x14]
test esi, esi
je 0x23ae4b0b
push esi
call fcn.23ae2410
add esp, 4
test eax, eax
je 0x23ae4b0b
mov edx, dword [esi]
mov eax, dword [edx + 0x1f8]
push ebp
mov ecx, esi
call eax
test eax, eax
jne 0x23ae4aff
lea ecx, [esp + 0x14]
push ecx
push ebp
push esi
mov ecx, edi
call fcn.23ae4720
mov ebx, eax
test ebx, ebx
je 0x23ae4b0b
mov esi, dword [ebx + 0xc0]
cmp dword [esi + 0x9c], 0
mov ebp, dword [ebx + 0x40]
jne 0x23ae4abb
mov ecx, edi
call fcn.23ae3150
push 1
mov ecx, edi
call fcn.23ae2fb0
push 1
mov dword [edi + 0x44], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x140]
push 0
push 1
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x148]
push 1
push ebp
mov ecx, esi
call eax
cmp dword [esp + 0x14], 0
jne 0x23ae4aff
mov edx, dword [ebx]
mov eax, dword [edx + 0xb0]
mov ecx, ebx
call eax
pop esi
pop ebx
pop ebp
mov eax, 1
pop edi
ret 4
pop esi
pop ebx
pop ebp
xor eax, eax
pop edi
ret 4
Function at 0x23ae6b90
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, dword [esi + 0xb8]
call fcn.23b30450
mov ebx, eax
mov eax, dword [esi + 0x90]
cmp eax, 0xffffffff
je 0x23ae6bf4
cmp dword [esi + 0xbc], 5
jne 0x23ae6bf4
cmp dword [esi + 0xb4], 1
jne 0x23ae6bf4
test ebx, ebx
je 0x23ae6bd1
cmp dword [ebx + 0x40], eax
je 0x23ae6bf4
cmp eax, dword [esi + 0x8c]
jne 0x23ae6be9
mov edx, dword [esi]
mov eax, dword [edx + 0x148]
push 0
push 0xffffffffffffffff
mov ecx, esi
call eax
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.23ae62a0
mov ecx, esi
test ebx, ebx
je 0x23ae6cd6
push edi
call fcn.23ae4e60
test eax, eax
jne 0x23ae6cba
mov edx, dword [ebx]
mov eax, dword [edx + 0xd8]
mov ecx, ebx
call eax
test eax, eax
je 0x23ae6cba
push esi
push 0x23c6d1dc
call fcn.23a37db1
add esp, 8
test eax, eax
je 0x23ae6cba
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x23ae6cba
mov ecx, esi
call fcn.23ae4e30
mov edi, eax
test edi, edi
je 0x23ae6cba
cmp dword [edi + 0x60], 0
je 0x23ae6cba
mov ecx, dword [edi + 0x74]
cmp dword [ecx + 0x44], 0
je 0x23ae6cba
push 1
mov ecx, edi
call fcn.23ae3400
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.23ae62a0
mov edx, dword [esi]
mov eax, dword [edx + 0x148]
push 0
push 0xffffffffffffffff
mov ecx, esi
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0x110]
push eax
push ecx
mov ecx, ebx
call edx
push 0
mov ecx, edi
call fcn.23ae3400
mov eax, dword [edi]
mov edx, dword [eax + 0x54]
push 0
mov ecx, edi
call edx
mov ecx, edi
call fcn.23ae3150
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0xf4]
push ecx
push edx
mov ecx, ebx
call eax
pop edi
pop esi
pop ebx
ret 0xc
call fcn.23a32664
pop esi
pop ebx
ret 0xc
Function at 0x23aebed0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x16c], 0
push edi
mov edi, dword [esp + 0xc]
je 0x23aebf1c
cmp edi, 0x28
jne 0x23aebf1c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x23aebf15
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0xb8]
push 1
push 0
push 1
push 1
push eax
call fcn.23b30310
cmp eax, dword [esi + 0x8c]
jg 0x23aebf1c
mov ecx, esi
call fcn.23aeb5e0
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.23ae8010
pop edi
pop esi
ret 8
Function at 0x23aee890
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x23aeea3a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x23aee8e8
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x23aee8fb
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x23aee90f
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x23aee956.3
jmp 0x23aee920
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x23aee92c
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x23aee931
mov esi, 1
inc eax
cmp eax, edi
jl 0x23aee920
cmp si, cx
je case.0x23aee956.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x23aee956.3
movzx eax, byte [eax + 0x23aeea54]
jmp dword [eax*4 + 0x23aeea40]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x23aee956.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x23aee970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x23aee956.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x23aee9b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x23aee956.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x23aee9d6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x23aee956.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x23aeea00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x23af4190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x23bd84d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
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.23a6f900
add esp, 8
test eax, eax
je 0x23af41f0
mov eax, dword [esp + 0x48]
push eax
push esi
push ebp
call fcn.23a75190
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 0x23af42b7
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x23af42b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x23af42b7
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 0x23af4351
lea ecx, [esp + 0x20]
call fcn.23a382f6
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.23a388fa
cmp word [edi + 0xe], 0x18
jb 0x23af431f
push 0x34
call fcn.23a4ae6a
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x23af42cd
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.23a38979
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.23a6ef60
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 0x23af4314
mov eax, dword [esp + 0x18]
test eax, eax
je 0x23af4314
push esi
add edi, 0x28
push edi
push eax
call fcn.23a6ef60
add esp, 0xc
mov dword [esp + 0x14], ebp
push ebx
call fcn.23a4accd
add esp, 4
jmp 0x23af4340
push edi
call fcn.23af3970
mov esi, eax
push esi
push edi
call fcn.23af3a10
add esp, 0xc
mov dword [esp + 0x14], eax
cmp esi, ebp
je 0x23af4340
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.23a38979
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
Function at 0x23af62f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x23bd8718
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
push str.shell32.dll
lea ecx, [esp + 0x28]
mov dword [esi], 0
mov dword [esp + 0x18], 0
call fcn.23a9d320
push 0
push str.SHGetSettings
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov dword [esp + 0x5c], 0
call fcn.23a9c1c0
lea ecx, [esp + 0x24]
mov edi, eax
mov dword [esp + 0x50], 0xffffffff
call fcn.23a9d070
test edi, edi
je 0x23af636f
push 0xffab
push esi
call dword [esp + 0x1c]
lea edx, [esp + 0xc]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer
push SysReAllocStringLen
mov dword [esi + 4], 0xff0000
mov dword [esi + 8], 0xd9213
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x23af641b
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push str.AltColor
push eax
mov dword [esp + 0x28], 4
mov dword [esp + 0x30], 3
call edi
test eax, eax
jne 0x23af63e0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.AltEncryptionColor
push edx
mov dword [esp + 0x28], 4
call edi
test eax, eax
jne 0x23af6410
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret
Function at 0x23af8070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x23af80ee
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.23a4a910
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x23af80c1
sub eax, ebx
jmp 0x23af80c3
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x23af80b2
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x23af80e2
sub eax, ebx
jmp 0x23af80e4
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x23af80d3
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x23af8149
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.23af7e00
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x23af8135
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x23af8149
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x23af8076
pop esi
pop ebp
pop ebx
ret
Function at 0x23afd400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x23bd8800
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x1c]
push 0x38
mov ecx, edi
call fcn.23adaa20
mov esi, dword [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.23a394d0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push 0xc5c5c5
push 1
sub ecx, eax
push ecx
dec edx
push edx
push eax
mov ecx, esi
call fcn.23a3979d
lea eax, [edi + 0x114]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.23a677a0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
push 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
push 0xfffffffffffffff6
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov ebp, dword [esi]
push 0x2c
mov ecx, edi
call fcn.23adaa20
push eax
mov eax, dword [ebp + 0x30]
mov ecx, esi
call eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
call fcn.23afd3d0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push 0x8024
lea edi, [esp + 0x14]
push edi
push ecx
push eax
mov eax, dword [edx + 0x68]
mov ecx, esi
mov byte [esp + 0x48], 1
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23afd510
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.23a677e0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0x18
Function at 0x23b03d10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0xb8]
push edi
movzx edi, word [esp + 0x10]
call fcn.23b30150
test edi, edi
jne 0x23b03d31
pop edi
xor eax, eax
pop ebp
pop ecx
ret 8
push esi
call fcn.23a3b00e
mov esi, dword [eax + 0xc]
test esi, esi
je 0x23b03d6c
push 0xf1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x23b03d6c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
je 0x23b03d6c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x23b03d75
pop esi
pop edi
xor eax, eax
pop ebp
pop ecx
ret 8
movzx eax, word [esi + 6]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.23a2ed26
mov edi, eax
xor eax, eax
add esp, 4
xor ecx, ecx
cmp ax, word [esi + 6]
jae 0x23b03db5
mov eax, esi
call fcn.23a6fbf0
movzx edx, word [eax + ecx*2]
mov dword [edi + ecx*4], edx
movzx edx, word [esi + 6]
inc ecx
cmp ecx, edx
jl 0x23b03da5
movzx eax, word [esi + 6]
push ebx
push eax
push edi
mov ecx, ebp
call fcn.23b03ac0
cmp dword [esp + 0x1c], 0
mov ebx, eax
je 0x23b03e14
mov ecx, ebp
call fcn.23ae4ef0
movzx edx, word [esi + 4]
movzx ecx, word [esi + 2]
push 0
push edx
mov edx, dword [esp + 0x20]
push ecx
movzx ecx, word [esi + 6]
push ecx
push edi
push edx
mov ecx, eax
call fcn.23a75e90
test eax, eax
jne 0x23b03df7
xor ebx, ebx
movzx eax, word [esi + 2]
cmp ax, 0x10
je 0x23b03e14
movzx ecx, word [esi + 4]
movzx eax, ax
mov dword [ebp + 0xc8], eax
mov dword [ebp + 0xcc], ecx
push edi
call fcn.23a2ed1b
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
pop ecx
ret 8
Function at 0x23b07830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
mov esi, ecx
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], esi
call fcn.23a675c0
push str.RIBBONSYSTEMMENU
mov ecx, esi
call fcn.23b06660
mov ebx, eax
test ebx, ebx
je 0x23b07a0b
push 1
push 0
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.23aa2a80
mov edx, dword [edi]
mov edx, dword [edx + 0x1b0]
mov esi, eax
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call edx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov ebp, dword [esp + 0x5c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x4c]
push eax
push ebp
mov ecx, ebx
call fcn.23aa2fb0
mov eax, dword [edi + 0x148]
push eax
push 0x23c6e530
call fcn.23a37db1
mov esi, eax
add esp, 8
test esi, esi
je 0x23b07a0b
mov eax, dword [esi + 0xc0]
push eax
push 0x23c6e344
call fcn.23a37db1
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x23b07a0b
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x84]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x88]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x8c]
lea edx, [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc0]
push edx
call fcn.23a3869a
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.23a38659
mov ecx, ebx
call fcn.23b46140
test eax, eax
je 0x23b0798b
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x23b0798b
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx]
mov edx, dword [edx + 0x80]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
push esi
mov dword [eax + 0xc], ecx
push ebp
mov ecx, ebx
call edx
jmp 0x23b0798f
mov ebx, dword [esp + 0x10]
mov ecx, edi
xor esi, esi
call fcn.23ae57b0
test eax, eax
jle 0x23b07a0b
lea esp, [esp]
push esi
mov ecx, edi
call fcn.23ae57c0
test eax, eax
je 0x23b079b2
cmp dword [eax + 0x54], 0
jne 0x23b079c8
mov ecx, edi
inc esi
call fcn.23ae57b0
cmp esi, eax
jl 0x23b079a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x74]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x78]
push 0xffffffffffffffff
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x7c]
push str.RecentFileListBackground
mov dword [esp + 0x34], ecx
push str.Ribbon
mov ecx, ebx
mov dword [esp + 0x3c], edx
call fcn.23af93a0
mov ecx, eax
call fcn.23aa3de0
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.23a394d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
Function at 0x23b0a880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x23bd9293
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.23a2f955
xor edi, edi
mov dword [esi], vtable.CXTPRibbonPaintManager.0
mov dword [esp + 0x18], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], vtable.CXTPPaintManagerFont.0
mov dword [esi + 0x30], 1
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 1
call fcn.23a64640
mov eax, dword [esp + 0x20]
mov ecx, esi
mov dword [esi + 0x7c], eax
mov dword [esi + 0x20], 1
call fcn.23b07cd0
mov dword [esi + 0x44], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x64]
call eax
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
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 0x23b0b750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x23b0b7f1
push ebp
mov ebp, dword [esp + 0x10]
mov eax, ebp
shr eax, 8
push edi
mov edi, dword [esi + 0x34]
cmp al, 2
jne 0x23b0b7ef
test edi, edi
je 0x23b0b7ef
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x23b0b7a1
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
cmp dword [eax + 0x14], 0
jne 0x23b0b7a1
mov eax, dword [edi + 0x2c]
jmp 0x23b0b7c9
mov ecx, dword [esi + 0x34]
cmp dword [ecx + 0x58], 0
mov ecx, dword [esp + 0x1c]
jne 0x23b0b7b2
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x23b0b7c7
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x23b0b7c9
mov eax, ecx
push eax
mov ecx, ebx
call fcn.23b0b6c0
cmp ebp, 0x202
je 0x23b0b7e6
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x23b0b7ef
push 0
mov ecx, ebx
call fcn.23b0b5c0
pop edi
pop ebp
pop esi
pop ebx
ret 0xc
Function at 0x23b0e990
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
call fcn.23b0d4f0
test eax, eax
je 0x23b0e9b6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.23b3afa0
pop esi
ret 0xc
mov ecx, esi
call fcn.23afe380
test eax, eax
je 0x23b0e9fe
mov ecx, dword [esi + 0xc0]
push 0
push 0xffffffffffffffff
call fcn.23ae62a0
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x148]
push 0
push 0xffffffffffffffff
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0x110]
push ecx
push edx
mov ecx, esi
call eax
pop esi
ret 0xc
mov ecx, esi
call fcn.23aff200
test eax, eax
je 0x23b0eacd
cmp dword [esp + 8], 0
jne 0x23b0eacd
mov ecx, dword [esi + 0xc0]
push 0
push 0xffffffffffffffff
call fcn.23ae62a0
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx]
mov eax, dword [esi + 0x40]
mov edx, dword [edx + 0x148]
push 0
push eax
call edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0x104]
push ecx
push edx
mov ecx, esi
call eax
mov eax, dword [esi + 0x19c]
cmp eax, 0x41
jne 0x23b0ea73
mov ecx, dword [esi + 0x40]
push 0
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.23ae62a0
pop esi
ret 0xc
test eax, eax
je 0x23b0eabc
mov eax, dword [esi + 0xc0]
push edi
test eax, eax
jne 0x23b0ea86
xor edi, edi
jmp 0x23b0ea89
mov edi, dword [eax + 0x20]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esp + 0x14]
xor edx, edx
test ax, ax
setl dl
lea eax, [esi + 0x148]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push edi
lea ecx, [esi + 0x144]
call fcn.23b0d060
pop edi
pop esi
ret 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.23b0e4a0
pop esi
ret 0xc