Function at 0x404410
Capabilities:
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a98e
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x47a2f4]
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 edx, dword [ebx + 0x28]
mov eax, 0x3e0f83e1
sub edx, dword [ebx + 0x24]
imul edx
mov dword [ebp - 0xd8], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x404835
xor edi, edi
mov dword [ebp - 0xd4], edi
nop
lea eax, [ebp - 0xd0]
push eax
call fcn.004041f0
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x24]
add ecx, edi
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.00408c60
add esp, 4
push str..bak
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00408c60
add esp, 4
mov edi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.004041f0
mov esi, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebp - 0xd4]
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00408c60
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x4044ec
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x4044f4
mov eax, dword [eax]
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x404538
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40452e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404851
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40458a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404580
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404851
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x4045dc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4045d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404851
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x40462d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404623
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404851
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x404688
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40467e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404851
push edx
push ecx
call fcn.0043feb1
add esp, 8
lea eax, [ebp - 0xb8]
push eax
call fcn.004041f0
mov esi, eax
mov edi, dword [ebp - 0xd4]
mov dword [ebp - 4], 4
mov ecx, dword [ebx + 0x24]
add ecx, edi
call fcn.0040de91
push eax
mov edx, esi
lea ecx, [ebp - 0xa0]
call fcn.00408c60
add esp, 4
push str..bak
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00408c60
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4046df
mov eax, dword [eax]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x404725
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40471b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404851
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x404780
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404776
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404851
push edx
push ecx
call fcn.0043feb1
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x4047e0
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4047d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404851
push edx
push ecx
call fcn.0043feb1
add esp, 8
mov ecx, dword [ebx + 0x28]
xor eax, eax
sub ecx, dword [ebx + 0x24]
add edi, 0x84
mov esi, dword [ebp - 0xd8]
mov word [ebp - 0xb8], ax
inc esi
mov eax, 0x3e0f83e1
mov dword [ebp - 0xa8], 0
imul ecx
mov dword [ebp - 0xa4], 7
sar edx, 5
mov eax, edx
mov dword [ebp - 0xd8], esi
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xd4], edi
cmp esi, eax
jb 0x404470
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.0043fe70
mov esp, ebp
pop ebp
ret
call fcn.00444fd9
int3