joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007cb0e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.10075acf
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1007cb4a
call fcn.1007cd29
mov dword [esi + 0xc], 1
jmp 0x1007cb4f
call fcn.1007cd29
cmp dword [esi], 0
je 0x1007cb98
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x1007cb72
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.10066cd6
jmp 0x1007cb83
push 0xff
mov ecx, esi
call fcn.10016d70
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.100443f0
jmp 0x1007cbbc
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x1007cbbc
push dword [esi]
push dword [ebp - 4]
call fcn.10076065
pop esi
leave
ret 0xc

Function at 0x1007cc80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1007cd29
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1007ccc8
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10066cd6
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.100443f0
jmp 0x1007ccd3
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10076065
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1007ebcf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x1007ebfa
cmp dword [edi + 0x80], 0
jne 0x1007ebfa
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.1006764c
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.1007ee6e
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1007ec27
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.1006764c
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1007ec5a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.1007ec6d
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10080da7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x10080dfd
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x10080dd6
call fcn.1007ab11
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x10080deb
call fcn.1007ab11
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x10080dfd
call fcn.1007ab11
call fcn.1006764c
cmp dword [eax + 0x3c], 0
je 0x10080e12
push edi
mov ecx, ebx
call fcn.100804d7
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.10080fe4
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x10080e3b
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x10080e47
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10081c90
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1023be34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x128
xor edi, edi
push edi
push esi
call fcn.1019f490
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.101a7b6f
push eax
call fcn.1000a360
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x101e639c]
je 0x10081dfa
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x10081e0e
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10081e0e
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x10081d29
mov eax, edi
jmp 0x10081d58
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x10081d46
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.10081a8b
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x10081d4f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.1006b9f2
test eax, eax
je 0x10081d7d
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.1006b20e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10081d81
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1006b9f2
test eax, eax
je 0x10081da8
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.1006b20e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10081dac
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.1006b9f2
test eax, eax
je 0x10081dd4
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.1006b20e
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x10081dd6
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x10081de8
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x10081dfa
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1019bdf7
leave
ret 4
xor eax, eax
jmp 0x10081dfd
Function at 0x10095a80
Capabilities:
Get file system object information

Disassembly:
push 0x394
mov eax, 0x101cb5ca
call fcn.1019c8e4
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3a0], edi
test ecx, ecx
je 0x10095c17
mov eax, dword [ebp + 0x10]
xor esi, esi
sub eax, esi
je 0x10095be9
sub eax, 1
je 0x10095aff
sub eax, 1
je 0x10095ad7
sub eax, 1
je 0x10095aff
push 0x101e07cd
mov ecx, edi
call fcn.10006860
mov eax, edi
call fcn.1019c88e
ret 0x10
push 0x408
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x10095ac1
lea eax, [ebp - 0x28c]
push eax
jmp 0x10095ac6
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x10095ac1
push esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x238], esi
push eax
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
call fcn.10081e12
test eax, eax
je 0x10095ac1
call fcn.1006702c
push eax
lea ecx, [ebp - 0x3a0]
call fcn.10006730
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x10095b9f
test byte [ebp - 0x21c], 0x18
jne 0x10095bc1
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x224]
call dword [0x101d7cb0]
mov ecx, ebx
call esi
jmp 0x10095bc1
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x101d7cb0]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.1000a540
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.10016e40
jmp 0x10095acd
push 0x208
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x10095ac1
lea eax, [ebp - 0x390]
jmp 0x10095afc
call fcn.10065a21
int3

Function at 0x10095daa
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.100e4561
call fcn.100676a0
cmp dword [eax + 0x14], 0
jne 0x10095dc5
mov ecx, esi
pop esi
jmp fcn.100950cf
pop esi
ret

Function at 0x10096c95
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.1006738b
call fcn.100676a0
cmp dword [eax + 0x14], 0
jne 0x10096cb0
mov ecx, esi
pop esi
jmp fcn.1009650b
pop esi
ret
Function at 0x1009f8dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x1009f8f5
call fcn.1006764c
mov esi, dword [eax + 0xc]
push 0x101ebee0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x1009f937
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1009f937
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1009f937
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1009f940
jmp 0x1009f939
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100c6beb
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x100c6d7e
je 0x100c6da4
cmp eax, 0xa1
jb 0x100c6de2
cmp eax, 0xa2
jbe 0x100c6da4
cmp eax, 0xa3
jbe 0x100c6de2
cmp eax, 0xa5
jbe 0x100c6da4
cmp eax, 0xa6
jbe 0x100c6de2
cmp eax, 0xa8
jbe 0x100c6da4
cmp eax, 0x100
jne 0x100c6de2
cmp dword [edi + 0xc0], 0xffffffff
je 0x100c6da4
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x100c6da4
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x100c6cd3
sub eax, 1
jne 0x100c6da4
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x100c6cc2
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x101d7cb0]
mov ecx, edi
call esi
test eax, eax
jne 0x100c6d1f
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x100c6c98
jmp 0x100c6dfc
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x100c6dfc
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x101d7cb0]
mov ecx, edi
call esi
test eax, eax
jne 0x100c6d1f
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x100c6cea
jmp 0x100c6dfc
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x101d7cb0]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x101d7cb0]
mov ecx, edi
call esi
mov ecx, eax
call fcn.10075de1
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x101d7cb0]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x100c6dfc
cmp eax, 0x200
jb 0x100c6de2
cmp eax, 0x202
jbe 0x100c6da4
cmp eax, 0x203
jbe 0x100c6de2
cmp eax, 0x205
jbe 0x100c6da4
add eax, 0xfffffdf9
cmp eax, 1
ja 0x100c6de2
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x100c6dc3
cmp dword [eax + 0x20], ebx
je 0x100c6dc3
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x100c6de2
cmp dword [eax + 0x20], ebx
je 0x100c6de2
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x100c6e01
lea eax, [edi + 0x2250]
test eax, eax
je 0x100c6df8
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x100c6e01
xor eax, eax
inc eax
jmp 0x100c6e09
push esi
mov ecx, edi
call fcn.100becc1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100e4c1b
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1023be34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x100e4c4a
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x100e4c77
cmp dword [0x10242e14], 0
jne 0x100e4c77
lea eax, [esi - 0x41]
cmp eax, 0x19
jbe 0x100e4c73
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x100e4c73
push esi
call fcn.101afc03
pop ecx
jmp 0x100e4ce4
mov eax, esi
jmp 0x100e4ce4
xor eax, eax
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.10068094
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push esi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1019bdf7
leave
ret 4
Function at 0x1014a0d1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x1014a185
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x1014a181
mov eax, dword [eax + 0x20]
test eax, eax
je 0x1014a181
cmp dword [ebx], eax
jne 0x1014a181
mov eax, dword [ebx + 4]
sub eax, 1
je 0x1014a150
sub eax, 1
je 0x1014a11e
sub eax, 1
jne 0x1014a181
mov edi, 0x428e
jmp 0x1014a155
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1014a155
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x101d7cb0]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x1014a155
add edi, 3
jmp 0x1014a155
mov edi, 0x3ea0
push edi
call fcn.10066c71
test eax, eax
je 0x1014a185
push edi
push eax
mov ecx, 0x102442f8
call fcn.1000ab70
test eax, eax
je 0x1014a185
mov eax, dword [0x102442f8]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x1014a17a
call fcn.10065a21
int3

Function at 0x10153f84
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.101afc33
pop ecx
test eax, eax
jne 0x10153fc6
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1006a7da
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10153f8c
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret
Function at 0x1015b570
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x101caf5c
call fcn.1019c8b0
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x1015b650
mov edi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1015b650
cmp edi, 0x43
je 0x1015b5b5
cmp edi, 0x2d
jne 0x1015b650
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1015b650
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.1006702c
push eax
lea ecx, [ebp - 0x10]
call fcn.10006730
movzx eax, byte [esi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 0xe5]
push eax
movzx eax, byte [esi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.1000a880
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [esi - 0xc]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.10016e40
mov esi, dword [ebp - 0x14]
push ebx
mov ecx, esi
call fcn.101589e2
call fcn.1019c879
ret 4
Function at 0x101b697b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101b67f1
Function at 0x401090
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x2001f
push 0
push 0x412ec8
push 0
push 0x4110fc
push 0x80000002
mov dword [ebp - 4], 0
mov dword [ebp - 8], 1
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401198
cmp dword [ebp - 0xc], 2
jne 0x401120
cmp dword [0x412ec0], eax
je 0x40110c
mov eax, dword [0x412ec4]
push str._nLUMDriver.sys_already_installed_n
push eax
call fcn.00401ff5
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
je 0x40111a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.ErrorControl
push edx
call esi
mov ecx, dword [ebp - 4]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Start
push ecx
call esi
mov eax, dword [ebp - 4]
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0
push str.Type
push eax
call esi
mov eax, dword [ebp - 4]
test eax, eax
pop esi
je 0x401175
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x412ec0], 0
je 0x401192
mov ecx, dword [0x412ec4]
push str._nCreate_Registry_Key_Successful_n
push ecx
call fcn.00401ff5
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp dword [0x412ec0], 0
je 0x4011b5
mov edx, dword [0x412ec4]
push str._nError___Cannot_Open_Registry____n
push edx
call fcn.00401ff5
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
je 0x4011c3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4011d0
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x401213
cmp dword [0x412ec0], eax
je 0x40120b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x412ec4]
push 0x4111b4
push eax
call fcn.00401ff5
add esp, 0xc
mov eax, 1
pop edi
pop ebp
ret
push esi
push 0xf01ff
push 0x4111f0
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x401293
cmp dword [0x412ec0], 0
je 0x401248
mov ecx, dword [0x412ec4]
push 0x4111fc
push ecx
call fcn.00401ff5
add esp, 8
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x401317
cmp dword [0x412ec0], eax
je 0x40127e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x412ec4]
push eax
push str._nWarning:_code___d_while_starting_driver_n
push edx
call fcn.00401ff5
add esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
mov eax, 1
pop edi
pop ebp
ret
cmp dword [0x412ec0], 0
je 0x4012b0
mov edx, dword [0x412ec4]
push str._nCreating_Service_LUMDriver_n
push edx
call fcn.00401ff5
add esp, 8
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push 3
push 1
push 0xf01ff
push 0x411238
push 0x411244
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x401248
cmp dword [0x412ec0], eax
je 0x401307
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x412ec4]
push eax
push str._nError:_code__d_while_registrating_driver_n
push ecx
call fcn.00401ff5
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov eax, 1
pop edi
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
xor eax, eax
pop edi
pop ebp
ret
Function at 0x401650
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x411e5c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
push edi
call fcn.00402325
add esp, 4
mov ebx, eax
push ebx
push edi
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4016ea
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x54]
push edx
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x44]
push str.StringFileInfo_04x_04xProductVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x44]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4016ea
cmp dword [ebp - 0x48], 0
jbe 0x4016ea
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4016f5
push ebx
call fcn.00402248
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004023e8
mov esp, ebp
pop ebp
ret