Function at 0x49d4fc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x49d856
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x49d6dd
mov eax, esi
call fcn.0049c1d0
xor ecx, ecx
mov edx, 7
mov eax, esi
call fcn.0049acb8
mov byte [0x4bdbd9], 0xa
mov eax, dword [0x4bdca0]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [0x4bdc9c]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [0x4bdcac]
mov edx, dword [eax]
call dword [edx + 0x40]
lea ecx, [ebp - 0x28]
mov edx, dword [0x4bdbd0]
mov eax, esi
call fcn.00497b08
mov edx, dword [ebp - 0x28]
mov eax, 0x4bdce0
call fcn.00403c24
lea ecx, [ebp - 4]
mov edx, dword [0x4bdbd0]
mov eax, esi
call fcn.00497b08
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
call fcn.0046838c
mov edi, eax
dec edi
test edi, edi
jl 0x49d694
inc edi
xor ebx, ebx
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.004683bc
mov edx, 3
call fcn.00467eb0
test al, al
je 0x49d68c
cmp byte [0x4bdc8d], 0
je 0x49d60c
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.004683bc
mov edx, dword [eax + 0x24]
mov eax, esi
call fcn.00494898
test al, al
je 0x49d615
cmp byte [0x4bdc8d], 0
jne 0x49d68c
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.004683bc
cmp dword [eax + 0x10], 1
jne 0x49d65e
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.004683bc
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
call fcn.00403e9c
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4bdc9c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x49d68c
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.004683bc
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.00403e9c
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4bdca0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc ebx
dec edi
jne 0x49d5bd
mov eax, dword [0x4bdc9c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x49d6d1
cmp byte [0x4bdd7c], 0
jne 0x49d6d1
push 0
mov cx, word [0x49d864]
xor edx, edx
mov eax, 0x49d870
call fcn.0045a43c
cmp eax, 7
jne 0x49d6d1
mov eax, esi
call fcn.0049c238
jmp 0x49d833
mov eax, esi
call fcn.0049d2e0
jmp 0x49d833
lea eax, [ebp - 0x23]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402b9c
mov byte [ebp - 5], 1
cmp byte [0x4bdc1b], 0
je 0x49d70a
cmp byte [0x4bdd7c], 0
jne 0x49d70a
mov word [ebp - 0x13], 0x40
jmp 0x49d710
mov word [ebp - 0x13], 0x54
mov eax, dword [esi + 0x710]
mov eax, dword [eax + 0x20c]
call fcn.0046838c
mov edi, eax
dec edi
test edi, edi
jl 0x49d81c
inc edi
xor ebx, ebx
mov eax, dword [esi + 0x710]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.004683bc
mov edx, 3
call fcn.00467eb0
test al, al
je 0x49d814
cmp byte [0x4bdc6a], 0
je 0x49d797
lea ecx, [ebp - 0x34]
mov edx, dword [0x4bdbcc]
mov eax, esi
call fcn.00497b08
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0x710]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.004683bc
mov edx, dword [eax + 0x24]
pop eax
call fcn.00403e58
mov eax, dword [ebp - 0x34]
call fcn.00408f74
jmp 0x49d814
mov dword [ebp - 0x1f], 3
lea ecx, [ebp - 0x3c]
mov edx, dword [0x4bdbcc]
mov eax, esi
call fcn.00497b08
push dword [ebp - 0x3c]
mov eax, dword [esi + 0x710]
mov eax, dword [eax + 0x20c]
mov edx, ebx
call fcn.004683bc
push dword [eax + 0x24]
push 0x49d8e0
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00403f10
mov eax, dword [ebp - 0x38]
call fcn.00404014
mov dword [ebp - 0x1b], eax
lea eax, [ebp - 0x23]
push eax
call sub.shell32.dll_SHFileOperationA
cmp byte [ebp - 5], 0
je 0x49d80a
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x1b]
call fcn.00403d88
mov eax, dword [ebp - 0x40]
call fcn.00408e18
test al, al
jne 0x49d81c
mov word [ebp - 0x13], 0x54
mov byte [ebp - 5], 0
inc ebx
dec edi
jne 0x49d72f
mov eax, esi
call fcn.00496758
cmp byte [0x4bdd7c], 0
je 0x49d833
mov eax, esi
call fcn.004a2ddc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d85d
lea eax, [ebp - 0x40]
mov edx, 7
call fcn.00403bf4
lea eax, [ebp - 4]
call fcn.00403bd0
ret