joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bb27
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x410438], eax
je 0x40bb49
cmp dword [0x410438], ebx
jne 0x40bbdd
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x410438
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x410438
push 4
push edi
mov dword [0x410438], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x410438]
not eax
mov dword [0x4120c0], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x46c980
Capabilities:
Encode data using xor

Disassembly:
pushfd
sub al, 4
sbb dh, byte [edi*8 + 0x1167ca0b]
aaa
xor edx, esi
xchg ebx, eax
bound ebx, qword [ebx - 0x2c2c4c1e]
fcmovb st(0), st(5)
lea ebx, [ebp - 0x6c8fa0f4]
cmp esi, dword [0xaf95730e]
xor eax, 0xaf95730e
xor eax, 0xaf95730e
add dh, byte [eax + 0x7e]
cmp byte [ebx], bl
add cl, byte [edx + 0x27]
push edi
dec edx
lcall 0x995d, 0x3ae724eb
jmp 0x46c9b6
out 0x3a, eax
pop ebp
cdq
imul dh
out 0x67, al
ja 0x46c963
daa
and al, 0xa7
xor byte [eax - 0x1c], ch
sub eax, 0x72479b71
sar byte [edx], 1
add eax, 0xe92f00be
push ebp
in eax, dx
mov al, 0x87
out 0x80, eax
sbb dword [ecx], 0xffffff9c
inc ebp
mov dword [0x2c4ef2f6], eax
pop esi
aam 0x4c
je 0x46ca26
push ecx
cmovge esi, dword [edx + 0x58]
xchg ebp, eax
xor eax, 0x8f56855c
ret
daa
cmp esi, dword [esi]
lea esi, [ecx + 0x11]
jno 0x46ca39
aas
pushal
inc esp
ja 0x46ca2e
lsl eax, edi
add eax, edi
out 0x1c, eax
mov eax, dword [0xd7e4c5df]
mov al, 0x96
jecxz 0x46ca22
bound ebx, qword [ecx + 0x11e60b32]
pop ss
jmp 0x269b559d

Function at 0x548c80
Capabilities:
Encode data using xor

Disassembly:
sar dword [ebx - 0x49], 1
push esi
pop eax
xor eax, dword [edx + 0x14]
fadd dword [0x74837b62]
mov ecx, dword [eax - 0x60]
das
add al, 0xa6
adc bl, byte [ebp - 0x5b1f3947]
fldln2
in eax, 0xdd
and al, dl
xchg ecx, eax
shl dword [edi + 0x46], cl
and eax, 0x9372ff07
xchg ebx, eax
and ebx, dword es:[esi + 0x55f36d17]
insd dword es:[edi], dx
push ebp
imul edx, dword [eax - 0xe8f6b47], 0xc8fe1aa1
jno 0x548cb6
int1
mov eax, dword [0x71c8fe1a]
stc
xor al, byte [ecx]
xchg ebp, eax
adc byte ss:[ebp + 0x34], al
pushfd
ja 0x548cae
add ecx, eax
and dword [esi + 0x3e], ebx
mov bh, 0x60
mov dl, 0xc4
mov dh, 0xfe
fxch st(3)
hlt

Function at 0x55e250
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
popfd
inc ebp
mov edi, 0x729a611a
test esi, edi
sal dword [ebp*8 + 0x122c8234], 0x2f
lcall 0xed34, 0xc1fe8572
xor al, 0x82
sub al, 0x12
das
aas
xor dword [ecx + 0x56c3cf9f], edx
sbb esp, dword [esi - 0x24a26884]
popal
xchg esi, eax
mov al, byte [0x33c7bd3c]
add byte [edx], bl
nop
jo 0x55e2e8
loopne fcn.0055e220
xlatb
mov al, 0x21
cmpsd dword [esi], dword es:[edi]
adc ebp, dword [esi + 0x30]
push edi
pop ss
scasb al, byte es:[edi]
pop ebx
pop ecx
adc dl, al
jo 0x55e256
xor ebx, esi
popfd
invalid
add eax, 0xbaf65580
les esi, [esi - 0x2c]
scasd eax, dword es:[edi]
fbld tbyte es:[esi - 0x2b]
mov edx, ecx
push 0xb525b9ce
xor byte [ecx], dh
stosb byte es:[edi], al
invalid
Function at 0x5dadc0
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x1c5d4677]
iretd
adc byte [esp + edi*8 - 0x1a], 0xff
xor dl, byte [esi + esi*8 - 0xd2009ff]
in eax, 0x34
jbe 0x5dae44
aam 0xf2
pavgw mm7, mm7
xor dword [eax - 0x15], 0xffffff9e
jnp 0x5dade9
invalid
imul esi, dword [ebx - 0x6db99140], 0xc095641b
les ebp, [edi + 0x17]
das
or dword [esp + edx*8], edx
xor byte [ebx + 0xc005e40], ah
sti
sub byte [ebp + 0x4d7f2977], dl
xchg ebp, eax
ja 0x5dae2e
jg 0x5dae54
jge 0x5dadf7
cmpsb byte [esi], byte es:[edi]
into
jb 0x5dae23
jne 0x5dad8f
mov edi, 0x37dfb37
fsubr qword [ecx + 0x209fa407]
outsd dx, dword [esi]
xchg edi, eax
movsb byte es:[edi], byte [esi]
lahf
and byte [edi - 0x69], ch
outsb dx, byte [esi]
jo 0x5dae02
call 0xcaaa7609
and byte [eax + 0x56c7ffce], 0xe5
inc eax
rol byte [edi], cl
dec esp
retf 0xa082
pop es
pop es
inc eax
mov dword [0x3d2f973], eax
aad 0xc0
sub eax, 0x7c8b0830
cmpsd dword [esi], dword es:[edi]
add dword [ecx + ebp - 0x6b7d612c], ebp
xchg esp, eax
cwde
mov dword [0x817caec7], eax
shl byte ds:[edx + 0x7b], 0x21
sub ebp, ecx
and al, 0x48
push esp
enter 0xffffffffffffe48b, 0x5b
push esi
imul esp, edx, 0xb313f333
or byte [esi], cl
sbb ch, byte [edx - 0x31]
xchg bl, al
fst qword [ecx + 0x36]
mov eax, dword [0x9b635d0e]
sal dword [eax - 0x48], cl
jo 0x5dae18
stosb byte es:[edi], al
inc esp
jle 0x5dae15
add byte [edx - 0x67], dl
push edx
cdq
cmp byte [esi + 0x709d1acf], 0x3f
mov ds, word [ecx + 0x46be75d1]
clc
push edi
xor eax, ecx
stosd dword es:[edi], eax
cmpsb byte [esi], byte es:[edi]
adc al, byte [edx - 0x2fd84ecd]
lodsb al, byte [esi]
cmpsd dword [esi], dword es:[edi]
test byte [edi + 0x4327f09d], 0xa3
inc eax
pop esp
or byte [ecx + 0x16e54e30], ch
test al, 0x8f
mov al, 0x7c
int 0xec
mov bh, 0x83
popfd
xchg dword [ebx - 0x63b8bcc], ecx
out 0x80, al
cli
push 0x1052b0b5
scasd eax, dword es:[edi]
jne 0x5dae79
int3

Function at 0x630c50
Capabilities:
Encode data using xor

Disassembly:
xchg esi, eax
sar dword [edi + 0x6132a629], 0xb2
inc byte [ebp + 0x23d637c6]
jmp 0x630c93
fiadd word [ebp - 0x728e3d14]
and dh, byte [bx + si]
enter 0xffffffffffffe39b, 0x2e
lodsb al, byte [esi]
mov dl, 3
lcall 0x2feb, 0xa42e17fa
mov edi, 0x7527574b
nop
daa
cmp dl, byte es:[ebx - 0x4f9b3517]
jg 0x630d0a
pushal
pop esi
push esp
xchg edx, eax
cmp ebp, dword [ebp - 0x343ed56a]
lds ecx, [edx - 0x3a]
jno 0x630ce3
inc ebx
femms
xchg edi, eax
jp 0x630c68
mov dl, 0x55
dec ebp
retf 0x7271
add edx, eax
sbb esi, dword [ebx + edi - 0x2cfd5978]
in eax, dx
xor edi, dword [esp - 0xd]
das
jl 0x630d09
das
adc eax, dword [eax - 0x3f]
inc esp
jo 0x630d62
adc al, byte [edx]
mov bh, 0x47
add esp, dword [edi + 3]
cli
mov dword [0x168a5496], eax
invalid
mov esi, 0xca71f146
inc esi
int1
jno 0x630cd8
pop ss
adc dword [ebx + 0x42c4f161], edx
retf
pop es
pop ecx
sub esi, dword [eax]
xor ah, byte [edi - 0x18ae5de0]
stc
ror byte [ebx], 1
push edx
inc edi
add eax, 0xd8becbd2
mov al, byte [0x88455728]
mov ch, 0xe4
invalid
Function at 0x63ad70
Capabilities:
Encode data using xor

Disassembly:
xchg ecx, eax
aaa
and byte [edx - 0x8e78d1e], ch
outsb dx, byte [esi]
mov dh, 0x63
in al, 2
mov esp, dword [eax]
jns 0x63ad89
retf 0xf604
pop ds
lahf
xchg byte [ecx], bl
cmp al, bh
xlatb
aam 0x53
pop es
je 0x63ada1
jp 0x63ad46
inc ebx
aas
lodsd eax, dword [esi]
sti
pop edx
mov eax, dword [0xd0f034ca]
add edx, dword [esi + 0x73]
jae 0x63ad81
jne 0x63ad80
xor dword [0x56260556], esi
idiv byte [esi]
add byte [eax - 0x71187ced], dl
jbe 0x63ade0
jno 0x63ada2
push dword [esi + eax*4 - 0x636cc92a]
mov ah, 0x86
salc
xchg ebx, eax
pushfd
xor byte [0x6f64175f], 0xe1
imul eax, dword [esi + ebp*4], 0x54
ror ebp, 0x35
test eax, 0x6cc68903
in al, 0xaf
push es
lcall 0xcf72, 0x338ca323
and byte [eax], ah
salc
push ebx
ror byte [ecx - 0x27e9c15c], cl
xlatb
xor edi, eax
adc byte [edi - 0x20cd407e], dh
add byte [esi + 0x106c64ff], dl
jae 0x63ae0c
pop edx
and cl, byte [edx + 0x5c5c17c9]
jge 0x63ae0f
invalid
rcl dh, 1
jp 0x63ada5
xchg ebp, eax
push ebx
sub esi, dword [ebx + 0x3d]
dec eax
psllq mm5, qword [ecx + 0x2f]
mov dh, al
push ds
xor ebx, esp
movsb byte es:[edi], byte [esi]
push edx
mov al, byte [0x1262fb9e]
je 0x63ae97
or byte [edi], al
lahf
invalid
and ebx, dword [eax - 0x2cbeb8ec]
aaa
adc al, 0x47
inc ecx
sal dword [edi], cl
mov edx, 0xc774073f
add dword [0x26e641f2], 0x3a
xor bl, dh
sbb esi, ecx
cmp ebp, ebp
dec di
xchg ebx, eax
mov eax, 0x73f426e1
mov edi, 0xe1709510
je 0x63ae95
push 0xffffffffffffffc4
xor eax, 0xbc2792db
lcall 0x40ec, 0x89ff6a34
fadd dword [esi - 0x50]
aas
invalid
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
xor eax, eax
push edi
mov word [0x10003036], ax
xor edi, edi
movzx ecx, word [eax + 0x1000202c]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, di
jne 0x1000115b
push 1
push edi
push edi
mov ebx, 0x10003030
push ebx
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x10003036], ax
movzx ecx, word [eax + str.desktop.ini]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, di
jne 0x1000118b
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push ebx
mov dword [0x10003018], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x100011f1
push edi
push 0x10003024
push esi
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x100046a0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0x3e8
mov byte [esi + 0xc], 0
mov dword [esi + 0x10], 0x7f02
mov byte [esi + 0x14], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
push esi
push sym.HncOfficeFramework.dll_private:_static_unsigned_int___stdcall_CHncWaitCursor::DelayThreadProc_void__
push 0
push 0
mov dword [esi + 0x24], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x1c], eax
pop esi
ret

Function at 0x1000c270
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bf0ce
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1023c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov dword [edi], sym.HncOfficeFramework.dll_const_CHDlgCtrlData::vftable
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], 0
mov dword [edi], sym.HncOfficeFramework.dll_const_CHncPreviewCtrlData::vftable
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x28], sym.HncOfficeFramework.dll_const_CHDlgCtrlGrp::vftable
mov dword [edi + 0x30], sym.HncOfficeFramework.dll_const_CHDlgCtrlCmdTargetItem::vftable
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
movups xmm0, xmmword [esi + 0x38]
movups xmmword [edi + 0x38], xmm0
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov byte [ebp - 4], 1
lea ecx, [edi + 0x68]
movups xmm0, xmmword [esi + 0x54]
movups xmmword [edi + 0x54], xmm0
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
lea eax, [esi + 0x68]
push eax
call fcn.100022c0
lea eax, [esi + 0x80]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x80]
call fcn.100022c0
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e210
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi], sym.HncOfficeFramework.dll_const_CHncSHPidl::vftable
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [esi + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea eax, [esi + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor eax, eax
mov word [esi + 0x10], ax
mov byte [esi + 0x12], al
mov dword [esi + 0x14], eax
mov eax, esi
pop esi
ret

Function at 0x10010f80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call dword [sym.imp.HncFoundation.dll_public:_void___thiscall_CHncComObject::constructor_class_CHncComObject_const__]
mov dword [edi + 0x1c], sym.HncOfficeFramework.dll_const_CHncFrameOleClientItem::vftablefor__CHncOleDocItem
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov dword [edi], sym.HncOfficeFramework.dll_const_CHncOleClientItem::vftablefor__CHncComObject
mov dword [edi + 0x1c], sym.HncOfficeFramework.dll_const_CHncFrameOleClientItem::vftablefor__CHncOleDocItem
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
movzx eax, byte [esi + 0x44]
mov byte [edi + 0x44], al
movzx eax, byte [esi + 0x45]
mov byte [edi + 0x45], al
movzx eax, byte [esi + 0x46]
mov byte [edi + 0x46], al
movzx eax, byte [esi + 0x47]
mov byte [edi + 0x47], al
movzx eax, byte [esi + 0x48]
mov byte [edi + 0x48], al
mov ax, word [esi + 0x49]
mov word [edi + 0x49], ax
movzx eax, byte [esi + 0x4b]
mov byte [edi + 0x4b], al
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], 0x101d0c58
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 0x101d1cb0
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], 0x101d17b8
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], 0x101d1b38
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x8c], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x10013130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
xor ecx, ecx
push ebx
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
cmp esi, 0x12
push edi
mov edi, dword [eax + 0x58]
setne cl
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 4], eax
mov dword [ebp + 8], ecx
mov edx, dword [eax + 0xd0]
mov eax, edx
shr eax, 2
not eax
and eax, 1
cmp eax, ecx
lea eax, [ebx + 4]
je 0x1001319d
cmp esi, 0x12
push 1
cmove ebx, eax
and edx, 0xfffffffb
mov eax, dword [ebp - 4]
or edx, ebx
push 0
push dword [eax + 4]
mov dword [eax + 0xd0], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x100131a3
cmp esi, 0x12
cmove ebx, eax
test edi, edi
je 0x100131e6
mov edx, dword [edi + 4]
mov dword [ebp - 4], edx
mov ecx, dword [edx + 0xd0]
mov eax, ecx
shr eax, 2
not eax
and eax, 1
cmp eax, dword [ebp + 8]
je 0x100131e6
push 1
and ecx, 0xfffffffb
push 0
push dword [edx + 4]
or ecx, ebx
mov dword [edx + 0xd0], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call sym.HncOfficeFramework.dll_public:_static_unsigned_short_int___cdecl_CHDDialog::_GetCharFromDlgCtrlHotKey_unsigned_int_
add esp, 4
test ax, ax
je 0x10013229
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebx
test ax, ax
js 0x10013229
push 0x11
call ebx
test ax, ax
js 0x10013229
mov ecx, dword [ebp - 8]
push esi
mov ecx, dword [ecx + 4]
call fcn.1013df80
test eax, eax
jne 0x10013229
test edi, edi
je 0x10013229
mov ecx, dword [edi + 4]
push esi
call fcn.1013df80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100132c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [edx], 0
lea eax, [esi - 3]
cmp eax, 0x28
ja case.0x100132e2.4
movzx eax, byte [eax + 0x10013388]
jmp dword [eax*4 + 0x1001337c]
mov ecx, dword [edi + 0x58]
mov dword [edx], 1
mov eax, dword [ecx]
call dword [eax + 0x34]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
mov ecx, dword [edi + 0x58]
mov dword [edx], 1
mov eax, dword [ecx]
call dword [eax + 0x30]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push esi
call sym.HncOfficeFramework.dll_public:_static_unsigned_short_int___cdecl_CHDDialog::_GetCharFromDlgCtrlHotKey_unsigned_int_
add esp, 4
test ax, ax
je 0x10013372
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call ebx
mov ecx, 0xff00
test cx, ax
jne 0x10013371
push 0x11
call ebx
mov ecx, 0xff00
test cx, ax
jne 0x10013371
push 0x10
call ebx
mov ecx, 0xff00
test cx, ax
jne 0x10013371
mov ecx, dword [edi + 4]
push esi
call fcn.1013df80
test eax, eax
jne 0x10013371
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x10013371
mov ecx, dword [ecx + 4]
push esi
call fcn.1013df80
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x10013710
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x40]
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
sar eax, 2
cmp eax, ecx
jbe 0x10013734
mov esi, dword [esi + ecx*4]
jmp 0x10013736
xor esi, esi
mov eax, dword [ebx + 4]
xor ecx, ecx
mov edi, dword [ebp + 8]
cmp edi, 0x12
mov dword [ebp - 4], eax
setne cl
mov edx, dword [eax + 0xd0]
mov eax, edx
shr eax, 2
not eax
mov dword [ebp - 8], ecx
and eax, 1
cmp eax, ecx
je 0x1001379a
xor eax, eax
mov ecx, 4
cmp edi, 0x12
push 1
cmove eax, ecx
and edx, 0xfffffffb
or edx, eax
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
push 0
push dword [eax + 4]
mov dword [eax + 0xd0], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp + 8]
jmp 0x100137a7
xor ecx, ecx
mov eax, 4
cmp edi, 0x12
cmove ecx, eax
test esi, esi
je 0x100137ed
mov eax, dword [esi + 4]
mov dword [ebp + 8], eax
mov edx, dword [eax + 0xd0]
mov eax, edx
shr eax, 2
not eax
and eax, 1
cmp eax, dword [ebp - 8]
je 0x100137ed
mov eax, dword [ebp + 8]
and edx, 0xfffffffb
push 1
push 0
or edx, ecx
push dword [eax + 4]
mov dword [eax + 0xd0], edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
call sym.HncOfficeFramework.dll_public:_static_unsigned_short_int___cdecl_CHDDialog::_GetCharFromDlgCtrlHotKey_unsigned_int_
add esp, 4
test ax, ax
je 0x1001382f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1001382f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1001382f
mov ecx, dword [ebx + 4]
push edi
call fcn.1013df80
test eax, eax
jne 0x1001382f
test esi, esi
je 0x1001382f
mov ecx, dword [esi + 4]
push edi
call fcn.1013df80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc