Function at 0x45aa20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d46b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c4], ecx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x70]
call fcn.0045da00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00408982
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00408982
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004368a0
jmp 0x45aaa2
push 0
lea edx, [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x80]
call fcn.00454370
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x70]
call fcn.00497a70
push eax
lea ecx, [ebp - 0x80]
call fcn.0044ff40
movzx ecx, al
test ecx, ecx
je 0x45ab9e
lea ecx, [ebp - 0x80]
call fcn.00475490
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407d20
push 0xffffffffffffffff
push 0x2e
lea ecx, [ebp - 0x2c]
call fcn.00474460
mov dword [ebp - 0x78], eax
push 3
mov edx, dword [ebp - 0x78]
add edx, 1
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406270
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1cc]
push edx
lea ecx, [ebp - 0x48]
call fcn.00407d20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00406210
push 0x582ae8
lea ecx, [ebp - 0x48]
call fcn.00406410
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x45ab99
mov eax, dword [ebp - 0x78]
push eax
push 0
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406270
mov dword [ebp - 0x1d0], eax
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x80]
call fcn.00475490
mov ecx, eax
call fcn.00407d20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call fcn.00406210
jmp 0x45aa91
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x1c4]
call fcn.004368a0
lea ecx, [ebp - 0x58]
call fcn.0045db60
mov edx, dword [ebp - 0x1c4]
cmp dword [edx + 0x68], 0
je 0x45abdf
push 1
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x50]
call fcn.00437410
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
jmp 0x45abfc
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00497a70
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x1c4]
sub eax, 0x878
mov dword [ebp - 0x74], eax
cmp dword [ebp + 0xc], 0
je 0x45ad63
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x218], 0
je 0x45ad63
lea ecx, [ebp - 0x150]
call fcn.0047f910
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.0045de00
add esp, 0x18
mov ecx, eax
call fcn.0045e580
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
push edx
call fcn.0050721e
add esp, 4
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0x84]
mov byte [ecx - 1], 0
mov edx, dword [ebp - 0xa8]
add edx, dword [ebp - 0x84]
mov byte [edx - 2], 0
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x160]
call fcn.0045e5a0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x168]
push ecx
call fcn.0045de60
add esp, 0x1c
push 0x1e
push 0
lea edx, [ebp - 0xa4]
push edx
call fcn.0053c870
add esp, 0xc
mov eax, 0x414
mov word [ebp - 0x94], ax
mov ecx, dword [ebp - 0x74]
xor edx, edx
cmp dword [ecx + 0xb48], 2
sete dl
mov dword [ebp - 0xac], edx
cmp dword [ebp - 0xac], 0
je 0x45ad25
movzx eax, word [ebp - 0x94]
or eax, 0x40
mov word [ebp - 0x94], ax
mov dword [ebp - 0xa0], 3
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], ecx
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
push ecx
call fcn.0053f10f
add esp, 4
mov edx, dword [ebp - 0x1c4]
cmp dword [edx + 0x78], 0
je 0x45adb9
xor eax, eax
mov byte [ebp - 0x16e], al
movzx ecx, byte [ebp - 0x16e]
push ecx
lea edx, [ebp - 0x178]
push edx
lea ecx, [ebp - 0x70]
call fcn.00497a70
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x70]
call fcn.004368a0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.0045dec0
add esp, 0x14
mov byte [ebp - 0x16d], al
mov eax, dword [ebp - 0x1c4]
cmp dword [eax + 0x6c], 0
je 0x45ae9c
lea ecx, [ebp - 0xdc]
call fcn.0045d7c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.004637f0
test eax, eax
je 0x45ae8d
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x74
call fcn.004dfdf0
push eax
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xdc]
call fcn.00463670
movzx eax, al
test eax, eax
jne 0x45ae74
lea ecx, [ebp - 0x70]
call fcn.0044fcb0
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], 0
jmp 0x45ae3d
mov ecx, dword [ebp - 0xe4]
add ecx, 1
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
cmp edx, dword [ebp - 0xe0]
jge 0x45ae72
push 0x69
push 0
push 0
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x70]
call fcn.004560f0
mov ecx, eax
call fcn.00406410
push eax
call fcn.0049c1a0
add esp, 0x10
jmp 0x45ae2e
jmp 0x45ae8d
mov ecx, dword [ebp - 0x1c4]
cmp dword [ecx + 0x70], 0
je 0x45ae8d
mov edx, dword [ebp - 0x74]
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xdc]
call fcn.0045d820
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x48
call fcn.004a6180
test eax, eax
jbe 0x45afe4
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x48
call fcn.004368a0
jmp 0x45aed4
lea ecx, [ebp - 0xec]
call fcn.00461590
lea ecx, [ebp - 0x188]
push ecx
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x48
call fcn.00497a70
push eax
lea ecx, [ebp - 0xec]
call fcn.0044ff40
movzx edx, al
test edx, edx
je 0x45afd4
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.004368a0
lea ecx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x1c4]
call fcn.00497a70
push eax
lea ecx, [ebp - 0xf4]
call fcn.0044ff40
movzx edx, al
test edx, edx
je 0x45afcf
lea ecx, [ebp - 0xf4]
call fcn.00475490
push eax
lea ecx, [ebp - 0xec]
call fcn.00475490
push eax
call fcn.0043ac90
add esp, 8
movzx eax, al
test eax, eax
je 0x45afbf
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x194]
push eax
mov ecx, dword [ebp - 0x198]
push ecx
lea edx, [ebp - 0x1a0]
push edx
mov ecx, dword [ebp - 0x1c4]
call fcn.00436950
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.004368a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xf0], edx
jmp 0x45afca
lea ecx, [ebp - 0xf4]
call fcn.00461590
jmp 0x45af12
jmp 0x45aec9
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x48
call fcn.004369c0
jmp 0x45b036
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x1ac], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x1b8], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1ac]
push ecx
mov edx, dword [ebp - 0x1b0]
push edx
mov eax, dword [ebp - 0x1b4]
push eax
mov ecx, dword [ebp - 0x1b8]
push ecx
lea edx, [ebp - 0x1c0]
push edx
mov ecx, dword [ebp - 0x1c4]
call fcn.00436de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00406210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00406210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00451490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 0xc