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

Disassembly:
push 0xffffffffffffffff
push 0x473190
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2e4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2f4]
mov eax, dword [ebp + 0x5a0]
xor ebx, ebx
mov dword [esp + 0x34], ebp
cmp eax, ebx
je 0x435b6f
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2ec], ebx
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, 1
mov byte [esp + 0x2ec], cl
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0x3e8
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x3e8
or eax, ecx
jge 0x435192
mov ecx, 0x3e8
lea eax, [esp + 0x30]
call fcn.004547f0
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
push esi
lea ecx, [esp + 0x7c]
push ecx
push str.lastsendinstall
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0046113d
add esp, 8
cmp eax, ebx
jl 0x435a31
cmp eax, dword [esi - 8]
jg 0x435a31
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0xa2]
movzx edx, word [esp + 0x9e]
movzx eax, word [esp + 0x9c]
push ecx
push edx
push eax
push 0x47abe8
lea edi, [esp + 0x2c]
call fcn.004543e0
mov edi, dword [esp + 0x2c]
add esp, 0x10
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x435274
mov byte [esp + 0x2ec], al
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435246
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2ec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43526d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x435b74
push 0x206
lea edx, [esp + 0xda]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0xe0], cx
call fcn.00462160
add esp, 0xc
push str.updateleakinstallinfo.dat
add ebp, 0x2e0
push ebp
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x5c]
push ecx
call fcn.004442c0
lea edx, [esp + 0xd4]
push edx
mov byte [esp + 0x2f0], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43539f
push ebx
push 0x80
push 3
push ebx
push 2
push SysReAllocStringLen
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x43539f
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [edi - 1]
cmp ecx, 0x7ff
ja 0x435398
lea edx, [edi + 2]
push edx
call fcn.0045e006
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x435398
push ebx
lea eax, [esp + 0x24]
push eax
push edi
push esi
push ebp
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43538f
cmp dword [esp + 0x20], edi
jne 0x43538f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, 0x47b6fc
mov byte [esi + edi], 0
mov byte [esi + edi + 1], 0
call fcn.00454940
lea edx, [esp + 0x60]
push edx
lea ecx, [esi + 2]
push ecx
mov byte [esp + 0x2f8], 3
mov eax, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00454940
mov byte [esp + 0x2f8], 2
call fcn.00427320
add esp, 0xc
push esi
call fcn.00461608
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xac]
push ecx
call fcn.0042a060
mov byte [esp + 0x2ec], 4
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x68]
mov dword [esp + 0x20], ebx
sar eax, 2
mov dword [esp + 0x14], eax
cmp eax, ebx
jbe 0x435517
xor ebp, ebp
test eax, eax
jle 0x435517
xor edi, edi
jmp 0x4353e0
lea edx, [esp + 0x44]
push edx
call fcn.004442c0
push ecx
mov bl, 5
mov byte [esp + 0x2f0], bl
mov eax, esp
mov dword [esp + 0x28], esp
push eax
mov ecx, 0x47aeb0
call fcn.00454940
mov byte [esp + 0x2f0], 6
mov edx, dword [esp + 0x70]
sub edx, dword [esp + 0x6c]
lea ecx, [esp + 0x48]
sar edx, 2
push ecx
cmp ebp, edx
jb 0x435426
call fcn.004605e2
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ebp*4]
push ecx
sub eax, 0x10
mov dword [esp + 0x38], esp
mov esi, esp
call fcn.00452ce0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2f8], bl
call fcn.00427320
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub ecx, eax
and ecx, 0xfffffffc
add esp, 0xc
cmp ecx, 0xc
jne 0x4354cf
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4354c7
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 2
ja 0x435495
call fcn.004605e2
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub eax, ecx
sar eax, 2
lea esi, [ecx + 8]
cmp eax, 1
ja 0x4354ab
call fcn.004605e2
mov ecx, dword [esp + 0x50]
lea ebx, [ecx + 4]
lea edi, [esp + 0xac]
call fcn.0043d330
mov edi, eax
mov eax, esi
call fcn.00452c80
xor edi, edi
jmp 0x4354cb
inc dword [esp + 0x20]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x2ec], 4
cmp eax, edi
je 0x4354f3
mov edi, dword [esp + 0x54]
call fcn.00440ef0
mov eax, dword [esp + 0x50]
push eax
call fcn.0046024e
add esp, 4
xor edi, edi
mov ecx, dword [esp + 0x44]
push ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call fcn.0046024e
inc ebp
add esp, 4
cmp ebp, dword [esp + 0x14]
jl 0x4353e0
lea edx, [esp + 0x7c]
push edx
call fcn.00434040
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2ec], 7
mov eax, dword [eax + 0x5a0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
test eax, eax
jbe 0x435753
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x5a0]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov edi, eax
test edi, edi
je 0x435740
mov ebx, 8
cmp dword [edi + 8], ebx
jne 0x435740
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jl 0x435740
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jge 0x435740
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x18]
push edx
call fcn.00454940
mov byte [esp + 0x2ec], bl
cmp dword [edi + 0xc], 0
je 0x43562a
lea eax, [esp + 0x38]
push eax
mov ecx, 0x47c0c8
call fcn.00454940
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x2f0], 9
call fcn.00434fb0
lea ebx, [esp + 0x18]
mov edi, eax
call fcn.00438df0
mov byte [esp + 0x2ec], 8
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x435718
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [edi + 0x14]
call fcn.00454940
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xac]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xd0]
push eax
lea esi, [esp + 0xb4]
call fcn.00434610
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x43566a
cmp eax, ebp
je 0x43566f
call fcn.004605e2
cmp dword [esi + 4], ebx
mov eax, dword [esp + 0x40]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435695
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4356dc
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [edi + 0x14]
call fcn.00454940
lea ebx, [esp + 0x3c]
lea edi, [esp + 0xac]
mov byte [esp + 0x2ec], 0xa
call fcn.0043d330
push eax
lea ecx, [esp + 0x80]
call fcn.00434fb0
lea ebx, [esp + 0x18]
mov edi, eax
call fcn.00438df0
lea eax, [esp + 0x3c]
jmp 0x435713
lea edx, [esp + 0x2c]
push edx
mov ecx, str.other
call fcn.00454940
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x2f0], 0xb
call fcn.00434fb0
lea ebx, [esp + 0x18]
mov edi, eax
call fcn.00438df0
lea eax, [esp + 0x2c]
call fcn.004568e0
mov byte [esp + 0x2ec], 7
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 0x435740
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x24]
jb 0x43554f
xor ebx, ebx
cmp dword [esp + 0x98], ebx
jbe 0x435a75
mov ecx, dword [esp + 0x94]
mov ebp, dword [ecx]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
jmp 0x435780
mov esi, dword [esp + 0x94]
test ebx, ebx
je 0x435791
cmp ebx, dword [esp + 0x7c]
je 0x435796
call fcn.004605e2
cmp ebp, esi
je 0x435a3b
test ebx, ebx
jne 0x4357dd
call fcn.004605e2
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4357b3
call fcn.004605e2
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 0x4357e1
cmp eax, dword [esi]
jne 0x4357e1
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x43581c
mov eax, dword [ebx]
jmp 0x4357a9
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 0x435a2c
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.00460714
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x14], edi
mov byte [esp + 0x2ec], 0xc
test ebx, ebx
jne 0x435874
call fcn.004605e2
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x435840
call fcn.004605e2
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x2ec], 0xd
mov ebx, dword [ebp + 0x20]
sub ebx, dword [ebp + 0x1c]
xor edi, edi
sar ebx, 2
test ebx, ebx
jle 0x435956
jmp 0x435884
mov eax, dword [ebx]
jmp 0x435836
mov ebp, dword [esp + 0x28]
mov ecx, dword [ebp + 0x20]
sub ecx, dword [ebp + 0x1c]
sar ecx, 2
cmp edi, ecx
jb 0x435896
call fcn.004605e2
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov eax, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x1c]
push ecx
call fcn.00447040
push 0x47aeac
lea edx, [esp + 0x1c]
push edx
mov eax, 1
call fcn.00447040
lea ebp, [edi + 1]
mov eax, ebp
cdq
mov ecx, 0x14
idiv ecx
mov esi, dword [esp + 0x18]
test edx, edx
jne 0x43594c
mov edx, dword [esp + 0x14]
push edx
push esi
push str.name_sleakapp_s
push str.http:__statleak.360safe.com_otherfix.html_
push 4
mov ecx, 0x490040
call fcn.0045dc00
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
add esp, 0x14
cmp dword [eax + 4], 0
je 0x43594c
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x435926
cmp dword [esi - 8], 0
jl 0x435a31
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x43594c
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43593c
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 + 0x18], esi
mov edi, ebp
cmp edi, ebx
jl 0x435880
cmp dword [esi - 0xc], 0
jle 0x4359ca
mov ecx, dword [esp + 0x14]
push ecx
push esi
push str.name_sleakapp_s
push str.http:__statleak.360safe.com_otherfix.html_
push 4
mov ecx, 0x490040
call fcn.0045dc00
mov edi, dword [esi - 0x10]
lea eax, [esi - 0x10]
add esp, 0x14
cmp dword [eax + 4], 0
je 0x4359ca
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x4359a8
cmp dword [esi - 8], 0
jl 0x435a31
xor edx, edx
mov dword [esi - 0xc], 0
mov word [esi], dx
jmp 0x4359ca
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4359be
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 + 0x2ec], 0xc
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4359ee
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x2ec], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435a16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x24]
call fcn.0045a520
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
jmp 0x435780
call fcn.004547b0
push 0x80070057
call fcn.0045bda0
cmp dword [esp + 0x20], 0
jne 0x435a50
lea ecx, [esp + 0xd4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
lea edx, [ecx + ecx]
push edx
push eax
push 1
push str.lastsendinstall
push str.SOFTWARE360SafeLeak
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor ebx, ebx
lea esi, [esp + 0x7c]
mov byte [esp + 0x2ec], 0xe
call fcn.00434570
mov eax, dword [esp + 0x7c]
push eax
call fcn.0046024e
add esp, 4
lea esi, [esp + 0xac]
mov byte [esp + 0x2ec], 0xf
call fcn.0043ca10
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0046024e
mov byte [esp + 0x2f0], 1
mov esi, dword [esp + 0x6c]
add esp, 4
cmp esi, ebx
je 0x435b03
mov eax, dword [esp + 0x6c]
mov edi, eax
cmp esi, eax
je 0x435afa
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 0x435aef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x435ad1
mov esi, dword [esp + 0x68]
push esi
call fcn.0046024e
add esp, 4
mov ecx, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.0046024e
mov byte [esp + 0x2f0], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435b44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2ec], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435b6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.00460259
add esp, 0x2dc
ret 4