Function at 0x45a310
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd58
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x45a34b
add esp, 0xfffffff0
call fcn.004052b0
mov dword [ebp - 0x28c], ecx
mov byte [ebp - 0x285], dl
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x280]
mov edx, dword [0x41a69c]
call fcn.004078d4
xor eax, eax
push ebp
push 0x45a702
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 0x284]
call fcn.00404fbc
mov dl, 1
mov eax, dword [0x444a4c]
call fcn.00444ae0
mov ebx, eax
mov eax, dword [ebp - 0x284]
mov dword [eax + 0xc], ebx
mov eax, ebx
mov edx, 0x7d0
call fcn.00444c90
mov eax, dword [ebp - 0x284]
push eax
push 0x45aca0
mov eax, dword [ebp - 0x284]
mov eax, dword [eax + 0xc]
call fcn.00444ca0
push 0x45a200
mov ecx, 0x45a220
mov dl, 1
mov eax, dword [0x427bfc]
call fcn.0042d370
mov edx, dword [ebp - 0x284]
mov dword [edx + 4], eax
push 0x45a210
mov ecx, 0x45a260
mov dl, 1
mov eax, dword [0x427bfc]
call fcn.0042d370
mov edx, dword [ebp - 0x284]
mov dword [edx + 8], eax
mov edx, dword [ebp - 0x28c]
mov eax, dword [ebp - 0x284]
call fcn.0045a2b0
lea edx, [ebp - 0x29c]
mov eax, dword [ebp - 0x284]
call fcn.0045a8c0
mov eax, dword [ebp - 0x29c]
mov edx, 1
call fcn.0042b940
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
je 0x45a5bb
xor edx, edx
push ebp
push 0x45a5b4
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x45a572
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x298]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 0x298]
call fcn.00458400
mov dword [ebp - 0x290], eax
xor edx, edx
push ebp
push 0x45a561
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov edx, 0x45a740
mov eax, dword [ebp - 0x290]
call fcn.00458090
mov edx, 0x45a754
mov eax, dword [ebp - 0x290]
call fcn.00458190
mov edi, eax
test edi, edi
je 0x45a524
mov eax, edi
call fcn.00458030
mov esi, eax
dec esi
test esi, esi
jl 0x45a524
inc esi
mov dword [ebp - 0x294], 0
mov ecx, dword [ebp - 0x284]
mov dl, 1
mov eax, dword [0x45a098]
call fcn.0045ad80
mov ebx, eax
mov edx, dword [ebp - 0x294]
mov eax, edi
call fcn.00457fd0
mov edx, eax
mov eax, ebx
call fcn.0045af80
mov eax, dword [ebp - 0x284]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.004291a0
mov eax, dword [ebp - 0x284]
mov eax, dword [eax + 8]
mov edx, ebx
call fcn.004291a0
inc dword [ebp - 0x294]
dec esi
jne 0x45a4d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a568
mov eax, dword [ebp - 0x284]
mov eax, dword [eax + 4]
call fcn.0042d4f0
mov eax, dword [ebp - 0x284]
mov eax, dword [eax + 8]
call fcn.0042d4f0
mov eax, dword [ebp - 0x290]
xor edx, edx
mov dword [ebp - 0x290], edx
call fcn.00404fec
ret
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x28c]
call fcn.0042b710
lea eax, [ebp - 0x2a0]
mov ecx, 0x45a78c
mov edx, dword [ebp - 8]
call fcn.00407408
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x280]
mov edx, 0x1ff
call fcn.0041df1c
mov edi, eax
test edi, edi
jne 0x45a6c6
test byte [ebp - 0x270], 0x10
jne 0x45a6a6
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x26c]
call fcn.004069d0
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x45a623
sub esi, 4
mov esi, dword [esi]
cmp esi, 8
jne 0x45a6a6
lea eax, [ebp - 0x2a4]
mov ecx, dword [ebp - 0xc]
mov edx, 0x45a7a0
call fcn.00407408
mov eax, dword [ebp - 0x2a4]
lea edx, [ebp - 4]
call fcn.0041d8ec
test al, al
je 0x45a6a6
lea ecx, [ebp - 0x294]
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x284]
mov eax, dword [eax + 8]
call fcn.0042d3c0
test al, al
jne 0x45a6a6
lea edx, [ebp - 0x2a8]
mov eax, dword [ebp - 8]
call fcn.0042b6c0
mov edx, dword [ebp - 0x2a8]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.00407408
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004069d0
mov eax, dword [ebp - 0x10]
call fcn.00407218
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x280]
call fcn.0041df6c
mov edi, eax
test edi, edi
je 0x45a5fc
lea eax, [ebp - 0x280]
call fcn.0041df90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a709
lea eax, [ebp - 0x2a8]
mov edx, 4
call fcn.00406624
lea eax, [ebp - 0x280]
mov edx, dword [0x41a69c]
call fcn.004079ac
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00406624
ret