Function at 0x471e40
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66bee8
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x718924]
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
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x69c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx]
mov dword [ebp - 0xb0], 0
xchg dword [ecx], eax
test eax, eax
je 0x471e9e
mov eax, 2
jmp 0x472493
xor eax, eax
mov dword [ebp - 0x48], 0
lea ebx, [edi + 0x21c]
mov dword [ebp - 0x44], 7
push ebx
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], ax
call fcn.00472510
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.004af4d0
mov edx, dword [ebp - 0x44]
add esp, 4
mov byte [ebp - 0xa1], al
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x471f21
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x471f11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724b1
push edx
push ecx
call fcn.004cb4db
mov al, byte [ebp - 0xa1]
add esp, 8
test al, al
je 0x471f4e
push ebx
push str._s_inBlackDownloadDir__download_fail
push str.kupdate::KHttpDownload::StartDownload
push 0x293
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push 0
call fcn.0048ffd0
add esp, 0x18
mov eax, 0xe
jmp 0x472493
mov eax, 1
lea ecx, [edi + 0x69c]
xchg dword [ecx], eax
push 0
push 0x67cd5c
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoDownloadMethod
call fcn.00468860
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x471f79
mov eax, dword [esi]
push eax
lea eax, [edi + 0x424]
push 0x104
push eax
call fcn.004f2eab
lea eax, [esi + 0x30]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x471f99
mov eax, dword [eax]
push eax
push 0x104
push ebx
call fcn.004f2eab
mov eax, dword [esi + 0x5c]
lea ebx, [esi + 0x4c]
mov ecx, 0x20
add esp, 0xc
cmp eax, ecx
cmova eax, ecx
add eax, eax
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0xb8], eax
jb 0x471fc8
mov ebx, dword [ebx]
lea ecx, [edi + 0x62c]
test eax, eax
je 0x472030
test ecx, ecx
jne 0x471fe3
call fcn.004e6683
mov dword [eax], 0x16
jmp 0x47202b
test ebx, ebx
je 0x471ff9
cmp eax, 0x42
ja 0x471ff9
push eax
push ebx
push ecx
call fcn.004e25c0
add esp, 0xc
jmp 0x472030
push 0x42
push 0
push ecx
call fcn.004e30c0
add esp, 0xc
test ebx, ebx
jne 0x472017
call fcn.004e6683
mov dword [eax], 0x16
jmp 0x47202b
cmp dword [ebp - 0xb8], 0x42
jbe 0x472030
call fcn.004e6683
mov dword [eax], 0x22
call fcn.004e6579
mov eax, dword [esi + 0x6c]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x684], eax
mov eax, dword [esi + 0x74]
mov dword [edi + 0x688], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x694], eax
mov eax, dword [esi + 0x64]
push 0x103
push dword [ebp - 0xa8]
mov dword [edi + 0x690], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x6a4], eax
lea eax, [edi + 0x14]
push 0x104
push eax
call fcn.004e7058
push 0x2d
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.004e30c0
add esp, 0x1c
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
lea ebx, [edi + 0x21c]
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x40]
push ebx
call fcn.00472510
push 4
push str..dt_
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.0044e7a0
xor eax, eax
mov dword [ebp - 0x18], 0
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00472510
push 5
push str..cfg_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0044e7a0
push ebx
call fcn.00463740
add esp, 4
test al, al
je 0x472142
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.0048ede0
add esp, 8
mov dword [ebp - 0xb0], 1
cmp dword [eax + 0x14], 8
jb 0x472127
mov eax, dword [eax]
lea ecx, [edi + 0x62c]
push ecx
push eax
call fcn.004e70a0
add esp, 8
mov byte [ebp - 0xa1], 1
test eax, eax
je 0x472149
mov byte [ebp - 0xa1], 0
test byte [ebp - 0xb0], 1
je 0x47215d
lea ecx, [ebp - 0xa0]
call fcn.00448fb0
cmp byte [ebp - 0xa1], 0
je 0x472194
xor eax, eax
lea ecx, [edi + 0x69c]
xchg dword [ecx], eax
mov esi, dword [edi + 0xc]
test esi, esi
je 0x47218a
push 1
push 2
call esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x47218a
push 0
push 0xb
call esi
mov esi, 0xb
jmp 0x472411
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00463740
add esp, 4
test al, al
je 0x472295
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00463740
add esp, 4
test al, al
je 0x472295
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.00471860
test eax, eax
je 0x472295
mov eax, dword [ebp - 0x68]
fild dword [ebp - 0x68]
test eax, eax
jns 0x4721fe
fadd qword [0x67d048]
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [0x67d040]
mov eax, dword [ebp - 0x64]
fild dword [ebp - 0x64]
test eax, eax
jns 0x472220
fadd qword [0x67d048]
fstp qword [ebp - 0xac]
fdiv qword [ebp - 0xac]
call fcn.004cbd50
mov dword [edi + 0x698], eax
mov eax, dword [ebp - 0x68]
push str.Start_resume.
mov dword [edi + 0x674], eax
mov eax, dword [ebp - 0x64]
push str.kupdate::KHttpDownload::StartDownload
mov dword [edi + 0x670], eax
mov eax, dword [ebp - 0x60]
push 0x2ad
mov dword [edi + 0x68c], eax
movzx eax, byte [ebp - 0x5c]
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push 7
mov dword [edi + 0x678], eax
call fcn.0048ffd0
add esp, 0x14
mov dword [edi + 0x678], 1
inc dword [edi + 0x68c]
push 0
push 0x80
push 3
jmp 0x4722c3
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
push 0
push 0x80
push 2
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x10], eax
cmp eax, 0xffffffff
jne 0x47233b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jle 0x4722fa
movzx eax, ax
or eax, 0x80070000
push eax
push str.Failed_CreateFile:_0x_08x.
push str.kupdate::KHttpDownload::StartDownload
push 0x2bf
push str.H:pub_9aqe_rc_2404Coding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push 0
call fcn.0048ffd0
add esp, 0x18
call esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x472327
push eax
push 1
call ecx
xor eax, eax
lea ecx, [edi + 0x69c]
xchg dword [ecx], eax
mov esi, 1
jmp 0x472411
push 0x1c
call fcn.004cb4ab
mov esi, eax
add esp, 4
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x688]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x684]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x674]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x670]
sub eax, dword [edi + 0x674]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebp + 0x10]
mov dword [0x720a58], eax
test ebx, ebx
je 0x4723b2
push dword [edi + 4]
mov dword [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
push eax
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x4705c0
push 0
push 0
call esi
mov dword [edi + 0x67c], eax
lea eax, [ebp - 0xb4]
push eax
push 4
push edi
push 0x4724c0
push 0
push 0
call esi
mov dword [edi + 0x680], eax
test ebx, ebx
je 0x47240c
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [edi + 8]
jmp 0x472411
mov esi, 9
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x472447
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47243d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724b6
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x472491
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x472487
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4724b6
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov eax, esi
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.004cb998
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e6589
call fcn.004e6589
int3