joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000fb30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dd0b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], esi
je 0x1000fba0
push 0x10200b04
push 0x1020054c
mov dword [ebp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000fb96
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov eax, 0xf013f
cmp dword [ebp + 0x18], esi
jne 0x1000fba5
mov eax, 0xf003f
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000fcc9
mov edi, dword [ebp + 0x1c]
lea eax, [edi - 1]
cmp eax, 0xa
ja case.0x1000fbd6.5
movzx eax, byte [eax + 0x1000fd18]
jmp dword [eax*4 + 0x1000fd00]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x10]
test esi, esi
jne 0x1000fbf1
mov esi, 0xd
jmp 0x1000fcbb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push ebx
jmp 0x1000fcb3
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
test ebx, ebx
jne 0x1000fc22
lea esi, [ebx + 0xd]
jmp 0x1000fcbb
xor edi, edi
mov esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x1000fc26
push edi
push ebx
push 7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
jmp 0x1000fcb3
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b2f48
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edx
push 8
push eax
push 0xb
jmp 0x1000fcab
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b3024
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
push 4
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push 3
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000fcc9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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 0x1000fbdd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dd0b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], esi
je 0x1000fba0
push 0x10200b04
push 0x1020054c
mov dword [ebp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000fb96
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov eax, 0xf013f
cmp dword [ebp + 0x18], esi
jne 0x1000fba5
mov eax, 0xf003f
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000fcc9
mov edi, dword [ebp + 0x1c]
lea eax, [edi - 1]
cmp eax, 0xa
ja case.0x1000fbd6.5
movzx eax, byte [eax + 0x1000fd18]
jmp dword [eax*4 + 0x1000fd00]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x10]
test esi, esi
jne 0x1000fbf1
mov esi, 0xd
jmp 0x1000fcbb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push ebx
jmp 0x1000fcb3
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
test ebx, ebx
jne 0x1000fc22
lea esi, [ebx + 0xd]
jmp 0x1000fcbb
xor edi, edi
mov esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x1000fc26
push edi
push ebx
push 7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
jmp 0x1000fcb3
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b2f48
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edx
push 8
push eax
push 0xb
jmp 0x1000fcab
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b3024
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
push 4
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push 3
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000fcc9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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 0x1000fc0d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dd0b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], esi
je 0x1000fba0
push 0x10200b04
push 0x1020054c
mov dword [ebp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000fb96
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov eax, 0xf013f
cmp dword [ebp + 0x18], esi
jne 0x1000fba5
mov eax, 0xf003f
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000fcc9
mov edi, dword [ebp + 0x1c]
lea eax, [edi - 1]
cmp eax, 0xa
ja case.0x1000fbd6.5
movzx eax, byte [eax + 0x1000fd18]
jmp dword [eax*4 + 0x1000fd00]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x10]
test esi, esi
jne 0x1000fbf1
mov esi, 0xd
jmp 0x1000fcbb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push ebx
jmp 0x1000fcb3
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
test ebx, ebx
jne 0x1000fc22
lea esi, [ebx + 0xd]
jmp 0x1000fcbb
xor edi, edi
mov esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x1000fc26
push edi
push ebx
push 7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
jmp 0x1000fcb3
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b2f48
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edx
push 8
push eax
push 0xb
jmp 0x1000fcab
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b3024
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
push 4
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push 3
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000fcc9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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 0x1000fc47
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dd0b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], esi
je 0x1000fba0
push 0x10200b04
push 0x1020054c
mov dword [ebp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000fb96
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov eax, 0xf013f
cmp dword [ebp + 0x18], esi
jne 0x1000fba5
mov eax, 0xf003f
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000fcc9
mov edi, dword [ebp + 0x1c]
lea eax, [edi - 1]
cmp eax, 0xa
ja case.0x1000fbd6.5
movzx eax, byte [eax + 0x1000fd18]
jmp dword [eax*4 + 0x1000fd00]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x10]
test esi, esi
jne 0x1000fbf1
mov esi, 0xd
jmp 0x1000fcbb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push ebx
jmp 0x1000fcb3
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
test ebx, ebx
jne 0x1000fc22
lea esi, [ebx + 0xd]
jmp 0x1000fcbb
xor edi, edi
mov esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x1000fc26
push edi
push ebx
push 7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
jmp 0x1000fcb3
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b2f48
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edx
push 8
push eax
push 0xb
jmp 0x1000fcab
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b3024
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
push 4
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push 3
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000fcc9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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 0x1000fc6b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dd0b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], esi
je 0x1000fba0
push 0x10200b04
push 0x1020054c
mov dword [ebp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000fb96
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov eax, 0xf013f
cmp dword [ebp + 0x18], esi
jne 0x1000fba5
mov eax, 0xf003f
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000fcc9
mov edi, dword [ebp + 0x1c]
lea eax, [edi - 1]
cmp eax, 0xa
ja case.0x1000fbd6.5
movzx eax, byte [eax + 0x1000fd18]
jmp dword [eax*4 + 0x1000fd00]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x10]
test esi, esi
jne 0x1000fbf1
mov esi, 0xd
jmp 0x1000fcbb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push ebx
jmp 0x1000fcb3
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
test ebx, ebx
jne 0x1000fc22
lea esi, [ebx + 0xd]
jmp 0x1000fcbb
xor edi, edi
mov esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x1000fc26
push edi
push ebx
push 7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
jmp 0x1000fcb3
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b2f48
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edx
push 8
push eax
push 0xb
jmp 0x1000fcab
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b3024
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
push 4
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push 3
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000fcc9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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 0x1000fc8c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dd0b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], esi
je 0x1000fba0
push 0x10200b04
push 0x1020054c
mov dword [ebp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000fb96
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov eax, 0xf013f
cmp dword [ebp + 0x18], esi
jne 0x1000fba5
mov eax, 0xf003f
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000fcc9
mov edi, dword [ebp + 0x1c]
lea eax, [edi - 1]
cmp eax, 0xa
ja case.0x1000fbd6.5
movzx eax, byte [eax + 0x1000fd18]
jmp dword [eax*4 + 0x1000fd00]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x10]
test esi, esi
jne 0x1000fbf1
mov esi, 0xd
jmp 0x1000fcbb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push ebx
jmp 0x1000fcb3
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
test ebx, ebx
jne 0x1000fc22
lea esi, [ebx + 0xd]
jmp 0x1000fcbb
xor edi, edi
mov esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x1000fc26
push edi
push ebx
push 7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
jmp 0x1000fcb3
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b2f48
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edx
push 8
push eax
push 0xb
jmp 0x1000fcab
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b3024
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
push 4
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push 3
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000fcc9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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 0x1000fc9d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dd0b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], esi
je 0x1000fba0
push 0x10200b04
push 0x1020054c
mov dword [ebp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000fb96
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov eax, 0xf013f
cmp dword [ebp + 0x18], esi
jne 0x1000fba5
mov eax, 0xf003f
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000fcc9
mov edi, dword [ebp + 0x1c]
lea eax, [edi - 1]
cmp eax, 0xa
ja case.0x1000fbd6.5
movzx eax, byte [eax + 0x1000fd18]
jmp dword [eax*4 + 0x1000fd00]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x10]
test esi, esi
jne 0x1000fbf1
mov esi, 0xd
jmp 0x1000fcbb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push ebx
jmp 0x1000fcb3
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x18], eax
test ebx, ebx
jne 0x1000fc22
lea esi, [ebx + 0xd]
jmp 0x1000fcbb
xor edi, edi
mov esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x1000fc26
push edi
push ebx
push 7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
jmp 0x1000fcb3
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b2f48
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edx
push 8
push eax
push 0xb
jmp 0x1000fcab
push 0xa
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
push dword [ebp + 0x14]
call fcn.101b3024
add esp, 0xc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
push 4
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push 3
jmp 0x1000fcab
mov esi, dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000fcc9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000fceb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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 0x10017780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101de473
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1025e344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x100177bb
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x100177d7
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x100177c6
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1001780d
cmp dword [ecx], edi
jne 0x10017805
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [ecx + edx + 4], eax
jmp 0x10017815
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10017815
cmp dword [ecx], edi
jne 0x10017815
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
lea ebx, [edi + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x18]
call fcn.10007910
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.10007910
push 0x38
push edi
call fcn.100cff81
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8