joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1016748
Capabilities:
Query or enumerate registry value

Disassembly:
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
je 0x10167f5
jmp 0x1060c53
xor eax, eax
jmp 0x1016813
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [eax], 0
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x101676a
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x101673c
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x1016818
mov eax, dword [edi + 0x34]
push esi
mov esi, dword [edi + 0x38]
and esi, 3
test eax, eax
je 0x10167ea
push ebx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x18
push eax
mov ebx, 0x100f280
push ebx
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM]
test eax, eax
je 0x1060c3a
mov ecx, edi
call fcn.010166a5
mov dword [ebp + 8], eax
test eax, eax
je 0x10167e9
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push ebx
push 0x80000001
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1060c4b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x1016728
and esi, 3
cmp esi, 2
je 0x1060c5b
cmp esi, 1
jne 0x1016810
test byte [edi + 0x38], 0x10
jne 0x1060c6d
mov eax, esi
pop esi
pop edi
leave
ret 4
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
je 0x1016775
jmp 0x101673c
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [eax], 1
jmp 0x10167e9
mov esi, dword [ebp - 8]
jmp 0x10167e0
xor esi, esi
inc esi
jmp 0x10167f5
test byte [edi + 0x38], 8
jne 0x1016810
xor esi, esi
inc esi
jmp 0x1016810
push 2
pop esi
jmp 0x1016810
Function at 0x10199f1
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [ebp - 8], eax
jne 0x1019aad
jmp 0x1060b37
cmp dword [ebp - 4], eax
jmp 0x10199e1
and dword [ebp - 8], 0
jmp 0x1019a2f
cmp dword [ebp - 4], eax
je 0x1019aad
jmp 0x1060b1e
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x1d
mov ebx, ecx
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_IsOS]
push 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
pop ecx
cmp eax, ecx
je 0x1019721
cmp eax, 0x1b
je 0x1019721
cmp eax, 0x2f
ja 0x1060b07
cmp dword [ebp - 4], 0
jne 0x1060b15
lea edx, [ebx + 4]
mov edi, 0x100d864
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019ab4
push 4
pop ecx
mov edi, 0x1014324
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019b1e
push 4
pop ecx
mov edi, 0x1014314
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019b1e
push 4
pop ecx
mov edi, 0x10169fc
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019b1e
push 4
pop ecx
mov edi, 0x1019340
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101970b
push 4
pop ecx
mov edi, 0x1019330
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10199de
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x1019aad
test eax, eax
je 0x1019aad
push eax
push 0x10194f8
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x1019719
mov ecx, dword [ebx]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x1019450
call esi
test eax, eax
je 0x1019b1e
mov ecx, dword [ebx]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x10193a8
call esi
test eax, eax
je 0x1019b29
mov ecx, dword [ebx]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x1019350
call esi
test eax, eax
jne 0x1019aad
cmp dword [ebp - 4], 0
je 0x1019aad
jmp 0x1060b37
cmp dword [ebp - 4], eax
je 0x1019aad
jmp 0x1060b2c
cmp eax, 0x31
jbe 0x1019721
jmp 0x1019a2f
and dword [ebp - 8], 0
jmp 0x1019a39
mov eax, dword [ebx + 0x38]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x38], eax
jmp 0x1060b3b
mov eax, dword [ebx + 0x38]
and eax, 0xfffffffe
or eax, 2
jmp 0x1060b27
and dword [ebx + 0x38], 0xfffffffc
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x18
push dword [ebx + 0x34]
mov edi, 0x100f280
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
cmp eax, 2
je 0x1060b71
cmp eax, 3
jne 0x1019aad
mov eax, dword [ebx + 0x38]
push 4
and eax, 3
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0x18
push dword [ebx + 0x34]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
jmp 0x1019aad
Function at 0x101a829
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x630], ecx
mov esi, 0x80070057
test eax, eax
je 0x101a910
push edi
push eax
mov edi, 0x201
push edi
lea eax, [ebp - 0x428]
push eax
call fcn.0100665f
mov esi, eax
test esi, esi
jl 0x101a90f
push ebx
push 0x5c
lea eax, [ebp - 0x428]
push eax
call sub.SHLWAPI.dll_StrChrW
mov ebx, eax
test ebx, ebx
je 0x101a8f3
lea ecx, [ebp - 0x428]
sub eax, ecx
sar eax, 1
push eax
mov eax, ecx
push eax
push 0x100
lea eax, [ebp - 0x628]
push eax
call fcn.0101cd02
mov esi, eax
test esi, esi
jl 0x101a90e
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x62c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, 1
jne 0x10684e7
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10684d4
push 0x2b
pop eax
mov word [ebx], ax
test esi, esi
jl 0x101a90e
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x630]
call fcn.0100665f
mov esi, eax
pop ebx
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret 0xc
add ebx, 2
push ebx
push edi
lea eax, [ebp - 0x428]
push eax
call fcn.0100665f
jmp 0x10684ec
call fcn.0101ae40
mov esi, eax
jmp 0x101a8f3
Function at 0x101cc51
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, 0x80004005
test edi, edi
je 0x101cceb
push esi
push 0x5c
push edi
call sub.SHLWAPI.dll_StrChrW
mov esi, eax
test esi, esi
je 0x106843a
lea eax, [esi + 2]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jl 0x101ccea
sub esi, edi
sar esi, 1
push esi
mov esi, dword [ebp - 0x28]
push edi
push dword [ebp + 0x10]
push esi
call fcn.0101cd02
mov ebx, eax
test ebx, ebx
jl 0x101ccea
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, 1
jne 0x101ccea
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1068432
pop esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0x14
mov word [esi], ax
jmp 0x101ccea
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
call fcn.0100665f
mov ebx, eax
test ebx, ebx
jl 0x101ccea
cmp dword [ebp + 0x10], 0
jbe 0x101ccea
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx], ax
jmp 0x101ccea
Function at 0x101cf07
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x428], ecx
mov esi, 0x104
push esi
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.0101a829
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jl 0x101d018
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101ce0f
mov edi, eax
cmp edi, ebx
jl 0x101d018
push 0x101d038
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e3b
mov edi, eax
cmp edi, ebx
jl 0x101d018
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e3b
mov edi, eax
cmp edi, ebx
jl 0x101d018
push 0x101d02c
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e3b
mov edi, eax
cmp edi, ebx
jl 0x101d018
push ebx
push 0x80
push 3
push ebx
push 1
push 1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, 0xffffffff
je 0x10685ee
lea ecx, [ebp - 0x41c]
push ecx
push eax
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp dword [ebp - 0x41c], ebx
ja 0x101d007
cmp esi, ebx
jne 0x1068578
mov edi, 0x800703ee
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0xc
cmp esi, 0xffffffff
je 0x101d007
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.0101bb7f
mov edi, eax
cmp edi, ebx
jl 0x101d00c
push ebx
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x418]
push eax
push esi
push ebx
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10685db
cmp dword [ebp - 0x418], esi
je 0x10685c7
mov edi, 0x80004005
jmp 0x10685e2
mov eax, dword [ebp - 0x424]
mov dword [eax], ebx
mov eax, dword [ebp - 0x428]
mov dword [eax], esi
xor ebx, ebx
jmp 0x10685e2
call fcn.0107bf7b
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x101d00c
call fcn.0107bf7b
mov edi, eax
jmp 0x101d018
Function at 0x101d1c1
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x1068627
push ebx
push esi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp - 4], edi
ja 0x101d255
cmp eax, 0xffffffff
je 0x101d255
mov esi, dword [ebp + 0xc]
push esi
push eax
call fcn.0101bb7f
cmp eax, edi
mov dword [ebp + 8], eax
jl 0x101d242
push edi
lea eax, [ebp + 0x10]
push eax
push dword [ebx]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1068610
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebx]
jne 0x10685fa
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp + 8]
pop edi
leave
ret 0xc
mov dword [ebp + 8], 0x800703ee
jmp 0x101d242
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
mov dword [ebp + 8], 0x80004005
jmp 0x101d242
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
call fcn.0101ae40
mov dword [ebp + 8], eax
jmp 0x101d242
call fcn.0101ae40
mov dword [ebp + 8], eax
jmp 0x101d24d
Function at 0x101f850
Capabilities:
Get geographical location

Disassembly:
push 0x28
push eax
push 0x1003
push 0x400
call ebx
xor eax, eax
mov word [esi + 0x104], ax
jmp 0x101f88b
push 0x28
push eax
push 0x1f
push 0x400
call ebx
xor eax, eax
mov word [esi + 0x60], ax
jmp 0x101f898
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
test eax, 0x10000000
je 0x1058cd6
lea eax, [esi + 0xb4]
cmp word [eax], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
je 0x101f3ba
lea eax, [esi + 0x10]
cmp word [eax], 0
je 0x101f3d7
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push dword [ebp + 8]
mov ecx, esi
push eax
call fcn.0101f94d
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*4]
push eax
push dword [ebp - 8]
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xffffffffffffffec
push dword [esi + 4]
call edi
push eax
push ebx
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [esi + 0x1ac]
cmp esi, ebx
je 0x101f90f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 1
push ebx
push esi
call dword [sym.imp.UxTheme.dll_GetThemeBackgroundExtent]
test eax, eax
jl 0x101f90f
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10b10c0]
mov eax, dword [0x10b10bc]
mov edx, dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
mov esi, ecx
sub esi, edx
cmp esi, eax
pop ebx
jl 0x1058cdd
sub ecx, edx
movzx eax, cx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
shl eax, 0x10
movzx ecx, cx
or eax, ecx
pop edi
pop esi
leave
ret 8
xor eax, eax
jmp 0x101f942
lea ecx, [eax + edx]
jmp 0x101f92f
Function at 0x101fb45
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 0x18]
mov dword [esi + 0x350], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x354], eax
call edi
mov ebx, 0x10000000
test ebx, eax
je 0x10599a9
push dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
call edi
test eax, eax
je 0x1027c4b
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0101fbbf
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
or eax, ecx
pop edi
pop esi
pop ebx
leave
ret 8
push dword [0x10b10f0]
call edi
test eax, eax
je 0x101fb91
jmp 0x1059a0f
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x29c]
call fcn.01010eb3
test eax, eax
jne 0x101fb7e
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x2ac]
call fcn.01010eb3
test eax, eax
jne 0x101fb7e
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x2bc]
call fcn.01010eb3
test eax, eax
jne 0x101fb7e
push 0xfffffffffffffff0
push dword [esi + 0x28]
call edi
test ebx, eax
jne 0x101fb7e
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x101fbb3
push 5
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x101fb91
Function at 0x1024d19
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc84
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1024dec
call sub.SHELL32.dll_SHGetFolderPathEx
test eax, eax
jne 0x1024dd5
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
test edi, edi
je 0x1024dd4
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0100665f
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0xa2c]
push eax
call fcn.0100665f
lea ecx, [ebp - 0x20c]
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x1024de4
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.0100665f
lea eax, [ebp - 0xc7c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc84], eax
cmp eax, 0xffffffff
jne 0x1057631
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret
mov edi, 0x410
push ebx
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0100665f
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0xc50]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01010e3b
mov eax, dword [ebp - 0xc7c]
and eax, edi
xor ebx, ebx
cmp eax, edi
jne 0x10576e1
lea eax, [ebp - 0xc80]
push eax
push 0x1026650
lea eax, [ebp - 0x414]
push eax
push 0x1057784
call fcn.0107dc69
test eax, eax
jl 0x10576e1
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
push ebx
push ebx
push esi
lea edx, [ebp - 0x824]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x10576d5
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x61c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
jne 0x10576d5
inc ebx
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [ebp - 0xc7c], 0x10
je 0x1057702
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1057733
test ebx, ebx
jne 0x1057733
push 0x1057760
push 5
lea eax, [ebp - 0x414]
push eax
push 0x10727d7
push 0x14
push dword [0x10b10b4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x105774e
lea eax, [ebp - 0xc7c]
push eax
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1057637
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
jmp 0x1024dd4
Function at 0x1026e2a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push esi
push 0x1026e59
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x1054a9c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret
mov dword [esi + 0x1c], edi
pop edi
mov ecx, esi
pop esi
jmp fcn.01026e71

Function at 0x1026f6a
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
cmp dword [esi + 0x18], eax
jne 0x1054a2b
xor edi, edi
inc edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
cmp dword [esi + 0x1c], eax
je 0x1026f7f
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x20], eax
jne 0x1054a57
lea eax, [esi + 0x24]
push eax
push ebx
call fcn.0106cb5b
mov edi, eax
test edi, edi
jl 0x1026f82
mov dword [esi + 0x20], 1
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x1054a71
call fcn.0101ae40
mov edi, eax
jmp 0x1026f82
push 0
lea eax, [esi + 0x30]
push eax
push ebx
mov ecx, esi
call fcn.0106cbc0
mov edi, eax
test edi, edi
jge 0x1026f82
push 1
lea eax, [esi + 0x24]
push eax
push ebx
mov ecx, esi
call fcn.0106cbc0
jmp 0x1026f82
Function at 0x1027ee9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40000044
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 2
push 0x10281c8
push 0x100f280
push 0x80000001
mov dword [ebp - 0x94], 0x86
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1027f52
xor eax, eax
mov word [ebp - 0x8c], ax
mov ebx, 0x1f4
mov esi, 0x1027fbc
test byte [esi], 8
je 0x1027f6a
cmp dword [ebp - 0x90], 0
jne 0x1027f97
movzx eax, word [esi - 4]
push eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
test eax, eax
jne 0x1027f97
movzx eax, word [esi - 4]
push eax
mov eax, dword [esi]
or eax, 0x4000
push eax
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RegisterHotKey]
add esi, 8
inc ebx
cmp esi, 0x10281cc
jl 0x1027f5c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret

Function at 0x1028a75
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push edi
push 4
pop edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push 0x10
push 0x1028bc4
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1028abb
mov eax, dword [ebp - 8]
cmp eax, 0x418937
jae 0x1028abb
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1028b9c
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1028aed
mov eax, dword [ebp - 8]
cmp eax, 0x20
je 0x1028ae7
cmp eax, 0x4000
jne 0x1028b4f
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x30], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1028b7c
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1028b18
mov eax, dword [ebp - 8]
cmp eax, 2
ja 0x1028b18
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1028b58
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
pop edi
pop esi
pop ebx
test eax, eax
jne 0x1028b4b
mov eax, dword [ebp - 8]
cmp eax, 8
jae 0x1028b4b
cmp eax, 5
ja 0x1028b4b
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
leave
ret 4
cmp eax, 0x40
jne 0x1028aed
jmp 0x1028ae7
Function at 0x1028f5d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
push 0x40000047
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x20c], esi
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x102908b
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x102908b
push ebx
lea eax, [ebp - 0x208]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x1029128
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102908a
push edi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x102911c
push esi
push dword [ebp - 0x208]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x214], 0x1fe
call esi
mov edi, 0x1025930
test eax, eax
jne 0x1029047
cmp dword [ebp - 0x210], ebx
jne 0x1029047
mov ebx, 0x10290a8
push ebx
push edi
call fcn.01025b68
push dword [ebp - 0x218]
lea eax, [ebp - 0x204]
push 7
push eax
call fcn.01029197
test eax, eax
jne 0x105d559
push ebx
push 0x1025940
call fcn.01025b68
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x10290a0
push 0
push dword [ebp - 0x208]
mov dword [ebp - 0x214], 0x1fe
call esi
test eax, eax
je 0x105d568
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20c]
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret 4
mov dword [ebp - 0x20c], 1
jmp 0x1029039
cmp dword [ebp - 0x210], ebx
jne 0x102907d
mov esi, 0x105d5b0
push esi
push edi
call fcn.01025b68
push dword [ebp - 0x218]
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.01029197
test eax, eax
je 0x105d59d
mov dword [ebp - 0x20c], ebx
push esi
push 0x1025940
call fcn.01025b68
jmp 0x102907d