Function at 0x417610
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2418
call fcn.00424090
push 0x434c34
push 0x434c44
call fcn.00421fe0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x417698
push 0x434c50
mov eax, dword [ebp + 8]
push eax
call fcn.004257b5
add esp, 8
mov dword [ebp - 0x2414], eax
cmp dword [ebp - 0x2414], 0
je 0x41767c
mov ecx, dword [ebp - 0x2414]
push ecx
call fcn.004256aa
add esp, 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x21
mov ecx, 0x46e9a8
call fcn.00421660
push eax
mov ecx, 0x46e970
call fcn.0041f650
jmp 0x41791d
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x2410], eax
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x4176c0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4176c5
jmp 0x41791d
push 0x434c54
mov edx, dword [ebp + 0xc]
push edx
call fcn.004257b5
add esp, 8
mov dword [ebp - 0x2408], eax
cmp dword [ebp - 0x2408], 0
jne 0x4176ea
jmp 0x41791d
push 0x434c58
mov eax, dword [ebp + 8]
push eax
call fcn.004257b5
add esp, 8
mov dword [ebp - 0x2404], eax
cmp dword [ebp - 0x2404], 0
jne 0x41770f
jmp 0x41791d
mov dword [ebp - 0x240c], 0
mov byte [ebp - 0x2400], 0
mov byte [ebp - 0x400], 0
mov ecx, dword [ebp - 0x2408]
mov edx, dword [ecx + 0xc]
and edx, 0x10
jne 0x417884
cmp dword [ebp - 0x240c], 0
jne 0x417884
mov eax, dword [ebp - 0x2408]
push eax
push 0x1000
lea ecx, [ebp - 0x1400]
push ecx
call fcn.00425905
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x240c], eax
je 0x417773
jmp 0x417884
push 0x27
push 0x14
mov ecx, 0x46e9a8
call fcn.00421660
push eax
lea edx, [ebp - 0x1400]
push edx
call fcn.00425f00
add esp, 0xc
test eax, eax
jne 0x41781d
lea eax, [ebp - 0x1400]
push eax
lea ecx, [ebp - 0x2400]
push ecx
call fcn.00423c20
add esp, 8
lea edx, [ebp - 0x1400]
push edx
call fcn.00423b90
add esp, 4
mov dword [ebp - 0x2418], eax
jmp 0x4177d5
mov eax, dword [ebp - 0x2418]
sub eax, 1
mov dword [ebp - 0x2418], eax
cmp dword [ebp - 0x2418], 0
jle 0x417803
mov ecx, dword [ebp - 0x2418]
movsx edx, byte [ebp + ecx - 0x1400]
cmp edx, 0x29
jne 0x417801
mov eax, dword [ebp - 0x2418]
mov byte [ebp + eax - 0x1401], 0
jmp 0x417803
jmp 0x4177c6
mov ecx, dword [ebp + 0x14]
push ecx
push str._s____n
lea edx, [ebp - 0x13d9]
push edx
call fcn.00423db8
add esp, 0xc
jmp 0x417869
push 0x22
push 0x25
mov ecx, 0x46e9a8
call fcn.00421660
push eax
lea eax, [ebp - 0x1400]
push eax
call fcn.00425f00
add esp, 0xc
test eax, eax
jne 0x417869
push str.1___n
lea ecx, [ebp - 0x13de]
push ecx
call fcn.00423c20
add esp, 8
lea edx, [ebp - 0x1400]
push edx
lea eax, [ebp - 0x400]
push eax
call fcn.00423c20
add esp, 8
mov ecx, dword [ebp - 0x2404]
push ecx
lea edx, [ebp - 0x1400]
push edx
call fcn.00425e8e
add esp, 8
jmp 0x417727
movsx eax, byte [ebp - 0x2400]
test eax, eax
jne 0x4178af
mov ecx, dword [ebp + 0x14]
push ecx
push 0x40
mov ecx, 0x46e9a8
call fcn.00421660
push eax
mov edx, dword [ebp - 0x2404]
push edx
call fcn.004256fb
add esp, 0xc
movsx eax, byte [ebp - 0x400]
test eax, eax
jne 0x4178d6
mov ecx, dword [ebp - 0x2404]
push ecx
push 0x41
mov ecx, 0x46e9a8
call fcn.00421660
push eax
call fcn.00425e8e
add esp, 8
mov edx, dword [ebp - 0x2408]
push edx
call fcn.004256aa
add esp, 4
mov eax, dword [ebp - 0x2404]
push eax
call fcn.004256aa
add esp, 4
movsx ecx, byte [ebp - 0x2400]
test ecx, ecx
je 0x41791d
lea edx, [ebp - 0x2400]
push edx
push 0x21
mov ecx, 0x46e9a8
call fcn.00421660
push eax
mov ecx, 0x46e970
call fcn.0041f3f0
mov esp, ebp
pop ebp
ret