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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x596334]
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 0x40cd64
cmp esi, 0x40
jb 0x40cd4d
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, edi
cmp edi, ecx
ja 0x40cc87
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x40cd4d
lea ecx, [ebp + esi - 0x8d]
cmp edi, ecx
ja 0x40cca0
lea ecx, [ebp - 0x8c]
cmp edx, ecx
jae 0x40cd4d
mov ecx, esi
push ebx
and ecx, 0x8000003f
jns 0x40ccb0
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 0x40cce0
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
pop ebx
cmp eax, esi
jge 0x40cd64
mov cl, byte [ebp + eax - 0x8c]
xor cl, byte [ebp + eax - 0x48]
mov byte [edi + eax], cl
inc eax
cmp eax, esi
jl 0x40cd51
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00455d1a
mov esp, ebp
pop ebp
ret
Function at 0x411590
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 0x4115ac
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4115c8
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4115b7
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 0x411601
cmp eax, edi
jne 0x4115f9
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 0x411609
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x411609
cmp eax, edi
jne 0x411609
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.00411a10
push 0x48
push edi
call fcn.0045590a
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 0x411be0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b936
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x596334]
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, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x21c], edi
call fcn.00407e20
mov ecx, eax
test ecx, ecx
je 0x411ceb
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004b0810
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx + 0x20]
push 0x104
push eax
push esi
push 0x550ec0
push str.settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00407e20
mov ecx, eax
test ecx, ecx
je 0x411cf5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
mov ecx, edi
test eax, 0xffff0000
jne 0x411ca6
movzx eax, ax
push eax
call fcn.00411fd0
jmp 0x411cac
push eax
call fcn.00412280
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x411ccb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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.00455d1a
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404c40
push 0x80004005
call fcn.00404c40
int3
Function at 0x412790
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 0x4127ae
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4127d4
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4127c0
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 0x4127ff
mov eax, edx
jmp 0x412803
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4128b3
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x412815
mov edx, dword [ebx]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x412821
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x18]
cmp edi, dword [ebx + 0x10]
jne 0x412880
sub edi, 4
jb 0x412841
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x412846
add ecx, 4
add edx, 4
sub edi, 4
jae 0x412830
cmp edi, 0xfffffffc
je 0x41287a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x412873
cmp edi, 0xfffffffd
je 0x41287a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x412873
cmp edi, 0xfffffffe
je 0x41287a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x412873
cmp edi, 0xffffffff
je 0x41287a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x41287a
sbb eax, eax
or eax, 1
jmp 0x41287c
xor eax, eax
test eax, eax
je 0x412890
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x4127f7
mov ecx, dword [ebp - 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.00411b50
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 0x4166f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bfb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x596334]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x84], 1
je 0x41678c
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.exit
mov dword [ebp - 4], 0
call fcn.00414800
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x59ae68
call fcn.00406920
call fcn.0041ffa0
call fcn.0041ff10
call fcn.00420a30
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c1ac
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], 0x104
call fcn.004b0810
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push str.InstallDate
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.00407e20
mov ecx, eax
test ecx, ecx
je 0x41743c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
je 0x417446
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x417307
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.00411fd0
jmp 0x417332
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417310
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040b260
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00423050
push dword [eax]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push str.ex1_s
push eax
call fcn.0040bd20
mov edx, dword [ebp - 0x22c]
or esi, 0xffffffff
add esp, 0x14
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417387
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4173a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00414770
mov ecx, eax
call fcn.0040ffb0
test eax, eax
je 0x4173c2
lea ecx, [edi - 0x70]
call fcn.004166f0
jmp 0x4173fd
mov eax, dword [edi + 8]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [edi + 0xc]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [edi + 0x10]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push str.uninstall_end_callback
mov dword [edi + 0x14], 2
call fcn.00412fe0
add esp, 4
mov edx, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41741f
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.00455d1a
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404c40
push 0x80004005
call fcn.00404c40
int3
Function at 0x417670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 4], eax
push str.OnUninstallStart_callback...
call fcn.00412fe0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004b0810
add esp, 0x10
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.InstallDate
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4176f3
push eax
push str.set_InstallDate_Failed:_u_n
call fcn.00412fe0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455d1a
mov esp, ebp
pop ebp
ret 4
Function at 0x4189d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x418beb
mov ebx, dword [ebp + 0x10]
mov esi, dword [edi + 0x28]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00418230
mov dword [edi + 0x28], esi
test eax, eax
jne 0x418a56
mov eax, dword [ebp + 0xc]
cmp eax, 0x1400
jne 0x418a62
call fcn.00414770
mov ecx, eax
call fcn.0040ffb0
test eax, eax
jne 0x418a4d
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x418a36
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x418a46
push 5
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
cmp eax, 0x112
jne 0x418ae8
mov dword [edi + 0x74], 1
cmp ebx, 0xf120
jne 0x418adc
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x418a96
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x418bd8
push 9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x418ab0
mov eax, dword [edi + 0x78]
jmp 0x418ac5
cmp eax, 1
jne 0x418aba
mov eax, dword [edi + 0x7c]
jmp 0x418ac5
cmp eax, 2
jne 0x418ace
mov eax, dword [edi + 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x108]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x418bd8
mov dword [edi + 0x74], 0
jmp 0x418bd8
cmp eax, 0x111
jne 0x418bc3
movzx eax, bx
mov ecx, 4
cmp cx, ax
jne 0x418b25
lea eax, [ebp + 0xc]
shr ebx, 0x10
push eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
push ebx
mov ecx, edi
call fcn.00416c00
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
mov ecx, 7
cmp cx, ax
jne 0x418b54
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
shr ebx, 0x10
mov ecx, edi
push ebx
call fcn.00416680
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
mov ecx, 5
cmp cx, ax
jne 0x418b69
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
jmp 0x418b38
mov ecx, 6
cmp cx, ax
je 0x418ba7
mov ecx, 2
cmp cx, ax
jne 0x418b9d
push 6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
mov ecx, 3
cmp cx, ax
jne 0x418beb
mov ecx, edi
call fcn.004166f0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x21
jne 0x418beb
push dword [edi + 4]
mov dword [edi + 0x74], 1
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [edi + 0x74], 0
jne 0x418a56
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
Function at 0x419290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c2b5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x596334]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], vtable.ILayerWindow.0
lea eax, [esi + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CMessageBox.0
mov dword [esi + 0x20], vtable.CMessageBox.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x419359
cmp ecx, dword [edi]
jne 0x419359
lock inc dword [eax]
jmp 0x419383
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x4193d7
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [ebx]
inc eax
push eax
push dword [ebp + 8]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00407b60
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x10]
push 0xa4
mov byte [ebp - 4], 1
mov dword [esi + 0x54], eax
call fcn.0041fce0
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4193bc
mov ecx, eax
call fcn.0044fe20
test eax, eax
jne 0x4193be
xor eax, eax
mov dword [esi + 0x28], eax
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 0xc
call fcn.00405230
int3
Function at 0x41dcb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c806
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x41dd5c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x41dd5c
call fcn.0041bf80
mov edi, eax
jmp 0x41de7b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41dd7f
call fcn.0041bf80
jmp 0x41de6e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x41dd9d
call fcn.0041bf80
jmp 0x41de6e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x41ddbe
mov edi, 0x8007000e
jmp 0x41de70
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x41deb4
jb 0x41dddc
cmp eax, 0xffffffff
ja 0x41deb4
cmp eax, 0x400
jbe 0x41ddf1
push eax
lea ecx, [ebp - 0x418]
call fcn.0041bea0
jmp 0x41de17
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x41de17
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x41de2e
mov edi, 0x8007000e
jmp 0x41de70
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41de4e
call fcn.0041bf80
jmp 0x41de6e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0041db10
mov edi, eax
test esi, esi
je 0x41de7b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x41de94
lea ecx, [ebp - 0x418]
call fcn.0041c310
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 - 0x14]
xor ecx, ebp
call fcn.00455d1a
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404c40
int3
Function at 0x421be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cc11
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x59d6e8], 0
jne 0x421e3c
cmp word [0x59cee8], 0
jne 0x421d26
push 0x20219
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
call fcn.0041d520
mov edi, dword [ebp - 0x82c]
test eax, eax
jne 0x421d1b
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push 0
push str.Setup_Path
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421d1b
mov eax, dword [ebp - 0x820]
cmp eax, 1
je 0x421cb0
cmp eax, 2
jne 0x421d1b
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x421ccd
test al, 1
jne 0x421d1b
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x421cd6
jmp 0x421d1b
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x59cee8
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
nop dword [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x421d0e
movzx eax, word [esi + ecx]
test ax, ax
je 0x421d0e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x421cf0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x421d26
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00420520
mov ecx, eax
test ecx, ecx
je 0x421e5c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0x59cee8
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0
call fcn.0040a050
test al, al
jne 0x421d86
mov ecx, 0x59cee8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421d66
sub ecx, edx
sar ecx, 1
push ecx
push 0x59cee8
lea ecx, [ebp - 0x814]
call fcn.0040b260
push 1
push 0x550900
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 1
call fcn.00420e00
push 0xb
push 0x550a34
lea ecx, [ebp - 0x814]
call fcn.00420e00
call fcn.00420520
mov ecx, eax
test ecx, ecx
je 0x421e66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x81c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.004142f0
mov esi, dword [ebp - 0x81c]
add esp, 8
push 0x3f
push esi
push 0x59d6e8
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421e1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x814]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x421e3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x59d6e8
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.00455d1a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404c40
push 0x80004005
call fcn.00404c40
int3