Function at 0x40b520
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2f00
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4f93d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmm3
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
movsd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x24], edi
mov ecx, dword [eax + 0xc4]
test ecx, ecx
jne 0x40b571
call fcn.0047acc4
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
call dword [eax + 8]
cmp edi, 0x7d1
jne 0x40b649
mov eax, dword [esi]
mov dword [eax + 0xc8], 0xa
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x3e
xor eax, eax
mov dword [ebp - 0x3c], 7
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
call fcn.00403170
push 0x10
push str.IST_CODE_START_r_n
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.00403390
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x40b5e7
mov esi, dword [esi]
movzx eax, word [ebp - 0x12]
push 0x9b
push str.CDownloadInstaller::Start::_lambda_24067508fd8a8421ced2421109ecf87a_::operator___
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0041a690
mov eax, dword [ebp - 0x3c]
add esp, 0x30
cmp eax, 8
jb 0x40b8c6
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.004017c0
jmp 0x40b8c6
cmp edi, 0x7d2
jne 0x40b6f9
mov eax, dword [esi]
mov dword [eax + 0xc8], 0xb
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x50]
call fcn.00403010
push 0x11
push str.DL_CODE_SUCCESS_r_n
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00403390
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x40b697
mov esi, dword [esi]
movzx eax, word [ebp - 0x12]
push 0xa0
push str.CDownloadInstaller::Start::_lambda_24067508fd8a8421ced2421109ecf87a_::operator___
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0041a690
mov eax, dword [ebp - 0x3c]
add esp, 0x30
cmp eax, 8
jb 0x40b8c6
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.004017c0
jmp 0x40b8c6
cmp edi, 0x7d3
jne 0x40b7de
mov eax, dword [esi]
mov dword [eax + 0xc8], 0xc
mov eax, dword [esi]
add eax, 0x54
cmp dword [eax + 0x14], 8
jb 0x40b71e
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
cmp dword [0x4fddd4], 0
je 0x40b746
cmp dword [0x4fddd8], 8
mov eax, 0x4fddc4
cmovae eax, dword [0x4fddc4]
push eax
call edi
mov eax, dword [esi]
add eax, 0x54
cmp eax, 0x4fddc4
je 0x40b761
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4fddc4
call fcn.00403270
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x50]
call fcn.00403010
push str.INSTALL_SUCCESS_r_n
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00402ef0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x40b795
mov esi, dword [esi]
movzx eax, word [ebp - 0x12]
push 0xab
push str.CDownloadInstaller::Start::_lambda_24067508fd8a8421ced2421109ecf87a_::operator___
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0041a690
lea ecx, [ebp - 0x50]
jmp 0x40b8be
cmp edi, 0x7d4
jne 0x40b8c6
mov eax, dword [esi]
mov dword [eax + 0xc8], 0xd
mov eax, dword [esi]
add eax, 0x54
cmp dword [eax + 0x14], 8
jb 0x40b803
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
cmp dword [0x4fddd4], 0
je 0x40b82b
cmp dword [0x4fddd8], 8
mov eax, 0x4fddc4
cmovae eax, dword [0x4fddc4]
push eax
call edi
mov eax, dword [esi]
add eax, 0x54
cmp eax, 0x4fddc4
je 0x40b846
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x4fddc4
call fcn.00403270
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push str._P_05d__T_05d___04d__02d__02d__02d:_02d:_02d._03d___s___04d_:
lea ecx, [ebp - 0x68]
call fcn.00403010
push str.IST_CODE_FAIL_r_n
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00402ef0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x40b87a
mov esi, dword [esi]
movzx eax, word [ebp - 0x26]
push 0xb7
push str.CDownloadInstaller::Start::_lambda_24067508fd8a8421ced2421109ecf87a_::operator___
push eax
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
call fcn.0041a690
lea ecx, [ebp - 0x68]
add esp, 0x30
call fcn.00401650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049120e
mov esp, ebp
pop ebp
ret 8