Function at 0x417750
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc44
xor ecx, ecx
mov dword [ebp - 0x3b8], ecx
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
call fcn.00403a0c
mov eax, dword [ebp - 4]
call fcn.00403a0c
xor eax, eax
push ebp
push 0x417ac7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1d4]
call fcn.00407010
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1d4]
call fcn.00403674
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 4]
call fcn.00407010
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 4]
call fcn.00403674
mov eax, dword [ebp - 0x1d4]
call fcn.00406c48
test al, al
je 0x417a86
mov eax, dword [0x43ba80]
cmp dword [eax], 2
jne 0x417851
cmp dword [ebp - 4], 0
je 0x417837
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.00403a1c
push eax
call sub.KERNEL32.DLL_MoveFileExA
push 4
mov eax, dword [ebp - 4]
call fcn.00403a1c
push eax
mov eax, dword [ebp - 0x1d4]
call fcn.00403a1c
push eax
call sub.KERNEL32.DLL_MoveFileExA
jmp 0x417a86
push 4
push 0
mov eax, dword [ebp - 0x1d4]
call fcn.00403a1c
push eax
call sub.KERNEL32.DLL_MoveFileExA
jmp 0x417a86
lea eax, [ebp - 0x3bc]
call fcn.00418ef0
mov eax, dword [ebp - 0x3bc]
lea edx, [ebp - 0x3b8]
call fcn.00416f84
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1dc]
mov ecx, 0x417adc
call fcn.004038a4
lea ecx, [ebp - 0x1e0]
mov edx, 0x417af0
mov eax, dword [ebp - 0x1dc]
call fcn.00406e34
mov eax, dword [ebp - 0x1e0]
call fcn.00417430
mov byte [ebp - 0x1e5], 0
mov eax, dword [ebp - 0x1dc]
call fcn.00406c48
test al, al
je 0x4178d2
mov byte [ebp - 0x1e5], 1
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1dc]
call fcn.00406d90
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d0]
call fcn.00404cba
lea eax, [ebp - 0x1d0]
call fcn.00404f42
call fcn.00402674
mov byte [ebp - 0x1e6], 0
cmp byte [ebp - 0x1e5], 0
je 0x417a28
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x3b4]
call fcn.00404cba
lea eax, [ebp - 0x3b4]
call fcn.00404f3b
call fcn.00402674
mov byte [ebp - 0x1d5], 0
jmp 0x417a10
lea edx, [ebp - 0x1e4]
lea eax, [ebp - 0x3b4]
call fcn.00403c40
lea eax, [ebp - 0x3b4]
call fcn.00404ed8
call fcn.00402674
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1e4]
call fcn.00406908
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1e4]
call fcn.00403674
cmp dword [ebp - 0x1e4], 0
je 0x41799b
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.00403c18
call fcn.0040501b
call fcn.00402674
mov edx, 0x417b00
mov eax, dword [ebp - 0x1e4]
call fcn.00406814
test eax, eax
jne 0x4179b6
mov byte [ebp - 0x1e6], 1
cmp byte [ebp - 0x1e6], 0
je 0x4179ec
cmp dword [ebp - 0x1e4], 0
je 0x4179dc
lea eax, [ebp - 0x3b4]
call fcn.00404d98
call fcn.00402674
test al, al
je 0x4179ec
cmp byte [ebp - 0x1d5], 0
jne 0x4179ec
push ebp
call fcn.00417474
pop ecx
cmp dword [ebp - 0x1e4], 0
jne 0x417a10
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.00403c18
call fcn.0040501b
call fcn.00402674
lea eax, [ebp - 0x3b4]
call fcn.00404d98
call fcn.00402674
test al, al
je 0x417934
cmp byte [ebp - 0x1e6], 0
jne 0x417a52
mov edx, 0x417b00
lea eax, [ebp - 0x1d0]
call fcn.00403c18
call fcn.0040501b
call fcn.00402674
push ebp
call fcn.00417474
pop ecx
cmp byte [ebp - 0x1e5], 0
je 0x417a6b
lea eax, [ebp - 0x3b4]
call fcn.00404d5c
call fcn.00402674
lea eax, [ebp - 0x1d0]
call fcn.00404d5c
call fcn.00402674
mov eax, dword [ebp - 0x1e0]
call fcn.00417430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417ace
lea eax, [ebp - 0x3bc]
mov edx, 2
call fcn.00403600
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.00403600
lea eax, [ebp - 0x1d4]
call fcn.004035dc
lea eax, [ebp - 4]
call fcn.004035dc
ret