joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x101684dc]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x48]
push esi
movups xmmword [ebp - 0x48], xmm0
mov esi, dword [ebp + 0x8c]
movups xmm0, xmmword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x90]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x4c], esi
mov dword [edi + 0x40], esi
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp + 0x38]
movups xmmword [ebp - 0x18], xmm0
movups xmm0, xmmword [ebp + 0x4c]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [ebp + 0x5c]
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp + 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp + 0x7c]
movups xmmword [ebp - 0x5c], xmm0
test esi, esi
jle 0x1000b6c4
cmp esi, 0x40
jb 0x1000b6ad
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, edi
cmp edi, ecx
ja 0x1000b5e7
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x1000b6ad
lea ecx, [ebp + esi - 0x8d]
cmp edi, ecx
ja 0x1000b600
lea ecx, [ebp - 0x8c]
cmp edx, ecx
jae 0x1000b6ad
mov ecx, esi
push ebx
and ecx, 0x8000003f
jns 0x1000b610
dec ecx
or ecx, 0xffffffc0
inc ecx
mov ebx, esi
lea edx, [edi + 0x20]
sub ebx, ecx
mov dword [ebp - 0x98], edx
mov esi, edi
lea ecx, [ebp - 0x38]
sub esi, ecx
sub ecx, edi
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x7c]
sub ecx, edi
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x48]
lea ecx, [ebp - 0x38]
add edx, eax
movups xmm1, xmmword [ebp + eax - 0x8c]
add ecx, eax
pxor xmm1, xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esi + ecx], xmm1
mov ecx, dword [ebp - 0x94]
movups xmm1, xmmword [ebp + eax - 0x7c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x6c]
movups xmmword [edx - 0x10], xmm1
movups xmm1, xmmword [ebp + eax - 0x28]
add eax, 0x40
pxor xmm1, xmm0
movups xmm0, xmmword [edi + edx]
movups xmmword [edx], xmm1
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
mov edx, dword [ebp - 0x98]
cmp eax, ebx
jl 0x1000b640
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
pop ebx
cmp eax, esi
jge 0x1000b6c4
mov cl, byte [ebp + eax - 0x8c]
xor cl, byte [ebp + eax - 0x48]
mov byte [edi + eax], cl
inc eax
cmp eax, esi
jl 0x1000b6b1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10067be8
mov esp, ebp
pop ebp
ret
Function at 0x1000f460
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000f4b3
push edi
push ebx
call fcn.10034500
mov edi, dword [ebp + 0xc]
push edi
push ebx
push str.call_exe_begin__path__s__cmd__s_
call fcn.10028b70
add esp, 0xc
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push ebx
call fcn.10034700
push dword [ebp + 0x14]
push edi
push ebx
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.10028b70
add esp, 0x14
pop edi
pop ebx
pop ebp
ret

Function at 0x100104f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10117d22
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x101684dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.10094c40
add esp, 0xc
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0x104
call fcn.100103e0
mov ecx, eax
test ecx, ecx
je 0x1001060a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
lea eax, [ebp - 0x224]
push eax
push 0x10127bd4
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100105c0
sub eax, edx
sar eax, 1
je 0x100105ee
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.100059d0
mov ecx, esi
call fcn.100133a0
mov ecx, esi
call fcn.100132a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067be8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004440
int3
Function at 0x10010620
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101684dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
mov dword [ebp - 0x210], esi
push 0
push eax
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x214], 0x104
call fcn.10094c40
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.Setup_Path
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100106db
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100106db
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100106c2
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
jmp 0x100106f4
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x101282a4
mov ecx, esi
call fcn.10013db0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10067be8
mov esp, ebp
pop ebp
ret

Function at 0x10011090
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x101684dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
lea ebx, [esi + 1]
cmp dword [0x10165d20], esi
je 0x1001114c
push str.ntdll.dll
mov dword [ebp - 0x128], esi
xor ebx, ebx
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x124], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x10011141
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10011113
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x128]
push ecx
call eax
movzx eax, word [ebp - 0x124]
lea ebx, [esi + 1]
mov dword [ebp - 0x124], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x10011141
cmp dword [ebp - 0x128], 5
mov ebx, 1
jne 0x10011146
mov eax, dword [0x1016cedc]
cmp dword [ebp - 0x12c], ebx
cmove eax, ebx
mov dword [0x1016cedc], eax
jmp 0x10011146
mov ebx, 1
mov dword [0x10165d20], esi
cmp dword [0x1016cedc], esi
je 0x100111c6
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10094c40
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100111c6
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x10c]
push 0x1012879c
push eax
call edi
test eax, eax
je 0x100111b3
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067be8
mov esp, ebp
pop ebp
ret
push str.Service_Pack_1
lea eax, [ebp - 0x10c]
push eax
call edi
test eax, eax
cmovne esi, ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10067be8
mov esp, ebp
pop ebp
ret
Function at 0x10011600
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10117e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x101684dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0xd8
mov dword [ebp - 0x544], eax
lea eax, [ebp - 0xf0]
push 0
push eax
mov byte [ebp - 0x531], 0
call fcn.10094c40
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x6c
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x53c], eax
cmp eax, 0x6c
jae 0x10011721
xor esi, esi
test eax, eax
je 0x10011721
nop
push 0x410
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.10094c40
mov eax, dword [0x101288dc]
add esp, 0xc
mov dword [ebp - 0x18], eax
movzx eax, word [0x101288e0]
mov word [ebp - 0x14], ax
movzx eax, word [ebp + esi*2 - 0xf0]
add esi, 4
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x500]
push 0x207
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x538], esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10011715
lea esi, [ebp - 0x500]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100116e1
sub esi, ecx
mov eax, edi
sar esi, 1
cmp dword [edi + 0x14], 8
jb 0x100116fa
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x500]
push ecx
push eax
call fcn.100bd45a
add esp, 0xc
test eax, eax
je 0x10011742
mov esi, dword [ebp - 0x538]
cmp esi, dword [ebp - 0x53c]
jb 0x10011680
mov al, byte [ebp - 0x531]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067be8
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x51c], 7
cmp eax, esi
jb 0x10011862
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x1001177d
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x530]
call fcn.10013db0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100117a0
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push 0
lea ecx, [ebp - 0x530]
call fcn.10013f00
mov esi, dword [ebp - 0x544]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x554], xmm0
movups xmmword [ebp - 0x518], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x518]
movq qword [ebp - 0x540], xmm0
movq qword [ebp - 0x508], xmm0
cmp esi, eax
je 0x10011845
mov ecx, esi
call fcn.10013710
movups xmm0, xmmword [ebp - 0x554]
xor eax, eax
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x504], 7
movups xmmword [esi], xmm0
mov word [ebp - 0x518], ax
movq xmm0, qword [ebp - 0x540]
movq qword [esi + 0x10], xmm0
lea ecx, [ebp - 0x518]
call fcn.1000e700
lea ecx, [ebp - 0x530]
call fcn.1000e700
mov al, 1
jmp 0x10011727
call fcn.10013890
int3
Function at 0x10012e70
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101180c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101684dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10012eeb
test al, 0x10
je 0x10012eeb
push esi
mov edi, 1
call fcn.10004b50
add esp, 4
test eax, eax
jne 0x10012f0e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10012f0e
push esi
test edi, edi
jne 0x10012f06
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10012f0e
push esi
push str.DeleteFile:_s_suceesss
call fcn.10028b70
add esp, 8
jmp 0x10012f0e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10012ebc
push esi
push str.DeleteFile:_s_suceesss
call fcn.10028b70
add esp, 8
jmp 0x10012f0e
call fcn.10004b50
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10012f8f
push esi
lea ecx, [ebp - 0x10]
call fcn.10004130
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x10012f4e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.100045a0
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x10012f5a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.1000df00
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10012f7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10014830
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x1001484c
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10014868
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10014857
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x100148a1
cmp eax, edi
jne 0x10014899
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x100148a9
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x100148a9
cmp eax, edi
jne 0x100148a9
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.10014b80
push 0x48
push edi
call fcn.10067bf9
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100150b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011834e
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x101684dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10094c40
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x10015162
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10094c40
add esp, 0xc
lea eax, [ebp - 0x218]
push str.config.ini
push dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015140
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x20]
call fcn.100059d0
mov eax, dword [esi + 0x20]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x101282a4
push 0x1012893c
push str.settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x420]
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015190
sub ecx, edi
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x28]
call fcn.100059d0
push str.download_dir
lea ecx, [ebp - 0x438]
call fcn.100148e0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x444], fcn.10015310
push eax
mov ecx, esi
mov dword [ebp - 0x43c], esi
call fcn.10014ce0
mov ecx, eax
call fcn.10014360
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1001522d
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015301
push edx
push ecx
call fcn.10067bf9
add esp, 8
push str.close_client
lea ecx, [ebp - 0x438]
call fcn.100148e0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x444], fcn.10014f50
push eax
mov ecx, esi
mov dword [ebp - 0x43c], esi
call fcn.10014ce0
mov ecx, eax
call fcn.10014360
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100152a7
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001529d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015306
push edx
push ecx
call fcn.10067bf9
add esp, 8
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 0x428], 0
add edx, 0xfffffff0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100152e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067be8
mov esp, ebp
pop ebp
ret 4
call fcn.100b8d74
call fcn.100b8d74
int3
Function at 0x10015770
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x1001578e
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x100157b4
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100157a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
and eax, edx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 4]
mov dword [ebp + 0xc], edx
mov esi, dword [ecx + eax*8]
add eax, eax
mov edi, dword [ecx + eax*4]
inc eax
mov dword [ebp - 8], edi
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], eax
cmp edi, edx
jne 0x100157df
mov eax, edx
jmp 0x100157e3
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x10015893
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x100157f5
mov edx, dword [ebx]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x10015801
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x18]
cmp edi, dword [ebx + 0x10]
jne 0x10015860
sub edi, 4
jb 0x10015821
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10015826
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10015810
cmp edi, 0xfffffffc
je 0x1001585a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10015853
cmp edi, 0xfffffffd
je 0x1001585a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10015853
cmp edi, 0xfffffffe
je 0x1001585a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10015853
cmp edi, 0xffffffff
je 0x1001585a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1001585a
sbb eax, eax
or eax, 1
jmp 0x1001585c
xor eax, eax
test eax, eax
je 0x10015870
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x100157d7
mov ecx, dword [ebp - 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10014d70
mov ecx, dword [ebp + 0xc]
test al, al
mov eax, dword [ebp + 8]
pop edi
cmove ecx, esi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x10017f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101186eb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x101684dc]
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, dword [ebp + 8]
mov dword [ebp - 0x828], edi
cmp word [0x1016d8f8], 0
jne 0x100180aa
push 0x20219
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.100112b0
mov ebx, dword [ebp - 0x824]
test eax, eax
jne 0x1001809f
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push str.FROM
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001809f
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x1001803c
cmp eax, 2
jne 0x1001809f
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x10018059
test al, 1
jne 0x1001809f
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x10018062
jmp 0x1001809f
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x1016d8f8
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x10018092
movzx eax, word [esi + ecx]
test ax, ax
je 0x10018092
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10018074
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
je 0x100180aa
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.100103e0
mov ecx, eax
test ecx, ecx
je 0x1001811a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x1016d8f8
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10004460
test al, al
jne 0x100180fc
mov ecx, 0x1016d8f8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100180e0
sub ecx, edx
sar ecx, 1
push ecx
push 0x1016d8f8
mov ecx, edi
call fcn.100059d0
mov eax, edi
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.10067be8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004440
int3
Function at 0x100190b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011899b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x101684dc]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x828], ebx
cmp word [0x1016d0f8], 0
jne 0x100191ea
push 0x20219
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.100112b0
mov edi, dword [ebp - 0x824]
test eax, eax
jne 0x100191df
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push 0x10127bd4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100191df
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x1001917c
cmp eax, 2
jne 0x100191df
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x10019199
test al, 1
jne 0x100191df
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x100191a2
jmp 0x100191df
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x1016d0f8
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x100191d2
movzx eax, word [esi + ecx]
test ax, ax
je 0x100191d2
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100191b4
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x100191ea
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1016d0f8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x1001923b
mov ecx, 0x1016d0f8
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x1001922e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1001922e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10019210
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.100103e0
mov ecx, eax
test ecx, ecx
je 0x100192aa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x1016d0f8
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.10004460
test al, al
jne 0x1001928c
mov ecx, 0x1016d0f8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019270
sub ecx, edx
sar ecx, 1
push ecx
push 0x1016d0f8
mov ecx, ebx
call fcn.100059d0
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.10067be8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004440
int3