joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c797c
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x5ebdcf
call fcn.00593ad3
mov edi, ecx
push 0xcf2
push str.Launch360PicAsnc
push str.__s__d__Launch360PicAsnc
call fcn.0040a649
add esp, 0xc
push 0x18
call fcn.005926f7
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
push edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0040b155
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push esi
push 0x4c7952
push ebx
push ebx
call fcn.005bb02f
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00593a9c
ret

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

Disassembly:
push 0x22c
mov eax, 0x5ebeac
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 - 0x238], 1
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], esi
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
push str.Path
push 0x629a30
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c801a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c801a
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040b0d5
and dword [ebp - 4], 0
mov esi, str._netmon360WebIdentify.dll
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.0040b220
mov eax, dword [0x6e5668]
test eax, eax
jne 0x4c7fd4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6e5668], eax
test eax, eax
jne 0x4c7fd4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040b67e
jmp 0x4c801a
push str.GetWebIdentifyState
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c7fc3
call eax
push 0xd84
mov esi, eax
push str.IsOBSRunning
push esi
push str.__d__s__d__
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x230]
xor ebx, ebx
test esi, esi
setne bl
or dword [ebp - 4], 0xffffffff
call fcn.0040b67e
test esi, esi
jne 0x4c802c
call fcn.004c84a7
mov ebx, eax
test ebx, ebx
jne 0x4c802c
call fcn.004c8936
mov ebx, eax
mov eax, ebx
call fcn.00593ab1
ret
Function at 0x4c8034
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x22c
mov eax, 0x5ebeac
call fcn.00593b07
mov edi, ecx
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
mov dword [ebp - 0x238], 1
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], esi
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
push str.Path
push 0x629a30
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c8166
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c8166
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040b0d5
and dword [ebp - 4], 0
mov esi, str._netmon360WebIdentify.dll
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.0040b220
mov eax, dword [0x6e566c]
test eax, eax
jne 0x4c8120
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6e566c], eax
test eax, eax
jne 0x4c8120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040b67e
jmp 0x4c8166
push str.GetWebIdentifyState
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c810f
call eax
push 0xdb7
mov esi, eax
push str.IsHuabaoSkipRunningEx
push esi
push str.__d__s__d__
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x230]
xor ebx, ebx
test esi, esi
setne bl
or dword [ebp - 4], 0xffffffff
call fcn.0040b67e
test esi, esi
jne 0x4c818a
mov ecx, edi
call fcn.004c8661
mov ebx, eax
test ebx, ebx
jne 0x4c818a
mov ecx, edi
call fcn.004c8ad4
mov ebx, eax
test ebx, ebx
jne 0x4c818a
mov ecx, edi
call fcn.004ceab0
movzx ebx, al
mov eax, ebx
call fcn.00593ab1
ret

Function at 0x4c8192
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4c81c3
xor eax, eax
jmp 0x4c826b
push 0x228
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.005aa3d0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4c823b
push 0xddc
push str.IsProcessRunning
lea eax, [ebp - 0x214]
push eax
push str._process_name:__s__s__d__
call fcn.0040a649
add esp, 0x10
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x4c821a
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.005bc1fb
pop ecx
pop ecx
test eax, eax
je 0x4c8241
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4c81f2
jmp 0x4c8262
push 0xde0
push str.IsProcessRunning
lea eax, [ebp - 0x214]
push eax
push str._process_name:__s__s__d__
call fcn.0040a649
xor esi, esi
add esp, 0x10
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret
Function at 0x4c84a7
Capabilities:
Enumerate processes

Disassembly:
push 0x264
mov eax, 0x5ebf19
call fcn.00593b07
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4c84ce
xor eax, eax
jmp 0x4c865b
push 0x228
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
mov dword [ebp - 0x270], 0x22c
lea eax, [ebp - 0x270]
xor esi, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4c85ff
call fcn.004c223c
test eax, eax
je 0x4c85ca
mov eax, dword [0x6e4dd4]
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x4c85c0
lea eax, [esi + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4c8529
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
call fcn.004045aa
and dword [ebp - 4], 0
lea edx, [ebp - 0x40]
push 0xfde9
lea ecx, [ebp - 0x28]
call fcn.00426805
pop ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00404812
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.005bc1fb
pop ecx
pop ecx
test eax, eax
je 0x4c8609
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4c85a3
mov eax, dword [esi + 4]
jmp 0x4c8599
cmp esi, dword [eax + 8]
jne 0x4c859f
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c858f
mov esi, eax
jmp 0x4c85b9
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4c85b9
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4c85ad
mov eax, dword [0x6e4dd4]
mov eax, dword [eax]
cmp esi, eax
jne 0x4c851e
jmp 0x4c85ef
xor esi, esi
push dword [esi + 0x629720]
lea eax, [ebp - 0x24c]
push eax
call fcn.005bc1fb
pop ecx
pop ecx
test eax, eax
je 0x4c8631
add esi, 4
cmp esi, 0x22c
jb 0x4c85cc
lea eax, [ebp - 0x270]
xor esi, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4c8503
jmp 0x4c8652
push 0xe37
push str.IsObsProcessRunning
lea eax, [ebp - 0x24c]
push eax
push str._process_name:__s__s__d__
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.0040b67e
jmp 0x4c864f
push 0xe41
push str.IsObsProcessRunning
lea eax, [ebp - 0x24c]
push eax
push str._process_name:__s__s__d__
call fcn.0040a649
add esp, 0x10
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.00593ab1
ret
Function at 0x4c8936
Capabilities:
Get graphical window text

Disassembly:
push 0x234
mov eax, 0x5ebf9a
call fcn.00593b07
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4c8ace
push 0x200
xor edi, edi
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0xff
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.004c2266
test eax, eax
je 0x4c8a84
mov eax, dword [0x6e4ddc]
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x4c8a4f
lea eax, [esi + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4c89a5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x240]
call fcn.004045aa
push 0xfde9
lea edx, [ebp - 0x240]
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x228]
call fcn.00426805
pop ecx
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.00404812
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.005bc1fb
pop ecx
pop ecx
test eax, eax
je 0x4c8a59
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.0040b67e
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4c8a32
mov eax, dword [esi + 4]
jmp 0x4c8a28
cmp esi, dword [eax + 8]
jne 0x4c8a2e
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c8a1e
mov esi, eax
jmp 0x4c8a48
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4c8a48
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4c8a3c
mov eax, dword [0x6e4ddc]
mov eax, dword [eax]
cmp esi, eax
jne 0x4c899a
jmp 0x4c8acc
push 0xe9f
push str.IsObsTitleRunning
lea eax, [ebp - 0x210]
push eax
push str._title:__s__s__d__
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x228]
call fcn.0040b67e
jmp 0x4c8ac9
mov esi, edi
push dword [esi + 0x629240]
lea eax, [ebp - 0x210]
push eax
call fcn.005bcc3e
pop ecx
pop ecx
test eax, eax
je 0x4c8aab
add esi, 4
cmp esi, 0x4c8
jb 0x4c8a86
jmp 0x4c8acc
push 0xea8
push str.IsObsTitleRunning
lea eax, [ebp - 0x210]
push eax
push str._title:__s__s__d__
call fcn.0040a649
add esp, 0x10
xor edi, edi
inc edi
mov eax, edi
call fcn.00593ab1
ret
Function at 0x4c9c00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x234
mov eax, 0x5e9363
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 - 0x234], esi
lea eax, [ebp - 0x234]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x238], ebx
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
push str.Path
push 0x629a30
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c9d18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c9d18
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040b0d5
and dword [ebp - 4], 0
mov esi, str.360Util.dll
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.0040b220
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0046587d
mov ecx, eax
call fcn.004659a2
and dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], ebx
call fcn.0046587d
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.004658cc
neg eax
push 0x101d
sbb esi, esi
push str.IsSilenceMode
inc esi
push esi
push str._silence_mode:__d__s__d__
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x230]
call fcn.0040b67e
mov eax, esi
jmp 0x4c9d1a
xor eax, eax
call fcn.00593ab1
ret

Function at 0x4c9d20
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0x22c
mov eax, 0x5ebeac
call fcn.00593b07
lea ecx, [ebp - 0x230]
call fcn.004cba9c
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.005aa3d0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x230]
add esp, 0xc
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push str.Defaultyoungsters
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c9e11
push ebx
mov eax, accept
push eax
push 3
push ebx
push 1
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea esi, [edi + 1]
push esi
call fcn.00592e78
pop ecx
push esi
mov ebx, eax
push 0
push ebx
call fcn.005aa3d0
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x234]
add esp, 0xc
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push ebx
mov ecx, 0x6c8660
call fcn.0040464f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00592945
pop ecx
cmp dword [0x6c8670], 0
lea ecx, [ebp - 0x230]
setne bl
call fcn.0040b67e
mov al, bl
call fcn.00593ab1
ret
Function at 0x4ca5ee
Capabilities:
Check if file exists

Disassembly:
push 0x23c
mov eax, 0x5ec2f5
call fcn.00593b07
mov eax, dword fs:[0x2c]
xor esi, esi
mov ebx, 0x62a4ac
mov edi, 0x6e69f8
mov ecx, dword [eax]
mov eax, dword [0x6e69f4]
cmp eax, dword [ecx + 4]
jg 0x4ca79c
push ebx
mov ecx, edi
call fcn.0041084d
test al, al
jne 0x4ca64e
cmp dword [0x6e6a0c], 8
cmovae edi, dword [0x6e69f8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
jmp 0x4ca796
mov ebx, 0x208
lea eax, [ebp - 0x218]
push ebx
push esi
push eax
call fcn.005aa3d0
add esp, 0xc
lea ecx, [ebp - 0x248]
push 0x62a4ac
call fcn.0040b0d5
push ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.005aa3d0
lea eax, [ebp - 0x248]
mov edx, str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
push eax
push str.360PicUninstall
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425d08
add esp, 0x14
test eax, eax
je 0x4ca789
push 0x62aa1c
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x230]
call fcn.0041154e
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4ca6ce
mov eax, dword [eax]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
lea ecx, [ebp - 0x230]
call fcn.0040b67e
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ca73c
lea ecx, [ebp - 0x230]
call fcn.004251b3
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
push str.huabao_
lea eax, [ebp - 0x218]
push eax
call ebx
lea ecx, [ebp - 0x230]
call fcn.0040b67e
lea eax, [ebp - 0x218]
push eax
call fcn.005baec0
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0040b566
mov ebx, str.360pic.exe
push ebx
call fcn.005baec0
pop ecx
push eax
push ebx
mov ecx, edi
call fcn.0040b220
cmp dword [0x6e6a0c], 8
cmovae edi, dword [0x6e69f8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ca789
xor esi, esi
inc esi
lea ecx, [ebp - 0x248]
call fcn.0040b67e
mov eax, esi
call fcn.00593ab1
ret
push 0x6e69f4
call fcn.00592d84
cmp dword [0x6e69f4], 0xffffffff
pop ecx
jne 0x4ca622
push ebx
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0040b0d5
push 0x5f4479
call fcn.00592bcf
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x6e69f4
call fcn.00592d3a
pop ecx
jmp 0x4ca622
Function at 0x4cbc98
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push 0x7c
mov eax, 0x5ec4fa
call fcn.00593b07
mov ebx, ecx
lea ecx, [ebp - 0x70]
xor edi, edi
call fcn.00429b84
mov esi, str..zip
mov dword [ebp - 4], edi
push esi
call fcn.005ae8e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.004043c3
lea ecx, [ebp - 0x28]
call fcn.004251b3
mov esi, str.360browserdownload
mov byte [ebp - 4], 1
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040b220
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 0x4cbd14
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.00426805
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
mov dword [esp], 0x62aa1c
call fcn.0041154e
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00420b1c
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.0040b67e
push 8
pop esi
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cbe11
cmp dword [ebp - 0x14], esi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x28]
call fcn.00423490
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
push ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.00404267
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00423c0f
pop ecx
test al, al
lea eax, [ebp - 0x28]
pop ecx
je 0x4cbdf3
xor edi, edi
inc edi
cmp dword [ebp - 0x14], esi
cmovae eax, dword [ebp - 0x28]
push eax
push 0x1349
push str.P2pZipFileExist
push str.__s__d___strDownloadPath___s_file_exists_return
call fcn.0040a649
add esp, 0x10
jmp 0x4cbe01
cmp dword [ebp - 0x14], esi
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.00404812
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.00404812
mov eax, edi
call fcn.00593ab1
ret
Function at 0x4cbe29
Capabilities:
Delete file
Move file
Set file attributes
Write file on windows

Disassembly:
push 0x28
mov eax, 0x5ec52a
call fcn.00593b07
mov esi, edx
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x28]
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040b155
push str..write_cache
mov dword [ebp - 4], ebx
call fcn.005baec0
pop ecx
push eax
push str..write_cache
lea ecx, [ebp - 0x28]
call fcn.0040b220
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x34], ecx
cmp ecx, 0xffffffff
je 0x4cbf1c
cmp dword [esi + 0x14], 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
jb 0x4cbea7
mov esi, dword [esi]
push ebx
lea edx, [ebp - 0x30]
push edx
push dword [eax]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x2c]
xor ebx, ebx
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x34]
cmp eax, dword [ecx]
sete bl
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4cbf20
push 8
pop ebx
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
push 0x80
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x14], ebx
jb 0x4cbef3
mov edi, dword [edi]
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4cbf23
xor esi, esi
jmp 0x4cbf23
mov esi, dword [ebp - 0x2c]
xor ebx, ebx
lea ecx, [ebp - 0x28]
test esi, esi
setne bl
call fcn.0040b67e
mov eax, ebx
call fcn.00593ab1
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], esi
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Path
push 0x629a30
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop esi
test eax, eax
jne 0x4cbfba
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cbfba
xor eax, eax
inc eax
jmp 0x4cbfbc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005926d8
leave
ret
Function at 0x4cbfc8
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 0x629a30
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, str.Is360SafeRegExistEx
test eax, eax
jne 0x4cc0de
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x4cc0de
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 0x13c2
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 0x4cc0d5
call fcn.0040b67e
xor eax, eax
inc eax
jmp 0x4cc0f3
or dword [ebp - 4], 0xffffffff
call fcn.0040b67e
push 0x13c6
push ebx
push str.__s__d___Is360SafeRegExistEx_not_exist
call fcn.0040a649
add esp, 0xc
xor eax, eax
call fcn.00593ab1
ret