Function at 0x4539c8
Capabilities:
Write file on windows

Disassembly:
push 0x94
mov eax, 0x4bd4f0
call fcn.00495a70
mov ebx, dword [ebp + 8]
xor edi, edi
mov esi, ecx
cmp ebx, edi
je 0x453c53
cmp dword [esi + 0x678], edi
je 0x453c53
push 0x2d
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.00495b20
mov eax, dword [esi + 0x670]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x674]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x68c]
mov dword [ebp - 0x6c], eax
mov al, byte [esi + 0x678]
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x84]
push eax
lea eax, [esi + 0x62c]
push eax
call fcn.00452341
add esp, 0x14
add esi, 0x21c
push esi
lea ecx, [ebp - 0x48]
call fcn.004025ee
mov esi, str..dt_
push esi
mov dword [ebp - 4], edi
call fcn.00495461
pop ecx
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.0040136b
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x453a6f
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00402a5f
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], edi
jne 0x453aa6
push str.Get_dtFile_Md5_Failed.
push str.kupdate::KHttpDownload::SaveStateToCfg
push 0x398
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push edi
call fcn.004030c6
add esp, 0x14
jmp 0x453c3d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x453ab2
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x94]
push ecx
push eax
call fcn.00452341
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x64]
call fcn.004025ee
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x453ad6
lea eax, [ebp - 0x64]
push edi
push 0x80
push 2
push edi
xor esi, esi
inc esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x9c], ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.0044d402
test al, al
je 0x453b67
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
jle 0x453b1e
and eax, 0xffff
or eax, 0x80070000
push eax
push str.Failed_CreateFile
push str.kupdate::KHttpDownload::SaveStateToCfg
push 0x3a2
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push edi
call fcn.004030c6
add esp, 0x18
cmp ebx, edi
je 0x453b4c
cmp ebx, 0xffffffff
je 0x453b4c
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
push esi
lea ecx, [ebp - 0x64]
call fcn.00401129
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401129
push edi
push esi
jmp 0x453c4b
push 0x2d
lea eax, [ebp - 0x94]
push eax
push edi
call fcn.0040140c
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
add esp, 0xc
push edi
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x98]
push eax
push 0x2d
lea eax, [ebp - 0x94]
push eax
push ebx
mov dword [ebp - 0x98], edi
call esi
test eax, eax
je 0x453bf0
push edi
lea eax, [ebp - 0x98]
push eax
push 4
lea eax, [ebp - 0xa0]
push eax
push ebx
call esi
test eax, eax
je 0x453bf0
cmp ebx, edi
je 0x453bcb
cmp ebx, 0xffffffff
je 0x453bcb
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x64]
call fcn.00401129
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.00401129
push edi
push esi
lea ecx, [ebp - 0x48]
call fcn.00401129
mov eax, esi
jmp 0x453c55
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
jle 0x453c04
and eax, 0xffff
or eax, 0x80070000
push eax
push str.Failed_WriteFile:_0x_08x.
push str.kupdate::KHttpDownload::SaveStateToCfg
push 0x3ad
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push edi
call fcn.004030c6
add esp, 0x18
cmp ebx, edi
je 0x453c32
cmp ebx, 0xffffffff
je 0x453c32
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.00401129
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401129
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.00401129
xor eax, eax
call fcn.00495af3
ret 4