Function at 0x453ee2
Capabilities:
Create thread
Delete file

Disassembly:
push 0xa0
mov eax, 0x4bd55d
call fcn.00495a70
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
and dword [ebp - 0xa4], 0
mov esi, ecx
lea edi, [esi + 0x69c]
push dword [edi]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], edi
call ebx
test eax, eax
je 0x453f32
push 2
pop eax
call fcn.00495af3
ret 0xc
push 1
push edi
call ebx
push dword [ebp - 0xa8]
mov ecx, esi
call fcn.00453696
push 0x104
push dword [ebp - 0xac]
lea eax, [esi + 0x14]
push eax
call fcn.00499826
push 0x2d
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00495b20
add esp, 0x18
lea eax, [esi + 0x21c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004025ee
and dword [ebp - 4], 0
mov edi, str..dt_
push edi
call fcn.00495461
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040136b
lea eax, [esi + 0x21c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004025ee
mov edi, str..cfg_
push edi
mov byte [ebp - 4], 1
call fcn.00495461
pop ecx
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.0040136b
lea edi, [esi + 0x21c]
push edi
call fcn.0044d379
pop ecx
test al, al
je 0x454006
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00402a5f
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
mov dword [ebp - 0xa4], 1
jb 0x453fec
mov eax, dword [eax]
lea ecx, [esi + 0x62c]
push ecx
push eax
call fcn.00499b67
pop ecx
pop ecx
mov byte [ebp - 0x95], 1
test eax, eax
je 0x45400d
mov byte [ebp - 0x95], 0
test byte [ebp - 0xa4], 1
je 0x454022
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00401129
cmp byte [ebp - 0x95], 0
je 0x45406d
push 0
push dword [ebp - 0xa0]
call ebx
push 1
push 2
mov ecx, esi
call fcn.004526a0
push 0
push 0xb
mov ecx, esi
call fcn.004526a0
push 0xb
pop esi
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00401129
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401129
mov eax, esi
jmp 0x453f2a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x454079
lea eax, [ebp - 0x2c]
push eax
call fcn.0044d379
pop ecx
test al, al
je 0x454113
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x454094
lea eax, [ebp - 0x48]
push eax
call fcn.0044d379
pop ecx
test al, al
je 0x454113
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x4540ab
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x94]
push ecx
push eax
mov ecx, esi
call fcn.00453738
test eax, eax
je 0x454113
lea eax, [ebp - 0x94]
push eax
mov ecx, esi
call fcn.00452638
push str.Start_resume.
push str.kupdate::KHttpDownload::StartDownload
push 0x262
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push 7
call fcn.004030c6
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
inc ecx
add esp, 0x14
inc dword [esi + 0x68c]
cmp dword [ebp - 0x18], 8
mov dword [esi + 0x678], ecx
jae 0x454105
lea eax, [ebp - 0x2c]
push 0
push 0x80
push 3
push 0
push ecx
jmp 0x454153
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call edi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x454128
lea eax, [ebp - 0x2c]
push eax
call edi
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x454137
lea eax, [ebp - 0x48]
push eax
call edi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x454146
lea eax, [ebp - 0x2c]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x4541ba
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
test eax, eax
jle 0x45417d
and eax, 0xffff
or eax, 0x80070000
push eax
push str.Failed_CreateFile:_0x_08x.
push str.kupdate::KHttpDownload::StartDownload
push 0x274
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push 0
call fcn.004030c6
add esp, 0x18
call edi
push eax
push 1
mov ecx, esi
call fcn.004526a0
push 0
push dword [ebp - 0xa0]
call ebx
xor esi, esi
inc esi
jmp 0x45404e
push 0x1c
call fcn.0049547c
push 0x1c
xor ebx, ebx
mov edi, eax
push ebx
push edi
call fcn.00495b20
mov eax, dword [esi + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x688]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x684]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x674]
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 0x670]
sub ecx, dword [esi + 0x674]
add esp, 0x10
mov dword [edi + 0x10], ecx
mov dword [edi + 0x18], esi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x502d50], eax
cmp dword [ebp + 0x10], ebx
je 0x454220
push dword [esi + 4]
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
lea eax, [ebp - 0x9c]
push eax
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0x453236
push ebx
push ebx
mov dword [ebp - 0x9c], ebx
call edi
mov dword [esi + 0x67c], eax
lea eax, [ebp - 0x9c]
push eax
push 4
push esi
push 0x453e93
push ebx
push ebx
call edi
mov dword [esi + 0x680], eax
cmp dword [ebp + 0x10], ebx
je 0x454275
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov esi, dword [esi + 8]
jmp 0x45404e
push 9
jmp 0x45404d