Function at 0x408850
Capabilities:
Delete file
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424116
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x434014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0040fea0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x98]
push 0x42fddc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov dword [ebp - 0xb0], 0
add esp, 0xc
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov dword [ebp - 4], eax
mov ecx, esi
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
jb 0x4088fc
mov ecx, dword [esi]
push 4
push str..tmp
push ecx
mov edx, edi
call fcn.004073e0
add esp, 0xc
cmp eax, 0xffffffff
je 0x408aad
xor ecx, ecx
mov dword [ebp - 0xcc], 0
add eax, 4
mov word [ebp - 0xcc], cx
cmp edi, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov ecx, esi
cmovb eax, edi
cmp dword [esi + 0x14], 8
jb 0x408950
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00404100
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0xe4]
call fcn.004099e0
mov edi, eax
add esp, 4
lea eax, [ebp - 0xb0]
cmp eax, edi
je 0x408a0d
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x4089cc
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4089c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c98
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov dword [ebp - 0xa0], 0
xor eax, eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0xa0], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x408a4d
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c98
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov edx, dword [ebp - 0xb8]
xor eax, eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
cmp edx, 8
jb 0x408bdf
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408bd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c98
jmp 0x408bd5
mov eax, 0x7ffffffe
sub eax, edi
cmp eax, 4
jb 0x408c9d
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x408ac7
mov eax, dword [esi]
push 4
push str..tmp
push edi
push eax
push ecx
push dword [ebp - 0xe8]
lea ecx, [ebp - 0xcc]
call fcn.00409fe0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0xe4]
call fcn.004099e0
mov edi, eax
add esp, 4
lea eax, [ebp - 0xb0]
cmp eax, edi
je 0x408b92
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x408b51
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408b47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c98
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov dword [ebp - 0xa0], 0
xor eax, eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0xa0], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0xd0]
cmp edx, 8
jb 0x408a4d
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c98
jmp 0x408a43
push edx
push ecx
call fcn.0040e74a
add esp, 8
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
cmp dword [esi + 0x14], 8
jb 0x408bfb
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x408c31
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
push 4
cmovae eax, dword [ebp - 0xb0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 0xb1], 0
test eax, eax
je 0x408c38
mov byte [ebp - 0xb1], 1
mov edx, dword [ebp - 0x9c]
cmp edx, 8
jb 0x408c74
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408c6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408c98
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov al, byte [ebp - 0xb1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040e3a6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041260f
call fcn.00401590
int3