Function at 0x415fc0
Capabilities:
Check if file exists
Delete directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4555eb
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x48f008]
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, ecx
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], eax
test edi, edi
jne 0x416013
lea esi, [ecx + 0x57]
jmp 0x41678e
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
test eax, eax
jne 0x416025
lea esi, [eax + 2]
jmp 0x416092
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00415e20
mov esi, eax
test esi, esi
je 0x416100
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x416092
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416088
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
cmp dword [ebp - 0x60], 0
je 0x4160c3
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x70]
cmp eax, 8
jb 0x4160aa
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x4160c9
push ecx
call ebx
test eax, eax
je 0x4160c3
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x41678e
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416784
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167ac
jmp 0x416784
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
xor eax, eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.0041c850
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 2
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x38]
push eax
lea eax, [ebp - 0xa0]
push str._0.4d_0.2d_0.2d__0.2d_0.2d_0.2d__0.3d
push eax
call fcn.00416a80
add esp, 0x24
test al, al
je 0x416750
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0x88]
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x70]
push eax
call fcn.00405e40
add esp, 4
test al, al
je 0x4166cf
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x4161f2
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4161e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b6
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x70]
cmp edx, 8
jb 0x416204
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x416215
push eax
call ebx
test eax, eax
jne 0x416106
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x70]
cmp edx, 8
lea ecx, [ebp - 0x70]
cmovae ecx, eax
call fcn.00415510
mov esi, eax
test esi, esi
jne 0x416055
mov ecx, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416240
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b340
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0
jne 0x4162bb
mov edx, dword [ebp - 0x14]
mov esi, 0x7a
cmp edx, 8
jb 0x4162a2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416298
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x416055
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00416b00
test al, al
jne 0x41637c
mov edx, dword [ebp - 0x2c]
mov esi, 0x7a
cmp edx, 8
jb 0x416325
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41631b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4162a2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416359
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x416055
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405f10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x48], 0
jne 0x41647a
mov edx, dword [ebp - 0x44]
mov esi, 0x7a
cmp edx, 8
jb 0x4163d5
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4163cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x416423
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416419
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4162a2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416457
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x416055
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x40]
sub esp, 0xc
call fcn.00416bc0
add esp, 0xc
test al, al
jne 0x41657f
mov edx, dword [ebp - 0x44]
mov esi, 0x7a
cmp edx, 8
jb 0x4164da
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4164d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x416528
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41651e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4162a2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41655c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x416055
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4165a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4165b5
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov edx, 2
cmovae ecx, dword [ebp - 0x70]
call fcn.004158a0
mov edx, dword [ebp - 0x44]
mov esi, eax
cmp edx, 8
jb 0x4165f1
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4165e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
cmp edx, 8
jb 0x41663b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416631
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x416675
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41666b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
cmp edx, 8
jb 0x4166c2
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4166b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
push edx
push ecx
call fcn.0043fc69
add esp, 8
test esi, esi
je 0x4160c3
jmp 0x416092
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x41670f
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416705
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b6
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov edx, dword [ebp - 0x74]
mov esi, 0x7a
cmp edx, 8
jb 0x416092
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416088
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b1
jmp 0x416088
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x41670f
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416705
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4167b6
jmp 0x416705
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov eax, esi
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.0043fc58
mov esp, ebp
pop ebp
ret
call fcn.0044316c
call fcn.0044316c
call fcn.0044316c
int3