joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f37fc
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x100f393f
mov edx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push 2
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
xor eax, eax
inc eax
sub eax, esi
mov dword [ebp - 4], eax
pop eax
sub eax, esi
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x14]
lea ecx, [esi + edi]
movzx eax, byte [ecx]
shr eax, 2
movzx eax, byte [eax + 0x10188e10]
mov word [ebx], ax
lea ebx, [esi + edi]
mov eax, dword [edx]
add eax, 2
mov dword [edx], eax
mov cl, byte [ecx]
mov dword [ebp + 8], eax
and cl, 3
mov eax, dword [ebp - 4]
shl cl, 4
add eax, ebx
mov byte [ebp + 0x17], cl
cmp eax, dword [ebp + 0xc]
je 0x100f3910
movzx ecx, byte [edi + esi + 1]
lea ebx, [esi + edi]
movzx eax, byte [ebp + 0x17]
shr ecx, 4
or ecx, eax
movzx eax, byte [ecx + 0x10188e10]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov eax, dword [edx]
add eax, 2
mov dword [edx], eax
mov cl, byte [edi + esi + 1]
mov dword [ebp + 8], eax
and cl, 0xf
mov eax, dword [ebp - 8]
add eax, ebx
shl cl, 2
mov ebx, dword [ebp + 0xc]
mov byte [ebp + 0x17], cl
cmp eax, ebx
je 0x100f38ee
movzx ecx, byte [edi + esi + 2]
movzx eax, byte [ebp + 0x17]
shr ecx, 6
or ecx, eax
movzx eax, byte [ecx + 0x10188e10]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
add dword [edx], 2
movzx eax, byte [edi + esi + 2]
add edi, 3
mov ecx, dword [edx]
and eax, 0x3f
movzx eax, byte [eax + 0x10188e10]
mov word [ecx], ax
add dword [edx], 2
mov eax, dword [edx]
mov dword [ebp + 0x14], eax
cmp edi, ebx
jb 0x100f382a
jmp 0x100f393e
movzx eax, cl
mov ecx, dword [ebp + 8]
movzx eax, byte [eax + 0x10188e10]
mov word [ecx], ax
mov eax, dword [edx]
add eax, 2
cmp byte [ebp + 0x10], 0
mov dword [edx], eax
je 0x100f393e
push 0x3d
pop ecx
jmp 0x100f3938
movzx eax, cl
mov ecx, dword [ebp + 8]
movzx eax, byte [eax + 0x10188e10]
mov word [ecx], ax
mov eax, dword [edx]
add eax, 2
cmp byte [ebp + 0x10], 0
mov dword [edx], eax
je 0x100f393e
push 0x3d
pop ecx
mov word [eax], cx
add dword [edx], 2
mov eax, dword [edx]
mov word [eax], cx
add dword [edx], 2
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100f4ffe
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push 0x10
mov eax, 0x10173863
call fcn.10004164
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0xc]
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [esi], 0x1018981c
push 0x102
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call sub.MSVCP140.dll__Mtx_init_in_situ
pop ecx
pop ecx
or dword [esi + 0x40], 0xffffffff
push 0xf0000000
push 0x18
push ebx
push ebx
push 0x102146c8
mov dword [ebp - 4], ebx
mov byte [esi + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 0x20
call fcn.100045ac
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x100f5078
and dword [ebp - 0x14], ebx
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.1008fe0f
jmp 0x100f507a
mov edi, ebx
push 8
mov byte [ebp - 4], bl
mov dword [esi + 8], edi
call fcn.100045ac
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
je 0x100f509a
mov dword [eax], 0x10189818
mov dword [eax + 4], ebx
jmp 0x100f509c
mov eax, ebx
mov dword [esi + 4], eax
mov eax, esi
call fcn.10004198
ret
Function at 0x100f9cd4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x414
mov eax, 0x10173f92
call fcn.10004365
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x410]
xor ebx, ebx
mov dword [ebp - 0x420], ecx
xor ecx, ecx
mov dword [ebp - 0x41c], 0x200
mov byte [ebp - 0x418], bl
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x410], ebx
mov word [ebp - 0x40c], cx
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], ebx
push ecx
push eax
call fcn.100f8398
lea eax, [ebp - 0x420]
push eax
call fcn.10112053
cmp eax, 0x104
jbe 0x100f9d5e
mov eax, dword [ebp - 0x420]
xor ecx, ecx
mov word [eax + 0x208], cx
mov eax, dword [ebp - 0x420]
mov dword [eax - 4], 0x208
mov byte [ebp - 0x418], bl
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea eax, [ebp - 0x420]
push eax
mov ecx, eax
setne bl
call fcn.10007611
mov al, bl
call fcn.100045f2
ret 4

Function at 0x100fa840
Capabilities:
Get file attributes

Disassembly:
push 0x414
mov eax, 0x10173f92
call fcn.10004365
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x410]
mov edi, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x420], ecx
xor ecx, ecx
mov dword [ebp - 0x41c], 0x200
mov byte [ebp - 0x418], dl
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov word [ebp - 0x40c], cx
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], edx
push ecx
push eax
call fcn.100f8398
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
test edi, edi
je 0x100fa8b4
mov ecx, esi
shr ecx, 4
and cl, 1
mov byte [edi], cl
lea eax, [ebp - 0x420]
push eax
mov ecx, eax
call fcn.10007611
cmp esi, 0xffffffff
setne al
call fcn.100045f2
ret 8
Function at 0x100fa8d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
jne 0x100faa43
cmp byte [ebp + 8], 0
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
je 0x100fa90e
mov eax, dword [ebp + 0xc]
jmp 0x100fa933
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [esi]
call ebx
test eax, eax
jne 0x100fa92b
call edi
push eax
push 0x2e6e7771
call fcn.1010988b
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
pop ecx
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x18]
push 0xa
push eax
push 0x12
push dword [esi]
call ebx
test eax, eax
jne 0x100fa953
call edi
push eax
push 0x2e6e7772
call fcn.1010988b
movzx eax, word [ebp - 0x18]
sub eax, 0x30
push 0xa
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x18]
push eax
push 0x18
push dword [esi]
call ebx
test eax, eax
jne 0x100fa97a
call edi
push eax
push 0x2e6e7773
call fcn.1010988b
movzx eax, word [ebp - 0x18]
sub eax, 0x30
push 5
mov dword [esi + 0x30], eax
lea eax, [esi + 0x48]
push eax
push 0x16
push dword [esi]
call ebx
test eax, eax
jne 0x100fa9a1
call edi
push eax
push 0x2e6e7774
call fcn.1010988b
lea eax, [esi + 0x48]
push 5
mov dword [esi + 0x34], eax
lea eax, [esi + 0x52]
push eax
push 0x17
push dword [esi]
call ebx
test eax, eax
jne 0x100fa9c4
call edi
push eax
push 0x2e6e7775
call fcn.1010988b
lea eax, [esi + 0x52]
push 0xa
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x18]
push eax
push 0x1c
push dword [esi]
call ebx
test eax, eax
jne 0x100fa9e7
call edi
push eax
push 0x2e6e7776
call fcn.1010988b
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
pop ecx
push 0xa
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x18]
push eax
push 0x1b
push dword [esi]
call ebx
test eax, eax
jne 0x100faa0f
call edi
push eax
push 0x2e6e7777
call fcn.1010988b
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
pop ecx
push 7
mov dword [esi + 0x40], eax
lea eax, [esi + 0x5c]
push eax
push 0x14
push dword [esi]
call ebx
test eax, eax
jne 0x100faa37
call edi
push eax
push 0x2e6e7778
call fcn.1010988b
lea eax, [esi + 0x5c]
mov byte [esi + 0xa], 1
pop edi
mov dword [esi + 0x44], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100042bb
mov esp, ebp
pop ebp
ret 8
Function at 0x100faa54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
jne 0x100fabd0
cmp byte [ebp + 8], 0
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
je 0x100faa92
mov eax, dword [ebp + 0xc]
jmp 0x100faab7
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [esi]
call ebx
test eax, eax
jne 0x100faaaf
call edi
push eax
push 0x2e6e776a
call fcn.1010988b
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x20]
pop ecx
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x18]
push 0xa
push eax
push 0x12
push dword [esi]
call ebx
test eax, eax
jne 0x100faad7
call edi
push eax
push 0x2e6e776b
call fcn.1010988b
movzx eax, word [ebp - 0x18]
push 0x30
pop ecx
sub eax, ecx
push 0xa
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
push dword [esi]
call ebx
mov dword [ebp - 0x1c], eax
test eax, eax
jg 0x100fab06
call edi
push eax
push 0x2e6e776c
call fcn.1010988b
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [esi + 0x18], edx
cmp eax, 2
jl 0x100fab59
add eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x100fab3b
cmp word [ebp + edx*2 - 0x18], 0x3b
je 0x100fab36
imul ecx, dword [esi + 0x18], 0xa
movzx eax, word [ebp + edx*2 - 0x18]
add ecx, 0xffffffd0
add eax, ecx
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x1c]
inc edx
cmp edx, eax
jl 0x100fab1a
movzx eax, word [ebp + eax*2 - 0x18]
push 0x30
pop ecx
cmp ax, cx
je 0x100fab59
imul ecx, dword [esi + 0x18], 0xa
add ecx, eax
imul eax, ecx, 0xa
sub eax, 0x1e0
mov dword [esi + 0x18], eax
push 5
lea eax, [esi + 0x48]
push eax
push 0xe
push dword [esi]
call ebx
test eax, eax
jne 0x100fab76
call edi
push eax
push 0x2e6e776d
call fcn.1010988b
lea eax, [esi + 0x48]
push 5
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x52]
push eax
push 0xf
push dword [esi]
call ebx
test eax, eax
jne 0x100fab99
call edi
push eax
push 0x2e6e776e
call fcn.1010988b
lea eax, [esi + 0x52]
push 0xa
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x18]
push eax
push 0x1010
push dword [esi]
call ebx
test eax, eax
jne 0x100fabbf
call edi
push eax
push 0x2e6e776f
call fcn.1010988b
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x20]
pop ecx
pop edi
mov dword [esi + 0x24], eax
mov byte [esi + 0xa], 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100042bb
mov esp, ebp
pop ebp
ret 8
Function at 0x100fb10b
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x244
mov eax, 0x10174101
call fcn.10004365
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x23c], 0x101891e8
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x224], bx
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
call fcn.10102a1e
mov edi, dword [ebp + 8]
xor edx, edx
lea eax, [ebp - 0x244]
mov dword [ebp - 0x220], 0x105
push eax
push edx
push edx
push edx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc ebx
cmp eax, 0x103
jne 0x100fb1bb
push 0x80004005
push 0x2e6e3162
jmp 0x100fb1d9
test eax, eax
je 0x100fb1de
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
push ecx
push 0x2e6e3163
call fcn.1010988b
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1000581a
push 0x20019
lea ecx, [ebp - 0x23c]
call fcn.10005925
push eax
lea ecx, [ebp - 0x23c]
call fcn.10005a92
push esi
lea eax, [ebp - 0x23c]
push eax
call fcn.1010482f
mov eax, dword [esi]
push 0
pop edx
cmp eax, dword [edi]
jne 0x100fb178
lea eax, [edi + 4]
cmp word [eax], dx
je 0x100fb276
lea ecx, [esi + 4]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100fb265
test dx, dx
je 0x100fb25f
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100fb265
add ecx, 4
add eax, 4
test dx, dx
jne 0x100fb23d
xor edx, edx
mov eax, edx
jmp 0x100fb26c
sbb eax, eax
or eax, 1
xor edx, edx
test eax, eax
jne 0x100fb178
jmp 0x100fb2c6
mov eax, dword [esi + 0x54]
cmp eax, dword [edi + 0x54]
jne 0x100fb178
mov eax, dword [esi + 0xa8]
cmp eax, dword [edi + 0xa8]
jne 0x100fb178
mov ecx, edx
mov eax, dword [esi + ecx*4 + 0x44]
cmp eax, dword [edi + ecx*4 + 0x44]
jne 0x100fb178
inc ecx
cmp ecx, 4
jne 0x100fb296
mov ecx, edx
mov eax, dword [esi + ecx*4 + 0x98]
cmp eax, dword [edi + ecx*4 + 0x98]
jne 0x100fb178
inc ecx
cmp ecx, 4
jne 0x100fb2ac
lea ecx, [ebp - 0x23c]
call fcn.10007637
lea ecx, [ebp - 0x250]
call fcn.10005a78
call fcn.100045f2
ret 8

Function at 0x100fc668
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 8]
push eax
push 0x20001009
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [ebp - 8]
cmp eax, 8
ja 0x100fc6ac
je 0x100fc6b1
test eax, eax
je 0x100fc6b1
cmp eax, 5
jbe 0x100fc6b4
cmp eax, 6
je 0x100fc6b1
cmp eax, 7
je 0x100fc6b4
jmp 0x100fc6b1
cmp eax, 0xc
jbe 0x100fc6b4
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100042bb
mov esp, ebp
pop ebp
ret
Function at 0x100fc729
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersionAeDebug
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100fc791
mov eax, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
push ebx
push ebx
push str.Debugger
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.100042bb
mov esp, ebp
pop ebp
ret 8

Function at 0x100fc8ed
Capabilities:
Get geographical location

Disassembly:
push 0x108
mov eax, 0x101742e6
call fcn.10004365
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x110]
push 0x80
push eax
push 2
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
lea ecx, [ebp - 0x110]
test eax, eax
cmovle ecx, edx
push ecx
lea ecx, [ebp - 0x114]
call fcn.10005802
mov ecx, dword [eax]
and dword [eax], 0
mov dword [esi], ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
call fcn.1000586f
mov eax, esi
call fcn.100045f2
ret 4

Function at 0x100fcdaa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x100fce07
push 2
lea eax, [ebp - 8]
push eax
push 0x100c
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100fcdf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
push ecx
push 0x2e6e756c
call fcn.1010988b
movzx eax, word [ebp - 8]
sub eax, 0x2f
push 7
cdq
pop ecx
idiv ecx
lea eax, [edx + 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100042bb
mov esp, ebp
pop ebp
ret

Function at 0x100fd58f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1020f334]
xor eax, ebp
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 8]
push eax
push 0x100d
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100fd5d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
push ecx
push 0x2e6e756e
call fcn.1010988b
movzx eax, word [ebp - 8]
sub eax, 0x30
sub eax, 0
je 0x100fd5f3
sub eax, 1
je 0x100fd5ef
sub eax, 1
jne 0x100fd5f3
mov al, 4
jmp 0x100fd5f5
mov al, 7
jmp 0x100fd5f5
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100042bb
mov esp, ebp
pop ebp
ret
Function at 0x100fdff6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10174625
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.101642f6
mov eax, dword [0x1020f334]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x1064], ecx
mov eax, dword [esi]
mov dword [eax - 4], ebx
mov eax, dword [esi]
mov byte [esi + 8], bl
mov word [eax], dx
mov dword [ebp - 0x105c], ebx
lea eax, [ebp - 0x105c]
mov dword [ebp - 4], ebx
push eax
push ecx
mov ecx, edi
call fcn.10101760
test al, al
je 0x100fe06e
push dword [ebp - 0x105c]
jmp 0x100fe110
mov ecx, edi
call fcn.1000597c
test al, al
je 0x100fe0b3
cmp byte [edi + 0x18], 0
push 2
pop ebx
je 0x100fe117
push 0x80070002
push 0x2e6e3576
lea eax, [ebp - 0x1070]
push eax
call fcn.1010dea4
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.1010934c
lea ecx, [ebp - 0x1070]
call fcn.100f57fa
jmp 0x100fe117
push 0x1048
lea eax, [ebp - 0x1058]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1060], 0x1048
lea eax, [ebp - 0x1060]
mov edx, edi
neg edx
push eax
lea eax, [ebp - 0x1058]
sbb edx, edx
push eax
push ebx
lea eax, [edi + 4]
push ebx
push dword [ebp - 0x1064]
and edx, eax
push dword [edx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov ecx, edi
call fcn.10005a92
mov ebx, eax
test ebx, ebx
jne 0x100fe117
lea eax, [ebp - 0x1058]
push eax
mov ecx, esi
call fcn.10106c96
lea ecx, [ebp - 0x105c]
mov dword [ebp - 4], 4
call fcn.1000586f
mov eax, ebx
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.100042bb
mov esp, ebp
pop ebp
ret 8
Function at 0x100fe149
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10174658
mov eax, dword fs:[0]
push eax
mov eax, 0x1060
call fcn.101642f6
mov eax, dword [0x1020f334]
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 esi, ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1060], eax
call fcn.1000586f
push ebx
push dword [ebp - 0x1060]
mov ecx, esi
call fcn.10101760
test al, al
je 0x100fe1b6
test edi, edi
je 0x100fe1af
mov dword [edi], 1
xor eax, eax
jmp 0x100fe260
mov ecx, esi
call fcn.1000597c
test al, al
je 0x100fe1f8
cmp byte [esi + 0x18], 0
je 0x100fe1f3
push 0x80070002
push 0x2e6e3576
lea eax, [ebp - 0x106c]
push eax
call fcn.1010dea4
and dword [ebp - 4], 0
mov ecx, eax
call fcn.1010934c
lea ecx, [ebp - 0x106c]
call fcn.100f57fa
push 2
pop eax
jmp 0x100fe260
push 0x1048
lea eax, [ebp - 0x1058]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x105c], 0x1048
lea eax, [ebp - 0x105c]
mov edx, esi
neg edx
push eax
lea eax, [ebp - 0x1058]
sbb edx, edx
push eax
push edi
lea eax, [esi + 4]
push 0
push dword [ebp - 0x1060]
and edx, eax
push dword [edx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov ecx, esi
call fcn.10005a92
mov esi, eax
test esi, esi
jne 0x100fe25e
lea eax, [ebp - 0x1058]
mov ecx, ebx
push eax
call fcn.1000581a
mov eax, esi
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.100042bb
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100fe2d9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x10165909
call fcn.10004365
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
call fcn.1000597c
test al, al
je 0x100fe32d
cmp byte [esi + 0x18], 0
je 0x100fe328
push 0x80070002
push 0x2e6e3576
lea eax, [ebp - 0x24]
push eax
call fcn.1010dea4
and dword [ebp - 4], 0
mov ecx, eax
call fcn.1010934c
lea ecx, [ebp - 0x24]
call fcn.100f57fa
push 2
pop eax
jmp 0x100fe357
push dword [ebp - 0x18]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push ebx
push eax
mov edx, esi
lea eax, [esi + 4]
neg edx
push 0
sbb edx, edx
and edx, eax
push edi
push dword [edx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
mov ecx, esi
call fcn.10005a92
call fcn.100045f2
ret 0xc
Function at 0x100fea84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 0x9e3779b9
push 0xc
pop ecx
mov dword [ebp - 4], eax
mov ebx, esi
cmp eax, ecx
jb 0x100feb9c
xor edx, edx
div ecx
mov edx, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], edx
movzx edx, byte [edx + 7]
mov eax, dword [ebp + 8]
shl edx, 8
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 5]
add edx, ecx
shl edx, 8
add edx, eax
mov eax, dword [ebp + 8]
shl edx, 8
movzx eax, byte [eax + 4]
add esi, eax
add esi, edx
mov edx, dword [ebp + 8]
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 8]
add edi, eax
shl ecx, 8
movzx eax, byte [edx + 2]
add edi, ecx
movzx ecx, byte [edx + 3]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx]
shl ecx, 8
add ecx, eax
mov eax, edi
shr eax, 0xd
sub ecx, edi
sub ecx, esi
sub esi, edi
add ebx, ecx
xor ebx, eax
sub esi, ebx
mov eax, ebx
shl eax, 8
xor esi, eax
sub edi, esi
mov eax, esi
shr eax, 0xd
sub edi, ebx
xor edi, eax
sub ebx, edi
mov eax, edi
shr eax, 0xc
sub ebx, esi
xor ebx, eax
sub esi, edi
sub esi, ebx
mov eax, ebx
shl eax, 0x10
xor esi, eax
sub edi, esi
mov eax, esi
shr eax, 5
sub edi, ebx
xor edi, eax
sub ebx, edi
mov eax, edi
shr eax, 3
sub ebx, esi
xor ebx, eax
sub esi, edi
mov eax, ebx
sub esi, ebx
shl eax, 0xa
xor esi, eax
sub edi, esi
mov eax, esi
sub edi, ebx
shr eax, 0xf
xor edi, eax
mov eax, dword [ebp - 4]
add edx, 0xc
sub eax, 0xc
mov dword [ebp + 8], edx
sub dword [ebp + 0x10], 1
mov dword [ebp - 4], eax
jne 0x100feab3
jmp 0x100feb9f
mov edx, dword [ebp + 8]
add edi, dword [ebp + 0xc]
dec eax
cmp eax, 0xa
ja case.default.0x100feba8
jmp dword [eax*4 + 0x100fec77]
movzx eax, byte [edx + 0xa]
shl eax, 0x18
add edi, eax
movzx eax, byte [edx + 9]
shl eax, 0x10
add edi, eax
movzx eax, byte [edx + 8]
shl eax, 8
add edi, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add esi, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
add esi, eax
movzx eax, byte [edx + 5]
shl eax, 8
add esi, eax
movzx eax, byte [edx + 4]
add esi, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
add ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
add ebx, eax
movzx eax, byte [edx + 1]
shl eax, 8
add ebx, eax
movzx eax, byte [edx]
add ebx, eax
sub ebx, edi
mov eax, edi
sub ebx, esi
shr eax, 0xd
xor ebx, eax
sub esi, edi
sub esi, ebx
mov eax, ebx
shl eax, 8
xor esi, eax
sub edi, esi
mov eax, esi
sub edi, ebx
shr eax, 0xd
xor edi, eax
sub ebx, edi
mov eax, edi
sub ebx, esi
shr eax, 0xc
xor ebx, eax
sub esi, edi
sub esi, ebx
mov eax, ebx
shl eax, 0x10
xor esi, eax
sub edi, esi
mov eax, esi
sub edi, ebx
shr eax, 5
xor edi, eax
sub ebx, edi
mov eax, edi
sub ebx, esi
shr eax, 3
xor ebx, eax
sub esi, edi
sub esi, ebx
mov ecx, ebx
shl ecx, 0xa
xor esi, ecx
sub edi, esi
shr esi, 0xf
sub edi, ebx
xor edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc