joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41205d
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x103
push esi
xor edi, edi
lea eax, [ebp - 0x35b]
push edi
push eax
mov byte [ebp - 0x35c], 0
call fcn.00472c30
push esi
lea eax, [ebp - 0x153]
push edi
push eax
mov byte [ebp - 0x154], 0
call fcn.00472c30
push esi
lea eax, [ebp - 0x257]
push edi
push eax
mov byte [ebp - 0x258], 0
call fcn.00472c30
add esp, 0x24
push edi
push 0x26
lea eax, [ebp - 0x35c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x41220d
push ebx
push 7
pop ecx
push 9
mov esi, 0x4ac044
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x4ac020
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4abebc
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x844
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0x35c]
push eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.00411edf
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x154]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4121a3
xor eax, eax
inc eax
jmp 0x41220c
push esi
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00472c30
push esi
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.00472c30
add esp, 0x18
lea eax, [ebp - 0x35c]
push eax
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.00411edf
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x154]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00472031
leave
ret
Function at 0x41223f
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x34b]
push ebx
push eax
mov byte [ebp - 0x34c], bl
call fcn.00472c30
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.00472c30
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.00472c30
add esp, 0x24
push 5
pop ecx
mov esi, 0x4ac080
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0x4ac078]
mov esi, 0x4abfdc
lea edi, [ebp - 0x28]
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 esi, 0x4ac06c
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4ac07c]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040e993
add esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040e993
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, SysStringLen
mov ebx, 0x104
push edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
je 0x412381
xor eax, eax
jmp 0x4123e9
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
jne 0x41237d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
push str._s_s_s
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.00411f3f
add esp, 0x18
test eax, eax
jl 0x41237d
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472031
leave
ret
Function at 0x412414
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x34b]
push ebx
push eax
mov byte [ebp - 0x34c], bl
call fcn.00472c30
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.00472c30
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.00472c30
add esp, 0x24
push 5
pop ecx
mov esi, 0x4ac098
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0x4ac078]
mov esi, 0x4abffc
lea edi, [ebp - 0x28]
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 esi, 0x4ac06c
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4ac07c]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040e993
add esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040e993
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, SysStringLen
mov ebx, 0x104
push edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
je 0x412556
xor eax, eax
jmp 0x4125be
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
jne 0x412552
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
push str._s_s_s
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.00411f3f
add esp, 0x18
test eax, eax
jl 0x412552
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472031
leave
ret
Function at 0x4125e9
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x353]
push ebx
push eax
mov byte [ebp - 0x354], bl
call fcn.00472c30
push esi
lea eax, [ebp - 0x14b]
push ebx
push eax
mov byte [ebp - 0x14c], bl
call fcn.00472c30
push esi
lea eax, [ebp - 0x24f]
push ebx
push eax
mov byte [ebp - 0x250], bl
call fcn.00472c30
add esp, 0x24
push 7
pop ecx
mov esi, 0x4ac0b0
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4ac00c
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x4ac078]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x4ac06c
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4ac07c]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], eax
mov esi, 0x237f
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040e993
add esp, 0xc
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00473a80
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040e993
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
add esp, 0xc
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
mov edi, SysStringLen
mov ebx, 0x104
push edi
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
je 0x412729
xor eax, eax
jmp 0x412791
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
mov dword [ebp - 0x358], ebx
call esi
test eax, eax
jne 0x412725
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x354]
push eax
push str._s_s_s
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.00411f3f
add esp, 0x18
test eax, eax
jl 0x412725
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472031
leave
ret
Function at 0x413c73
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x194
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x194], eax
push 0x34
mov eax, 0x4a84bf
call fcn.0047276e
mov eax, dword [ebp + 0x1a4]
mov esi, dword [ebp + 0x1a0]
xor ebx, ebx
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], ebx
call fcn.00473a80
pop ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.004136e2
push esi
lea ecx, [ebp + 0x178]
mov dword [ebp - 4], ebx
call fcn.00413410
lea eax, [ebp + 0x178]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00413c19
xor esi, esi
inc esi
jmp 0x413e31
cmp dword [ebp - 0x10], ebx
jne 0x413e55
lea ecx, [ebp - 0x28]
call fcn.00413087
push eax
lea ecx, [ebp + 0x178]
call fcn.0041321f
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00412afe
push dword [ebp - 0x34]
lea eax, [ebp - 0x40]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
push eax
call fcn.00413836
lea eax, [ebp + 0x178]
push eax
lea ecx, [ebp + 0x15c]
call fcn.0041321f
push str..
lea ecx, [ebp + 0x15c]
mov byte [ebp - 4], 3
call fcn.00413277
cmp dword [ebp + 0x174], 0x10
mov eax, dword [ebp + 0x160]
jae 0x413d64
lea eax, [ebp + 0x160]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x413e24
test byte [ebp], 0x10
je 0x413ded
cmp byte [ebp + 0x2c], 0x2e
jne 0x413d96
cmp byte [ebp + 0x2d], bl
je 0x413e05
cmp byte [ebp + 0x2d], 0x2e
jne 0x413d96
cmp byte [ebp + 0x2e], bl
je 0x413e05
lea eax, [ebp + 0x178]
push eax
lea ecx, [ebp + 0x140]
call fcn.0041321f
push 0x4ac180
lea ecx, [ebp + 0x140]
mov byte [ebp - 4], 4
call fcn.00413277
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp + 0x140]
call fcn.00413277
lea eax, [ebp + 0x140]
push eax
lea ecx, [ebp - 0x28]
call fcn.00413c19
push ebx
push esi
lea ecx, [ebp + 0x140]
mov byte [ebp - 4], 3
call fcn.00412900
jmp 0x413e05
mov eax, dword [ebp - 0x30]
dec eax
push eax
push dword [ebp - 0x2c]
lea eax, [ebp + 0x2c]
push eax
call fcn.004a4ae0
add esp, 0xc
test eax, eax
je 0x413e1a
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x413d7a
jmp 0x413e1d
mov dword [ebp - 0x10], esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push esi
lea ecx, [ebp + 0x15c]
call fcn.00412900
push ebx
push esi
lea ecx, [ebp + 0x178]
mov byte [ebp - 4], bl
call fcn.00412900
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x413ce7
lea ecx, [ebp - 0x28]
call fcn.00413726
push dword [ebp - 0x28]
call fcn.00471fa6
mov eax, dword [ebp - 0x10]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
call fcn.00472031
add ebp, 0x198
leave
ret
Function at 0x413e8c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x24
mov eax, 0x4a84fd
call fcn.0047276e
mov eax, dword [ebp + 0x250]
mov esi, dword [ebp + 0x214]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x254]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x22c]
xor edi, edi
xor ebx, ebx
inc edi
dec eax
push eax
lea ecx, [ebp + 0x218]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
call fcn.00411c39
cmp byte [eax], 0x5c
je 0x413efc
push 0x5c
push edi
lea ecx, [ebp + 0x218]
call fcn.00412b98
cmp dword [ebp + 0x230], 0x10
mov eax, dword [ebp + 0x21c]
jae 0x413f11
lea eax, [ebp + 0x21c]
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41402b
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x414022
cmp dword [ebp - 0x14], ebx
je 0x414022
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x18], ebx
jbe 0x414022
mov esi, 0x104
cmp dword [ebp - 0x1c], ebx
jne 0x414022
push 0x103
lea eax, [ebp + 0x105]
push ebx
push eax
mov byte [ebp + 0x104], bl
call fcn.00472c30
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x104]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x28], esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x414013
cmp dword [ebp + 0x24c], 0x10
mov eax, dword [ebp + 0x238]
jae 0x413fc2
lea eax, [ebp + 0x238]
push dword [ebp + 0x248]
push eax
lea eax, [ebp + 0x104]
push eax
call fcn.004a4ae0
add esp, 0xc
test eax, eax
jne 0x414013
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp + 0x104]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x414013
push dword [ebp - 0x24]
lea eax, [ebp]
push eax
call fcn.00413c73
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jb 0x413f67
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
lea ecx, [ebp + 0x218]
call fcn.00412900
push ebx
push edi
lea ecx, [ebp + 0x234]
call fcn.00412900
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00472031
add ebp, 0x20c
leave
ret
Function at 0x41414b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1b
push 9
lea eax, [ebp - 0x28]
push eax
push 9
lea eax, [ebp - 0x10]
push eax
push 0x12
lea eax, [ebp - 0x3c]
push eax
push 0x80000001
mov byte [ebp - 0x3c], 0xd1
mov byte [ebp - 0x3b], 0x35
mov byte [ebp - 0x3a], 0x78
mov byte [ebp - 0x39], 0xe6
mov byte [ebp - 0x38], 0xeb
mov byte [ebp - 0x37], 0x9c
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x35], 0xc6
mov byte [ebp - 0x34], 0xa3
mov byte [ebp - 0x33], 0xbc
mov byte [ebp - 0x32], 0x9b
mov byte [ebp - 0x31], 0x2c
mov byte [ebp - 0x30], 0x59
mov byte [ebp - 0x2f], 0xf
mov byte [ebp - 0x2e], 0x76
mov byte [ebp - 0x2d], 0x8d
mov byte [ebp - 0x2c], 0x38
mov byte [ebp - 0x2b], 0xf6
mov byte [ebp - 0x10], 0xc7
mov byte [ebp - 0xf], 0x34
mov byte [ebp - 0xe], 0x85
mov byte [ebp - 0xd], 0xe6
mov byte [ebp - 0xc], 0xc4
mov byte [ebp - 0xb], 0x9c
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0xc9
mov byte [ebp - 8], 0x47
mov byte [ebp - 0x28], 0xeb
mov byte [ebp - 0x27], 0x33
mov byte [ebp - 0x26], 0x8c
mov byte [ebp - 0x25], 0xdc
mov byte [ebp - 0x24], 0xa2
mov byte [ebp - 0x23], 0xa0
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0xc6
mov byte [ebp - 0x20], 0x47
mov byte [ebp - 0x1c], 0xeb
mov byte [ebp - 0x1b], 0x33
mov byte [ebp - 0x1a], 0x8c
mov byte [ebp - 0x19], 0xdc
mov byte [ebp - 0x18], 0xa2
mov byte [ebp - 0x17], 0xa0
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0xc6
mov byte [ebp - 0x14], 0x47
call fcn.0041406b
add esp, 0x20
test eax, eax
je 0x414239
xor eax, eax
inc eax
jmp 0x41424f
push 0x1b
lea eax, [ebp - 0x1c]
push 9
push eax
call fcn.0040fd45
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472031
leave
ret

Function at 0x41536c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4ac1b8
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4153e4
mov eax, dword [ebp + 8]
add eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.Path
push dword [ebp - 4]
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00473a26
pop ecx
test eax, eax
je 0x4153e6
lea ecx, [esi + eax*2]
cmp word [ecx - 2], 0x5c
je 0x4153e6
push 0x5c
pop edx
mov word [ecx], dx
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x41622b
Capabilities:
Set registry value

Disassembly:
push 8
lea eax, [esp + 0xc]
push eax
push 0xb
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x418dfd
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x418e6f
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x418e5f
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x418e65
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x418e40
jmp 0x418e68
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00472031
leave
ret

Function at 0x418e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWARE360Safe_safemon
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x418eba
xor eax, eax
leave
ret
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.DisableAutorun
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x418eb6
xor eax, eax
cmp dword [ebp - 8], 1
sete al
leave
ret

Function at 0x418ef2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWARE360Safe_stat
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x418f2c
xor eax, eax
leave
ret
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.ManExit
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x418f28
xor eax, eax
cmp dword [ebp - 8], 1
sete al
leave
ret
Function at 0x419162
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
je 0x41922d
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x41922d
cmp dword [0x4d6b30], ebx
jne 0x419218
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
inc edi
push SysStringLen
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41922d
cmp dword [ebp - 4], ebx
je 0x41922d
lea eax, [ebp - 8]
push eax
mov ebx, 0x4d6928
push ebx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4ac154
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419206
mov ecx, dword [ebp + 8]
lea eax, [esi + esi]
mov dword [0x4d6b30], edi
test eax, eax
je 0x4191f9
mov byte [ecx], 0
inc ecx
dec eax
jne 0x4191f2
push ebx
dec esi
push esi
push dword [ebp + 8]
call fcn.004164fc
jmp 0x41920d
and dword [0x4d6b30], 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419226
push 0x4d6928
push esi
push dword [ebp + 8]
call fcn.004164fc
mov eax, dword [0x4d6b30]
jmp 0x41922f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4192b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00472c30
xor eax, eax
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00472c30
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00419162
add esp, 0x20
test eax, eax
je 0x41936e
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.004164fc
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360leakfixer.exe
lea eax, [ebp - 0x414]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x419350
xor eax, eax
jmp 0x41936d
push str.hipsver.dll
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call edi
neg eax
sbb eax, eax
neg eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00472031
leave
ret