joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10083d30
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x10199008]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.1010cca0
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x10083dc7
cmp dword [esp + 8], 6
jb 0x10083dc7
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.1010a4b0
add esp, 0x118
ret

Function at 0x10083de0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142e30
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10199008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.10005790
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.1006d990
mov ecx, eax
call fcn.1006da50
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005700
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.10005790
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.1006d990
mov ecx, eax
call fcn.1006da50
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005700
test ebx, ebx
je 0x10083ef5
test esi, esi
je 0x10083ef5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100856d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142fb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10199008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x10085716
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.10080360
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1008573f
lea ebx, [esi + 8]
jmp 0x10085741
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
call fcn.10005680
test al, al
jne 0x10085757
mov ecx, dword [ebp - 0x18]
call fcn.10005690
jmp 0x10085759
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x1008577a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1008577a
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x100857a3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100857b8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.1010a4f1
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a4b0
mov esp, ebp
pop ebp
ret 4
Function at 0x10096340
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x10199008]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov edi, dword [esp + 0x128]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.1010cca0
push 0x110
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0x114
push 0
push eax
call fcn.1010cca0
add esp, 0x18
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100963a0
cmp dword [esp + 0xc], 6
mov eax, 0x30
jae 0x100963a5
mov eax, 0x2c
push edi
mov dword [esi], eax
mov dword [esi + 4], 0
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov dword [esi + 8], eax
mov eax, esi
mov dword [esi + 0xc], edi
mov ecx, dword [0x1019d9d0]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x134]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x11c]
pop edi
mov dword [esi + 0x28], 0
pop esi
xor ecx, esp
call fcn.1010a4b0
add esp, 0x118
ret 0x18
Function at 0x100966d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101452e2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10199008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 0x14
mov dword [eax], vtable.RC::RCMiniUIWindow.0
call fcn.1010a4c1
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea esi, [edi + 4]
mov dword [edi], 1
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10079290
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0xc]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005d670
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [ebp - 4], 7
mov edi, eax
push 0x78
mov dword [edi], vtable.RC::RCMiniUIDialogView.0
lea esi, [edi + 0x4c]
mov dword [edi + 0x10], 0xae
mov dword [edi + 0x14], 0xaf
mov dword [edi + 0x1c], edi
mov dword [edi + 0x24], edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], vtable.RC::RCMiniUIBounceWndHandler.0
mov dword [edi + 0x48], edi
call fcn.1010a4c1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
movaps xmm0, xmmword [0x10170e40]
movsd xmm1, qword [0x10170c40]
mov byte [eax], 0
movups xmmword [eax + 8], xmm0
movaps xmm0, xmmword [0x10170e10]
movsd qword [eax + 0x18], xmm1
movups xmmword [eax + 0x20], xmm0
movsd qword [eax + 0x30], xmm1
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], 0
mov byte [ebp - 4], 9
mov dword [eax + 0x4c], 0
mov byte [ebp - 4], 0xa
mov dword [eax + 0x50], 0
mov byte [ebp - 4], 0xb
mov dword [eax + 0x54], 0
mov byte [ebp - 4], 0xc
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
xorps xmm0, xmm0
mov dword [eax + 0x64], 0
movsd qword [eax + 0x68], xmm0
mov dword [eax + 0x70], 1
mov dword [eax + 0x38], SysReAllocStringLen
mov dword [eax + 0x3c], SysReAllocStringLen
mov byte [ebp - 4], 7
mov dword [edi + 0x44], eax
mov byte [ebp - 4], 0xd
push 0x60
mov byte [esi], 0
mov byte [edi + 0x4d], 0xff
call fcn.1010a4c1
add esp, 8
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.10096420
mov byte [ebp - 4], 0xd
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 0xffffffff
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
Function at 0x10098ab0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10145628
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10199008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x10098c23
mov eax, dword [ecx + 0xb8]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x10098c23
cmp dword [eax + 4], 0
je 0x10098c23
call fcn.100af230
mov edi, eax
test edi, edi
je 0x10098c23
mov eax, dword [ebp + 8]
sub eax, 0x10d
je 0x10098c14
sub eax, 1
je 0x10098bfc
sub eax, 1
jne 0x10098c23
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [edi + 4], 0
mov ebx, eax
mov dword [ebp - 0x30], ebx
je 0x10098c23
mov ecx, edi
call fcn.100b0e30
push ebx
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov ebx, eax
test ebx, ebx
je 0x10098c23
lea ecx, [ebp - 0x28]
call fcn.100057e0
mov dword [ebp - 4], 0
test dword [ebp + 0x10], 0x800
je 0x10098bd5
push 0
push 0
push 0x800
push ebx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x10098bd5
mov esi, eax
shr esi, 1
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10012230
push 0
push esi
lea ecx, [ebp - 0x28]
call fcn.100b0f40
lea ecx, [ebp - 0x28]
call fcn.10005800
cmp dword [eax + 0x14], 8
jb 0x10098bc5
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
push 0x800
push ebx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005700
jmp 0x10098c23
mov byte [edi + 8], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
jmp 0x10098c23
mov ecx, edi
mov byte [edi + 8], 0
call fcn.100b0e30
mov byte [edi + 0x10], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a4b0
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1009af30
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
push 0x12
mov ebp, ecx
mov dword [eax], 0
call ebx
movzx esi, ax
shr esi, 5
push 0x10
and esi, 4
call ebx
mov edi, esi
or edi, 1
and al, 0x80
push 0x11
cmove edi, esi
call ebx
mov ecx, dword [ebp + 4]
mov esi, edi
or esi, 2
and al, 0x80
cmove esi, edi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x1009af9e
mov eax, dword [ecx]
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
mov eax, dword [eax + 0x88]
call eax
test al, al
je 0x1009af9e
mov eax, dword [esp + 0x20]
mov dword [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x1009afb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push 0x12
mov dword [esp + 0x14], ecx
mov dword [ebp], 0
call ebx
movzx esi, ax
shr esi, 5
push 0x10
and esi, 4
call ebx
mov edi, esi
or edi, 1
and al, 0x80
push 0x11
cmove edi, esi
call ebx
mov ecx, dword [esp + 0x10]
mov esi, edi
or esi, 2
and al, 0x80
cmove esi, edi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x1009b01e
mov eax, dword [ecx]
push esi
push edi
push ebx
mov eax, dword [eax + 0x84]
call eax
test al, al
jne 0x1009b039
cmp dword [ebp], 0
jne 0x1009b040
mov eax, dword [esp + 0x10]
push esi
push edi
push ebx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x1009b040
mov dword [ebp], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10

Function at 0x1009b980
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10145b89
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10199008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [edi + 0x24]
call fcn.100966d0
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x30]
mov eax, dword [ebp + 8]
mov dword [edi], vtable.RC::RCMiniUISimpleWindow.0
mov dword [edi + 0x24], vtable.RC::RCMiniUISimpleWindow.1.0
mov dword [ecx + 0x14], eax
mov dword [ebp - 4], 0xffffffff
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 0x1009cc50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10145edb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10199008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.RC::RCMiniUIObject.0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10]
mov dword [esi], vtable.RC::RCMiniUIView.0
mov dword [esi + 4], vtable.RC::RCMiniUIView.1.0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
call fcn.100b05b0
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0x64
mov word [esi + 0x80], 0
mov dword [esi + 0x88], 0
mov byte [esi + 0x8c], 1
mov word [esi + 0xa0], 0x101
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov word [esi + 0xac], 0
mov byte [esi + 0xae], 0
mov dword [esi + 0xb0], 0x3e8
mov word [esi + 0xb4], 0
mov byte [esi + 0xb6], 1
movups xmmword [esi + 0x90], xmm0
call fcn.1010a4c1
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x44]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov byte [edi + 0x40], 0
mov dword [edi + 0xc], 0xf
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], esi
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10079290
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x4c]
sub esp, 8
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1009f730
mov dword [esi], eax
mov byte [ebp - 4], 9
lea esi, [edi + 0x54]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1005d670
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov dword [edi + 0x5c], 0
mov byte [edi + 0x60], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x84], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100a1990
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x100a19f5
cmp dword [edi], 0
mov esi, dword [esi]
je 0x100a19d5
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100a19eb
push 0x10169d7c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100a19eb
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x100a19eb
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x1019f9a8], 0
jne 0x100a1a35
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100a1a27
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1019f9ac], eax
mov byte [0x1019f9a8], 1
jmp 0x100a1a3a
mov eax, dword [0x1019f9ac]
mov byte [0x1019f9a8], 1
jmp 0x100a1a3a
mov eax, dword [0x1019f9ac]
test eax, eax
je 0x100a1a50
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
Function at 0x100a22d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x10146a33
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10199008]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x41c]
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x40c], 0
mov dword [ebp + 0x40c], 0
mov dword [ebp - 4], 0
mov dword [ebp + 0x408], ecx
mov dword [ebp + 0x404], 0
push 0x404
push 0
lea eax, [ebp]
push eax
call fcn.1010cca0
add esp, 0xc
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x100a239e
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x100a239e
call fcn.100a16a0
mov edi, eax
jmp 0x100a24a9
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100a23bb
call fcn.100a16a0
jmp 0x100a249c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x100a23d6
call fcn.100a16a0
jmp 0x100a249c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x14], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x100a23f4
mov edi, 0x8007000e
jmp 0x100a249e
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
test edx, edx
ja 0x100a24eb
jb 0x100a2418
cmp eax, 0xffffffff
ja 0x100a24eb
cmp eax, 0x400
jbe 0x100a2431
push eax
lea ecx, [ebp]
call fcn.100a5510
mov dword [ebp - 4], 1
jmp 0x100a2456
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x100a2456
mov eax, dword [ebp]
test eax, eax
jne 0x100a2464
mov edi, 0x8007000e
jmp 0x100a249e
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x100a247f
call fcn.100a16a0
jmp 0x100a249c
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x428]
push dword [ebp]
lea ecx, [ebp + 0x404]
call fcn.100a3130
mov edi, eax
test esi, esi
je 0x100a24a9
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x100a24bd
lea ecx, [ebp]
call fcn.100a5500
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1010a4b0
lea esp, [ebp + 0x414]
pop ebp
ret 0x10
push 0x80070216
call fcn.1009a3a0
int3
Function at 0x100a6060
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101471e7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10199008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.100c25b0
mov dword [ebp - 4], 0
mov dword [edi + 0xbc], vtable.RC::RCMiniUITextInputClient.0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xf8]
mov dword [edi], vtable.RC::RCMiniUIEditView.2.0
mov dword [edi + 4], vtable.RC::RCMiniUIEditView.0
mov dword [edi + 0xbc], vtable.RC::RCMiniUIEditView.1.0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 1
mov dword [edi + 0xc8], 0xffffffff
mov dword [edi + 0xcc], 0xffffffff
mov dword [edi + 0xd0], 0x6d6d6d
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe4], 1
mov word [edi + 0xe8], 0x100
mov byte [edi + 0xea], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf4], 0x1000100
call fcn.100b05b0
mov byte [ebp - 4], 2
push 0x38
mov word [edi + 0x168], 0
mov byte [edi + 0x175], 0
call fcn.1010a4c1
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.100057e0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
call fcn.100057e0
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [edi + 0x178], esi
mov byte [esi + 0x30], 0
mov eax, dword [edi + 0x178]
movlpd qword [ebp - 0x1c], xmm0
push 0x68
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x170], eax
mov dword [edi + 0xfc], 0xff9933
mov dword [edi + 0x10c], 0xffffff
mov dword [edi + 0x14], 0xffffff
mov dword [edi + 0x24], 0
mov ecx, dword [edi + 0x58]
or dword [ecx + 0x18], 2
call fcn.1010a4c1
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
push 0x68
push 0
push edi
call fcn.1010cca0
add esp, 0x10
mov dword [edi], 0
mov dword [edi + 4], 0
lea ecx, [edi + 0xc]
mov dword [edi + 8], 0
call fcn.100057e0
mov byte [ebp - 4], 6
lea ecx, [edi + 0x24]
call fcn.100057e0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x4c], eax
lea esi, [edi + 0x60]
mov dword [edi + 0x50], 0
push 0
mov byte [edi + 0x5c], 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100c4040
mov dword [esi], eax
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x58], eax
movups xmmword [edi + 0x3c], xmm0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xf0], edi
mov dword [eax + 0xc], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100a78d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x10199008]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, ecx
push edi
push dword [ebp + 8]
call fcn.1009e5a0
test byte [ebp + 8], 2
jne 0x100a799c
mov eax, dword [esi + 0x178]
mov ecx, dword [ebp + 0x10]
mov byte [eax + 0x30], cl
test cl, cl
je 0x100a7959
push 0x7ed
mov ecx, esi
call fcn.100a8470
test al, al
je 0x100a799c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xf0]
call fcn.100c3640
mov ecx, esi
call fcn.100a86b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa0]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.1010a4b0
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0xf0], 0
je 0x100a799c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x100a797c
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x100a7981
mov byte [esp + 8], 1
push dword [edi + 4]
mov ecx, dword [esi + 0xf0]
push dword [edi]
push dword [esp + 0x10]
call fcn.100c3030
mov ecx, esi
call fcn.100a86b0
mov ecx, dword [esp + 0xc]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.1010a4b0
mov esp, ebp
pop ebp
ret 0xc