Function at 0x467d60
Capabilities:
Get common file path
Get file size
Write file on windows

Disassembly:
sub esp, 0x85c
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x854], eax
cmp dword [ebx + 4], 0
push esi
push edi
jne 0x468127
cmp dword [ebx], 0xffffffff
jne 0x468127
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x24a]
push ecx
mov dword [ebx + 4], 1
mov word [esp + 0x24c], ax
call fcn.0048dc10
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x4e]
push eax
mov word [esp + 0x50], dx
call fcn.0048dc10
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add esp, 0x18
push 0x104
lea ecx, [esp + 0x44c]
push ecx
push 0
call esi
mov eax, dword [0x4ce640]
push 0x104
lea edx, [esp + 0x654]
push edx
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x448]
push ecx
call edi
mov esi, 0x104
lea ecx, [esp + 0x38]
lea esp, [esp]
cmp word [ecx], 0
je 0x467e20
add ecx, 2
sub esi, 1
jne 0x467e10
jmp 0x467e41
test esi, esi
je 0x467e41
mov edx, 0x104
sub edx, esi
mov ecx, 0x104
push eax
sub ecx, edx
lea edx, [esp + edx*2 + 0x3c]
mov eax, SysReAllocString
call fcn.0046a070
lea edx, [esp + 0x38]
push 0x2e
push edx
call fcn.0048c37b
add esp, 8
test eax, eax
je 0x467e5a
xor ecx, ecx
mov word [eax + 2], cx
lea edx, [esp + 0x650]
push edx
call edi
mov ecx, 0x104
lea edx, [esp + 0x38]
lea ecx, [ecx]
cmp word [edx], 0
je 0x467e80
add edx, 2
sub ecx, 1
jne 0x467e70
jmp 0x467ea1
test ecx, ecx
je 0x467ea1
mov edx, 0x104
sub edx, ecx
mov ecx, 0x104
push eax
sub ecx, edx
lea edx, [esp + edx*2 + 0x3c]
mov eax, SysReAllocString
call fcn.0046a070
lea eax, [esp + 0x38]
push 0x2e
push eax
call fcn.0048c37b
add esp, 8
test eax, eax
je 0x467eba
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, 0x104
lea eax, [esp + 0x38]
cmp word [eax], 0
je 0x467ed3
add eax, 2
sub ecx, 1
jne 0x467ec3
jmp 0x467ef8
test ecx, ecx
je 0x467ef8
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [esp + eax*2 + 0x38]
push str.som.log
mov eax, SysReAllocString
call fcn.0046a070
push 1
push 0x1a
lea edx, [esp + 0x248]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
lea eax, [esp + 0x240]
je 0x467f44
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360safe360leakfixer_
push eax
call esi
lea ecx, [esp + 0x240]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x244]
push eax
jmp 0x467fae
lea esi, [esp + 0x448]
lea ecx, [esp + 0x240]
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x467f80
movzx ecx, word [esi + eax]
test cx, cx
je 0x467f80
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x467f60
jmp 0x467f84
test edx, edx
jne 0x467f87
sub eax, 2
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
mov word [eax], dx
push str...update_
lea eax, [esp + 0x244]
push eax
call esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x244]
push edx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 7
push 0x40000000
lea eax, [esp + 0x258]
push eax
call esi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x467ff7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x46803b
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x467ff7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
lea ecx, [esp + 0x258]
push ecx
call esi
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x468127
push 0
lea edx, [esp + 0x1c]
push edx
push 2
lea ecx, [esp + 0x2c]
push ecx
push eax
mov dword [esp + 0x34], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebx]
push 2
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x4680ec
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx edx, word [esp + 0x16]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x12]
push edx
movzx edx, word [esp + 0x14]
push eax
movzx eax, word [esp + 0x16]
push ecx
movzx ecx, word [esp + 0x16]
push edx
movzx edx, word [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x468]
push eax
push str.Process__s__d___
mov ecx, ebx
call fcn.004683a0
add esp, 0x28
pop edi
pop esi
mov ecx, dword [esp + 0x854]
xor ecx, esp
call fcn.0048b133
add esp, 0x85c
ret
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0xe]
movzx eax, word [esp + 0xa]
movzx ecx, word [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x458]
push edx
push str.Process__s__d____d__02d__02d_
mov ecx, ebx
call fcn.004683a0
add esp, 0x18
mov ecx, dword [esp + 0x85c]
pop edi
pop esi
xor ecx, esp
call fcn.0048b133
add esp, 0x85c
ret