Function at 0x41792c
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.004039e4
mov eax, dword [ebp - 4]
call fcn.004039e4
xor eax, eax
push ebp
push 0x417ca3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1d4]
call fcn.00406fa4
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1d4]
call fcn.0040364c
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 4]
call fcn.00406fa4
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 4]
call fcn.0040364c
mov eax, dword [ebp - 0x1d4]
call fcn.00406bdc
test al, al
je 0x417c62
mov eax, dword [0x43daec]
cmp dword [eax], 2
jne 0x417a2d
cmp dword [ebp - 4], 0
je 0x417a13
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_MoveFileExA
push 4
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
mov eax, dword [ebp - 0x1d4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_MoveFileExA
jmp 0x417c62
push 4
push 0
mov eax, dword [ebp - 0x1d4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_MoveFileExA
jmp 0x417c62
lea eax, [ebp - 0x3bc]
call fcn.0041913c
mov eax, dword [ebp - 0x3bc]
lea edx, [ebp - 0x3b8]
call fcn.00417160
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1dc]
mov ecx, 0x417cb8
call fcn.0040387c
lea ecx, [ebp - 0x1e0]
mov edx, 0x417ccc
mov eax, dword [ebp - 0x1dc]
call fcn.00406dc8
mov eax, dword [ebp - 0x1e0]
call fcn.0041760c
mov byte [ebp - 0x1e5], 0
mov eax, dword [ebp - 0x1dc]
call fcn.00406bdc
test al, al
je 0x417aae
mov byte [ebp - 0x1e5], 1
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1dc]
call fcn.00406d24
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d0]
call fcn.00404c2e
lea eax, [ebp - 0x1d0]
call fcn.00404eb6
call fcn.00402674
mov byte [ebp - 0x1e6], 0
cmp byte [ebp - 0x1e5], 0
je 0x417c04
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x3b4]
call fcn.00404c2e
lea eax, [ebp - 0x3b4]
call fcn.00404eaf
call fcn.00402674
mov byte [ebp - 0x1d5], 0
jmp 0x417bec
lea edx, [ebp - 0x1e4]
lea eax, [ebp - 0x3b4]
call fcn.00403c18
lea eax, [ebp - 0x3b4]
call fcn.00404e4c
call fcn.00402674
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1e4]
call fcn.0040689c
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1e4]
call fcn.0040364c
cmp dword [ebp - 0x1e4], 0
je 0x417b77
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.00403bf0
call fcn.00404f8f
call fcn.00402674
mov edx, 0x417cdc
mov eax, dword [ebp - 0x1e4]
call fcn.004067a8
test eax, eax
jne 0x417b92
mov byte [ebp - 0x1e6], 1
cmp byte [ebp - 0x1e6], 0
je 0x417bc8
cmp dword [ebp - 0x1e4], 0
je 0x417bb8
lea eax, [ebp - 0x3b4]
call fcn.00404d0c
call fcn.00402674
test al, al
je 0x417bc8
cmp byte [ebp - 0x1d5], 0
jne 0x417bc8
push ebp
call fcn.00417650
pop ecx
cmp dword [ebp - 0x1e4], 0
jne 0x417bec
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.00403bf0
call fcn.00404f8f
call fcn.00402674
lea eax, [ebp - 0x3b4]
call fcn.00404d0c
call fcn.00402674
test al, al
je 0x417b10
cmp byte [ebp - 0x1e6], 0
jne 0x417c2e
mov edx, 0x417cdc
lea eax, [ebp - 0x1d0]
call fcn.00403bf0
call fcn.00404f8f
call fcn.00402674
push ebp
call fcn.00417650
pop ecx
cmp byte [ebp - 0x1e5], 0
je 0x417c47
lea eax, [ebp - 0x3b4]
call fcn.00404cd0
call fcn.00402674
lea eax, [ebp - 0x1d0]
call fcn.00404cd0
call fcn.00402674
mov eax, dword [ebp - 0x1e0]
call fcn.0041760c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417caa
lea eax, [ebp - 0x3bc]
mov edx, 2
call fcn.004035d8
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.004035d8
lea eax, [ebp - 0x1d4]
call fcn.004035b4
lea eax, [ebp - 4]
call fcn.004035b4
ret