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

Disassembly:
sub esp, 0x248
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x56]
mov edi, 1
push ecx
mov byte [esp + 0x1f], 1
mov dword [esp + 0x20], edi
mov word [esp + 0x58], ax
call fcn.00497680
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.ImagePath
push str.Software360TotalSecurity_srvtpi360bsmon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 0x208
call ebp
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x41a725
cmp dword [esp + 0x14], edi
jne 0x41a725
cmp dword [esp + 0x18], 0
jne 0x41a75f
mov ecx, 0xa
mov esi, str.safemon360bsmon.tpi
lea edi, [esp + 0x20]
push 0x2a
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x24]
push edx
push 1
push str.ImagePath
push str.Software360TotalSecurity_srvtpi360bsmon
push reloc.OLEAUT32.dll_SysReAllocString
movsw word es:[edi], word [esi]
call ebx
mov edi, 1
test eax, eax
je 0x41a75f
mov byte [esp + 0x13], 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push str.StartType
push str.Software360TotalSecurity_srvtpi360bsmon
mov esi, 4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], 3
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call ebp
test eax, eax
jne 0x41a7a4
cmp dword [esp + 0x14], esi
jne 0x41a7a4
cmp dword [esp + 0x1c], edi
je 0x41a7c8
push esi
lea eax, [esp + 0x20]
push eax
push esi
push str.StartType
push str.Software360TotalSecurity_srvtpi360bsmon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], edi
call ebx
test eax, eax
je 0x41a7c8
xor al, al
jmp 0x41a7d1
xor eax, eax
cmp byte [esp + 0x13], al
setne al
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00497941
add esp, 0x248
ret

Function at 0x41a990
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.00497680
lea edx, [esp + 0x10]
push str.SoftMgr360SoftMgrS.dll
push edx
call fcn.0041a2a0
add esp, 0x14
lea eax, [esp + 4]
lea edx, [eax + 2]
pop ebx
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a9e0
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 4]
push ecx
push 1
push str.ImagePath
push str.Software360safe360krnlsvc_softmgrs
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov al, 1
call fcn.00497941
add esp, 0x20c
ret
Function at 0x41acc0
Capabilities:
Delete registry value
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18
push esi
mov dword [esp + 8], 3
mov dword [esp + 0x18], 0
mov esi, str.SYSTEMCurrentControlSetServices360AvFlt
call fcn.00418ce0
test al, al
je 0x41ace7
mov esi, 0x4d42c8
mov ecx, dword [esp + 0x20]
call fcn.0041abf0
lea eax, [esp + 4]
push eax
push 1
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41adbb
mov ecx, dword [esp + 4]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push str.Start
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41ad92
push str.DeleteFlag
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x41ad56
pop edi
mov al, 1
pop esi
add esp, 0x18
ret
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push str.DeleteFlag
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 4
mov dword [esp + 0x30], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41ad9a
pop edi
xor al, al
pop esi
add esp, 0x18
ret
push 4
lea eax, [esp + 0x20]
push eax
push 4
push str.DeleteFlag
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
pop edi
sete al
pop esi
add esp, 0x18
ret
xor al, al
pop esi
add esp, 0x18
ret
Function at 0x41afd0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1010
call fcn.004985e0
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x14
mov ebx, 0x1770
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x1c]
push eax
call fcn.0041ae40
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, 1
jne 0x41b01f
mov dword [esp + 0x18], 0x14
jmp 0x41b040
cmp ecx, 2
jne 0x41b02e
mov dword [esp + 0x18], 0x1e
jmp 0x41b03b
cmp ecx, 4
jl 0x41b040
mov dword [esp + 0x18], 0x28
mov ebx, 0xfa0
cmp eax, 0xffffffff
je 0x41b1ab
push 0xffc
mov dword [esp + 0x24], ebp
push ebp
cmp eax, dword [esp + 0x20]
jae 0x41b11b
lea ecx, [esp + 0x2c]
push ecx
call fcn.00497680
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x1000
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x1c], ebp
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41b08a
xor edi, edi
jmp 0x41b091
mov edi, dword [esp + 0x10]
shr edi, 2
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xffc
lea ecx, [esp + 0x28]
push ebp
push ecx
mov dword [esp + 0x2c], ebp
call fcn.00497680
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x1000
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x1c], ebp
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41b0cf
xor esi, esi
jmp 0x41b0d6
mov esi, dword [esp + 0x10]
shr esi, 2
cmp edi, esi
jne 0x41b0de
inc dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041ae40
add esp, 4
cmp eax, dword [esp + 0x18]
jb 0x41b1b6
cmp dword [esp + 0x14], 2
je 0x41b1b6
cmp dword [esp + 0x1c], 4
jl 0x41afff
cmp edi, esi
jne 0x41afff
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x2c]
push edx
call fcn.00497680
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x1000
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], ebp
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41b148
xor esi, esi
jmp 0x41b14f
mov esi, dword [esp + 0x10]
shr esi, 2
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xffc
lea edx, [esp + 0x28]
push ebp
push edx
mov dword [esp + 0x2c], ebp
call fcn.00497680
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x1000
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], ebp
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x41b190
mov eax, dword [esp + 0x10]
shr eax, 2
cmp esi, eax
jne 0x41b198
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jne 0x41afff
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b690
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.00497680
mov eax, dword [ebx]
add esp, 0xc
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push eax
push edi
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [esi]
mov ebp, dword [esi - 0xc]
lea ebp, [ebp + ebp + 2]
test eax, eax
jne 0x41b73d
mov ecx, esi
lea eax, [esp + 0xc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b71b
test dx, dx
je 0x41b717
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b71b
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b6f5
xor eax, eax
jmp 0x41b720
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41b73d
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00497941
add esp, 0x210
ret
mov edx, dword [ebx]
push ebp
push esi
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x214]
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.00497941
add esp, 0x210
ret

Function at 0x41b770
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 8
mov eax, dword [esi]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 4]
push edx
push 0
push 0
push eax
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41b7ae
mov eax, dword [esp]
cmp eax, dword [esp + 0xc]
jne 0x41b7ae
xor al, al
add esp, 8
ret
mov edx, dword [esi]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov al, 1
add esp, 8
ret
Function at 0x41bbe0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c16a6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00497680
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x4d8c18
push str.SOFTWAREMozillaFirefoxExtensions
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41bd0f
cmp dword [esp + 8], 1
jne 0x41bd0f
lea edx, [esp + 0x14]
push edx
call fcn.004066d0
push str.safemonwebprotection_firefox
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x23c], 0
call fcn.004067a0
add esp, 0x10
mov byte [esp + 0x22c], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bcc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00498d33
add esp, 8
test eax, eax
mov dword [esp + 0x22c], 0xffffffff
mov eax, dword [esp + 0xc]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bd0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
jmp 0x41bd11
xor al, al
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00497941
add esp, 0x228
ret
Function at 0x41bfb0
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4c1662
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x424]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov dword [esp + 0x430], 0
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0xc], 0
push ecx
mov dword [esp + 0x18], esi
mov word [esp + 0x1c], ax
call fcn.00497680
add esp, 0xc
push 0x104
lea edx, [esp + 0x14]
push edx
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00404050
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x222]
mov dword [esp + 0x434], 0
push edx
mov dword [esp + 0x10], 1
mov word [esp + 0x224], cx
call fcn.00497680
add esp, 0xc
push 0x10
push str.MozillaFirefox
mov ecx, esi
call fcn.004062f0
push str.profiles.ini
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004067a0
mov eax, dword [eax]
add esp, 0xc
push eax
push 0x104
lea ecx, [esp + 0x220]
push ecx
push 0x4d67f4
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c0d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x218]
push ecx
push 0x4d8d5c
push esi
call fcn.00418a20
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.00497941
add esp, 0x42c
ret
Function at 0x41c600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c44f5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esi], eax
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00404760
add eax, 0x10
mov dword [esi + 4], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 0x30], 0
mov eax, dword [edx]
sub eax, 0x10
push eax
call fcn.00404760
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x34], 1
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404760
add eax, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x38], 2
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00404760
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x58]
mov byte [esp + 0x3c], 3
mov eax, dword [edx]
sub eax, 0x10
push eax
call fcn.00404760
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x60]
mov byte [esp + 0x40], 4
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404760
add eax, 0x10
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x44], 5
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00404760
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x48], 6
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0041c1a0
add esp, 0x28
mov byte [esp + 0x2c], 7
cmp dword [eax + 0x18], 8
jb 0x41c707
mov eax, dword [eax + 4]
jmp 0x41c70a
add eax, 4
push eax
lea ecx, [esi + 0x20]
call fcn.00404050
cmp dword [esp + 0x20], 8
jb 0x41c727
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00493cb0
add esp, 4
mov eax, esi
mov byte [esi + 0x24], 0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 0x20
Function at 0x41c740
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4c1e48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
lea ecx, [esi + 4]
push edx
mov dword [esi], eax
call fcn.00404570
mov eax, dword [esp + 0x3c]
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.00404570
mov edx, dword [esp + 0x40]
lea ecx, [esi + 0xc]
push edx
call fcn.00404570
mov eax, dword [esp + 0x44]
lea ecx, [esi + 0x10]
push eax
call fcn.00404570
mov edx, dword [esp + 0x48]
lea ecx, [esi + 0x14]
push edx
call fcn.00404570
mov eax, dword [esp + 0x4c]
lea ecx, [esi + 0x18]
push eax
call fcn.00404570
mov edx, dword [esp + 0x50]
lea ecx, [esi + 0x1c]
push edx
call fcn.00404570
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0041c1a0
add esp, 0xc
xor edx, edx
mov dword [esp + 0x30], edx
cmp dword [eax + 0x18], 8
jb 0x41c7e8
mov eax, dword [eax + 4]
jmp 0x41c7eb
add eax, 4
lea ecx, [esi + 0x20]
cmp eax, edx
je 0x41c806
mov edx, eax
lea ebp, [edx + 2]
mov di, word [edx]
add edx, 2
test di, di
jne 0x41c7f7
sub edx, ebp
sar edx, 1
push edx
push eax
call fcn.004046b0
cmp dword [esp + 0x24], 8
jb 0x41c83c
mov edx, dword [esp + 0x10]
push edx
call fcn.00493cb0
mov al, byte [esp + 0x58]
add esp, 4
mov byte [esi + 0x24], al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x28
ret 0x20
mov cl, byte [esp + 0x54]
mov byte [esi + 0x24], cl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x28
ret 0x20
Function at 0x41c8c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x94
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
lea eax, [esp + 0xc]
push eax
push edi
mov ebx, ecx
mov byte [esp + 0x13], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x41c907
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00497941
add esp, 0x94
ret
push ebp
push esi
call fcn.00498320
add esp, 4
mov ebp, eax
push ebp
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41c994
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c994
test ebx, ebx
je 0x41c994
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xFileDescription
lea eax, [esp + 0x28]
push 0x80
push eax
call fcn.00415b00
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c994
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa4]
push ecx
push edx
push ebx
call fcn.00407360
mov bl, 1
test eax, eax
jge 0x41c998
mov bl, byte [esp + 0xf]
push ebp
call fcn.00497867
mov ecx, dword [esp + 0xa0]
add esp, 4
pop ebp
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00497941
add esp, 0x94
ret

Function at 0x41c9c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ca26
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.DefaultBrowserLockEx2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41ca2c
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
add esp, 0x10
ret
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 4], eax
setne al
add esp, 0x10
ret
Function at 0x41ebb0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c51db
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
xor eax, eax
push 0x4d67f4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.004054b0
mov dword [esp + 0x244], edi
cmp esi, 4
jne 0x41ec27
lea ecx, [esp + 0x14]
push ecx
call fcn.0040f440
jmp 0x41ec36
cmp esi, 2
jne 0x41ec39
lea edx, [esp + 0x14]
push edx
call fcn.0040f5f0
add esp, 4
cmp dword [esp + 0x28], edi
jne 0x41ec51
cmp dword [esp + 0x2c], 8
jb 0x41eccc
mov eax, dword [esp + 0x18]
push eax
jmp 0x41ecc4
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x41ec60
lea eax, [esp + 0x18]
push str.setdefbrowser.dll
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ecb8
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x14]
lea esi, [esp + 0x34]
call fcn.00414f10
add esp, 4
test al, al
je 0x41ecb8
mov eax, dword [esp + 0x10]
cmp eax, 2
jbe 0x41ecaf
lea ecx, [esp + 0x14]
call fcn.00405450
xor al, al
jmp 0x41ecce
jne 0x41ecb8
cmp dword [esp + 0xc], 0x19
jae 0x41eca2
cmp dword [esp + 0x2c], 8
jb 0x41eccc
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00493cb0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00497941
add esp, 0x23c
ret
Function at 0x4230f0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x423110
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x423124
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x423150
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c63a5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esi], vtable.TS::Registry::CUserRegHelper.0
mov eax, dword [0x4fc0d8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc0d8
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x14], 1
mov eax, dword [0x4fc0d8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc0d8
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x14], 2
mov eax, dword [0x4fc0d8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc0d8
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x1c], 3
call fcn.00427c90
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
lea ecx, [esi + 0x30]
push edx
mov byte [esp + 0x1c], 4
call fcn.00427c90
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
lea ecx, [esi + 0x50]
push edx
mov byte [esp + 0x1c], 5
call fcn.00427c90
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 6
call fcn.00410520
mov edx, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x18], 7
call fcn.00425f20
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42325a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x423270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c438d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.TS::Registry::CUserRegHelper.0
mov eax, esi
mov dword [esp + 0x14], 6
call fcn.004262f0
lea ecx, [esi + 0x70]
call fcn.00410580
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 4
call fcn.00427250
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 3
call fcn.00426fd0
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 2
call fcn.00426fd0
mov byte [esp + 0x14], 1
mov eax, dword [esi + 0xc]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423300
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14], 0
mov eax, dword [esi + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423324
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 4]
sub esi, 0x10
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42334b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret