Function at 0x5f6038
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x88
push 0
push 0
dec ecx
jne 0x5f6040
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
lea eax, [ebp - 0x1a4]
mov edx, dword [0x408d7c]
call fcn.00405918
lea eax, [ebp - 0x418]
mov edx, dword [0x496d0c]
call fcn.00405918
xor eax, eax
push ebp
push 0x5f649b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x5f64b0
call fcn.00405860
test eax, eax
jle 0x5f60f1
mov dl, 1
mov eax, dword [0x4946e0]
call fcn.00495798
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dl, 0x7c
mov eax, dword [ebp - 4]
call fcn.005f1bdc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5f60e4
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x41c]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x41c]
call fcn.005f6038
inc ebx
dec esi
jne 0x5f60c5
mov eax, dword [ebp - 0xc]
call fcn.00403c70
jmp 0x5f6430
mov eax, dword [0x6e39dc]
cmp byte [eax], 0
jne 0x5f62be
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404e54
mov dl, 1
mov eax, dword [0x41ef44]
call fcn.00403c40
mov dword [ebp - 8], eax
lea edx, [ebp - 0x420]
mov eax, dword [ebp - 0x10]
call fcn.0040ad14
cmp dword [ebp - 0x420], 0
je 0x5f61f9
lea edx, [ebp - 0x424]
mov eax, dword [ebp - 0x10]
call fcn.0040ad14
mov edx, dword [ebp - 0x424]
mov eax, 0x5f64bc
call fcn.004051d0
test eax, eax
jle 0x5f6177
lea ecx, [ebp - 0x428]
mov edx, 0x5f64c8
mov eax, dword [ebp - 0x10]
call fcn.005f5f64
mov edx, dword [ebp - 0x428]
lea eax, [ebp - 0x10]
call fcn.00404c38
lea ecx, [ebp - 0x1a4]
mov edx, 0x3f
mov eax, dword [ebp - 0x10]
call fcn.0040ab34
mov ebx, eax
test ebx, ebx
jne 0x5f61ec
mov esi, dword [ebp - 0x19c]
test esi, 0x10
jne 0x5f61db
test esi, 8
jne 0x5f61db
test esi, 0x40
jne 0x5f61db
lea edx, [ebp - 0x42c]
mov eax, dword [ebp - 0x10]
call fcn.0040ac4c
lea eax, [ebp - 0x42c]
mov edx, dword [ebp - 0x198]
call fcn.00404e94
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x1a4]
call fcn.0040ab84
mov ebx, eax
test ebx, ebx
je 0x5f6190
lea eax, [ebp - 0x1a4]
call fcn.0040aba8
jmp 0x5f6220
lea edx, [ebp - 0x430]
mov eax, dword [ebp - 0x10]
call fcn.005fc28c
mov edx, dword [ebp - 0x430]
lea eax, [ebp - 0x10]
call fcn.00404c38
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x10]
call fcn.00404ba0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5f6269
inc esi
xor ebx, ebx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x434]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x434]
push 0x5f64d4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f4c
inc ebx
dec esi
jne 0x5f623a
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x5f6281
lea eax, [ebp - 0x10]
mov edx, 0x5f64d4
call fcn.00404e94
lea eax, [ebp - 0x2e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403350
mov dword [ebp - 0x2a], 3
mov word [ebp - 0x1e], 0x54
lea eax, [ebp - 0x10]
call fcn.004050e4
mov dword [ebp - 0x26], eax
lea eax, [ebp - 0x2e]
push eax
call sub.shell32.dll_SHFileOperationA
mov eax, dword [ebp - 8]
call fcn.00403c70
jmp 0x5f6430
mov dl, 1
mov eax, dword [0x4946e0]
call fcn.00495798
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x438]
mov eax, dword [ebp - 4]
call fcn.004972a4
mov eax, dword [ebp - 0x438]
xor edx, edx
call fcn.00405664
je 0x5f6370
lea ecx, [ebp - 0x418]
mov edx, 0x3f
mov eax, dword [ebp - 4]
call fcn.004975a8
mov ebx, eax
test ebx, ebx
jne 0x5f6363
mov esi, dword [ebp - 0x408]
test esi, 0x10
jne 0x5f6352
test esi, 8
jne 0x5f6352
test esi, 0x40
jne 0x5f6352
lea edx, [ebp - 0x43c]
mov eax, dword [ebp - 4]
call fcn.00497270
lea eax, [ebp - 0x43c]
mov edx, dword [ebp - 0x404]
call fcn.00405554
mov edx, dword [ebp - 0x43c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x418]
call fcn.004975f4
mov ebx, eax
test ebx, ebx
je 0x5f6307
lea eax, [ebp - 0x418]
call fcn.00497618
jmp 0x5f6397
lea edx, [ebp - 0x440]
mov eax, dword [ebp - 4]
call fcn.005fc20c
mov edx, dword [ebp - 0x440]
lea eax, [ebp - 4]
call fcn.00405338
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 4]
call fcn.004052d8
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5f63e0
inc esi
xor ebx, ebx
push dword [ebp - 4]
lea ecx, [ebp - 0x444]
mov edx, ebx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x444]
push 0x5f64dc
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040561c
inc ebx
dec esi
jne 0x5f63b1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x5f63f8
lea eax, [ebp - 4]
mov edx, 0x5f64dc
call fcn.00405554
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x1e
call fcn.00403350
mov dword [ebp - 0x48], 3
mov word [ebp - 0x3c], 0x54
mov eax, dword [ebp - 4]
call fcn.00405538
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_SHFileOperationW
mov eax, dword [ebp - 0xc]
call fcn.00403c70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f64a2
lea eax, [ebp - 0x444]
mov edx, 4
call fcn.004052f0
lea eax, [ebp - 0x434]
mov edx, 6
call fcn.00404bc4
lea eax, [ebp - 0x41c]
call fcn.004052d8
lea eax, [ebp - 0x418]
mov edx, dword [0x496d0c]
call fcn.004059e8
lea eax, [ebp - 0x1a4]
mov edx, dword [0x408d7c]
call fcn.004059e8
lea eax, [ebp - 0x10]
call fcn.00404ba0
lea eax, [ebp - 4]
call fcn.004052d8
ret