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

Disassembly:
push 0xc
mov eax, 0x5e9f99
call fcn.00591fe3
mov edi, ecx
push 0xc9e
push str.Launch360PicAsnc
push str.__s__d__Launch360PicAsnc
call fcn.0040a649
add esp, 0xc
push 0x18
call fcn.00590c07
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 0x4c5e8a
push ebx
push ebx
call fcn.005b953f
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00591fac
ret

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

Disassembly:
push 0x22c
mov eax, 0x5ea076
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 - 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 0x627a48
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c6552
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c6552
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.005b93d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.0040b220
mov eax, dword [0x6e2618]
test eax, eax
jne 0x4c650c
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 [0x6e2618], eax
test eax, eax
jne 0x4c650c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040b67b
jmp 0x4c6552
push str.GetWebIdentifyState
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c64fb
call eax
push 0xd30
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.0040b67b
test esi, esi
jne 0x4c6564
call fcn.004c69df
mov ebx, eax
test ebx, ebx
jne 0x4c6564
call fcn.004c6e6e
mov ebx, eax
mov eax, ebx
call fcn.00591fc1
ret
Function at 0x4c656c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x22c
mov eax, 0x5ea076
call fcn.00592017
mov edi, ecx
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push 0
push eax
call fcn.005a88e0
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 0x627a48
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c669e
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c669e
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.005b93d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.0040b220
mov eax, dword [0x6e261c]
test eax, eax
jne 0x4c6658
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 [0x6e261c], eax
test eax, eax
jne 0x4c6658
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040b67b
jmp 0x4c669e
push str.GetWebIdentifyState
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c6647
call eax
push 0xd63
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.0040b67b
test esi, esi
jne 0x4c66c2
mov ecx, edi
call fcn.004c6b99
mov ebx, eax
test ebx, ebx
jne 0x4c66c2
mov ecx, edi
call fcn.004c700c
mov ebx, eax
test ebx, ebx
jne 0x4c66c2
mov ecx, edi
call fcn.004ccfe8
movzx ebx, al
mov eax, ebx
call fcn.00591fc1
ret

Function at 0x4c66ca
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x6c45ac]
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 0x4c66fb
xor eax, eax
jmp 0x4c67a3
push 0x228
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.005a88e0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4c6773
push 0xd88
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 0x4c6752
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.005ba70b
pop ecx
pop ecx
test eax, eax
je 0x4c6779
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4c672a
jmp 0x4c679a
push 0xd8c
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.00590be8
leave
ret
Function at 0x4c69df
Capabilities:
Enumerate processes

Disassembly:
push 0x264
mov eax, 0x5ea0e3
call fcn.00592017
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4c6a06
xor eax, eax
jmp 0x4c6b93
push 0x228
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.005a88e0
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 0x4c6b37
call fcn.004c0b05
test eax, eax
je 0x4c6b02
mov eax, dword [0x6e1d84]
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x4c6af8
lea eax, [esi + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4c6a61
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.00426802
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.005ba70b
pop ecx
pop ecx
test eax, eax
je 0x4c6b41
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040b67b
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4c6adb
mov eax, dword [esi + 4]
jmp 0x4c6ad1
cmp esi, dword [eax + 8]
jne 0x4c6ad7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c6ac7
mov esi, eax
jmp 0x4c6af1
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4c6af1
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4c6ae5
mov eax, dword [0x6e1d84]
mov eax, dword [eax]
cmp esi, eax
jne 0x4c6a56
jmp 0x4c6b27
xor esi, esi
push dword [esi + 0x627290]
lea eax, [ebp - 0x24c]
push eax
call fcn.005ba70b
pop ecx
pop ecx
test eax, eax
je 0x4c6b69
add esi, 4
cmp esi, 0x22c
jb 0x4c6b04
lea eax, [ebp - 0x270]
xor esi, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4c6a3b
jmp 0x4c6b8a
push 0xde3
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.0040b67b
jmp 0x4c6b87
push 0xded
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.00591fc1
ret
Function at 0x4c6e6e
Capabilities:
Get graphical window text

Disassembly:
push 0x234
mov eax, 0x5ea164
call fcn.00592017
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4c7006
push 0x200
xor edi, edi
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.005a88e0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0xff
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.004c0b2f
test eax, eax
je 0x4c6fbc
mov eax, dword [0x6e1d8c]
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x4c6f87
lea eax, [esi + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4c6edd
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.00426802
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.005ba70b
pop ecx
pop ecx
test eax, eax
je 0x4c6f91
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.0040b67b
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4c6f6a
mov eax, dword [esi + 4]
jmp 0x4c6f60
cmp esi, dword [eax + 8]
jne 0x4c6f66
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4c6f56
mov esi, eax
jmp 0x4c6f80
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4c6f80
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4c6f74
mov eax, dword [0x6e1d8c]
mov eax, dword [eax]
cmp esi, eax
jne 0x4c6ed2
jmp 0x4c7004
push 0xe4b
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.0040b67b
jmp 0x4c7001
mov esi, edi
push dword [esi + 0x627580]
lea eax, [ebp - 0x210]
push eax
call fcn.005bb14e
pop ecx
pop ecx
test eax, eax
je 0x4c6fe3
add esi, 4
cmp esi, 0x4c8
jb 0x4c6fbe
jmp 0x4c7004
push 0xe54
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.00591fc1
ret
Function at 0x4c8138
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x234
mov eax, 0x5e7593
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 - 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 0x627a48
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4c8250
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c8250
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.005b93d0
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.00464dad
mov ecx, eax
call fcn.00464ed2
and dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], ebx
call fcn.00464dad
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.00464dfc
neg eax
push 0xfc9
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.0040b67b
mov eax, esi
jmp 0x4c8252
xor eax, eax
call fcn.00591fc1
ret

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

Disassembly:
push 0x22c
mov eax, 0x5ea076
call fcn.00592017
lea ecx, [ebp - 0x230]
call fcn.004c9fd4
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.005a88e0
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 0x4c8349
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.00591388
pop ecx
push esi
mov ebx, eax
push 0
push ebx
call fcn.005a88e0
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, 0x6c5660
call fcn.0040464f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00590e55
pop ecx
cmp dword [0x6c5670], 0
lea ecx, [ebp - 0x230]
setne bl
call fcn.0040b67b
mov al, bl
call fcn.00591fc1
ret
Function at 0x4c8b26
Capabilities:
Check if file exists

Disassembly:
push 0x23c
mov eax, 0x5ea4bf
call fcn.00592017
mov eax, dword fs:[0x2c]
xor esi, esi
mov ebx, 0x6284b4
mov edi, 0x6e3998
mov ecx, dword [eax]
mov eax, dword [0x6e3994]
cmp eax, dword [ecx + 4]
jg 0x4c8cd4
push ebx
mov ecx, edi
call fcn.0041084a
test al, al
jne 0x4c8b86
cmp dword [0x6e39ac], 8
cmovae edi, dword [0x6e3998]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
jmp 0x4c8cce
mov ebx, 0x208
lea eax, [ebp - 0x218]
push ebx
push esi
push eax
call fcn.005a88e0
add esp, 0xc
lea ecx, [ebp - 0x248]
push 0x6284b4
call fcn.0040b0d5
push ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.005a88e0
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.00425d05
add esp, 0x14
test eax, eax
je 0x4c8cc1
push 0x628a24
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x230]
call fcn.0041154b
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4c8c06
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.0040b67b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c8c74
lea ecx, [ebp - 0x230]
call fcn.004251b0
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.0040b67b
lea eax, [ebp - 0x218]
push eax
call fcn.005b93d0
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.005b93d0
pop ecx
push eax
push ebx
mov ecx, edi
call fcn.0040b220
cmp dword [0x6e39ac], 8
cmovae edi, dword [0x6e3998]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c8cc1
xor esi, esi
inc esi
lea ecx, [ebp - 0x248]
call fcn.0040b67b
mov eax, esi
call fcn.00591fc1
ret
push 0x6e3994
call fcn.00591294
cmp dword [0x6e3994], 0xffffffff
pop ecx
jne 0x4c8b5a
push ebx
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0040b0d5
push 0x5f2635
call fcn.005910df
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x6e3994
call fcn.0059124a
pop ecx
jmp 0x4c8b5a
Function at 0x4ca1d0
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push 0x7c
mov eax, 0x5ea6c4
call fcn.00592017
mov ebx, ecx
lea ecx, [ebp - 0x70]
xor edi, edi
call fcn.00429b81
mov esi, str..zip
mov dword [ebp - 4], edi
push esi
call fcn.005acdf0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.004043c3
lea ecx, [ebp - 0x28]
call fcn.004251b0
mov esi, str.360browserdownload
mov byte [ebp - 4], 1
push esi
call fcn.005b93d0
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 0x4ca24c
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.00426802
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
mov dword [esp], 0x628a24
call fcn.0041154b
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00420b19
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0x58]
call fcn.0040b67b
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.0040b67b
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 0x4ca349
cmp dword [ebp - 0x14], esi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x28]
call fcn.0042348d
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.00423c0c
pop ecx
test al, al
lea eax, [ebp - 0x28]
pop ecx
je 0x4ca32b
xor edi, edi
inc edi
cmp dword [ebp - 0x14], esi
cmovae eax, dword [ebp - 0x28]
push eax
push 0x12f5
push str.P2pZipFileExist
push str.__s__d___strDownloadPath___s_file_exists_return
call fcn.0040a649
add esp, 0x10
jmp 0x4ca339
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.0040b67b
lea ecx, [ebp - 0x70]
call fcn.00404812
mov eax, edi
call fcn.00591fc1
ret
Function at 0x4ca361
Capabilities:
Delete file
Move file
Set file attributes
Write file on windows

Disassembly:
push 0x28
mov eax, 0x5ea6f4
call fcn.00592017
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.005b93d0
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 0x4ca454
cmp dword [esi + 0x14], 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
jb 0x4ca3df
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 0x4ca458
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 0x4ca42b
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 0x4ca45b
xor esi, esi
jmp 0x4ca45b
mov esi, dword [ebp - 0x2c]
xor ebx, ebx
lea ecx, [ebp - 0x28]
test esi, esi
setne bl
call fcn.0040b67b
mov eax, ebx
call fcn.00591fc1
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6c45ac]
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.005a88e0
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 0x627a48
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop esi
test eax, eax
jne 0x4ca4f2
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ca4f2
xor eax, eax
inc eax
jmp 0x4ca4f4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00590be8
leave
ret
Function at 0x4ca500
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 0x627a48
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, str.Is360SafeRegExistEx
test eax, eax
jne 0x4ca616
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x4ca616
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 0x136e
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 0x4ca60d
call fcn.0040b67b
xor eax, eax
inc eax
jmp 0x4ca62b
or dword [ebp - 4], 0xffffffff
call fcn.0040b67b
push 0x1372
push ebx
push str.__s__d___Is360SafeRegExistEx_not_exist
call fcn.0040a649
add esp, 0xc
xor eax, eax
call fcn.00591fc1
ret