Function at 0x1000d89d
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x100d5ec3
call fcn.100ac440
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push dword [esi + 0x68]
mov byte [ebp - 4], 3
push str._s__s.xml
push eax
call fcn.10001d75
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [esi + 0x64]
push str._s_s.temp
push eax
call fcn.10001d75
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push dword [esi + 0x64]
push str._s_s.xml
push eax
call fcn.10001d75
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x30
push dword [ebp - 0x10]
call ebx
cmp dword [esi + 0xc], edi
mov dword [ebp - 0x1c], edi
je 0x1000d9a2
mov edi, dword [esi + 0xc]
mov dword [edi + 0x350], edi
mov eax, dword [esi + 0x10]
mov dword [edi + 0x35c], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x354], eax
lea eax, [ebp + 8]
lea ecx, [edi + 0x368]
push eax
call fcn.10001eb6
lea eax, [ebp - 0x18]
lea ecx, [edi + 0x36c]
push eax
mov dword [edi + 0x358], esi
call fcn.10001eb6
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x364]
push eax
call fcn.10001eb6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x360], eax
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push str._s.xml
push eax
mov byte [ebp - 4], 4
call fcn.10001d75
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc0]
add esp, 0xc
push 0
push 0
push 0x402
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 8]
add ecx, 0xd8
push 0x100e2d52
call fcn.10001f92
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1000da1c
add edi, 0x348
push edi
push dword [ebp - 0x10]
lea ecx, [eax + 0x32c]
push dword [ebp - 0x20]
call fcn.10043fe6
mov dword [ebp - 0x1c], eax
push 4
push dword [ebp - 0x10]
call fcn.100ad0b7
test eax, eax
pop ecx
pop ecx
je 0x1000da30
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x50]
call fcn.10002f83
xor eax, eax
cmp dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x4c], eax
jne 0x1000dae6
mov dword [ebp - 0x1c], eax
mov edi, 0x100e3624
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x250]
jne 0x1000db21
push dword [ebp - 0x10]
call ebx
and dword [ebp - 0x24], 0
mov dword [ebp - 0x30], edi
mov eax, dword [esi + 0x10]
push dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.10008445
test eax, eax
jne 0x1000daa7
cmp dword [ebp - 0x4c], 0xc8
jne 0x1000daa7
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x44]
je 0x1000dac1
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], edi
call fcn.10007f89
cmp dword [ebp - 0x1c], 3
jb 0x1000da52
jmp 0x1000dad0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], edi
call fcn.10007f89
cmp dword [ebp - 0x4c], 0xc8
jne 0x1000dae1
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x44]
je 0x1000dae6
push dword [ebp - 0x10]
jmp 0x1000db1f
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.1000c8fa
push dword [ebp - 0x14]
mov edi, eax
call ebx
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov eax, dword [esi + 8]
test eax, eax
je 0x1000db25
lea ecx, [eax + 0x50]
call fcn.10006277
test eax, eax
je 0x1000db25
push dword [ebp - 0x14]
call ebx
xor esi, esi
jmp 0x1000db32
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.100082b3
mov esi, edi
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001199
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8