joyce8/EMBER2024-capa huggingface dataset:
Function at 0x26880fee
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x268ef5d5
call fcn.268eb4dc
sub esp, 0x28
push ebx
push esi
push 0x1b
mov esi, ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
lea eax, [ebp - 0x34]
push eax
call fcn.26873978
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 0xc]
shr eax, 4
and eax, 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
je 0x26881035
push dword [ebp + 8]
push eax
push esi
call fcn.268816b8
jmp 0x26881041
mov ecx, dword [ebp + 8]
push ebx
push ebx
push eax
push esi
call fcn.268817c9
cmp byte [ebp - 0x2c], 0x10
je 0x2688104d
cmp byte [ebp - 0x2c], 0x6e
jne 0x2688107f
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x34]
call fcn.268c9d6c
lea eax, [ebp + 0xc]
push eax
mov eax, esi
call fcn.2686de62
mov byte [ebp - 4], bl
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x268810af
call fcn.268e5db4
mov dword [ebp + 0xc], ebx
jmp 0x268810af
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
call fcn.26878ba5
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.2686aae3
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x268810af
call fcn.268e5db4
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x26881a2d
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x268ef599
call fcn.268eb4dc
sub esp, 0x24
push ebx
push esi
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
lea eax, [ebp - 0x30]
push eax
call fcn.26873978
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x30]
push ebx
push ebx
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.26881b11
cmp byte [ebp - 0x28], 0x10
je 0x26881a72
cmp byte [ebp - 0x28], 0x6e
jne 0x26881aa5
mov dword [ebp + 0x10], ebx
mov byte [ebp - 4], 1
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x30]
call fcn.268c9d6c
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
call fcn.2686de62
mov byte [ebp - 4], bl
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x26881ad6
call fcn.268e5db4
mov dword [ebp + 0x10], ebx
jmp 0x26881ad6
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
call fcn.26878ba5
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
call fcn.2686aae3
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x26881ad6
call fcn.268e5db4
mov dword [ebp - 0x10], ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x26881d5a
Capabilities:
Get disk size

Disassembly:
mov eax, 0x268edd06
call fcn.268eb4dc
sub esp, 0x54
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push edi
lea eax, [ebp - 0x60]
push eax
xor esi, esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.26873978
xor edi, edi
inc edi
mov dword [ebp - 4], edi
push 0x26912ef8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x26881e1a
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp + 0x14]
call eax
cmp eax, ebx
je 0x26881e56
mov eax, dword [ebp + 0x10]
sub eax, ebx
je 0x26881dd5
dec eax
jne 0x26881dde
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
jmp 0x26881ddb
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x60]
push esi
call fcn.26884991
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x60]
call fcn.26878d46
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], bl
push eax
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
cmp eax, ebx
je 0x26881e56
mov eax, dword [ebp + 0x10]
sub eax, ebx
je 0x26881e51
dec eax
jne 0x26881dde
mov esi, dword [ebp - 0x18]
imul esi, dword [ebp - 0x10]
imul esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
jmp 0x26881dde
mov esi, dword [ebp - 0x1c]
jmp 0x26881e44
push dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push 0x138ae
push esi
mov ebx, 0x268f3f58
call fcn.268c708f
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
mov esi, eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push ebx
call fcn.268e72f2
mov esi, dword [ebp + 0xc]
push ebx
call fcn.26878ce3
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], bl
push edi
jmp 0x26881dff
Function at 0x26881ea0
Capabilities:
Get disk size

Disassembly:
mov eax, 0x268edcdb
call fcn.268eb4dc
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push edi
lea eax, [ebp - 0x40]
push eax
xor esi, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
call fcn.26873978
xor edi, edi
inc edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
cmp eax, ebx
je 0x26881f45
mov eax, dword [ebp + 0x10]
dec eax
dec eax
je 0x26881f40
dec eax
je 0x26881f3b
dec eax
jne 0x26881eff
mov esi, dword [ebp - 0x10]
xor eax, eax
push eax
push esi
lea eax, [ebp - 0x40]
call fcn.26884991
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x40]
call fcn.26878d46
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
push eax
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
mov esi, dword [ebp - 0x14]
jmp 0x26881eff
mov esi, dword [ebp - 0x18]
jmp 0x26881eff
push dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push 0x138ae
push esi
mov ebx, 0x268f3f58
call fcn.268c708f
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
mov esi, eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push ebx
call fcn.268e72f2
mov esi, dword [ebp + 0xc]
push ebx
call fcn.26878ce3
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], bl
push edi
jmp 0x26881f20

Function at 0x26884b62
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x26884b8f
cmp dword [ebp - 0x104], 2
je 0x26884b93
xor eax, eax
leave
ret
cmp dword [ebp - 0x110], 5
sbb eax, eax
inc eax
leave
ret
Function at 0x26886bfb
Capabilities:
Set current directory

Disassembly:
mov eax, 0x268edbd5
call fcn.268eb4dc
sub esp, 0x420
mov ecx, dword [0x2692af68]
push ebx
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x26886c47
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ebx
jne 0x26886c2a
xor eax, eax
jmp 0x26886c39
mov ecx, dword [eax]
push eax
call dword [ecx + 0x354]
mov ecx, dword [0x2692af68]
mov edi, dword [ebp + 0xc]
mov edx, dword [ecx]
push edi
push 0x15
push eax
call dword [edx + 0xc]
jmp 0x26886c4a
mov edi, dword [ebp + 0xc]
cmp word [edi + 4], 0x10
mov eax, edi
jne 0x26886c5d
call fcn.268e6198
mov dword [ebp - 0x10], eax
jmp 0x26886c97
call fcn.268e618c
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov dword [ebp - 0x14], eax
call edi
mov esi, eax
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.268eb500
mov dword [ebp - 0x10], esp
push esi
push dword [ebp - 0x10]
push 0xffffffffffffffff
push dword [ebp - 0x14]
push ebx
push ebx
call edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x220]
push ebx
push eax
lea eax, [ebp - 0x42c]
call fcn.268634ed
lea eax, [ebp - 0x42c]
call fcn.268df7bd
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [ebp - 0x220]
push eax
call esi
add esp, 0x10
cmp eax, ebx
jle 0x26886cf6
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp eax, ebx
jne 0x26886cf6
push dword [ebp - 0x10]
mov ebx, 0x268f3f58
push 0x138b0
push dword [ebp + 8]
call fcn.268c708f
add esp, 0xc
jmp 0x26886d64
cmp dword [edi], ebx
mov dword [ebp + 0xc], ebx
je 0x26886d22
cmp word [ebp - 0x42a], 0x3a
jne 0x26886d22
lea eax, [ebp - 0x220]
push eax
call esi
test eax, eax
pop ecx
jne 0x26886d22
movzx eax, word [ebp - 0x42c]
sub eax, 0x40
mov dword [ebp + 0xc], eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__wgetdcwd]
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0xc], eax
jne 0x26886d6e
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0x22
jne 0x26886d6e
push 0x138b1
push dword [ebp + 8]
mov ebx, 0x268f3f58
call fcn.268c708f
pop ecx
pop ecx
mov eax, dword [ebp + 8]
push 0x26913120
jmp 0x26886de1
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3b8]
cmp eax, 1
je 0x26886d97
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3b8]
cmp eax, 2
jne 0x26886dd8
cmp word [edi + 4], 0x13
jne 0x26886dd8
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x220]
push eax
lea edi, [ebp + 8]
call fcn.268e6222
mov eax, edi
push eax
mov eax, esi
call fcn.2686aae3
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x26886de6
call fcn.268e5db4
mov dword [ebp + 8], ebx
jmp 0x26886de6
lea eax, [ebp - 0x220]
push eax
mov eax, esi
call fcn.2686aac9
lea esp, [ebp - 0x438]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x26887c1e
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 4], ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, 0x104
cmp eax, edi
pop ecx
jb 0x26887c48
xor eax, eax
jmp 0x26887e01
test byte [ebp + 0xc], 1
je 0x26887dfa
push 0xffffffffffffffff
mov eax, ebx
push 0x103
lea ebx, [ebp - 0x658]
call fcn.268dfa74
mov esi, ebx
call fcn.268d1d97
push 0xffffffffffffffff
mov eax, edi
push 0x26912c98
mov edi, ebx
call fcn.268dfac3
mov esi, dword [ebp - 4]
mov eax, dword [esi]
add esp, 0x10
push esi
call dword [eax + 0x3c]
push eax
mov eax, ebx
push 0
push eax
xor eax, eax
lea ecx, [ebp - 0x44c]
call fcn.268d20a6
add esp, 0xc
test eax, eax
je 0x26887d73
mov eax, dword [ebp + 0xc]
and eax, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
mov edi, 0x104
push edi
lea ebx, [ebp - 0x214]
call fcn.268dfa74
mov esi, ebx
call fcn.268d1d97
lea eax, [ebp - 0x440]
push 0xffffffffffffffff
push eax
mov eax, edi
mov edi, ebx
call fcn.268dfac3
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x26887cf6
push 0x80
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x214]
push eax
xor eax, eax
call fcn.268d1f74
test eax, eax
pop ecx
je 0x26887d38
push dword [ebp + 0xc]
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x214]
push eax
mov ecx, esi
call fcn.26887c1e
test eax, eax
jne 0x26887d53
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x44c]
call fcn.268d224d
jmp 0x26887df4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
lea ebx, [ebp - 0x214]
call fcn.268d1915
test eax, eax
mov esi, dword [ebp - 4]
je 0x26887da2
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.268d216f
test eax, eax
pop ecx
pop ecx
jne 0x26887cb0
mov esi, dword [ebp - 4]
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x44c]
call fcn.268d224d
mov ebx, dword [ebp + 8]
xor edi, edi
pop ecx
mov esi, ebx
inc edi
call fcn.26888273
test eax, eax
jne 0x26887d9e
call fcn.268d1d21
mov edi, eax
mov eax, edi
jmp 0x26887e01
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x44c]
call fcn.268d224d
and dword [ebp + 0xc], 0
lea eax, [ebp - 0x214]
push eax
xor eax, eax
lea ebx, [ebp + 0xc]
call fcn.268d1f9f
test byte [ebp + 0xc], 1
pop ecx
pop ecx
je 0x26887c41
lea eax, [ebp - 0x214]
push eax
mov eax, dword [esi]
push 0x1301
push esi
call dword [eax + 0x3c]
mov ecx, 0x268f3f58
mov edx, eax
call fcn.268e6d1d
pop ecx
pop ecx
jmp 0x26887c41
xor eax, eax
call fcn.268d1d21
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x2688d745
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x268ef38f
call fcn.268eb4dc
push ecx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
mov esi, dword [ebp + 0x10]
cmp esi, edi
jne 0x2688d76a
or dword [ebp - 4], 0xffffffff
jmp 0x2688d91c
cmp dword [ebp + 0x18], edi
push ebx
je 0x2688d7d9
cmp esi, 1
jne 0x2688d79a
cmp dword [ebp + 0x14], 3
jne 0x2688d79a
push dword [ebp + 0xc]
call fcn.2688d70a
push dword [0x269277c8]
push dword [ebp + 0xc]
call fcn.26884180
or dword [ebp - 4], 0xffffffff
jmp 0x2688d91b
call fcn.2688d729
push dword [ebp + 0x14]
test eax, eax
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
je 0x2688d7b9
call fcn.2688d230
mov byte [ebp - 4], 1
jmp 0x2688d7c2
call fcn.2688cf27
mov byte [ebp - 4], 2
mov ebx, eax
lea edi, [ebp - 0x10]
call fcn.268632ea
mov byte [ebp - 4], 0
mov esi, dword [ebp + 8]
test esi, esi
je 0x2688d842
jmp 0x2688d839
mov eax, dword [ebp + 0xc]
call fcn.26863172
test eax, eax
jne 0x2688d80b
mov ecx, dword [ebp + 0xc]
mov eax, str.minus
call fcn.2688429c
test eax, eax
je 0x2688d80b
mov ecx, dword [ebp + 0xc]
mov eax, str.moins
call fcn.2688429c
test eax, eax
je 0x2688d80b
xor eax, eax
jmp 0x2688d80e
xor eax, eax
inc eax
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push esi
push eax
call fcn.2688d0c5
mov byte [ebp - 4], 3
mov ebx, eax
lea edi, [ebp - 0x10]
call fcn.268632ea
mov byte [ebp - 4], 0
mov esi, dword [ebp + 8]
test esi, esi
je 0x2688d8d2
call fcn.268e5db4
and dword [ebp + 8], 0
cmp dword [ebp + 0x18], 0
je 0x2688d8d2
mov edi, dword [ebp + 0xc]
push edi
call fcn.2688d70a
lea eax, [ebp - 0x10]
mov ecx, edi
call fcn.2687b28c
cmp dword [ebp + 0x14], 3
mov esi, 0x269135c0
jne 0x2688d89c
mov ebx, esi
call fcn.2688da94
test eax, eax
je 0x2688d89e
mov ebx, str.trois
call fcn.2688da94
test eax, eax
jne 0x2688d89e
mov eax, dword [edi]
test eax, eax
je 0x2688d890
mov eax, dword [eax - 4]
shr eax, 1
jmp 0x2688d892
xor eax, eax
dec eax
call fcn.26884240
cmp dword [ebp + 0x14], 3
jl 0x2688d907
push edi
call fcn.2688d70a
mov eax, dword [ebp + 0x14]
push 3
pop ecx
cdq
idiv ecx
push dword [eax*4 + 0x269277c4]
push edi
call fcn.26884180
xor eax, eax
inc eax
cmp dword [ebp + 0x10], eax
jle 0x2688d907
cmp dword [ebp + 0x14], 3
jle 0x2688d907
push esi
mov ecx, edi
call fcn.2686bc08
jmp 0x2688d907
mov esi, dword [ebp + 0xc]
push esi
call fcn.2688d70a
lea eax, [ebp - 0x10]
mov ecx, esi
call fcn.2687b28c
cmp dword [ebp + 0x14], 0
jle 0x2688d907
push esi
call fcn.2688d70a
mov eax, dword [ebp + 0x14]
push 3
pop ecx
cdq
idiv ecx
push dword [eax*4 + 0x269277e0]
push esi
call fcn.26884180
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x2688d91b
call fcn.268e5db4
and dword [ebp - 0x10], 0
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x26890b34
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x87c
and dword [ebp - 4], 0
push esi
push edi
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x87c]
push eax
mov eax, dword [ebp + 8]
call fcn.268909dd
lea eax, [ebp - 0x87c]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
mov edi, 0x26911198
push edi
push ebx
call esi
lea eax, [ebp - 0x448]
push eax
push ebx
call esi
add esp, 0x20
cmp word [ebp - 0x448], 0
je 0x26890b93
push edi
push ebx
call esi
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0x448]
push 0
push eax
lea edi, [ebp - 0x87c]
mov dword [ebp - 0xc], 0x200
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp eax, edi
jne 0x26890bf8
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea eax, [ebx + eax*2]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call esi
cmp dword [ebp - 8], edi
mov dword [ebp - 4], edi
je 0x26890c10
push 0x268f1584
push ebx
call dword [sym.imp.MSVCRT.dll_wcscpy]
cmp dword [ebp - 4], edi
pop ecx
pop ecx
je 0x26890c10
push dword [ebp - 4]
call esi
pop edi
pop esi
leave
ret
Function at 0x26890c14
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10e8
call fcn.268eb500
push ebx
push esi
push edi
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x880]
push eax
mov eax, dword [ebp + 8]
call fcn.268909dd
lea eax, [ebp - 0x44c]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
lea eax, [ebp - 0x880]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
mov ebx, 0x26911198
push ebx
push dword [ebp + 0xc]
call edi
add esp, 0x20
test esi, esi
je 0x26890ca9
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0xcb4]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x44c]
sub esi, eax
sar esi, 1
and word [ebp + esi*2 - 0x44c], 0
mov esi, dword [ebp + 0xc]
push eax
push esi
call edi
push ebx
push esi
call edi
add esp, 0x18
xor ebx, ebx
jmp 0x26890ccb
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0xcb4]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov esi, dword [ebp + 0xc]
pop ecx
xor ebx, ebx
pop ecx
mov word [ebp - 0x44c], bx
lea eax, [ebp - 8]
push eax
push 8
lea eax, [ebp - 0x44c]
push ebx
push eax
lea edi, [ebp - 0x880]
mov dword [ebp - 0xc], 0x200
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x26890d86
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10e8]
push eax
mov dword [ebp - 4], ebx
push ebx
jmp 0x26890d54
lea eax, [ebp - 0x10e8]
push eax
lea eax, [ebp - 0xcb4]
push eax
mov dword [ebp - 0xc], 0x200
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
lea eax, [ebp - 0xc]
push ebx
push eax
je 0x26890d5f
inc dword [ebp - 4]
lea eax, [ebp - 0x10e8]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call edi
test eax, eax
je 0x26890d1b
jmp 0x26890d78
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea eax, [esi + eax*2]
push eax
mov eax, dword [ebp - 4]
inc eax
push eax
push dword [ebp - 8]
call edi
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], ebx
je 0x26890d94
push 0x268f1584
push esi
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x26890db7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push edi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x80c]
push eax
mov eax, dword [ebp + 8]
call fcn.268909dd
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x408]
push 0
push eax
lea edi, [ebp - 0x80c]
mov dword [esi], ebx
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x26890e4d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x26890e44
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_wcslen]
test eax, eax
pop ecx
jne 0x26890e44
mov eax, dword [ebp + 0x10]
xor edi, edi
cmp eax, edi
mov dword [esi], ebx
je 0x26890e3b
mov word [eax], di
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x26890e44
mov dword [eax], ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret

Function at 0x26890e76
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
push ebx
push edi
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x870]
push eax
mov eax, dword [ebp + 8]
call fcn.268909dd
xor ebx, ebx
inc ebx
xor edi, edi
cmp dword [ebp + 0xc], edi
pop ecx
pop ecx
mov dword [esi], ebx
jne 0x26890f17
push 0x268f1584
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 4]
push eax
push ebx
push edi
lea eax, [ebp - 0x43c]
push eax
lea edi, [ebp - 0x870]
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x26890f6c
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp + 0x1c], 0
mov edi, eax
je 0x26890f63
test edi, edi
je 0x26890f63
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [esi], ebx
je 0x26890f0a
mov byte [eax], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x26890f13
mov dword [eax], ebx
xor edi, edi
jmp 0x26890f63
lea eax, [ebp - 4]
push eax
push 9
push edi
lea eax, [ebp - 0x43c]
push eax
lea edi, [ebp - 0x870]
mov dword [ebp - 8], 0x200
call fcn.2689093e
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x26890f6c
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
dec eax
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret