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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fffb
mov eax, dword fs:[0]
push eax
mov eax, 0x1091c
call fcn.004bab30
mov eax, dword [0x590cc0]
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
push 0xffff
xor ebx, ebx
lea eax, [ebp - 0x1000f]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x10010], 0
call fcn.004ba010
add esp, 0xc
push ebx
lea ecx, [ebp - 0x10918]
mov dword [ebp - 0x10904], ebx
call fcn.0044f7c0
push 0x828
lea ecx, [ebp - 0x108fc]
push ebx
push ecx
mov dword [ebp - 4], ebx
call fcn.004ba010
add esp, 0xc
test byte [0x594518], 1
mov dword [ebp - 0x108fc], 0xffffffff
jne 0x49e774
or dword [0x594518], 1
mov ecx, 0x593b50
mov byte [ebp - 4], 1
call fcn.004112c0
push 0x5349a0
call fcn.004b9fdc
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [0x593b50]
mov ecx, dword [eax + 0x78]
lea edx, [ebp - 0x108fc]
push edx
push 0x593b50
call ecx
lea edx, [ebp - 0x108fc]
push edx
lea ecx, [ebp - 0x10918]
call fcn.0044f7e0
mov eax, dword [esi + 0xd4]
sub eax, ebx
mov dword [ebp - 0x10900], ebx
je 0x49ea2f
dec eax
je 0x49e7e9
dec eax
jne 0x49eb7a
cmp dword [esi + 0x54], 8
lea eax, [esi + 0x40]
jb 0x49e7c5
mov eax, dword [eax]
push eax
call fcn.00408170
mov ecx, eax
call fcn.0049e630
test eax, eax
jne 0x49eb7a
mov dword [ebp - 0x10900], 1
jmp 0x49eb7a
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b7ad5
add esp, 4
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
cmp dword [esi + 0x54], 8
lea edi, [esi + 0x40]
jb 0x49e826
mov eax, dword [edi]
jmp 0x49e828
mov eax, edi
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea eax, [ebp - 0x10064]
push eax
call fcn.0049e470
mov dword [ebp - 0x10908], eax
lea ecx, [ebp - 0x10048]
push ebx
push ecx
mov byte [ebp - 4], 3
call fcn.0041bc70
mov edx, dword [ebp - 0x10908]
push edx
push eax
lea eax, [ebp - 0x1002c]
push eax
mov byte [ebp - 4], 4
call fcn.00402bf0
add esp, 0x18
cmp dword [ebp - 0x10034], 8
jb 0x49e885
mov ecx, dword [ebp - 0x10048]
push ecx
call fcn.004b9008
add esp, 4
mov ebx, 7
xor edx, edx
mov dword [ebp - 0x10034], ebx
mov dword [ebp - 0x10038], 0
mov word [ebp - 0x10048], dx
cmp dword [ebp - 0x10050], 8
jb 0x49e8bb
mov eax, dword [ebp - 0x10064]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x10050], ebx
mov dword [ebp - 0x10054], 0
mov word [ebp - 0x10064], cx
mov dword [esi + 0xe4], 3
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea ecx, [ebp - 0x100d4]
mov dword [esi + 0xe0], eax
call fcn.00421160
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x100d4]
mov byte [ebp - 4], 8
call fcn.00402240
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x1002c]
push edx
lea ecx, [ebp - 0x100b8]
call fcn.00402240
mov eax, dword [esi + 0xcc]
push 1
lea ecx, [ebp - 0x10928]
mov dword [ebp - 0x10068], eax
call fcn.0044f7c0
lea ecx, [ebp - 0x100d4]
push ecx
lea ecx, [ebp - 0x10928]
mov byte [ebp - 4], 9
call fcn.0044fc80
mov ebx, eax
cmp ebx, 9
je 0x49e95a
cmp ebx, 0xb
jne 0x49e990
cmp dword [ebp - 0x10018], 8
mov eax, dword [ebp - 0x1002c]
jae 0x49e96f
lea eax, [ebp - 0x1002c]
push eax
call fcn.0049e2a0
add esp, 4
test al, al
je 0x49e990
push 2
push 0x54e0f4
lea ecx, [esi + 0xb0]
call fcn.00402460
jmp 0x49e9b8
cmp dword [edi + 0x14], 8
jb 0x49e998
mov edi, dword [edi]
push ebx
push edi
push str.Failed_download__s._Result:__d.
push str.kupdate::KAsynHttpRequestThread::_ThreadProc
push 0xba
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcweb_asynhttprequest.cpp
push 0
call fcn.0041a9b0
add esp, 0x1c
mov eax, dword [ebp - 0x1002c]
mov edi, 8
cmp dword [ebp - 0x10018], edi
jae 0x49e9d1
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x10928]
mov byte [ebp - 4], 8
call fcn.0044f9f0
lea ecx, [ebp - 0x100d4]
call fcn.004216d0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x10018], edi
jb 0x49ea0d
mov edx, dword [ebp - 0x1002c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x10018], 7
mov dword [ebp - 0x1001c], 0
mov word [ebp - 0x1002c], ax
jmp 0x49eb7a
lea eax, [esi + 0x40]
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x49ea3e
mov eax, dword [eax]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp dword [esi + 0x88], 0
je 0x49ea5e
cmp dword [esi + 0x8c], edi
jb 0x49ea5b
mov ebx, dword [esi + 0x78]
jmp 0x49ea5e
lea ebx, [esi + 0x78]
lea ecx, [esi + 0x94]
push ecx
lea edx, [ebp - 0x1002c]
push edx
call fcn.0049e550
add esp, 8
mov edi, dword [ebp - 0x1001c]
xor ecx, ecx
mov byte [ebp - 4], 2
test edi, edi
jle 0x49ea99
cmp dword [ebp - 0x10018], 0x10
mov ecx, dword [ebp - 0x1002c]
jae 0x49ea99
lea ecx, [ebp - 0x1002c]
cmp dword [esi + 0x70], 8
jb 0x49eaa4
mov edx, dword [esi + 0x5c]
jmp 0x49eaa7
lea edx, [esi + 0x5c]
cmp dword [esi + 0x54], 8
lea eax, [esi + 0x40]
jb 0x49eab2
mov eax, dword [eax]
push ebx
lea ebx, [ebp - 0x10904]
push ebx
push 0x10000
lea ebx, [ebp - 0x10010]
push ebx
push edi
push ecx
push edx
push eax
lea ecx, [ebp - 0x10918]
call fcn.0044f870
mov dword [ebp - 0x10900], eax
test eax, eax
jne 0x49eb3f
cmp dword [ebp - 0x10904], eax
jbe 0x49eb3f
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x49eaff
xor eax, eax
jmp 0x49eb1c
lea eax, [edi + edi]
call fcn.004bb0f0
mov eax, esp
push 0xfde9
push edi
lea ecx, [ebp - 0x10010]
push ecx
push eax
call fcn.004095f0
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x49eb21
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0xb0]
call fcn.00402460
jmp 0x49eb5e
push eax
push str.Failed_PostData:_0x_08x.
push str.kupdate::KAsynHttpRequestThread::_ThreadProc
push 0x9f
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcweb_asynhttprequest.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
cmp dword [ebp - 0x10018], 0x10
mov byte [ebp - 4], 0
jb 0x49eb7a
mov edx, dword [ebp - 0x1002c]
push edx
call fcn.004b9008
add esp, 4
cmp dword [esi + 4], 0
je 0x49eb9e
cmp dword [esi + 0x38], 8
lea eax, [esi + 0x24]
jb 0x49eb8b
mov eax, dword [eax]
mov esi, dword [esi + 4]
mov ecx, dword [ebp - 0x10900]
mov edx, dword [esi]
mov edx, dword [edx]
push ecx
push eax
mov ecx, esi
call edx
lea ecx, [ebp - 0x10918]
mov dword [ebp - 4], 0xffffffff
call fcn.0044f9f0
mov eax, 1
lea esp, [ebp - 0x10938]
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.004b9ff3
mov esp, ebp
pop ebp
ret