Function at 0x405d0c
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x47d1d2
call fcn.0044d428
sub esp, 0x28c
push ebx
push esi
push edi
mov edi, ecx
call fcn.00466fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 0x484860
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call fcn.00476bf9
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x16
call fcn.00475947
push esi
push 0x4849d0
lea ecx, [ebp - 0x10]
call fcn.004014d9
cmp eax, 0xffffffff
jne 0x405dd6
push dword [ebp + 0x10]
lea ecx, [ebp - 0x6c]
call fcn.00403846
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 2
call fcn.004047e4
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.0040155a
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x30]
jae 0x405dad
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0x14]
mov ecx, edi
push 0x8f
call fcn.004059cc
push esi
push ebx
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.0040155a
mov esi, edi
jmp 0x405f75
add eax, 0xa
push eax
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405385
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00401a03
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401148
push esi
push 0xd
lea ecx, [ebp - 0x10]
call fcn.00405087
cmp eax, esi
jle 0x405e38
push eax
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.004052bb
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00401a03
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401148
mov ecx, edi
call fcn.00404d53
mov edi, dword [ebp + 0x18]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
push dword [ebp - 0x10]
call fcn.00475834
test eax, eax
jne 0x405e60
mov esi, ebx
jmp 0x405f75
cmp dword [edi], 3
jne 0x405e59
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.0041000e
test al, al
je 0x405e59
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x298]
push eax
call fcn.004100aa
test al, al
je 0x405e59
push dword [ebp - 0x10]
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040fbbd
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
call fcn.00401943
push dword [ebp + 0x10]
lea ecx, [ebp - 0x6c]
call fcn.00403846
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 7
call fcn.004047e4
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 9
call fcn.0040155a
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403846
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xa
call fcn.004047e4
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x34]
call fcn.0040155a
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x405f12
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x38], 0x10
mov ecx, dword [ebp - 0x4c]
jae 0x405f25
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x84]
jae 0x405f37
lea eax, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x105
lea eax, [ebp - 0x190]
push eax
push dword [ebp + 0x10]
call fcn.0044e640
mov eax, dword [ebp + 0x28]
add esp, 0xc
push esi
push ebx
lea ecx, [ebp - 0x50]
mov byte [eax], bl
call fcn.0040155a
push esi
push ebx
lea ecx, [ebp - 0x88]
call fcn.0040155a
push 3
pop esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x18], 0x484860
call fcn.00401148
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x24