Function at 0x442f90
Capabilities:
Check if file exists
Delete file
Get file size
Read file on windows
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a8f71
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x44], esi
test eax, eax
je 0x443ab4
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x2d8], 0
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
mov ecx, str.lastsendinstall
mov byte [esp + 0x2dc], 1
call fcn.0046c8c0
lea edi, [esi + 0xa74]
lea ebx, [esp + 0x20]
mov byte [esp + 0x2d8], 2
mov dword [esp + 0x78], edi
call fcn.0044c130
lea edi, [esp + 0x34]
call fcn.0046aff0
mov byte [esp + 0x2d8], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443079
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004457e0
add esp, 4
lea edi, [esp + 0x28]
mov byte [esp + 0x2d8], 3
call fcn.0046aff0
mov byte [esp + 0x2d8], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4430bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x443124
mov byte [esp + 0x2d8], al
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4430f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x2d8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44311d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x443ab9
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xce]
push edx
mov word [esp + 0xd0], cx
call fcn.0048dc10
mov esi, dword [esi + 0x63c]
add esp, 0xc
push str.updateleakinstallinfo.dat
push esi
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x60]
push ecx
call fcn.00433170
lea edx, [esp + 0xc4]
push edx
mov byte [esp + 0x2dc], 4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443257
push 0
push 0x80
push 3
push 0
push 2
push SysReAllocString
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x443257
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [edi - 1]
cmp ecx, 0x4fffff
ja 0x443250
lea edx, [edi + 2]
push edx
call fcn.004848ce
mov esi, eax
add esp, 4
test esi, esi
je 0x443250
push 0
lea eax, [esp + 0x24]
push eax
push edi
push esi
push ebp
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x443247
cmp dword [esp + 0x20], edi
jne 0x443247
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, 0x4b4384
mov byte [esi + edi], 0
mov byte [esi + edi + 1], 0
call fcn.0046c8c0
lea edx, [esp + 0x64]
push edx
lea ecx, [esi + 2]
push ecx
mov byte [esp + 0x2e4], 5
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0046c8c0
mov byte [esp + 0x2e4], 4
call fcn.0045f140
add esp, 0xc
push esi
call fcn.0048c465
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x9c]
push ecx
call fcn.0045f470
mov byte [esp + 0x2d8], 6
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x20], 0
sar eax, 2
mov dword [esp + 0x18], eax
test eax, eax
jbe 0x4433d7
xor ebp, ebp
test eax, eax
jle 0x4433d7
xor edi, edi
jmp 0x4432a0
lea edx, [esp + 0x48]
push edx
call fcn.00433170
push ecx
mov bl, 7
mov byte [esp + 0x2dc], bl
mov eax, esp
mov dword [esp + 0x30], esp
push eax
mov ecx, 0x4b48f8
call fcn.0046c8c0
mov byte [esp + 0x2dc], 8
mov edx, dword [esp + 0x74]
sub edx, dword [esp + 0x70]
lea ecx, [esp + 0x4c]
sar edx, 2
push ecx
cmp ebp, edx
jb 0x4432e6
call fcn.0048b4bc
mov eax, dword [esp + 0x74]
mov eax, dword [eax + ebp*4]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.0046b5f0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2e4], bl
call fcn.0045f140
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub ecx, eax
and ecx, 0xfffffffc
add esp, 0xc
cmp ecx, 0xc
jne 0x44338f
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x443387
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 2
ja 0x443355
call fcn.0048b4bc
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub eax, ecx
sar eax, 2
lea esi, [ecx + 8]
cmp eax, 1
ja 0x44336b
call fcn.0048b4bc
mov ecx, dword [esp + 0x54]
lea ebx, [ecx + 4]
lea edi, [esp + 0x9c]
call fcn.0044c130
mov edi, eax
mov eax, esi
call fcn.0046aff0
xor edi, edi
jmp 0x44338b
inc dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov byte [esp + 0x2d8], 6
cmp eax, edi
je 0x4433b3
mov edi, dword [esp + 0x58]
call fcn.004602b0
mov eax, dword [esp + 0x54]
push eax
call fcn.0048b128
add esp, 4
xor edi, edi
mov ecx, dword [esp + 0x48]
push ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call fcn.0048b128
inc ebp
add esp, 4
cmp ebp, dword [esp + 0x18]
jl 0x4432a0
lea edx, [esp + 0x7c]
push edx
call fcn.00442000
mov eax, dword [esp + 0x44]
mov byte [esp + 0x2d8], 9
mov eax, dword [eax + 0xf4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0
test eax, eax
jbe 0x443611
nop
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0xf4]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov edi, eax
test edi, edi
je 0x4435fe
cmp dword [edi + 8], 8
jne 0x4435fe
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jl 0x4435fe
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jge 0x4435fe
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x1c]
push edx
call fcn.0046c8c0
mov byte [esp + 0x2d8], 0xa
cmp dword [edi + 0xc], 0
je 0x4434e8
lea eax, [esp + 0x40]
push eax
mov ecx, 0x4b6354
call fcn.0046c8c0
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x2dc], 0xb
call fcn.00442e70
lea ebx, [esp + 0x1c]
mov edi, eax
call fcn.0045f0c0
mov byte [esp + 0x2d8], 0xa
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4435d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4435d6
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [edi + 0x14]
call fcn.0046c8c0
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x9c]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0xc0]
push eax
lea esi, [esp + 0xa4]
call fcn.0044ed00
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x443528
cmp eax, ebp
je 0x44352d
call fcn.0048b4bc
cmp dword [esi + 4], ebx
mov eax, dword [esp + 0x3c]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443553
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44359a
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [edi + 0x14]
call fcn.0046c8c0
lea ebx, [esp + 0x38]
lea edi, [esp + 0x9c]
mov byte [esp + 0x2d8], 0xc
call fcn.0044c130
push eax
lea ecx, [esp + 0x80]
call fcn.00442e70
lea ebx, [esp + 0x1c]
mov edi, eax
call fcn.0045f0c0
lea ecx, [esp + 0x38]
jmp 0x4435d1
lea edx, [esp + 0x24]
push edx
mov ecx, str.other
call fcn.0046c8c0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x2dc], 0xd
call fcn.00442e70
lea ebx, [esp + 0x1c]
mov edi, eax
call fcn.0045f0c0
lea ecx, [esp + 0x24]
call fcn.004710f0
mov byte [esp + 0x2d8], 9
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4435fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2c]
jb 0x443410
cmp dword [esp + 0x98], 0
jbe 0x4439b8
mov ecx, dword [esp + 0x94]
mov ebp, dword [ecx]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x94]
test ebx, ebx
je 0x443645
cmp ebx, dword [esp + 0x7c]
je 0x44364a
call fcn.0048b4bc
cmp ebp, esi
je 0x4438e8
test ebx, ebx
jne 0x443691
call fcn.0048b4bc
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x443667
call fcn.0048b4bc
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x443695
cmp eax, dword [esi]
jne 0x443695
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4436d0
mov eax, dword [ebx]
jmp 0x44365d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4438d9
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048b5ee
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x18], edi
mov byte [esp + 0x2d8], 0xe
test ebx, ebx
jne 0x443728
call fcn.0048b4bc
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4436f4
call fcn.0048b4bc
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x2d8], 0xf
mov ebx, dword [ebp + 0x20]
sub ebx, dword [ebp + 0x1c]
xor edi, edi
sar ebx, 2
test ebx, ebx
jle 0x443803
jmp 0x443734
mov eax, dword [ebx]
jmp 0x4436ea
mov ebp, dword [esp + 0x30]
mov ecx, dword [ebp + 0x20]
sub ecx, dword [ebp + 0x1c]
sar ecx, 2
cmp edi, ecx
jb 0x443746
call fcn.0048b4bc
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00454250
push 1
push 0x4b48f4
lea edx, [esp + 0x24]
push edx
call fcn.00454250
lea ebp, [edi + 1]
mov eax, ebp
cdq
mov ecx, 0xa
idiv ecx
mov esi, dword [esp + 0x1c]
test edx, edx
jne 0x4437f9
mov edx, dword [esp + 0x18]
push edx
push esi
push str.name_sleakapp_s
push str.http:__statleak.360safe.com_otherfix.html_
push 4
push 0x4cd998
call fcn.0047e9e0
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
add esp, 0x18
cmp dword [eax + 4], 0
je 0x4437f9
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x4437d3
cmp dword [esi - 8], 0
jl 0x4438de
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x4437f9
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4437e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov edi, ebp
cmp edi, ebx
jl 0x443730
cmp dword [esi - 0xc], 0
jle 0x443877
mov ecx, dword [esp + 0x18]
push ecx
push esi
push str.name_sleakapp_s
push str.http:__statleak.360safe.com_otherfix.html_
push 4
push 0x4cd998
call fcn.0047e9e0
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
add esp, 0x18
cmp dword [eax + 4], 0
je 0x443877
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x443855
cmp dword [esi - 8], 0
jl 0x4438de
xor edx, edx
mov dword [esi - 0xc], 0
mov word [esi], dx
jmp 0x443877
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44386b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
lea esi, [eax + 0x10]
add esi, 0xfffffff0
mov byte [esp + 0x2d8], 0xe
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44389b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x2d8], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4438c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x2c]
call fcn.00473aa0
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
jmp 0x443634
call fcn.0046c730
push 0x80070057
call fcn.004752e0
cmp dword [esp + 0x20], 0
jne 0x4438fd
lea ecx, [esp + 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp - 0xc]
lea edx, [eax + eax]
push edx
push ebp
push 1
push str.lastsendinstall
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x24]
push eax
mov ecx, str.lastsendinstall
call fcn.0046c8c0
mov edi, dword [esp + 0x78]
lea ebx, [esp + 0x24]
mov byte [esp + 0x2d8], 0x10
call fcn.0044c130
mov edi, eax
mov esi, dword [edi]
lea eax, [ebp - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x443990
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x443985
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x443985
call fcn.0046b5f0
mov ebp, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x44397e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebp, 0x10
mov dword [edi], ebp
jmp 0x443990
mov ebx, dword [ebp - 0xc]
push ebp
mov eax, edi
call fcn.0046c7e0
mov byte [esp + 0x2d8], 9
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4439b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x7c]
mov byte [esp + 0x2d8], 0x11
call fcn.00442530
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0048b128
add esp, 4
lea esi, [esp + 0x9c]
mov byte [esp + 0x2d8], 0x12
call fcn.004470a0
mov edx, dword [esp + 0x9c]
push edx
call fcn.0048b128
mov byte [esp + 0x2dc], 1
mov esi, dword [esp + 0x70]
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x443a48
mov eax, dword [esp + 0x70]
mov edi, eax
cmp esi, eax
je 0x443a3f
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443a34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x443a16
mov esi, dword [esp + 0x6c]
push esi
call fcn.0048b128
add esp, 4
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.0048b128
mov byte [esp + 0x2dc], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x443a89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2d8], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443ab4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.0048b133
add esp, 0x2c8
ret