joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426e0a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4218
call fcn.005933d0
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x4000
lea eax, [ebp - 0x420c]
mov edi, edx
push 0
push eax
mov esi, ecx
call fcn.005aa3d0
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x426e47
mov eax, dword [esi]
lea ecx, [ebp - 0x4214]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x426f13
cmp eax, 0x3fff
ja 0x426f13
cmp dword [esi + 0x14], 8
jb 0x426e70
mov esi, dword [esi]
lea ecx, [ebp - 0x420c]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x426f13
lea eax, [ebp - 0x4218]
push eax
lea eax, [ebp - 0x4210]
push eax
push 0x62aa1c
lea eax, [ebp - 0x420c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x426f13
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005aa3d0
mov ecx, dword [ebp - 0x4210]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.00412a08
lea eax, [ebp - 0x20c]
push eax
call fcn.005baec0
add esp, 0x2c
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b566
xor eax, eax
inc eax
jmp 0x426f15
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005926d8
leave
ret

Function at 0x4275ae
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42760f
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret

Function at 0x42761c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x427647
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret
Function at 0x42764c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x22c
lea eax, [ebp - 0x230]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x230], edi
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4276d6
lea eax, [ebp - 0x20c]
push 0x62b0fc
push eax
call fcn.005bc1fb
pop ecx
pop ecx
test eax, eax
jne 0x4276c8
mov ecx, dword [ebp - 0x228]
call fcn.0042761c
xor edx, edx
movzx ebx, bl
inc edx
test al, al
cmovne ebx, edx
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42769b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret
Function at 0x4276f2
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daf6b
mov eax, dword fs:[0]
push eax
mov eax, 0x63360
call fcn.005933d0
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x62c]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.005aa3d0
push 0x208
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.005aa3d0
add esp, 0x18
lea eax, [ebp - 0x424]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.safelive
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x62c]
push eax
push str._s.cab
lea eax, [ebp - 0x21c]
push 0x103
push eax
call fcn.00412a08
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6336c]
call fcn.00416a73
lea ecx, [ebp - 0x6336c]
mov dword [ebp - 4], ebx
call fcn.0041700f
xor eax, eax
inc eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x60f04], eax
jb 0x4277d4
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x6336c]
call fcn.00429c1d
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x60cc4], 0x493e0
push eax
lea ecx, [ebp - 0x6336c]
call fcn.00429beb
lea ecx, [ebp - 0x6336c]
call fcn.00416f5f
lea ecx, [ebp - 0x6336c]
call fcn.0041726f
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4278c9
push 0x62aa1c
mov edx, 0x6dd200
lea ecx, [ebp - 0x644]
call fcn.0041154e
pop ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x644]
cmp dword [ebp - 0x630], 8
lea ecx, [ebp - 0x674]
cmovae eax, dword [ebp - 0x644]
push eax
call fcn.0040b0d5
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x65c]
call fcn.0040b0d5
lea edx, [ebp - 0x674]
lea ecx, [ebp - 0x65c]
call fcn.00425998
lea ecx, [ebp - 0x65c]
mov esi, eax
call fcn.0040b67e
lea ecx, [ebp - 0x674]
call fcn.0040b67e
test esi, esi
je 0x4278be
cmp dword [edi + 0x14], 8
jb 0x4278ac
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
lea ecx, [ebp - 0x644]
call fcn.0040b67e
lea ecx, [ebp - 0x6336c]
call fcn.00416d44
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005926d8
leave
ret
Function at 0x4279d8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x22c
lea eax, [ebp - 0x230]
push edi
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x230], edi
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x427a4b
lea eax, [ebp - 0x20c]
push 0x62b0fc
push eax
call fcn.005bc1fb
pop ecx
pop ecx
test eax, eax
je 0x427a66
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x427a26
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005926d8
leave
ret
mov al, 1
jmp 0x427a58

Function at 0x427db0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
mov eax, dword [0x6c75ac]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push esi
push edi
push 0x208
lea eax, [esp + 0x46c]
xor edi, edi
push 0
push eax
mov esi, edx
mov ebx, ecx
inc edi
call fcn.005aa3d0
push 0x62aa14
push ebx
push 0x62cd08
lea eax, [esp + 0x480]
push 0x103
push eax
call fcn.00412a08
add esp, 0x20
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x427e2b
xor eax, eax
jmp 0x427f05
lea eax, [esp + 0x3c]
push 0x62d030
push eax
call fcn.005bcc3e
pop ecx
pop ecx
test eax, eax
je 0x427ed0
lea eax, [esp + 0x3c]
push 0x62d034
push eax
call fcn.005bcc3e
pop ecx
pop ecx
test eax, eax
je 0x427ed0
push 0x208
lea eax, [esp + 0x264]
push 0
push eax
call fcn.005aa3d0
test byte [esp + 0x1c], 0x10
lea eax, [esp + 0x48]
push eax
push ebx
lea eax, [esp + 0x274]
je 0x427ea4
push 0x62d040
push 0x103
push eax
call fcn.00412a08
add esp, 0x20
lea ecx, [esp + 0x260]
mov edx, esi
call fcn.00427db0
jmp 0x427ece
push 0x62cd08
push 0x103
push eax
call fcn.00412a08
add esp, 0x20
test esi, esi
je 0x427ec0
cmp esi, 1
jne 0x427ed0
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x427e2b
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x427efa
cmp esi, 2
jne 0x427f03
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
mov eax, edi
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005926d8
mov esp, ebp
pop ebp
ret
Function at 0x427f1a
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2b0
mov eax, 0x5dafdb
call fcn.00593b07
xorps xmm0, xmm0
mov edx, ecx
push 0x62aa1c
lea ecx, [ebp - 0x58]
movlpd qword [ebp - 0x2b0], xmm0
call fcn.0041154e
and dword [ebp - 4], 0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
mov dword [esp], 0x62aa14
call fcn.0041154e
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b4], eax
cmp eax, 0xffffffff
jne 0x427f9e
xorps xmm0, xmm0
movlpd qword [ebp - 0x2b0], xmm0
mov esi, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2b0]
jmp 0x4280a4
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2b0]
test eax, eax
je 0x428098
lea eax, [ebp - 0x27c]
push 0x62d030
push eax
call fcn.005bcc3e
pop ecx
pop ecx
test eax, eax
je 0x428080
lea eax, [ebp - 0x27c]
push 0x62d034
push eax
call fcn.005bcc3e
pop ecx
pop ecx
test eax, eax
je 0x428080
lea eax, [ebp - 0x27c]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.0041154e
pop ecx
mov byte [ebp - 4], 2
test byte [ebp - 0x2a8], 0x10
je 0x428024
lea ecx, [ebp - 0x28]
call fcn.00427f1a
add edi, eax
adc esi, edx
jmp 0x428074
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428074
lea eax, [ebp - 0x2bc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42806d
add edi, dword [ebp - 0x2bc]
adc esi, dword [ebp - 0x2b8]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040b67e
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x427fb8
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x58]
call fcn.0040b67e
mov eax, edi
mov edx, esi
call fcn.00593ab1
ret

Function at 0x428796
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x42879e
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4287ad
xor al, al
ret
shr eax, 4
and al, 1
ret
Function at 0x428a9c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
mov esi, ecx
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], esi
push eax
mov dword [ebp - 0x210], esi
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x62e5c0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428b23
lea ecx, [ebp - 0x20c]
call fcn.0041e4f4
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0040b0d5
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005926d8
leave
ret

Function at 0x428bd5
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x5db25c
call fcn.00593b07
xor ebx, ebx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00428b40
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428c28
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0xa62
push str.RenderEngineOp::CheckRenderEngineDllExist
push str.__s__d___CheckRenderEngineDllExist_path_not_exist:__s
jmp 0x428c75
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.00428b90
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0x40]
call fcn.0040b67e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428c7f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0xa67
push str.RenderEngineOp::CheckRenderEngineDllExist
push str.__s__d___CheckRenderEngineDllExist_file_not_exist:__s
call fcn.0040a649
add esp, 0x10
jmp 0x428c81
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp + 8]
call fcn.0040b67e
mov al, bl
call fcn.00593ab1
ret
Function at 0x4292eb
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x5db35e
call fcn.00593ad3
push 0xae5
push str.RenderEngineOp::DownloadRenderEngineDll
xor edi, edi
push str.__s__d___DownloadRenderEngineDll_async_start
mov dword [ebp - 4], edi
call fcn.0040a649
add esp, 0xc
push 0x18
call fcn.005926f7
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0040b155
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push edi
push esi
push 0x4292ab
push edi
push edi
call fcn.005bb02f
add esp, 0x18
lea ecx, [ebp + 8]
call fcn.0040b67e
xor eax, eax
call fcn.00593a9c
ret

Function at 0x429dd1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x6c75ac]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
push esi
or eax, 0x2001f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
call fcn.0041298d
jmp 0x429e29
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00429dd1
mov esi, eax
test esi, esi
jne 0x429e7d
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x429e1b
cmp dword [esp + 0xc], esi
je 0x429e6c
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.00429d58
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x429e8e
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.005926d8
mov esp, ebp
pop ebp
ret 4

Function at 0x429f72
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov edi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x10], esi
jbe 0x429fd9
push ebx
mov ebx, dword [ebp + 8]
inc esi
and esi, 0x800000ff
jns 0x429f99
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [esi + ebx]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x429fb1
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + ebx]
mov byte [esi + ebx], al
mov byte [edi + ebx], cl
movzx eax, byte [esi + ebx]
mov ecx, dword [ebp - 4]
add eax, edx
mov edx, dword [ebp + 0xc]
movzx eax, al
mov al, byte [eax + ebx]
xor byte [ecx + edx], al
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x429f88
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x42a191
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x244
mov eax, 0x5db469
call fcn.00593b07
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
mov dword [ebp - 0x250], 1
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], esi
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x250]
push eax
push str.Path
push 0x625940
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, str.base::Is360SafeRegExistEx
test eax, eax
jne 0x42a2a4
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x42a2a4
push str.360Safe.exe
lea ecx, [ebp - 0x248]
call fcn.0040b0d5
and dword [ebp - 4], 0
lea edx, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040c622
pop ecx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.0040b67e
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x25
push ebx
push str.__s__d___file_path_exe___s
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae ecx, dword [ebp - 0x230]
push ecx
call esi
lea ecx, [ebp - 0x230]
test eax, eax
je 0x42a29b
call fcn.0040b67e
xor eax, eax
inc eax
jmp 0x42a2b6
or dword [ebp - 4], 0xffffffff
call fcn.0040b67e
push 0x29
push ebx
push str.__s__d___Is360SafeRegExistEx_not_exist
call fcn.0040a649
add esp, 0xc
xor eax, eax
call fcn.00593ab1
ret
Function at 0x42b919
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x420], ebx
cmp dword [edi + 0x10], ebx
je 0x42bac7
push 0x208
lea eax, [ebp - 0x41c]
push ebx
push eax
call fcn.005aa3d0
movzx eax, byte [ebp + 0x18]
add esp, 0xc
shl eax, 8
inc eax
mov dword [ebp - 0x430], 1
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x42c], 0x206
jb 0x42b991
mov edi, dword [edi]
lea ecx, [ebp - 0x420]
push ecx
push eax
push ebx
push edi
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bab6
mov eax, dword [ebp - 0x428]
cmp dword [eax + 0x14], 8
jb 0x42b9bd
mov eax, dword [eax]
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x430]
push ecx
push ebx
push eax
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bab6
push 0x208
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
cmp dword [esi + 0x10], ebx
je 0x42ba43
cmp dword [esi + 0x14], 8
jb 0x42ba0a
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x41c]
push eax
push str._s_s
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0040ce75
add esp, 0x14
test eax, eax
jns 0x42ba6e
push 0x268
push str.base::RivalMonitor::CheckInstalledReg
push str.__s__d____snwprintf_s_failed.
jmp 0x42bad6
lea eax, [ebp - 0x41c]
push eax
push 0x62b200
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0040ce75
add esp, 0x10
test eax, eax
jns 0x42ba6e
push 0x26d
jmp 0x42ba34
lea eax, [ebp - 0x214]
mov esi, str.base::RivalMonitor::CheckInstalledReg
push eax
push 0x272
push esi
push str.__s__d___file_path_is:__s
call fcn.0040a649
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42bade
push 0x276
push esi
push str.__s__d___file_is_exist.
call fcn.0040a649
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x42bade
push 0x25f
push str.base::RivalMonitor::CheckInstalledReg
push str.__s__d___RegOpenKey_or_RegQueryValueEx_failed.
jmp 0x42bad6
push 0x24e
push str.base::RivalMonitor::CheckInstalledReg
push str.__s__d___root__strSubKey_is_NULL.
call fcn.0040a649
add esp, 0xc
cmp dword [ebp - 0x420], 0
je 0x42baf3
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret 0x14
Function at 0x42bdb5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x41c], ebx
cmp dword [ecx + 0x10], ebx
je 0x42bf34
cmp dword [edi + 0x10], ebx
je 0x42bf34
cmp dword [eax + 0x10], ebx
je 0x42bf34
cmp dword [esi + 0x10], ebx
je 0x42bf34
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x208
push ebx
push eax
call fcn.005aa3d0
mov eax, 0x206
mov dword [ebp - 0x420], 1
mov dword [ebp - 0x428], eax
add esp, 0xc
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x14], 8
jb 0x42be62
mov eax, dword [eax]
lea ecx, [ebp - 0x41c]
push ecx
push 0x101
push ebx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bf23
cmp dword [edi + 0x14], 8
jb 0x42be8b
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
push edi
push dword [ebp - 0x41c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x42bf23
mov eax, dword [ebp - 0x42c]
cmp dword [eax + 0x14], 8
jb 0x42bec2
mov eax, dword [eax]
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push ebx
push eax
push dword [ebp - 0x41c]
call edi
test eax, eax
jne 0x42bf23
lea eax, [ebp - 0x210]
push eax
push 0x312
push str.base::RivalMonitor::CheckInstalledRegFile
push str.__s__d___installdir_is:__s
call fcn.0040a649
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x42bf0b
mov esi, dword [esi]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0042c0ed
mov bl, al
jmp 0x42bf4b
push 0x30e
push str.base::RivalMonitor::CheckInstalledRegFile
push str.__s__d___RegOpenKey_or_RegQueryValueEx_failed.
jmp 0x42bf43
push 0x2f9
push str.base::RivalMonitor::CheckInstalledRegFile
push str.__s__d___root__SubKey__value_name1__value_name2__value_filename_is_NULL.
call fcn.0040a649
add esp, 0xc
cmp dword [ebp - 0x41c], 0
je 0x42bf60
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret 0x18