joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10074cf0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x624]
sub esp, 0x624
push 0xffffffffffffffff
push 0x1013c3d8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1019d008]
xor eax, ebp
mov dword [ebp + 0x620], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x101a3090
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
call fcn.1000b700
mov dword [ebp - 4], 0
mov ecx, 0x101a3094
call fcn.10004f90
test al, al
jne 0x10074d8e
mov ecx, 0x101a3094
call fcn.10004ba0
cmp esi, eax
je 0x10074d78
call fcn.10004ba0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x10074d6d
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
mov ecx, esi
call fcn.10004c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000b730
mov al, 1
jmp 0x10074e4d
push 0x20c
lea eax, [ebp + 0x414]
push 0
push eax
call fcn.10105570
add esp, 0xc
lea eax, [ebp + 0x414]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x10074e3c
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x61e], ax
lea eax, [ebp]
push eax
call fcn.10105570
add esp, 0xc
lea eax, [ebp]
push 0x208
push eax
lea eax, [ebp + 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10074e20
test eax, eax
je 0x10074e20
add eax, eax
cmp eax, 0x412
jae 0x10074e6e
xor ecx, ecx
mov word [ebp + eax], cx
lea eax, [ebp]
push eax
call fcn.10005260
add esp, 4
push eax
lea eax, [ebp]
push eax
jmp 0x10074d71
lea eax, [ebp + 0x414]
push eax
call fcn.10005260
add esp, 4
push eax
lea eax, [ebp + 0x414]
push eax
jmp 0x10074d71
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000b730
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x620]
xor ecx, ebp
call fcn.10103789
lea esp, [ebp + 0x624]
pop ebp
ret
call fcn.10103e09
int3

Function at 0x10074e80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x1019d008]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
lea eax, [esp + 4]
push esi
push edi
push 0x20c
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.10105570
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 0
call fcn.10006030
push eax
mov ecx, edi
call fcn.10006030
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x10074f15
xor eax, eax
mov word [esp + 0x216], ax
lea eax, [esp + 0xc]
push eax
call fcn.10005260
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.10004c10
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.10103789
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10103789
add esp, 0x210
ret
Function at 0x10075020
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013c408
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1019d008]
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 0x10075066
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.1007ada0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1007508f
lea ebx, [esi + 8]
jmp 0x10075091
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
call fcn.10004f90
test al, al
jne 0x100750a7
mov ecx, dword [ebp - 0x18]
call fcn.10006030
jmp 0x100750a9
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x100750ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100750ca
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x100750f3
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 0x10075108
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.10103c3e
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.10103789
mov esp, ebp
pop ebp
ret 4
Function at 0x10075140
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013c408
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1019d008]
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 0x10075183
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.1007ae60
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x100751b0
lea eax, [esi + 8]
mov dword [ebp - 0x18], eax
jmp 0x100751b7
mov dword [ebp - 0x18], 0
mov ecx, ebx
call fcn.10004f90
test al, al
jne 0x100751cb
mov ecx, ebx
call fcn.10006030
jmp 0x100751cd
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 0x1007521e
call ecx
cmp eax, 5
jne 0x10075218
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.10004f90
test al, al
jne 0x10075208
mov ecx, ebx
call fcn.10006030
jmp 0x1007520a
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 0x1007523c
call ecx
cmp eax, 0xb7
jne 0x10075231
mov byte [edi + 5], 1
mov ecx, dword [edi]
call fcn.1005f250
mov eax, dword [edi]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x10075262
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 0x10075277
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.10103c3e
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.10103789
mov esp, ebp
pop ebp
ret 4
Function at 0x100752b0
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x808]
sub esp, 0x808
push 0xffffffffffffffff
push 0x1013c440
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1019d008]
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 0x10075377
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 0x1007539c
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10103ee3
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 0x10075363
cmp eax, ebx
ja 0x10075363
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x10], ebx
jmp 0x100753c0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10075377
push edi
call fcn.10103ce3
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.10103789
lea esp, [ebp + 0x808]
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x10075433
xor ecx, ecx
mov word [ebp + eax + 4], cx
add eax, 2
cmp eax, 0x800
jae 0x10075433
mov word [ebp + eax + 4], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x10075418
mov esi, dword [ebp - 0x14]
mov ebx, 2
mov eax, dword [ebp - 0x10]
cmp word [esi + ebx - 2], 0
jne 0x1007540d
cmp ecx, edi
je 0x1007540d
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x30]
call fcn.10007b90
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10024670
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10004ab0
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x100753d3
mov esi, dword [ebp]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x1007542c
push esi
call fcn.10103ce3
add esp, 4
mov al, 1
jmp 0x10075379
call fcn.10103e09
int3
Function at 0x10078200
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013b41f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1019d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push edx
push 0x94
call fcn.100048b0
mov esi, dword [ebp + 8]
add esp, 8
mov edi, eax
mov ecx, eax
mov dword [ebp - 0x10], edi
push esi
call fcn.10004ac0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push ecx
lea ecx, [edi + 0x18]
call fcn.10004ac0
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.10004ac0
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.10004ac0
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.10004ac0
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.10004ac0
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 0x1007a820
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1019d008]
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 0x1007a885
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 0x1007a860
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1007a885
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.10103789
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10103789
add esp, 8
ret 4
Function at 0x1007aa20
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013d258
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1019d008]
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 0x1007aa69
mov dword [ecx], 0
mov dword [eax], 0
cmp dword [edi], 0xffffffff
je 0x1007abbb
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 0x1007ab86
test eax, eax
je 0x1007ab86
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x1007ab89
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x24], eax
cmp ecx, 0xffffffff
je 0x1007ab0b
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 0x1007aaff
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1007ab0b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x1007ab19
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.10004ac0
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 0x1007ab86
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 0x1007aac4
jmp 0x1007ab89
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add dword [ecx], edx
test eax, eax
jne 0x1007abb2
test edx, edx
je 0x1007abae
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 0x1007aa80
mov al, 1
jmp 0x1007abbd
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1007abbb
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.10103789
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1007f790
Capabilities:
Check os version

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

Function at 0x1007f840
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013d8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x1019d008]
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.10007b90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.10069f30
mov ecx, eax
call fcn.10069ff0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004ab0
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.10007b90
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.10069f30
mov ecx, eax
call fcn.10069ff0
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10004ab0
test ebx, ebx
je 0x1007f955
test esi, esi
je 0x1007f955
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 0x10080800
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013da07
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1019d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.1008e6e0
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.10096510
mov byte [ebp - 4], 2
push 0x38
mov word [edi + 0x168], 0
mov byte [edi + 0x175], 0
call fcn.101037ad
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.10005020
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
call fcn.10005020
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.101037ad
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
push 0x68
push 0
push edi
call fcn.10105570
add esp, 0x10
mov dword [edi], 0
mov dword [edi + 4], 0
lea ecx, [edi + 0xc]
mov dword [edi + 8], 0
call fcn.10005020
mov byte [ebp - 4], 6
lea ecx, [edi + 0x24]
call fcn.10005020
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.100934e0
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 0x10082010
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x1019d008]
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.10091010
test byte [ebp + 8], 2
jne 0x100820dc
mov eax, dword [esi + 0x178]
mov ecx, dword [ebp + 0x10]
mov byte [eax + 0x30], cl
test cl, cl
je 0x10082099
push 0x7ed
mov ecx, esi
call fcn.10082bb0
test al, al
je 0x100820dc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0xf0]
call fcn.10092ad0
mov ecx, esi
call fcn.10082df0
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.10103789
mov esp, ebp
pop ebp
ret 0xc
cmp dword [esi + 0xf0], 0
je 0x100820dc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x100820bc
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x100820c1
mov byte [esp + 8], 1
push dword [edi + 4]
mov ecx, dword [esi + 0xf0]
push dword [edi]
push dword [esp + 0x10]
call fcn.100924c0
mov ecx, esi
call fcn.10082df0
mov ecx, dword [esp + 0xc]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.10103789
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10082100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1019d008]
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 0x10082163
cmp byte [esi + 0x168], 0
je 0x10082163
mov eax, dword [esi + 0x178]
mov ecx, esi
mov byte [eax + 0x30], 0
call fcn.100823b0
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10103789
mov esp, ebp
pop ebp
ret 0xc
test cl, cl
jne 0x1008214e
cmp dword [esi + 0xf0], 0
je 0x100821af
cmp byte [esi + 0x175], cl
jne 0x100821af
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x10082192
cmp byte [esi + 0xf4], 0
mov byte [esp + 8], 0
je 0x10082197
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.100924c0
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.10082df0
test edi, edi
je 0x10082244
cmp byte [esi + 0x80], 0
je 0x10082244
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.100918c0
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10103789
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10083120
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1019d008]
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.10105570
push 0x110
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0x114
push 0
push eax
call fcn.10105570
add esp, 0x18
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10083180
cmp dword [esp + 0xc], 6
mov eax, 0x30
jae 0x10083185
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 [0x101a18a8]
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.10103789
add esp, 0x118
ret 0x18