Function at 0x455497
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd6d5
mov eax, dword fs:[0]
push eax
mov eax, 0x10918
call fcn.00497500
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0xffff
lea eax, [ebp - 0x1000f]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x10010], bl
call fcn.00495b20
add esp, 0xc
push ebx
lea ecx, [ebp - 0x10918]
mov dword [ebp - 0x1090c], ebx
call fcn.00451a83
push 0x828
lea eax, [ebp - 0x108fc]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00495b20
or dword [ebp - 0x108fc], 0xffffffff
add esp, 0xc
call fcn.004034ce
mov ecx, dword [eax]
lea edx, [ebp - 0x108fc]
push edx
push eax
call dword [ecx + 0x74]
lea eax, [ebp - 0x108fc]
push eax
lea ecx, [ebp - 0x10918]
call fcn.00451a99
mov eax, dword [esi + 0xd4]
sub eax, ebx
mov dword [ebp - 0x10900], ebx
je 0x455765
dec eax
je 0x45558a
dec eax
jne 0x4558a5
lea eax, [esi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x455566
mov eax, dword [eax]
push eax
call fcn.00406f87
mov ecx, eax
call fcn.00416537
test eax, eax
jne 0x4558a5
mov dword [ebp - 0x10900], 1
jmp 0x4558a5
mov edi, dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push ebx
push ebx
call edi
mov dword [ebp - 0x10908], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004938c3
pop ecx
push eax
push dword [ebp - 0x10908]
mov dword [ebp - 0x10904], eax
call edi
lea edi, [esi + 0x40]
cmp dword [edi + 0x14], 8
jb 0x4555cc
mov eax, dword [edi]
jmp 0x4555ce
mov eax, edi
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea eax, [ebp - 0x10064]
push eax
call fcn.00455368
mov dword [ebp - 0x10908], eax
push dword [ebp - 0x10904]
lea eax, [ebp - 0x10048]
push eax
mov byte [ebp - 4], 2
call fcn.0044d925
push dword [ebp - 0x10908]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1002c]
push eax
call fcn.004136b1
add esp, 0x18
push ebx
push 1
lea ecx, [ebp - 0x10048]
call fcn.00401129
push ebx
push 1
lea ecx, [ebp - 0x10064]
call fcn.00401129
push 3
lea ecx, [esi + 0xd8]
call fcn.0045500c
lea ecx, [ebp - 0x100d4]
call fcn.00411966
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x100d4]
mov byte [ebp - 4], 7
call fcn.004024d5
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x1002c]
push eax
lea ecx, [ebp - 0x100b8]
call fcn.004024d5
mov eax, dword [esi + 0xcc]
push 1
lea ecx, [ebp - 0x10924]
mov dword [ebp - 0x10068], eax
call fcn.00451a83
lea eax, [ebp - 0x100d4]
push eax
lea ecx, [ebp - 0x10924]
mov byte [ebp - 4], 8
call fcn.0045222a
mov dword [ebp - 0x10904], eax
cmp eax, 9
je 0x4556b2
cmp eax, 0xb
jne 0x4556ed
cmp dword [ebp - 0x10018], 8
mov eax, dword [ebp - 0x1002c]
jae 0x4556c7
lea eax, [ebp - 0x1002c]
push eax
call fcn.004551cc
pop ecx
test al, al
je 0x4556ed
mov edi, 0x4c971c
push edi
call fcn.00495461
pop ecx
push eax
push edi
lea ecx, [esi + 0xb0]
call fcn.00402570
jmp 0x455719
cmp dword [edi + 0x14], 8
jb 0x4556f5
mov edi, dword [edi]
push dword [ebp - 0x10904]
push edi
push str.Failed_download__s._Result:__d.
push str.kupdate::KAsynHttpRequestThread::_ThreadProc
push 0xd7
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcweb_asynhttprequest.cpp
push ebx
call fcn.004030c6
add esp, 0x1c
cmp dword [ebp - 0x10018], 8
mov eax, dword [ebp - 0x1002c]
jae 0x45572e
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x10924]
mov byte [ebp - 4], 7
call fcn.00451e3e
lea ecx, [ebp - 0x100d4]
call fcn.00411a5b
push ebx
push 1
lea ecx, [ebp - 0x1002c]
mov byte [ebp - 4], bl
call fcn.00401129
jmp 0x4558a5
cmp dword [esi + 0x54], 8
jb 0x455770
mov eax, dword [esi + 0x40]
jmp 0x455773
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov dword [ebp - 0x10900], ebx
cmp dword [esi + 0x88], ebx
je 0x455799
lea eax, [esi + 0x78]
cmp dword [eax + 0x14], 8
jb 0x455793
mov eax, dword [eax]
mov dword [ebp - 0x10900], eax
lea eax, [esi + 0x94]
push eax
lea eax, [ebp - 0x1002c]
push eax
call fcn.004553e9
pop ecx
pop ecx
xor edx, edx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1001c], ebx
jle 0x4557d1
cmp dword [ebp - 0x10018], 0x10
mov edx, dword [ebp - 0x1002c]
jae 0x4557d1
lea edx, [ebp - 0x1002c]
lea eax, [esi + 0x5c]
cmp dword [eax + 0x14], 8
jb 0x4557dc
mov eax, dword [eax]
cmp dword [esi + 0x54], 8
jb 0x4557e7
mov ecx, dword [esi + 0x40]
jmp 0x4557ea
lea ecx, [esi + 0x40]
push dword [ebp - 0x10900]
lea edi, [ebp - 0x1090c]
push edi
push 0x10000
lea edi, [ebp - 0x10010]
push edi
push dword [ebp - 0x1001c]
push edx
push eax
push ecx
lea ecx, [ebp - 0x10918]
call fcn.00451aec
mov dword [ebp - 0x10900], eax
cmp eax, ebx
jne 0x455876
cmp dword [ebp - 0x1090c], ebx
jbe 0x455876
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x455841
xor edi, edi
jmp 0x455860
lea eax, [edi + edi]
call fcn.00495fa0
mov eax, esp
push 0xfde9
push edi
lea ecx, [ebp - 0x10010]
push ecx
push eax
call fcn.00402100
mov edi, eax
push edi
call fcn.00495461
pop ecx
push eax
push edi
lea ecx, [esi + 0xb0]
call fcn.00402570
jmp 0x455894
push eax
push str.Failed_PostData:_0x_08x.
push str.kupdate::KAsynHttpRequestThread::_ThreadProc
push 0xbc
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcweb_asynhttprequest.cpp
push ebx
call fcn.004030c6
add esp, 0x18
push ebx
push 1
lea ecx, [ebp - 0x1002c]
mov byte [ebp - 4], bl
call fcn.00408711
cmp dword [esi + 4], ebx
je 0x4558c5
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 8
jb 0x4558b5
mov eax, dword [eax]
mov esi, dword [esi + 4]
push dword [ebp - 0x10900]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10918]
call fcn.00451e3e
xor eax, eax
inc eax
lea esp, [ebp - 0x10934]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004959f8
leave
ret