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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9fe8
mov eax, dword fs:[0]
push eax
mov eax, 0x5918
call fcn.00494df0
mov eax, dword [0x4f9b3c]
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 0x4fff
lea eax, [ebp - 0x500f]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x5010], bl
call fcn.00492b40
add esp, 0xc
push ebx
lea ecx, [ebp - 0x5914]
mov dword [ebp - 0x5904], ebx
call fcn.0048232b
push 0x828
lea eax, [ebp - 0x58f4]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00492b40
or dword [ebp - 0x58f4], 0xffffffff
add esp, 0xc
call fcn.0042fc20
mov ecx, dword [eax]
lea edx, [ebp - 0x58f4]
push edx
push eax
call dword [ecx + 0x74]
lea eax, [ebp - 0x58f4]
push eax
lea ecx, [ebp - 0x5914]
call fcn.00482344
mov eax, dword [esi + 0x98]
sub eax, ebx
mov dword [ebp - 0x58f8], ebx
je 0x485123
dec eax
je 0x484f55
dec eax
jne 0x4851ec
lea eax, [esi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x484f31
mov eax, dword [eax]
push eax
call fcn.00484249
mov ecx, eax
call fcn.00484e21
test eax, eax
jne 0x4851ec
mov dword [ebp - 0x58f8], 1
jmp 0x4851ec
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
push ebx
call edi
mov dword [ebp - 0x5900], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004912f9
pop ecx
push eax
push dword [ebp - 0x5900]
mov dword [ebp - 0x58fc], eax
call edi
lea edi, [esi + 0x40]
cmp dword [edi + 0x14], 8
jb 0x484f97
mov eax, dword [edi]
jmp 0x484f99
mov eax, edi
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea eax, [ebp - 0x5064]
push eax
call fcn.00484da0
mov dword [ebp - 0x5900], eax
push dword [ebp - 0x58fc]
lea eax, [ebp - 0x5048]
push eax
mov byte [ebp - 4], 1
call fcn.0047bb65
push dword [ebp - 0x5900]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x502c]
push eax
call fcn.0043006c
add esp, 0x18
push ebx
push 1
lea ecx, [ebp - 0x5048]
call fcn.0042e109
push ebx
push 1
lea ecx, [ebp - 0x5064]
call fcn.0042e109
push 3
lea ecx, [esi + 0x9c]
call fcn.00484a8b
lea ecx, [ebp - 0x50cc]
call fcn.00440121
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x50cc]
mov byte [ebp - 4], 6
call fcn.0042e374
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x502c]
push eax
lea ecx, [ebp - 0x50b0]
call fcn.0042e374
push 1
lea ecx, [ebp - 0x5924]
call fcn.0048232b
push 1
lea eax, [ebp - 0x50cc]
push eax
lea ecx, [ebp - 0x5924]
mov byte [ebp - 4], 7
call fcn.00482397
mov dword [ebp - 0x58fc], eax
cmp eax, 9
je 0x485073
cmp eax, 0xb
jne 0x4850ab
cmp dword [ebp - 0x5018], 8
mov eax, dword [ebp - 0x502c]
jae 0x485088
lea eax, [ebp - 0x502c]
push eax
call fcn.00484c04
pop ecx
test al, al
je 0x4850ab
mov edi, 0x4c6ed0
push edi
call fcn.00493091
pop ecx
push eax
push edi
lea ecx, [esi + 0x78]
call fcn.0042e40f
jmp 0x4850d7
cmp dword [edi + 0x14], 8
jb 0x4850b3
mov edi, dword [edi]
push dword [ebp - 0x58fc]
push edi
push str.Failed_download__s._Result:__d.
push str.kupdate::KAsynHttpRequestThread::_ThreadProc
push 0x9c
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateweb_asynhttprequest.cpp
push ebx
call fcn.0042f683
add esp, 0x1c
cmp dword [ebp - 0x5018], 8
mov eax, dword [ebp - 0x502c]
jae 0x4850ec
lea eax, [ebp - 0x502c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x5924]
mov byte [ebp - 4], 6
call fcn.00482499
lea ecx, [ebp - 0x50cc]
call fcn.0044044d
push ebx
push 1
lea ecx, [ebp - 0x502c]
mov byte [ebp - 4], bl
call fcn.0042e109
jmp 0x4851ec
lea edi, [esi + 0x40]
cmp dword [edi + 0x14], 8
jb 0x485130
mov eax, dword [edi]
jmp 0x485132
mov eax, edi
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea eax, [esi + 0x5c]
cmp dword [eax + 0x14], 8
jb 0x485144
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x48514c
mov edi, dword [edi]
lea ecx, [ebp - 0x5904]
push ecx
push 0x5000
lea ecx, [ebp - 0x5010]
push ecx
push ebx
push ebx
push eax
push edi
lea ecx, [ebp - 0x5914]
call fcn.00482411
mov dword [ebp - 0x58f8], eax
cmp eax, ebx
jne 0x4851ce
cmp dword [ebp - 0x5904], ebx
jbe 0x4851ce
lea eax, [ebp - 0x5010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x48519c
xor edi, edi
jmp 0x4851bb
lea eax, [edi + edi]
call fcn.00493700
mov eax, esp
push 0xfde9
push edi
lea ecx, [ebp - 0x5010]
push ecx
push eax
call fcn.00402852
mov edi, eax
push edi
call fcn.00493091
pop ecx
push eax
push edi
lea ecx, [esi + 0x78]
call fcn.0042e40f
jmp 0x4851ec
push eax
push str.Failed_PostData:_0x_08x.
push str.kupdate::KAsynHttpRequestThread::_ThreadProc
push 0x82
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateweb_asynhttprequest.cpp
push ebx
call fcn.0042f683
add esp, 0x18
cmp dword [esi + 4], ebx
je 0x48520c
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 8
jb 0x4851fc
mov eax, dword [eax]
mov esi, dword [esi + 4]
push dword [ebp - 0x58f8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5914]
call fcn.00482499
xor eax, eax
inc eax
lea esp, [ebp - 0x5934]
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.004927bf
leave
ret