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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x1015a4dc]
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 0x1000b6a4
cmp esi, 0x40
jb 0x1000b68d
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, edi
cmp edi, ecx
ja 0x1000b5c7
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x1000b68d
lea ecx, [ebp + esi - 0x8d]
cmp edi, ecx
ja 0x1000b5e0
lea ecx, [ebp - 0x8c]
cmp edx, ecx
jae 0x1000b68d
mov ecx, esi
push ebx
and ecx, 0x8000003f
jns 0x1000b5f0
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 0x1000b620
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
pop ebx
cmp eax, esi
jge 0x1000b6a4
mov cl, byte [ebp + eax - 0x8c]
xor cl, byte [ebp + eax - 0x48]
mov byte [edi + eax], cl
inc eax
cmp eax, esi
jl 0x1000b691
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10067b98
mov esp, ebp
pop ebp
ret
Function at 0x1000f440
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 0x1000f493
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 0x100104d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b1c2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1015a4dc]
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.10094be0
add esp, 0xc
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0x104
call fcn.100103c0
mov ecx, eax
test ecx, ecx
je 0x100105ea
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 0x1011abd4
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 0x100105a0
sub eax, edx
sar eax, 1
je 0x100105ce
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.100059b0
mov ecx, esi
call fcn.10013380
mov ecx, esi
call fcn.10013280
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.10067b98
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004420
int3
Function at 0x10010600
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1015a4dc]
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.10094be0
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 0x100106bb
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100106bb
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 0x100106a2
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
jmp 0x100106d4
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x1011b2a4
mov ecx, esi
call fcn.10013d90
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10067b98
mov esp, ebp
pop ebp
ret

Function at 0x10011070
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
lea ebx, [esi + 1]
cmp dword [0x10157d20], esi
je 0x1001112c
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 0x10011121
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100110f3
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 0x10011121
cmp dword [ebp - 0x128], 5
mov ebx, 1
jne 0x10011126
mov eax, dword [0x1015edcc]
cmp dword [ebp - 0x12c], ebx
cmove eax, ebx
mov dword [0x1015edcc], eax
jmp 0x10011126
mov ebx, 1
mov dword [0x10157d20], esi
cmp dword [0x1015edcc], esi
je 0x100111a6
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10094be0
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 0x100111a6
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x10c]
push 0x1011b79c
push eax
call edi
test eax, eax
je 0x10011193
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067b98
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.10067b98
mov esp, ebp
pop ebp
ret
Function at 0x100115e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b2fb
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x1015a4dc]
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.10094be0
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 0x10011701
xor esi, esi
test eax, eax
je 0x10011701
nop
push 0x410
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.10094be0
mov eax, dword [0x1011b8dc]
add esp, 0xc
mov dword [ebp - 0x18], eax
movzx eax, word [0x1011b8e0]
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 0x100116f5
lea esi, [ebp - 0x500]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100116c1
sub esi, ecx
mov eax, edi
sar esi, 1
cmp dword [edi + 0x14], 8
jb 0x100116da
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x500]
push ecx
push eax
call fcn.100b48c0
add esp, 0xc
test eax, eax
je 0x10011722
mov esi, dword [ebp - 0x538]
cmp esi, dword [ebp - 0x53c]
jb 0x10011660
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.10067b98
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 0x10011842
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x1001175d
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x530]
call fcn.10013d90
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 0x10011780
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push 0
lea ecx, [ebp - 0x530]
call fcn.10013ee0
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 0x10011825
mov ecx, esi
call fcn.100136f0
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.1000e6e0
lea ecx, [ebp - 0x530]
call fcn.1000e6e0
mov al, 1
jmp 0x10011707
call fcn.10013870
int3
Function at 0x10012e50
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b568
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1015a4dc]
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 0x10012ecb
test al, 0x10
je 0x10012ecb
push esi
mov edi, 1
call fcn.10004b30
add esp, 4
test eax, eax
jne 0x10012eee
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10012eee
push esi
test edi, edi
jne 0x10012ee6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10012eee
push esi
push str.DeleteFile:_s_suceesss
call fcn.10028b70
add esp, 8
jmp 0x10012eee
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10012e9c
push esi
push str.DeleteFile:_s_suceesss
call fcn.10028b70
add esp, 8
jmp 0x10012eee
call fcn.10004b30
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10012f6f
push esi
lea ecx, [ebp - 0x10]
call fcn.10004110
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x10012f2e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.10004580
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x10012f3a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.1000dee0
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 0x10012f5c
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 0x10014810
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 0x1001482c
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10014848
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10014837
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 0x10014881
cmp eax, edi
jne 0x10014879
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 0x10014889
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10014889
cmp eax, edi
jne 0x10014889
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.10014b60
push 0x48
push edi
call fcn.10067ba9
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 0x10015090
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010b7ee
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x1015a4dc]
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.10094be0
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x10015142
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10094be0
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 0x10015120
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x20]
call fcn.100059b0
mov eax, dword [esi + 0x20]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x1011b2a4
push 0x1011b93c
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 0x10015170
sub ecx, edi
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x28]
call fcn.100059b0
push str.download_dir
lea ecx, [ebp - 0x438]
call fcn.100148c0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x444], fcn.100152f0
push eax
mov ecx, esi
mov dword [ebp - 0x43c], esi
call fcn.10014cc0
mov ecx, eax
call fcn.10014340
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1001520d
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015203
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100152e1
push edx
push ecx
call fcn.10067ba9
add esp, 8
push str.close_client
lea ecx, [ebp - 0x438]
call fcn.100148c0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x444], fcn.10014f30
push eax
mov ecx, esi
mov dword [ebp - 0x43c], esi
call fcn.10014cc0
mov ecx, eax
call fcn.10014340
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10015287
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001527d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100152e6
push edx
push ecx
call fcn.10067ba9
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 0x100152c4
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.10067b98
mov esp, ebp
pop ebp
ret 4
call fcn.100b0310
call fcn.100b0310
int3
Function at 0x10015750
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 0x1001576e
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10015794
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10015780
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 0x100157bf
mov eax, edx
jmp 0x100157c3
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x10015873
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x100157d5
mov edx, dword [ebx]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x100157e1
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x18]
cmp edi, dword [ebx + 0x10]
jne 0x10015840
sub edi, 4
jb 0x10015801
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10015806
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100157f0
cmp edi, 0xfffffffc
je 0x1001583a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10015833
cmp edi, 0xfffffffd
je 0x1001583a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10015833
cmp edi, 0xfffffffe
je 0x1001583a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10015833
cmp edi, 0xffffffff
je 0x1001583a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1001583a
sbb eax, eax
or eax, 1
jmp 0x1001583c
xor eax, eax
test eax, eax
je 0x10015850
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x100157b7
mov ecx, dword [ebp - 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10014d50
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 0x10017f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010bb8b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x1015a4dc]
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 [0x1015f7e8], 0
jne 0x1001809a
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.10011290
mov ebx, dword [ebp - 0x824]
test eax, eax
jne 0x1001808f
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 0x1001808f
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x1001802c
cmp eax, 2
jne 0x1001808f
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x10018049
test al, 1
jne 0x1001808f
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x10018052
jmp 0x1001808f
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x1015f7e8
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x10018082
movzx eax, word [esi + ecx]
test ax, ax
je 0x10018082
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10018064
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
je 0x1001809a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.100103c0
mov ecx, eax
test ecx, ecx
je 0x1001810a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x1015f7e8
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10004440
test al, al
jne 0x100180ec
mov ecx, 0x1015f7e8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100180d0
sub ecx, edx
sar ecx, 1
push ecx
push 0x1015f7e8
mov ecx, edi
call fcn.100059b0
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.10067b98
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004420
int3
Function at 0x100190a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010be3b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x1015a4dc]
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 [0x1015efe8], 0
jne 0x100191da
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.10011290
mov edi, dword [ebp - 0x824]
test eax, eax
jne 0x100191cf
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 0x1011abd4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100191cf
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x1001916c
cmp eax, 2
jne 0x100191cf
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x10019189
test al, 1
jne 0x100191cf
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x10019192
jmp 0x100191cf
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x1015efe8
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x100191c2
movzx eax, word [esi + ecx]
test ax, ax
je 0x100191c2
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100191a4
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x100191da
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1015efe8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x1001922b
mov ecx, 0x1015efe8
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x1001921e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1001921e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10019200
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.100103c0
mov ecx, eax
test ecx, ecx
je 0x1001929a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x1015efe8
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.10004440
test al, al
jne 0x1001927c
mov ecx, 0x1015efe8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019260
sub ecx, edx
sar ecx, 1
push ecx
push 0x1015efe8
mov ecx, ebx
call fcn.100059b0
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.10067b98
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004420
int3