Function at 0x48de00
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52eed0
mov eax, dword fs:[0]
push eax
sub esp, 0x94
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
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [esi + 0x69c]
lea eax, [esi + 0x69c]
push ecx
push eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
je 0x48de68
mov eax, 2
jmp 0x48e28e
mov edx, dword [ebp - 0x98]
push 1
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push ebx
mov ecx, esi
call fcn.0048d370
push 0x104
lea eax, [esi + 0x14]
push edi
push eax
call fcn.004ba6e9
push 0x2d
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push ecx
call fcn.004ba010
add esp, 0x18
lea edi, [esi + 0x21c]
xor edx, edx
mov eax, edi
mov word [ebp - 0x48], dx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48dec0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.00402460
push 4
push str..dt_
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.00402340
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48df00
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402460
push 5
push str..cfg_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402340
push edi
call fcn.0041b230
add esp, 4
test al, al
je 0x48df70
lea ecx, [ebp - 0x64]
push edi
push ecx
call fcn.0044d200
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x9c], 1
jb 0x48df58
mov eax, dword [eax]
lea edx, [esi + 0x62c]
push edx
push eax
call fcn.004bb2ef
add esp, 8
test eax, eax
jne 0x48df70
mov bl, 1
jmp 0x48df72
xor bl, bl
test byte [ebp - 0x9c], 1
je 0x48df8d
cmp dword [ebp - 0x50], 8
jb 0x48df8d
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b9008
add esp, 4
test bl, bl
je 0x48dfff
mov ecx, dword [ebp - 0x98]
push 0
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x48dfad
push 1
push 2
call eax
mov esi, dword [esi + 0xc]
test esi, esi
je 0x48dfba
push 0
push 0xb
call esi
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x48dfd0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x48dff5
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
mov eax, 0xb
jmp 0x48e28e
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x48e00b
lea eax, [ebp - 0x48]
push eax
call fcn.0041b230
add esp, 4
mov ebx, 8
test al, al
je 0x48e0ad
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x48e02c
lea eax, [ebp - 0x2c]
push eax
call fcn.0041b230
add esp, 4
test al, al
je 0x48e0ad
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x48e044
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x94]
push edx
push eax
mov ecx, esi
call fcn.0048d430
test eax, eax
je 0x48e0ad
lea eax, [ebp - 0x94]
push eax
mov ecx, esi
call fcn.0048c030
push str.Start_resume.
push str.kupdate::KHttpDownload::StartDownload
push 0x262
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push 7
call fcn.0041a9b0
mov eax, dword [ebp - 0x48]
mov ecx, 1
add dword [esi + 0x68c], ecx
add esp, 0x14
mov dword [esi + 0x678], ecx
cmp dword [ebp - 0x34], ebx
jae 0x48e09f
lea eax, [ebp - 0x48]
push 0
push 0x80
push 3
push 0
push ecx
jmp 0x48e0ea
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call edi
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x48e0c1
lea eax, [ebp - 0x48]
push eax
call edi
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x48e0cf
lea eax, [ebp - 0x2c]
push eax
call edi
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x48e0dd
lea eax, [ebp - 0x48]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x48e194
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
test eax, eax
jle 0x48e118
and eax, 0xffff
or eax, 0x80070000
push eax
push str.Failed_CreateFile:_0x_08x.
push str.kupdate::KHttpDownload::StartDownload
push 0x274
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcwebhttpdownload.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
call edi
mov esi, dword [esi + 0xc]
test esi, esi
je 0x48e145
push eax
push 1
call esi
mov ecx, dword [ebp - 0x98]
push 0
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp dword [ebp - 0x18], ebx
jb 0x48e165
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x48e18a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
mov eax, 1
jmp 0x48e28e
push 0x1c
call fcn.004b9d21
mov edi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov edx, dword [esi + 0x10]
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x688]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x684]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0x674]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x670]
sub eax, dword [esi + 0x674]
add esp, 4
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], esi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ebx, dword [ebp + 0x10]
mov dword [0x59504c], eax
test ebx, ebx
je 0x48e20c
mov ecx, dword [esi + 4]
push ecx
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
lea edx, [ebp - 0xa0]
push edx
push 0
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0x48ce20
push 0
push 0
mov dword [ebp - 0xa0], 0
call edi
mov dword [esi + 0x67c], eax
lea eax, [ebp - 0xa0]
push eax
push 4
push esi
push 0x48ddb0
push 0
push 0
call edi
mov dword [esi + 0x680], eax
test ebx, ebx
je 0x48e279
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov esi, dword [esi + 8]
lea ecx, [ebp - 0x2c]
call fcn.0051c7a0
lea ecx, [ebp - 0x48]
call fcn.0051c7a0
mov eax, esi
jmp 0x48e28e
lea ecx, [ebp - 0x2c]
call fcn.0051c7a0
lea ecx, [ebp - 0x48]
call fcn.0051c7a0
mov eax, 9
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 0xc