Function at 0x584200
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x584208
push ecx
push ebx
xor eax, eax
push ebp
push 0x584575
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
call fcn.004b52f0
test al, al
jne 0x584538
mov edx, dword [0x5df8e4]
mov edx, dword [edx]
lea eax, [ebp - 0x24]
mov ecx, 0x584590
call fcn.00407404
mov eax, dword [ebp - 0x24]
call fcn.00428310
test al, al
je 0x5842c9
mov dword [ebp - 8], 1
mov eax, 0x7fffffff
call fcn.00404b04
lea edx, [ebp - 0x34]
call fcn.0041d1b8
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x5845b4
call fcn.00407404
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.0042c160
mov eax, dword [ebp - 0x28]
call fcn.00428310
test al, al
je 0x5842a0
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x186a1
jne 0x584258
mov eax, dword [ebp - 0x28]
call fcn.00407214
push eax
mov eax, dword [ebp - 0x24]
call fcn.00407214
push eax
call sub.kernel32.dll_MoveFileW
push 4
push 0
mov eax, dword [ebp - 0x28]
call fcn.00407214
push eax
call sub.kernel32.dll_MoveFileExW
lea eax, [ebp - 0x38]
call fcn.005840d0
mov eax, dword [ebp - 0x38]
call fcn.0049c440
test al, al
jne 0x5842f5
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x5845cc
call fcn.0043f8a0
jmp 0x584538
mov edx, dword [0x5df8e4]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 0x5845ec
call fcn.00407404
mov edx, dword [0x5df8e4]
mov edx, dword [edx]
lea eax, [ebp - 0x40]
mov ecx, 0x584610
call fcn.00407404
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0042bf40
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x10]
mov ecx, 0x58462c
call fcn.00407404
mov byte [ebp - 0x1d], 0
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0042c260
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5843ff
xor eax, eax
push ebp
push 0x5843f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x584379
cmp eax, 0
jbe 0x5843e2
jmp 0x58437b
jle 0x5843e2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x584390
cmp eax, 0x2000000
jae 0x5843e2
jmp 0x584392
jge 0x5843e2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea eax, [ebp - 0x18]
xor ecx, ecx
call fcn.00407034
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 0x18]
call fcn.00406bb4
mov edx, eax
mov eax, dword [ebp - 0x14]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5df080]
call fcn.0040778c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jle 0x5843da
mov byte [ebp - 0x1d], 1
lea eax, [ebp - 0x18]
call fcn.00406634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5843ff
mov eax, dword [ebp - 0x14]
call fcn.00405038
ret
cmp byte [ebp - 0x1d], 0
je 0x5844a2
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x584644
call fcn.0043f8a0
mov dl, 1
mov eax, dword [0x427200]
call fcn.00405008
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x58449b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x584678
mov cl, byte [0x58467c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.0042adc0
mov eax, dword [ebp - 0x1c]
call fcn.0042cca0
dec eax
test eax, eax
jl 0x584485
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.0042ca50
mov eax, dword [ebp - 0x44]
call fcn.00428370
inc dword [ebp - 8]
dec dword [ebp - 0x2c]
jne 0x584467
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5844a2
mov eax, dword [ebp - 0x1c]
call fcn.00405038
ret
mov eax, dword [ebp - 0xc]
call fcn.00428370
push 0
lea edx, [ebp - 0x48]
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
call fcn.005c2400
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x5dfc78]
mov eax, dword [eax]
call fcn.005c2440
push eax
push 0
lea eax, [ebp - 0x4c]
call fcn.005840d0
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.004b5310
test al, al
jne 0x584500
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x58468c
call fcn.0043f8a0
jmp 0x584538
call fcn.0049c380
test al, al
jne 0x58451e
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x5846ac
call fcn.0043f350
jmp 0x584538
call fcn.005850b0
call fcn.005851b0
call fcn.005841a0
mov dl, 1
call fcn.00585780
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58457c
lea eax, [ebp - 0x4c]
mov edx, 8
call fcn.00406670
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00406670
lea eax, [ebp - 0x18]
call fcn.00406634
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406670
ret