Function at 0x40ba70
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45d82c
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x494]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x4a4]
xor edi, edi
cmp esi, 0x64c
mov dword [esp + 0x18], eax
ja 0x40baef
je 0x40bad2
mov eax, esi
sub eax, 2
je 0x40bad2
sub eax, 0x648
jne 0x40bb37
push str.http:__support.microsoft.com_kb_290301_zh_cn
push 0x462d38
call fcn.00406c70
mov ecx, 0x462d14
mov ebx, eax
call fcn.00410370
jmp 0x40bb37
mov eax, esi
sub eax, 0x659
je 0x40bb1a
sub eax, 7
jne 0x40bb37
push str.cleanmgr.exe
push 0x462e20
call fcn.00406c70
mov ecx, 0x462e10
mov ebx, eax
call fcn.00410370
jmp 0x40bb37
push 0x10
push 0x462d28
push edi
push ecx
call fcn.00406c70
add esp, 4
mov ecx, 0x462da8
mov edx, eax
call fcn.00410000
push edi
push edi
lea ecx, [esp + 0x1c]
push ecx
push 0x400
push esi
push edi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push esi
push 0x462e70
lea edx, [esp + 0x94]
push 0x200
push edx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x70]
mov word [esp + 0x48a], di
call fcn.0042bd40
mov dword [esp + 0x49c], edi
lea eax, [esp + 0x8c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40bba0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea esi, [esp + 0x24]
call fcn.00406f80
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x78]
mov byte [esp + 0x4a4], 1
call fcn.00406df0
mov ebp, 8
cmp dword [esp + 0x34], ebp
jb 0x40bbf1
mov edx, dword [esp + 0x20]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x88], ebp
mov edx, dword [esp + 0x74]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
jae 0x40bc13
lea edx, [esp + 0x74]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x40bc4c
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40bc22
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0x49c], 0xffffffff
cmp dword [esp + 0x88], ebp
jb 0x40bc6d
mov edx, dword [esp + 0x74]
push edx
call fcn.004415cb
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40bc87
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x40]
call fcn.00406f80
mov ebx, 2
mov dword [esp + 0x49c], ebx
push ebx
push 0x462e98
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], edi
mov word [esp + 0x60], di
call fcn.00406f80
push 0x462e98
xor eax, eax
lea edx, [esp + 0x3c]
mov byte [esp + 0x4a0], 3
call fcn.0040e1e0
cmp eax, 0xffffffff
je 0x40bcfc
mov ecx, dword [esp + 0x68]
push 1
push ecx
mov esi, eax
lea ebx, [esp + 0x40]
call fcn.0040e030
cmp dword [esp + 0x50], ebp
mov esi, dword [esp + 0x3c]
jae 0x40bd0a
lea esi, [esp + 0x3c]
mov edx, dword [esp + 0x18]
push 0x10
push 0x462334
push edx
push ecx
call fcn.00406c70
add esp, 4
mov ecx, esi
mov edx, eax
call fcn.00410000
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x6c], ebp
jb 0x40bd46
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x50], ebp
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], edi
mov word [esp + 0x58], di
jb 0x40bd6a
mov edx, dword [esp + 0x3c]
push edx
call fcn.004415cb
add esp, 4
mov ecx, dword [esp + 0x494]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.004414cc
add esp, 0x48c
ret