Function at 0x40da10
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x18]
push edi
mov edi, 0x473640
push esi
mov esi, 0x4b4d54
push ebx
sub esp, 0xfc
mov ebx, 0x40e322
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], esp
mov dword [esp], eax
call fcn.0047f180
mov edx, dword [ebp + 8]
mov ecx, 0x13
mov dword [ebp - 0xb0], ecx
mov dword [esp], edx
call fcn.0040d170
xor edx, edx
test eax, eax
mov dword [ebp - 0xb8], edx
jne 0x40e130
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc4], ebx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [edx + 0x20]
je 0x40dab0
mov edi, dword [ebp - 0xc4]
test edi, edi
jne 0x40dab0
mov al, 1
test al, al
je 0x40e110
mov edx, dword [ebp + 8]
mov ecx, 0xffffffff
mov eax, dword [edx]
mov dword [esp], edx
mov dword [ebp - 0xb0], ecx
mov eax, dword [eax + 8]
call eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x58]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044d400
sub esp, 4
lea edx, [ebp - 0x68]
mov dword [esp], edx
mov edx, 0x11
mov dword [esp + 8], 0x40d0da
mov dword [esp + 4], 0x4cfdc8
mov dword [ebp - 0xb0], edx
call fcn.00457c10
sub esp, 4
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x58]
mov dword [esp + 4], eax
lea edx, [ebp - 0x48]
mov eax, 0x10
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [ebp - 0xb0], eax
call fcn.00457b60
sub esp, 4
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x48]
mov dword [esp], eax
mov eax, 0xf
mov dword [esp + 8], 0x40d0da
mov dword [esp + 4], ecx
mov dword [ebp - 0xb0], eax
call fcn.00457c10
mov edx, dword [ebp - 0xcc]
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp], eax
lea ecx, [ebp - 0x38]
mov eax, 0xe
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [ebp - 0xb0], eax
call fcn.00457c10
lea eax, [ebp - 0x38]
sub esp, 4
mov dword [esp], eax
mov eax, 0xf
mov dword [ebp - 0xb0], eax
call fcn.00456470
lea eax, [ebp - 0x48]
mov edi, 0x10
mov dword [esp], eax
mov dword [ebp - 0xb0], edi
call fcn.00456470
lea eax, [ebp - 0x68]
mov ebx, 0x11
mov dword [esp], eax
mov dword [ebp - 0xb0], ebx
call fcn.00456470
lea ecx, [ebp - 0x58]
mov edx, 0xffffffff
mov dword [esp], ecx
mov dword [ebp - 0xb0], edx
call fcn.00456470
mov dword [esp + 4], 0x40d0d2
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov eax, 0xd
mov dword [ebp - 0xb0], eax
call fcn.00456350
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x58]
mov dword [esp + 8], eax
lea ecx, [ebp - 0x68]
mov eax, 0xc
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [ebp - 0xb0], eax
call fcn.00457b60
sub esp, 4
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
mov eax, 0xb
mov dword [esp], 1
mov dword [ebp - 0xb0], eax
call fcn.004269d0
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, 0xc
mov dword [ebp - 0xb0], eax
call fcn.00456470
lea edx, [ebp - 0x58]
mov eax, 0xd
mov dword [esp], edx
mov dword [ebp - 0xb0], eax
call fcn.00456470
mov dword [esp + 8], 0x40d9d0
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x68]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00457c10
mov edx, dword [ebp + 8]
sub esp, 4
mov edi, 0xa
mov eax, dword [edx]
mov dword [esp], edx
mov dword [ebp - 0xb0], edi
mov eax, dword [eax + 8]
call eax
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0x48]
mov dword [esp + 8], 0x40d0da
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00457c10
mov edx, dword [ebp - 0xd0]
sub esp, 4
lea ecx, [ebp - 0x48]
mov dword [esp + 4], ecx
lea eax, [ebp - 0x58]
mov esi, 9
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [ebp - 0xb0], esi
call fcn.00457c10
mov edx, dword [ebp + 0xc]
sub esp, 4
mov ebx, 8
mov dword [esp + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x58]
mov dword [esp], edx
mov dword [ebp - 0xb0], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
call fcn.00411d50
mov dword [ebp - 0xd4], eax
mov edx, 9
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xb0], edx
call fcn.00456470
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, 0xa
mov dword [ebp - 0xb0], eax
call fcn.00456470
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, 0xd
mov dword [ebp - 0xb0], eax
call fcn.00456470
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x40dda6
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0xb0], eax
call fcn.00456470
add dword [ebp - 0xc8], 4
jmp 0x40da94
mov dword [esp + 4], 0x40d0d2
lea ecx, [ebp - 0x88]
mov eax, 0xd
mov dword [esp], ecx
mov dword [ebp - 0xb0], eax
call fcn.00456350
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x78]
mov dword [esp + 8], eax
lea eax, [ebp - 0x88]
mov dword [esp + 4], eax
mov eax, 7
mov dword [esp], edx
mov dword [ebp - 0xb0], eax
call fcn.00457b60
sub esp, 4
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x40d9d0
mov edi, 6
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [ebp - 0xb0], edi
call fcn.00457c10
sub esp, 4
lea edx, [ebp - 0x38]
mov esi, 5
mov dword [esp], edx
mov dword [ebp - 0xb0], esi
call fcn.004100b0
mov dword [ebp - 0xd8], eax
mov ecx, 6
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0xb0], ecx
call fcn.00456470
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov eax, 7
mov dword [ebp - 0xb0], eax
call fcn.00456470
lea ecx, [ebp - 0x88]
mov eax, 0xd
mov dword [esp], ecx
mov dword [ebp - 0xb0], eax
call fcn.00456470
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xd8]
cmp edx, dword [eax + 4]
je 0x40df8e
mov edx, 0xd
mov dword [ebp - 0xb0], edx
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp + 4], 0x40d9d5
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
call fcn.00458390
mov dword [esp + 4], 0x40d9df
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
mov ecx, dword [ebp - 0xd8]
mov dword [esp + 4], ecx
call fcn.00499c00
mov dword [esp + 4], 0x40d9ed
mov dword [esp], eax
call fcn.004b3360
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00499c00
mov dword [esp + 4], 0x40d9f9
mov dword [esp], eax
call fcn.004b3360
mov dword [esp + 4], 0x42e600
mov dword [esp], eax
call fcn.00498ab0
mov dword [esp + 8], 0x40d9d0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x88]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00457c10
sub esp, 4
lea ecx, [ebp - 0x88]
mov eax, 1
mov dword [esp], ecx
mov dword [ebp - 0xb0], eax
call fcn.00457590
mov dword [esp], eax
call sub.msvcrt.dll_remove
lea eax, [ebp - 0x88]
mov dword [esp], eax
mov eax, 0xd
mov dword [ebp - 0xb0], eax
call fcn.00456470
jmp 0x40dd84
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp + 4], 0x40da04
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
lea ecx, [ebp - 0x28]
mov dword [esp + 4], ecx
call fcn.00458390
mov dword [esp + 4], 0x42e600
mov dword [esp], eax
call fcn.00498ab0
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00457590
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll__access
test eax, eax
jne 0x40e004
lea edx, [ebp - 0x28]
mov dword [esp], edx
call fcn.00457590
mov dword [esp], eax
call sub.msvcrt.dll_remove
lea ecx, [ebp - 0x28]
mov eax, 0xd
mov dword [esp], ecx
mov dword [ebp - 0xb0], eax
call fcn.00457590
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x28]
mov dword [esp + 8], 0x40d9d0
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00457c10
sub esp, 4
lea ecx, [ebp - 0x88]
mov eax, 4
mov dword [esp], ecx
mov dword [ebp - 0xb0], eax
call fcn.00457590
mov dword [esp], eax
mov edx, dword [ebp - 0xdc]
mov dword [esp + 4], edx
call sub.msvcrt.dll_rename
lea ecx, [ebp - 0x88]
mov eax, 0xd
mov dword [esp], ecx
mov dword [ebp - 0xb0], eax
call fcn.00456470
mov dword [esp + 4], 0x40d0d2
mov eax, 1
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.00456350
lea eax, [ebp - 0x28]
mov edi, 3
lea edx, [ebp - 0x78]
mov dword [esp + 8], eax
lea ecx, [ebp - 0x88]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [ebp - 0xb0], edi
call fcn.00457b60
mov edx, dword [ebp + 8]
sub esp, 4
lea ecx, [ebp - 0x88]
mov esi, 2
mov eax, dword [edx]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xb0], esi
call eax
lea eax, [ebp - 0x88]
mov ecx, 3
mov dword [esp], eax
mov dword [ebp - 0xb0], ecx
call fcn.00456470
lea eax, [ebp - 0x78]
jmp 0x40df76
xor eax, eax
cmp dword [ebp - 0xc4], 0
sete al
mov dword [ebp - 0xb8], eax
lea esi, [esi]
lea edi, [edi]
lea eax, [ebp - 0xb4]
mov dword [esp], eax
call fcn.0047f230
mov eax, dword [ebp - 0xb8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret