joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008176
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x10008199
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x1000819c
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x100081af
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x100081b6
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x1002c988]
mov ecx, dword [0x1002c984]
test eax, eax
jne 0x100081d0
test ecx, ecx
je 0x100081e5
mov eax, ecx
mov dword [0x1002c988], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100081e5
cmp edx, dword [ebp - 4]
jb 0x100081e5
cmp edx, dword [ebp - 8]
jbe 0x100082b6
mov eax, ecx
test ecx, ecx
jmp 0x10008209
test eax, eax
je 0x10008204
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10008204
cmp ecx, dword [ebp - 4]
jb 0x10008204
cmp ecx, dword [ebp - 8]
jbe 0x100082b6
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x1002c988], eax
jne 0x100081eb
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x1000834b
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10008236
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000834b
cmp dword [ebp - 0x30], ebx
jne 0x10008255
cmp dword [ebp - 0x34], ebx
jae 0x10008268
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x10008224
jmp 0x1000834b
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1002c988], eax
test eax, eax
je 0x1000834b
mov ecx, dword [0x1002c984]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x1002c984], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x100082a8
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x10008350
cmp esi, dword [ebp - 8]
ja 0x10008350
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.100115a0
add esp, 0xc
mov eax, esi
jmp 0x10008352
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100082f7
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10008350
cmp dword [ebp - 0x14], ebx
jne 0x10008342
cmp dword [ebp - 0x18], ebx
jb 0x10008342
movzx ecx, si
test ecx, ecx
je 0x10008326
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1002c988], eax
test eax, eax
jne 0x10008284
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x100082e5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008378
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x10027640
call fcn.10011cd4
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100083d3
and dword [ebp - 4], 0
mov ecx, 0x5a4d
mov eax, dword [ebp - 0x30]
cmp word [eax], cx
jne 0x100083cc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100083cc
cmp word [ecx + 0x14], 0
je 0x100083cc
mov dword [ebp - 4], 0xfffffffe
jmp 0x100083d5
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.10011d19
ret

Function at 0x100083ed
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x1002c990], edi
je 0x10008400
mov eax, 0x10dd
jmp 0x1000845b
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x1002c990
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x100083f9
push esi
mov esi, dword [0x1002c984]
mov dword [0x1002c98c], edi
mov dword [0x1002c9a0], edi
mov dword [0x1002c99c], edi
mov dword [0x1002c994], edi
mov dword [0x1002c998], edi
jmp 0x10008454
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x1000843e
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x1000845e
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1002c990], eax
je 0x10008474
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x1002c9a0]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x100084bf
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x100084b0
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x100084b0
call fcn.10008357
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.10011985
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10008483
mov dword [0x1002c9a0], ebx
call fcn.1000814f
mov esi, dword [0x1002c99c]
cmp esi, ebx
je 0x100084ec
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.10011985
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x100084d4
pop edi
pop esi
mov dword [0x1002c99c], ebx
mov dword [0x1002c990], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10008743
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x1002c994]
test eax, eax
jne 0x100087b3
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x1000875f
xor eax, eax
jmp 0x100087b2
push esi
push 8
call fcn.100119ab
mov esi, eax
pop ecx
test esi, esi
jne 0x10008773
push 8
pop edi
jmp 0x1000878e
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1000879f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.10011985
pop ecx
and dword [0x1002c998], 0
mov dword [0x1002c994], edi
mov eax, edi
jmp 0x100087b1
mov eax, dword [0x1002c99c]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x1002c99c], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x10008a09
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1002c990], eax
je 0x10008a25
mov eax, 0x10dd
jmp 0x10008b06
mov eax, dword [0x1002c994]
test eax, eax
jne 0x10008b06
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10008a42
push 6
pop eax
jmp 0x10008b05
cmp dword [edi], 0
jne 0x10008a5a
push 6
pop eax
mov dword [0x1002c994], eax
mov dword [0x1002c998], edi
jmp 0x10008b05
push ebx
push esi
push 0x18
call fcn.100119ab
mov esi, eax
pop ecx
test esi, esi
jne 0x10008a6f
push 8
pop edi
jmp 0x10008ae8
mov edi, dword [edi]
push 0
push dword [ebp + 0xc]
call fcn.100083db
movzx ecx, byte [edi + 0x17]
mov ebx, dword [edi + 0x18]
xor edx, edx
sub ebx, ecx
cmp ecx, edx
je 0x10008add
cmp ecx, 0x17
ja 0x10008add
cmp dword [edi + 0x1c], eax
jne 0x10008add
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push ebx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10008ab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10008ae8
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x1002c9a0]
mov dword [esi], eax
mov dword [0x1002c9a0], esi
xor eax, eax
jmp 0x10008b03
push 9
pop edi
cmp dword [0x1002c98c], edx
jne 0x10008aee
mov dword [0x1002c994], edi
test esi, esi
je 0x10008af9
push esi
call fcn.10011985
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x1002c998], eax
mov eax, edi
pop esi
pop ebx
pop edi
leave
ret 8

Function at 0x10008eef
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov esi, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10008f84
mov eax, dword [esi + 0x20c]
test eax, eax
je 0x10008f1b
push eax
call fcn.10011fad
pop ecx
push edi
call fcn.1001208a
pop ecx
mov dword [esi + 0x20c], eax
test eax, eax
je 0x10008f84
push eax
push edi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10008f84
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push dword [esi + 0x20c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10008f84
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str.StringFileInfo_04x_04x
push 0x208
add esi, 4
push esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor eax, eax
add esp, 0x14
inc eax
jmp 0x10008f86
xor eax, eax
pop edi
pop esi
leave
ret 4
Function at 0x10009324
Capabilities:
Query environment variable

Disassembly:
push ebp
sub esp, 0x620
lea ebp, [esp - 4]
mov eax, dword [0x1002b3ec]
xor eax, ebp
mov dword [ebp + 0x620], eax
push 0xc
mov eax, 0x10020993
call fcn.1001293b
mov eax, dword [ebp + 0x62c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x630]
xor esi, esi
sub eax, esi
je 0x100094e3
dec eax
jne 0x10009529
mov ebx, 0x206
push ebx
mov word [ebp + 0x418], ax
lea eax, [ebp + 0x41a]
push esi
push eax
call fcn.100115a0
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp + 0x418]
push eax
push str.SBSIGN
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp + 0x418]
push 0x1002379c
push eax
call fcn.10012a54
pop ecx
pop ecx
test eax, eax
jne 0x100093c1
inc eax
mov dword [0x1002cabc], eax
mov dword [0x1002cab8], eax
jmp 0x100093c7
mov dword [0x1002cabc], esi
push esi
push dword [ebp - 0x10]
mov ecx, 0x1002ca1c
push esi
call fcn.10009203
push dword [ebp - 0x10]
push 0x1002e210
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
push ebx
mov word [ebp + 0x210], ax
lea eax, [ebp + 0x212]
push esi
push eax
call fcn.100115a0
add esp, 0xc
push edi
lea eax, [ebp + 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp]
call fcn.10008ec0
lea eax, [ebp + 0x210]
push eax
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.10008eef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
mov dword [ebp - 0x14], esi
call fcn.10008f8c
xor edi, edi
call fcn.100096da
test eax, eax
je 0x1000944f
call fcn.100096bc
test eax, eax
jne 0x1000944f
inc edi
push 0x10023794
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x10009486
push esi
mov esi, 0x1002c9b8
push 0x10009122
mov ecx, esi
mov dword [0x1002c9ac], 1
call fcn.10007fb8
mov ecx, esi
call fcn.10007fc9
jmp 0x100094d5
push dword [ebp - 0x10]
call fcn.10007ffb
call fcn.100083ed
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10008743
push 0x1000cf44
push 0x1002c9e0
call fcn.10008b12
push 0x1000cf34
push 0x1002c9d8
call fcn.10008b12
cmp edi, esi
je 0x100094d0
push 0x1000973c
push 0x1002c9d4
call fcn.10008b12
call fcn.10008b0a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10008ed0
jmp 0x10009529
cmp dword [0x1002c9ac], esi
jne 0x1000951f
call fcn.100083ed
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10008743
push 0x1000cf44
push 0x1002c9e0
call fcn.10008a09
push 0x1000cf34
push 0x1002c9d8
call fcn.10008a09
call fcn.10008b0a
mov ecx, 0x1002ca1c
call fcn.100092fd
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x620]
xor ecx, ebp
call fcn.10011556
add ebp, 0x624
leave
ret 0xc

Function at 0x100096bc
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 6
ja 0x100096d6
jne 0x100096d3
shr eax, 8
cmp al, 2
jae 0x100096d6
xor eax, eax
ret
xor eax, eax
inc eax
ret
Function at 0x10009f21
Capabilities:
Set registry value

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

Function at 0x10009f72
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x10009f83
push 0xd
pop eax
jmp 0x10009fb0
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10009f86
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x1000a4f1
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x1002b3ec]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.10009eec
mov ebx, eax
cmp ebx, edi
je 0x1000a561
lea ecx, [ebp - 0x70]
call fcn.10009e83
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011556
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1000a579
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000a4f1
cmp eax, edi
jne 0x1000a5ac
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x1000a569
lea ecx, [ebp - 0x70]
call fcn.10009e83
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10009e83
mov eax, esi
jmp 0x1000a547
Function at 0x1000cbe8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [0x1002c9ac], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
je 0x1000cc0f
push 0x1000aa64
jmp 0x1000cc14
push 0x1000c99a
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x1000ce61
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
cmp eax, 0x400
ja 0x1000cf31
cmp eax, 0x113
je 0x1000cf31
cmp eax, 2
je 0x1000cf31
cmp eax, 0x82
je 0x1000cf31
cmp dword [0x1002ca18], 0
jne 0x1000cf12
push esi
push str.SBX_ShowTips
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
xor esi, esi
inc esi
mov dword [0x1002cab0], eax
mov dword [0x1002ca18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1000cbe8
pop ecx
push 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push str.SB_Mark_Proc
push str.SOFTWARE360Safe_safemon
push 0x80000002
mov dword [ebp + 8], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp + 8], esi
je 0x1000cf0b
cmp dword [0x1002cabc], 0
jne 0x1000cf0b
and dword [0x1002cab8], 0
jmp 0x1000cf11
mov dword [0x1002cab8], esi
pop esi
mov eax, dword [edi + 4]
cmp eax, 5
jb 0x1000cf31
cmp eax, 6
jbe 0x1000cf29
cmp eax, 0xf
je 0x1000cf29
cmp eax, 0x14
jne 0x1000cf31
push dword [edi]
call fcn.1000cc1f
pop ecx
pop edi
leave
ret

Function at 0x1000d063
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.CMarkProcMgr.0
cmp eax, 0xffffffff
je 0x1000d07b
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x1000e00d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1002b3ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.10011556
leave
ret

Function at 0x1000e1c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push 0x1000e11b
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
jne 0x1000e1e5
xor eax, eax
jmp 0x1000e210
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000e1fb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000e1e1
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x1000f196
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.SB_Mark_Proc
xor esi, esi
push str.SOFTWARE360Safe_safemon
inc esi
push 0x80000002
mov edi, ecx
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ebx, ebx
cmp dword [ebp - 4], esi
je 0x1000f1f2
cmp dword [0x1002cabc], ebx
jne 0x1000f1f2
push ebx
mov dword [0x1002cab8], ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1000f202
mov dword [0x1002cab8], esi
mov ecx, edi
mov dword [edi + 0x24], ebx
call fcn.1000ea2e
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x1000f210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x1002b3ec]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x78], 0
push esi
mov esi, dword [ebp + 0x1a8]
push edi
mov edi, dword [ebp + 0x1a0]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.100115a0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [ebp - 0x7c], 0x208
mov dword [ebp - 0x80], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x74], 0
jne 0x1000f2ba
push 0x104
lea eax, [ebp - 0x74]
push eax
push dword [0x1002e20c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1000f2b3
push 0x10023e48
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [ebp - 0x74], 0
je 0x1000f2fb
test esi, esi
je 0x1000f2e4
push esi
call fcn.1001363d
pop ecx
test eax, eax
jbe 0x1000f2e4
push esi
lea eax, [ebp - 0x74]
push eax
push str._s_s
push dword [ebp + 0x1a4]
push edi
call fcn.10008ffa
add esp, 0x14
jmp 0x1000f2f4
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x1a4]
push edi
call fcn.10009b29
mov dword [ebp - 0x78], 1
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x78]
pop edi
xor ecx, ebp
pop esi
call fcn.10011556
add ebp, 0x198
leave
ret 0xc
Function at 0x1000f317
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x1002b3ec]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x78], 0
push ebx
push esi
mov esi, dword [ebp + 0x1a8]
push edi
mov edi, dword [ebp + 0x1a0]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.100115a0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.Path
xor ebx, ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
inc ebx
push 0x80000002
mov dword [ebp - 0x7c], 0x208
mov dword [ebp - 0x80], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x74], 0
je 0x1000f3cf
test esi, esi
je 0x1000f3bc
push esi
call fcn.1001363d
pop ecx
test eax, eax
jbe 0x1000f3bc
push esi
lea eax, [ebp - 0x74]
push eax
push str._s_s
push dword [ebp + 0x1a4]
push edi
call fcn.10008ffa
add esp, 0x14
jmp 0x1000f3cc
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x1a4]
push edi
call fcn.10009b29
mov dword [ebp - 0x78], ebx
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011556
add ebp, 0x198
leave
ret

Function at 0x1000fec6
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x1002b3ec]
xor eax, ebp
mov dword [ebp + 0x788], eax
push edi
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.100115a0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.Path
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
inc edi
push 0x80000002
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000ff73
push str.360ver.dll
lea eax, [ebp - 0x78]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000ff73
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.1000f661
mov esi, eax
pop ecx
test esi, esi
je 0x1000ff72
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp + 0x788]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.10011556
add ebp, 0x78c
leave
ret
Function at 0x1000ff8b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.10011570
mov eax, dword [0x1002b3ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.100115a0
add esp, 0xc
push 0x1002401c
mov esi, 0x800
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.1000f0a6
push edi
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.1000f0a6
push 0x10023ff0
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.1000f0a6
push edi
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.1000f0a6
push str.vL
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.1000f0a6
push ebx
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.1000f0a6
push 0x10023fac
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.1000f0a6
push 0x14
push edi
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x1001008c
call fcn.1000d9f5
test eax, eax
je 0x10010075
call fcn.1000fec6
test eax, eax
je 0x10010075
push 5
xor eax, eax
push eax
push eax
push 0x1002aae0
jmp 0x10010080
push 5
xor eax, eax
push eax
push eax
push 0x1002a948
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x10], 0
je 0x10010099
push 0
call fcn.100138f7
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011556
leave
ret

Function at 0x100100aa
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.1000f623
pop ecx
test eax, eax
je 0x100100bf
xor eax, eax
inc eax
pop esi
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100100da
push 1
push 0x1002a7b0
push esi
call fcn.1000ff8b
add esp, 0xc
xor eax, eax
pop esi
ret