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

Disassembly:
push 0xffffffffffffffff
push 0x4a91de
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
push 0x206
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x8a]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x90], ax
call fcn.0048dc10
mov esi, dword [esi + 0x63c]
add esp, 0xc
push str.updateleakinstallinfoex.dat
push esi
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43638c
lea ecx, [esp + 0x4c]
push ecx
call fcn.00433170
push ebp
push 0x80
push 3
push ebp
push 2
push SysReAllocString
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0x2b4], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x435dc8
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi - 1]
cmp eax, 0x4fffff
ja 0x435dc1
lea ecx, [edi + 2]
push ecx
call fcn.004848ce
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x435dc1
push ebp
lea edx, [esp + 0x20]
push edx
push edi
push esi
push ebx
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x435db8
cmp dword [esp + 0x1c], edi
jne 0x435db8
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov ecx, 0x4b4384
mov byte [esi + edi], 0
mov byte [esi + edi + 1], 0
call fcn.0046c8c0
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esi + 2]
push ecx
mov byte [esp + 0x2a4], 1
mov edx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0046c8c0
mov byte [esp + 0x2a4], 0
call fcn.0045f140
add esp, 0xc
push esi
call fcn.0048c465
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x64]
push ecx
call fcn.00434bd0
mov byte [esp + 0x298], 2
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
sar eax, 2
mov dword [esp + 0x1c], eax
cmp eax, ebp
jbe 0x43603f
jle 0x43603f
lea edx, [esp + 0x24]
push edx
call fcn.00433170
push ecx
mov byte [esp + 0x29c], 3
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov ecx, 0x4b48f8
call fcn.0046c8c0
mov byte [esp + 0x29c], 4
mov edx, dword [esp + 0x60]
sub edx, dword [esp + 0x5c]
lea ecx, [esp + 0x28]
sar edx, 2
push ecx
cmp ebp, edx
jb 0x435e4a
call fcn.0048b4bc
mov eax, dword [esp + 0x60]
mov eax, dword [eax + ebp*4]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.0046b5f0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2a4], 3
call fcn.0045f140
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
add esp, 0xc
sar ecx, 2
cmp ecx, 4
jb 0x435ff1
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x298], 5
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x298], 6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 1
ja 0x435ee8
call fcn.0048b4bc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub eax, ecx
sar eax, 2
lea esi, [ecx + 4]
cmp eax, 2
ja 0x435efe
call fcn.0048b4bc
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
mov ecx, dword [ecx + 8]
push eax
push ecx
push str._s_s
lea edi, [esp + 0x2c]
call fcn.0046afd0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, eax
sub edx, ecx
sar edx, 2
add esp, 0xc
cmp edx, 3
ja 0x435f37
call fcn.0048b4bc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub eax, ecx
sar eax, 2
lea esi, [ecx + 0xc]
cmp eax, 1
ja 0x435f4d
call fcn.0048b4bc
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
mov ecx, dword [ecx + 4]
push eax
push ecx
push str._s_s
lea edi, [esp + 0x24]
call fcn.0046afd0
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x3c]
add esp, 0xc
sar edx, 2
cmp edx, 2
ja 0x435f7a
call fcn.0048b4bc
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x64]
add ebx, 8
push eax
call fcn.00435af0
lea ebx, [esp + 0x20]
mov edi, eax
call fcn.0044c130
mov edi, eax
lea eax, [esp + 0x18]
call fcn.0046aff0
mov byte [esp + 0x298], 5
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 0x435fc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x298], 3
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 0x435ff1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x298], 2
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x436019
mov edi, dword [esp + 0x34]
call fcn.004602b0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0048b128
add esp, 4
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.0048b128
inc ebp
add esp, 4
cmp ebp, dword [esp + 0x1c]
jl 0x435e05
xor ebp, ebp
cmp dword [esp + 0x80], ebp
jbe 0x436306
mov eax, dword [esp + 0x7c]
mov ebx, dword [eax]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebx
mov edi, edi
mov edi, dword [esp + 0x7c]
cmp esi, ebp
je 0x43606e
cmp esi, dword [esp + 0x64]
je 0x436073
call fcn.0048b4bc
cmp ebx, edi
je 0x436306
cmp esi, ebp
jne 0x4361cd
call fcn.0048b4bc
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x436094
call fcn.0048b4bc
mov eax, dword [ebx + 0xc]
sub eax, 0x10
call fcn.0046b5f0
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x298], 7
cmp esi, ebp
jne 0x4361d4
call fcn.0048b4bc
xor esi, esi
cmp ebx, dword [esi + 0x18]
jne 0x4360c7
call fcn.0048b4bc
cmp dword [ebx + 0x2c], ebp
jbe 0x4362bc
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x298], 8
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
mov esi, dword [ebx + 0x10]
mov ebp, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x20], 1
lea esp, [esp]
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + 0x28]
mov eax, dword [eax + 0x10]
test esi, esi
je 0x436122
cmp esi, eax
je 0x436127
call fcn.0048b4bc
cmp ebp, ebx
je 0x436224
test esi, esi
jne 0x4361db
call fcn.0048b4bc
cmp ebp, dword [esi + 0x18]
jne 0x436146
call fcn.0048b4bc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00454250
push 1
push 0x4b48f4
lea eax, [esp + 0x20]
push eax
call fcn.00454250
mov eax, dword [esp + 0x20]
cdq
mov ecx, 0xa
idiv ecx
mov edi, dword [esp + 0x18]
test edx, edx
jne 0x43620a
mov edx, dword [esp + 0x1c]
push edx
push edi
push str.name_sleakapp_s
push str.http:__s.360.cn_leak_block.html_
push 3
push 0x4cd998
call fcn.0047e9e0
mov esi, dword [edi - 0x10]
lea eax, [edi - 0x10]
add esp, 0x18
cmp dword [eax + 4], 0
je 0x43620a
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x4361e2
cmp dword [edi - 8], 0
jl 0x4362fc
xor eax, eax
mov dword [edi - 0xc], 0
mov word [edi], ax
jmp 0x43620a
mov eax, dword [esi]
jmp 0x43608a
mov esi, dword [esi]
jmp 0x4360bd
mov esi, dword [esi]
jmp 0x43613c
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4361f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edi, eax
add edi, 0x10
mov dword [esp + 0x18], edi
lea esi, [esp + 0x44]
call fcn.0044edf0
inc dword [esp + 0x20]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
jmp 0x436110
cmp dword [edi - 0xc], 0
jle 0x436298
mov ecx, dword [esp + 0x1c]
push ecx
push edi
push str.name_sleakapp_s
push str.http:__s.360.cn_leak_block.html_
push 3
push 0x4cd998
call fcn.0047e9e0
mov esi, dword [edi - 0x10]
lea eax, [edi - 0x10]
add esp, 0x18
cmp dword [eax + 4], 0
je 0x436298
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x436276
cmp dword [edi - 8], 0
jl 0x4362fc
xor edx, edx
mov dword [edi - 0xc], 0
mov word [edi], dx
jmp 0x436298
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43628c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea edi, [eax + 0x10]
add edi, 0xfffffff0
mov byte [esp + 0x298], 7
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4362bc
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x298], 2
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 0x4362e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x3c]
call fcn.00435bf0
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
xor ebp, ebp
jmp 0x436060
push 0x80070057
call fcn.004752e0
lea esi, [esp + 0x64]
mov byte [esp + 0x298], 9
call fcn.00435070
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0048b128
mov dword [esp + 0x29c], 0xffffffff
mov esi, dword [esp + 0x5c]
add esp, 4
cmp esi, ebp
je 0x436373
mov eax, dword [esp + 0x5c]
mov edi, eax
cmp esi, eax
je 0x43636a
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43635f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x436341
mov esi, dword [esp + 0x58]
push esi
call fcn.0048b128
add esp, 4
mov ecx, dword [esp + 0x4c]
push ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
call fcn.0048b128
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0048b133
add esp, 0x288
ret