Function at 0x45f7f0
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b333
mov eax, dword fs:[0]
push eax
sub esp, 0x90c
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
lea eax, [ebp - 0xb8]
mov edi, ecx
push 0x1e
xor esi, esi
push eax
mov dword [ebp - 0x908], edi
mov dword [ebp - 0x900], esi
call fcn.0041d2b0
lea ecx, [ebp - 0x48]
push 0x1c
push ecx
mov dword [ebp - 4], esi
call fcn.0041d2b0
add esp, 0x10
lea edx, [ebp - 0x80]
push edx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0045f150
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0045ecf0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x54], esi
jne 0x45f99c
push str.Failed_get_send_info_url.
push str.kupdate::KSendInfoThread::_ThreadProc
push 0x44
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcinfocollectSendInfoToSvr.cpp
push esi
call fcn.0041a9b0
add esp, 0x14
test byte [0x593b48], 1
jne 0x45f8c1
or dword [0x593b48], 1
mov ecx, 0x593b1c
mov byte [ebp - 4], 4
call fcn.00408fd0
push 0x534990
call fcn.004b9fdc
add esp, 4
mov byte [ebp - 4], 3
push str.from
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x593b1c
call fcn.00408870
mov edx, dword [eax + 0x10]
push 5
push str.setup
push edx
push esi
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004010d0
test eax, eax
mov esi, 8
sete bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], esi
jb 0x45f90a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9008
add esp, 4
test bl, bl
je 0x45f920
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xb8]
push edx
mov ecx, edi
call fcn.0045eba0
cmp dword [ebp - 0x50], esi
jb 0x45f931
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b9008
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x6c], esi
jb 0x45f955
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x34], esi
jb 0x45f972
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0xa4], esi
jb 0x45f995
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004b9008
add esp, 4
xor eax, eax
jmp 0x45fe57
push esi
lea ecx, [ebp - 0x918]
call fcn.0044f7c0
push 0x828
lea ecx, [ebp - 0x8fc]
push esi
mov bl, 6
push ecx
mov byte [ebp - 4], bl
call fcn.004ba010
add esp, 0xc
test byte [0x594518], 1
mov dword [ebp - 0x8fc], 0xffffffff
jne 0x45f9fa
or dword [0x594518], 1
mov ecx, 0x593b50
mov byte [ebp - 4], 7
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 - 0x8fc]
push edx
push 0x593b50
call ecx
lea edx, [ebp - 0x8fc]
push edx
lea ecx, [ebp - 0x918]
call fcn.0044f7e0
test byte [0x593b48], 1
jne 0x45fa50
or dword [0x593b48], 1
mov ecx, 0x593b1c
mov byte [ebp - 4], 8
call fcn.00408fd0
push 0x534990
call fcn.004b9fdc
add esp, 4
mov byte [ebp - 4], bl
push str.from
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x593b1c
call fcn.00408870
mov ecx, dword [ebp - 0x8c]
push 5
push str.setup
push ecx
push esi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call fcn.004010d0
test eax, eax
je 0x45fb52
push str.Send_saved_info.
push str.kupdate::KSendInfoThread::_ThreadProc
push 0x54
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcinfocollectSendInfoToSvr.cpp
push 7
call fcn.0041a9b0
add esp, 0x14
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.0045f590
mov byte [ebp - 4], 0xa
mov ebx, 8
cmp dword [ebp - 0x1c], esi
je 0x45fb3b
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x45fad2
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x45fadd
lea eax, [ebp - 0x64]
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
lea ecx, [ebp - 0x918]
call fcn.0044f870
cmp eax, esi
jl 0x45fb20
lea ecx, [ebp - 0xd4]
push 0x1e
push ecx
call fcn.0041d2b0
add esp, 8
cmp dword [eax + 0x14], ebx
jb 0x45fb0c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0xd4]
call fcn.0051c7a0
jmp 0x45fb3b
push eax
push str.Failed_send_saved_sendinfo:_0x_08x.
push str.kupdate::KSendInfoThread::_ThreadProc
push 0x5d
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcinfocollectSendInfoToSvr.cpp
push esi
call fcn.0041a9b0
add esp, 0x18
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], ebx
jb 0x45fb57
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
jmp 0x45fb57
mov ebx, 8
xor eax, eax
mov dword [ebp - 0x904], eax
cmp byte [edi + 4], al
je 0x45fbff
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x45fb73
lea edx, [ebp - 0x48]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
lea edi, [eax + 2]
jmp 0x45fb90
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45fb90
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402460
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x900], 1
jae 0x45fbbf
lea eax, [ebp - 0x2c]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45fbfd
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
test edi, edi
je 0x45fbf5
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x45fbff
mov bl, 1
jmp 0x45fc01
xor esi, esi
xor bl, bl
test byte [ebp - 0x900], 1
je 0x45fc1c
cmp dword [ebp - 0x18], 8
jb 0x45fc1c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9008
add esp, 4
test bl, bl
je 0x45fcd0
push esi
call fcn.004b7ad5
mov edi, eax
add esp, 4
test edi, edi
je 0x45fc49
push esi
push 0
push edi
call fcn.004ba010
add esp, 0xc
mov ebx, edi
mov dword [ebp - 0x904], edi
jmp 0x45fc51
xor ebx, ebx
mov dword [ebp - 0x904], ebx
push esi
push str.ueic.cfg_file_size:__d.
push str.kupdate::KSendInfoThread::_ThreadProc
push 0x68
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcinfocollectSendInfoToSvr.cpp
push 9
call fcn.0041a9b0
mov edx, dword [ebp - 0x48]
add esp, 0x18
cmp dword [ebp - 0x34], 8
jae 0x45fc79
lea edx, [ebp - 0x48]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45fc92
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402460
push esi
push ebx
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x908]
call fcn.0045eb10
cmp dword [ebp - 0x18], 8
mov esi, eax
jb 0x45fcd0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
mov ecx, dword [ebp - 0x80]
mov eax, 8
xor ebx, ebx
cmp dword [ebp - 0x6c], eax
jae 0x45fce2
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
jae 0x45fced
lea eax, [ebp - 0x64]
mov edi, dword [ebp - 0x904]
push ebx
push ebx
push ebx
push ebx
push esi
push edi
push ecx
push eax
lea ecx, [ebp - 0x918]
call fcn.0044f870
mov esi, eax
cmp edi, ebx
je 0x45fd15
push edi
call fcn.004b9ded
add esp, 4
cmp esi, ebx
jl 0x45fd3e
mov eax, dword [ebp - 0x908]
cmp byte [eax + 4], 0
mov edi, 8
je 0x45fd5e
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x45fd35
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x45fd5e
push esi
push str.Failed_send_ueic_info:_0x_08x.
push str.kupdate::KSendInfoThread::_ThreadProc
push 0x78
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcinfocollectSendInfoToSvr.cpp
push ebx
call fcn.0041a9b0
add esp, 0x18
mov edi, 8
cmp esi, ebx
jge 0x45fd96
mov ecx, dword [ebp - 0x8c]
push 5
push str.setup
push ecx
push ebx
lea ecx, [ebp - 0x9c]
call fcn.004010d0
test eax, eax
jne 0x45fd96
mov ecx, dword [ebp - 0x908]
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.0045eba0
xor ecx, ecx
cmp esi, ebx
setge cl
mov dword [ebp - 0x900], ecx
cmp dword [ebp - 0x88], edi
jb 0x45fdba
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov esi, 7
lea ecx, [ebp - 0x918]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 3
call fcn.0044f9f0
cmp dword [ebp - 0x50], edi
jb 0x45fdf4
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x6c], edi
jb 0x45fe11
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x34], edi
jb 0x45fe2e
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0xa4], edi
jb 0x45fe51
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0x900]
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