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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4218
call fcn.005918e0
mov eax, dword [0x6c45ac]
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.005a88e0
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x426e44
mov eax, dword [esi]
lea ecx, [ebp - 0x4214]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x426f10
cmp eax, 0x3fff
ja 0x426f10
cmp dword [esi + 0x14], 8
jb 0x426e6d
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 0x426f10
lea eax, [ebp - 0x4218]
push eax
lea eax, [ebp - 0x4210]
push eax
push 0x628a24
lea eax, [ebp - 0x420c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x426f10
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a88e0
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.00412a05
lea eax, [ebp - 0x20c]
push eax
call fcn.005b93d0
add esp, 0x2c
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b566
xor eax, eax
inc eax
jmp 0x426f12
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00590be8
leave
ret

Function at 0x4275ab
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6c45ac]
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 0x42760c
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.00590be8
leave
ret

Function at 0x427619
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 0x427644
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 0x427649
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6c45ac]
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.005a88e0
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 0x4276d3
lea eax, [ebp - 0x20c]
push 0x629104
push eax
call fcn.005ba70b
pop ecx
pop ecx
test eax, eax
jne 0x4276c5
mov ecx, dword [ebp - 0x228]
call fcn.00427619
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 0x427698
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.00590be8
leave
ret
Function at 0x4276ef
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d947b
mov eax, dword fs:[0]
push eax
mov eax, 0x63360
call fcn.005918e0
mov eax, dword [0x6c45ac]
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.005a88e0
push 0x208
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.005a88e0
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.00412a05
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6336c]
call fcn.00416a70
lea ecx, [ebp - 0x6336c]
mov dword [ebp - 4], ebx
call fcn.0041700c
xor eax, eax
inc eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x60f04], eax
jb 0x4277d1
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x6336c]
call fcn.00429c1a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x60cc4], 0x493e0
push eax
lea ecx, [ebp - 0x6336c]
call fcn.00429be8
lea ecx, [ebp - 0x6336c]
call fcn.00416f5c
lea ecx, [ebp - 0x6336c]
call fcn.0041726c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4278c6
push 0x628a24
mov edx, 0x6da1b0
lea ecx, [ebp - 0x644]
call fcn.0041154b
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.00425995
lea ecx, [ebp - 0x65c]
mov esi, eax
call fcn.0040b67b
lea ecx, [ebp - 0x674]
call fcn.0040b67b
test esi, esi
je 0x4278bb
cmp dword [edi + 0x14], 8
jb 0x4278a9
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.0040b67b
lea ecx, [ebp - 0x6336c]
call fcn.00416d41
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.00590be8
leave
ret
Function at 0x4279d5
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6c45ac]
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.005a88e0
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 0x427a48
lea eax, [ebp - 0x20c]
push 0x629104
push eax
call fcn.005ba70b
pop ecx
pop ecx
test eax, eax
je 0x427a63
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x427a23
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.00590be8
leave
ret
mov al, 1
jmp 0x427a55

Function at 0x427dad
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 [0x6c45ac]
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.005a88e0
push 0x628a1c
push ebx
push 0x62ad10
lea eax, [esp + 0x480]
push 0x103
push eax
call fcn.00412a05
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 0x427e28
xor eax, eax
jmp 0x427f02
lea eax, [esp + 0x3c]
push 0x62b038
push eax
call fcn.005bb14e
pop ecx
pop ecx
test eax, eax
je 0x427ecd
lea eax, [esp + 0x3c]
push 0x62b03c
push eax
call fcn.005bb14e
pop ecx
pop ecx
test eax, eax
je 0x427ecd
push 0x208
lea eax, [esp + 0x264]
push 0
push eax
call fcn.005a88e0
test byte [esp + 0x1c], 0x10
lea eax, [esp + 0x48]
push eax
push ebx
lea eax, [esp + 0x274]
je 0x427ea1
push 0x62b048
push 0x103
push eax
call fcn.00412a05
add esp, 0x20
lea ecx, [esp + 0x260]
mov edx, esi
call fcn.00427dad
jmp 0x427ecb
push 0x62ad10
push 0x103
push eax
call fcn.00412a05
add esp, 0x20
test esi, esi
je 0x427ebd
cmp esi, 1
jne 0x427ecd
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 0x427e28
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x427ef7
cmp esi, 2
jne 0x427f00
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.00590be8
mov esp, ebp
pop ebp
ret
Function at 0x427f17
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2b0
mov eax, 0x5d94eb
call fcn.00592017
xorps xmm0, xmm0
mov edx, ecx
push 0x628a24
lea ecx, [ebp - 0x58]
movlpd qword [ebp - 0x2b0], xmm0
call fcn.0041154b
and dword [ebp - 4], 0
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
mov dword [esp], 0x628a1c
call fcn.0041154b
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 0x427f9b
xorps xmm0, xmm0
movlpd qword [ebp - 0x2b0], xmm0
mov esi, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2b0]
jmp 0x4280a1
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 0x428095
lea eax, [ebp - 0x27c]
push 0x62b038
push eax
call fcn.005bb14e
pop ecx
pop ecx
test eax, eax
je 0x42807d
lea eax, [ebp - 0x27c]
push 0x62b03c
push eax
call fcn.005bb14e
pop ecx
pop ecx
test eax, eax
je 0x42807d
lea eax, [ebp - 0x27c]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.0041154b
pop ecx
mov byte [ebp - 4], 2
test byte [ebp - 0x2a8], 0x10
je 0x428021
lea ecx, [ebp - 0x28]
call fcn.00427f17
add edi, eax
adc esi, edx
jmp 0x428071
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 0x428071
lea eax, [ebp - 0x2bc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42806a
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.0040b67b
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x427fb5
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x58]
call fcn.0040b67b
mov eax, edi
mov edx, esi
call fcn.00591fc1
ret

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6c45ac]
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.005a88e0
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 0x62c5c8
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 0x428b20
lea ecx, [ebp - 0x20c]
call fcn.0041e4f1
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.00590be8
leave
ret

Function at 0x428bd2
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x5d976c
call fcn.00592017
xor ebx, ebx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00428b3d
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 0x428c25
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 0x428c72
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.00428b8d
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0x40]
call fcn.0040b67b
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 0x428c7c
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 0x428c7e
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0040b67b
lea ecx, [ebp + 8]
call fcn.0040b67b
mov al, bl
call fcn.00591fc1
ret
Function at 0x4292e8
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x5d986e
call fcn.00591fe3
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.00590c07
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 0x4292a8
push edi
push edi
call fcn.005b953f
add esp, 0x18
lea ecx, [ebp + 8]
call fcn.0040b67b
xor eax, eax
call fcn.00591fac
ret

Function at 0x429dce
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x6c45ac]
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.0041298a
jmp 0x429e26
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00429dce
mov esi, eax
test esi, esi
jne 0x429e7a
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 0x429e18
cmp dword [esp + 0xc], esi
je 0x429e69
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.00429d55
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x429e8b
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.00590be8
mov esp, ebp
pop ebp
ret 4

Function at 0x429f6f
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 0x429fd6
push ebx
mov ebx, dword [ebp + 8]
inc esi
and esi, 0x800000ff
jns 0x429f96
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [esi + ebx]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x429fae
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 0x429f85
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x42a18e
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x244
mov eax, 0x5d9979
call fcn.00592017
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push 0
push eax
call fcn.005a88e0
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 0x623950
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, str.base::Is360SafeRegExistEx
test eax, eax
jne 0x42a2a1
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x42a2a1
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.0040c61f
pop ecx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.0040b67b
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 0x42a298
call fcn.0040b67b
xor eax, eax
inc eax
jmp 0x42a2b3
or dword [ebp - 4], 0xffffffff
call fcn.0040b67b
push 0x29
push ebx
push str.__s__d___Is360SafeRegExistEx_not_exist
call fcn.0040a649
add esp, 0xc
xor eax, eax
call fcn.00591fc1
ret
Function at 0x42b916
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x6c45ac]
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 0x42bac4
push 0x208
lea eax, [ebp - 0x41c]
push ebx
push eax
call fcn.005a88e0
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 0x42b98e
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 0x42bab3
mov eax, dword [ebp - 0x428]
cmp dword [eax + 0x14], 8
jb 0x42b9ba
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 0x42bab3
push 0x208
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.005a88e0
add esp, 0xc
cmp dword [esi + 0x10], ebx
je 0x42ba40
cmp dword [esi + 0x14], 8
jb 0x42ba07
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.0040ce72
add esp, 0x14
test eax, eax
jns 0x42ba6b
push 0x268
push str.base::RivalMonitor::CheckInstalledReg
push str.__s__d____snwprintf_s_failed.
jmp 0x42bad3
lea eax, [ebp - 0x41c]
push eax
push 0x629208
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0040ce72
add esp, 0x10
test eax, eax
jns 0x42ba6b
push 0x26d
jmp 0x42ba31
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 0x42badb
push 0x276
push esi
push str.__s__d___file_is_exist.
call fcn.0040a649
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x42badb
push 0x25f
push str.base::RivalMonitor::CheckInstalledReg
push str.__s__d___RegOpenKey_or_RegQueryValueEx_failed.
jmp 0x42bad3
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 0x42baf0
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.00590be8
leave
ret 0x14
Function at 0x42bdb2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x6c45ac]
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 0x42bf31
cmp dword [edi + 0x10], ebx
je 0x42bf31
cmp dword [eax + 0x10], ebx
je 0x42bf31
cmp dword [esi + 0x10], ebx
je 0x42bf31
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.005a88e0
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x208
push ebx
push eax
call fcn.005a88e0
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 0x42be5f
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 0x42bf20
cmp dword [edi + 0x14], 8
jb 0x42be88
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 0x42bf20
mov eax, dword [ebp - 0x42c]
cmp dword [eax + 0x14], 8
jb 0x42bebf
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 0x42bf20
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 0x42bf08
mov esi, dword [esi]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0042c0ea
mov bl, al
jmp 0x42bf48
push 0x30e
push str.base::RivalMonitor::CheckInstalledRegFile
push str.__s__d___RegOpenKey_or_RegQueryValueEx_failed.
jmp 0x42bf40
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 0x42bf5d
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.00590be8
leave
ret 0x18