Function at 0x416150
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e8b1
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x5a800c]
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 ebx, ecx
mov dword [ebp - 0x868], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 4]
mov dword [ebp - 0x86c], eax
call fcn.00402520
mov dword [ebp - 0x85c], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x4161b0
mov eax, dword [eax]
lea edx, [ebp - 0x85c]
mov ecx, eax
call fcn.00402890
cmp dword [ebx], 0
jne 0x416527
push 4
call fcn.0055953d
mov ebx, eax
mov dword [ebp - 0x85c], ebx
mov dword [ebp - 4], 0
push 0x220
mov dword [ebx], 0
call fcn.0055953d
mov edi, eax
add esp, 8
mov dword [ebp - 0x874], edi
mov byte [ebp - 4], 1
lea ecx, [edi + 4]
call fcn.00415090
mov byte [ebp - 4], 2
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov byte [ebp - 4], 3
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0xb0]
call fcn.0049a750
mov byte [ebp - 4], 5
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
push 0x20
call fcn.0055953d
mov esi, eax
mov dword [ebp - 0x860], esi
mov byte [ebp - 4], 6
push 0x18
call fcn.0055953d
add esp, 0x10
mov dword [esi], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 7
lea ecx, [esi + 4]
call fcn.00402410
mov byte [ebp - 4], 5
mov dword [edi + 0xc0], esi
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 9
lea ecx, [edi + 0xcc]
call fcn.00402410
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0xe4]
call fcn.00402410
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x100]
call fcn.00443ac0
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x1ec]
call fcn.00402410
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x204]
call fcn.00402410
mov byte [ebp - 4], 0xe
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov byte [edi], 0
mov word [edi + 0x1e8], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov byte [ebp - 4], 0
mov dword [ebx], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
mov esi, dword [ebp - 0x868]
mov dword [esi], ebx
call fcn.00408b10
mov dword [ebp - 4], 0xf
mov ecx, eax
call fcn.00404c90
lea ecx, [ebp - 0x858]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x864]
call fcn.00404a40
lea ecx, [ebp - 0x864]
call fcn.00408b10
mov byte [ebp - 4], 0x12
mov ecx, eax
call fcn.00404c90
lea ecx, [ebp - 0x88c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov byte [ebp - 4], 0x13
mov edx, eax
push str..CheckVersion.data
lea ecx, [ebp - 0x840]
call fcn.00416f40
add esp, 4
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x88c]
call fcn.00402400
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x864]
call fcn.00404a40
lea eax, [ebp - 0x840]
push eax
lea edx, [ebp - 0x858]
lea ecx, [ebp - 0x828]
call fcn.0041eea0
add esp, 4
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x828]
call fcn.0041aa00
test al, al
je 0x41647b
lea ecx, [ebp - 0x828]
call fcn.0042c740
test al, al
jne 0x41647b
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x828]
call fcn.004023c0
push eax
lea eax, [ebp - 0x810]
push str._s.bak_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.004023c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x41647b
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x828]
call fcn.00402400
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x840]
call fcn.00402400
push str.download
lea ecx, [ebp - 0x840]
call fcn.00404ba0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x840]
push eax
lea edx, [ebp - 0x858]
lea ecx, [ebp - 0x828]
call fcn.0041eea0
add esp, 4
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x840]
call fcn.00402400
lea ecx, [ebp - 0x828]
call fcn.0041aaf0
test al, al
je 0x4164f1
lea ecx, [ebp - 0x828]
call fcn.0042c8a0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x828]
call fcn.00402400
push ecx
push dword [ebp - 0x86c]
mov ecx, dword [esi]
lea eax, [ebp - 0x858]
push eax
call fcn.00443b80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x858]
call fcn.00402400
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.0055929f
mov esp, ebp
pop ebp
ret 8