joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100711c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134578
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10193008]
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 0x10071206
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.10076f40
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1007122f
lea ebx, [esi + 8]
jmp 0x10071231
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
call fcn.10005620
test al, al
jne 0x10071247
mov ecx, dword [ebp - 0x18]
call fcn.10006600
jmp 0x10071249
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x1007126a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1007126a
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x10071293
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 0x100712a8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.100fc65e
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.100fc1a9
mov esp, ebp
pop ebp
ret 4
Function at 0x100712e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134578
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10193008]
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 [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x10071323
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push ecx
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.10077000
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x10071350
lea eax, [esi + 8]
mov dword [ebp - 0x18], eax
jmp 0x10071357
mov dword [ebp - 0x18], 0
mov ecx, ebx
call fcn.10005620
test al, al
jne 0x1007136b
mov ecx, ebx
call fcn.10006600
jmp 0x1007136d
xor eax, eax
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
test eax, eax
jne 0x100713be
call ecx
cmp eax, 5
jne 0x100713b8
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.10005620
test al, al
jne 0x100713a8
mov ecx, ebx
call fcn.10006600
jmp 0x100713aa
xor eax, eax
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi]
test eax, eax
je 0x100713dc
call ecx
cmp eax, 0xb7
jne 0x100713d1
mov byte [edi + 5], 1
mov ecx, dword [edi]
call fcn.1005b4d0
mov eax, dword [edi]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x10071402
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 0x10071417
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.100fc65e
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.100fc1a9
mov esp, ebp
pop ebp
ret 4
Function at 0x10071450
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x808]
sub esp, 0x808
push 0xffffffffffffffff
push 0x101345b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp + 0x804], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp + 4]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x10071517
lea edi, [ebp + 4]
mov dword [ebp], 0
xor esi, esi
mov dword [ebp - 0x14], edi
mov dword [ebp], esi
mov dword [ebp - 4], esi
cmp ebx, 0x3fe
jbe 0x1007153c
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100fc903
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, edi
mov dword [ebp], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10071503
cmp eax, ebx
ja 0x10071503
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x10], ebx
jmp 0x10071560
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10071517
push edi
call fcn.100fc703
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x804]
xor ecx, ebp
call fcn.100fc1a9
lea esp, [ebp + 0x808]
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x100715d3
xor ecx, ecx
mov word [ebp + eax + 4], cx
add eax, 2
cmp eax, 0x800
jae 0x100715d3
mov word [ebp + eax + 4], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x100715b8
mov esi, dword [ebp - 0x14]
mov ebx, 2
mov eax, dword [ebp - 0x10]
cmp word [esi + ebx - 2], 0
jne 0x100715ad
cmp ecx, edi
je 0x100715ad
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x30]
call fcn.10008180
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10021580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10004ae0
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x10071573
mov esi, dword [ebp]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100715cc
push esi
call fcn.100fc703
add esp, 4
mov al, 1
jmp 0x10071519
call fcn.100fc829
int3
Function at 0x100743a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013358f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10193008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push edx
push 0x94
call fcn.100048e0
mov esi, dword [ebp + 8]
add esp, 8
mov edi, eax
mov ecx, eax
mov dword [ebp - 0x10], edi
push esi
call fcn.10004af0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push ecx
lea ecx, [edi + 0x18]
call fcn.10004af0
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.10004af0
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.10004af0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.10004af0
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.10004af0
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 0x100769c0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x10193008]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x10076a25
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10076a00
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10076a25
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.100fc1a9
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100fc1a9
add esp, 8
ret 4
Function at 0x10076bc0
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101353c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10193008]
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 ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x10076c09
mov dword [ecx], 0
mov dword [eax], 0
cmp dword [edi], 0xffffffff
je 0x10076d5b
mov eax, dword [ebp + 0xc]
mov ecx, 0x100000
push 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
cmp eax, 0x100000
lea eax, [ebp - 0x1c]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x10076d26
test eax, eax
je 0x10076d26
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x10076d29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x24], eax
cmp ecx, 0xffffffff
je 0x10076cab
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10076c9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10076cab
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x10076cb9
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x24]
push eax
push ecx
sub esp, 0x18
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.10004af0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x10076d26
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 0x80004005
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x10076c64
jmp 0x10076d29
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add dword [ecx], edx
test eax, eax
jne 0x10076d52
test edx, edx
je 0x10076d4e
mov eax, dword [ebp + 0xc]
add esi, edx
sub eax, edx
mov dword [ebp - 0x20], esi
mov dword [ebp + 0xc], eax
mov ecx, 0x100000
jne 0x10076c20
mov al, 1
jmp 0x10076d5d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10076d5b
mov dword [ecx], eax
xor al, al
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.100fc1a9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1007b930
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x10193008]
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.100fdf90
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x1007b9c7
cmp dword [esp + 8], 6
jb 0x1007b9c7
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.100fc1a9
add esp, 0x118
ret

Function at 0x1007b9e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10135a30
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10193008]
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.10008180
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100660b0
mov ecx, eax
call fcn.10066170
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004ae0
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.10008180
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.100660b0
mov ecx, eax
call fcn.10066170
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10004ae0
test ebx, ebx
je 0x1007baf5
test esi, esi
je 0x1007baf5
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 0x1007c9a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10135b77
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10193008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.1008a870
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.100926a0
mov byte [ebp - 4], 2
push 0x38
mov word [edi + 0x168], 0
mov byte [edi + 0x175], 0
call fcn.100fc1cd
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.100056b0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
call fcn.100056b0
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.100fc1cd
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
push 0x68
push 0
push edi
call fcn.100fdf90
add esp, 0x10
mov dword [edi], 0
mov dword [edi + 4], 0
lea ecx, [edi + 0xc]
mov dword [edi + 8], 0
call fcn.100056b0
mov byte [ebp - 4], 6
lea ecx, [edi + 0x24]
call fcn.100056b0
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.1008f670
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 0x1007e1b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x10193008]
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.1008d1a0
test byte [ebp + 8], 2
jne 0x1007e27c
mov eax, dword [esi + 0x178]
mov ecx, dword [ebp + 0x10]
mov byte [eax + 0x30], cl
test cl, cl
je 0x1007e239
push 0x7ed
mov ecx, esi
call fcn.1007ed50
test al, al
je 0x1007e27c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xf0]
call fcn.1008ec60
mov ecx, esi
call fcn.1007ef90
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.100fc1a9
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0xf0], 0
je 0x1007e27c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x1007e25c
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x1007e261
mov byte [esp + 8], 1
push dword [edi + 4]
mov ecx, dword [esi + 0xf0]
push dword [edi]
push dword [esp + 0x10]
call fcn.1008e650
mov ecx, esi
call fcn.1007ef90
mov ecx, dword [esp + 0xc]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007e2a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x10193008]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 8], eax
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x178]
mov cl, byte [eax + 0x30]
mov byte [eax + 0x30], 0
and edi, 2
je 0x1007e303
cmp byte [esi + 0x168], 0
je 0x1007e303
mov eax, dword [esi + 0x178]
mov ecx, esi
mov byte [eax + 0x30], 0
call fcn.1007e550
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret 0xc
test cl, cl
jne 0x1007e2ee
cmp dword [esi + 0xf0], 0
je 0x1007e34f
cmp byte [esi + 0x175], cl
jne 0x1007e34f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x1007e332
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x1007e337
mov byte [esp + 8], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xf0]
push dword [eax + 4]
push dword [eax]
push dword [esp + 0x10]
call fcn.1008e650
mov eax, dword [esi + 0x98]
lea ecx, [esp + 0x10]
sub eax, dword [esi + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x9c]
sub eax, dword [esi + 0x94]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
movaps xmm0, xmmword [esp + 0x10]
push 1
push ecx
mov ecx, esi
mov byte [esi + 0xf4], 0
movaps xmmword [esp + 0x18], xmm0
call dword [eax + 0xa4]
mov ecx, esi
call fcn.1007ef90
test edi, edi
je 0x1007e3e4
cmp byte [esi + 0x80], 0
je 0x1007e3e4
mov eax, dword [esi + 0xa4]
mov ecx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x18], 9
mov eax, dword [eax + 8]
call eax
mov dword [esp + 0x20], eax
mov ecx, esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esi
push eax
call fcn.1008da50
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007f2c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x10193008]
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.100fdf90
push 0x110
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0x114
push 0
push eax
call fcn.100fdf90
add esp, 0x18
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1007f320
cmp dword [esp + 0xc], 6
mov eax, 0x30
jae 0x1007f325
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 [0x10197888]
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.100fc1a9
add esp, 0x118
ret 0x18
Function at 0x1007f650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10136082
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10193008]
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.100fc1cd
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.1005bc60
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.10050b30
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.100fc1cd
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
movaps xmm0, xmmword [0x10164a00]
movsd xmm1, qword [0x101647d0]
mov byte [eax], 0
movups xmmword [eax + 8], xmm0
movaps xmm0, xmmword [0x101649d0]
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], SysReAllocString
mov dword [eax + 0x3c], SysReAllocString
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.100fc1cd
add esp, 8
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.1007f3a0
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