Function at 0x5fc390
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
push ebx
push esi
push edi
lea eax, [ebp - 0x614]
push eax
lea ecx, [ebp - 0x514]
push ecx
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10e
push ecx
call fcn.00668690
add esp, 0x14
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x310]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x620], 1
cmp dword [ebp - 0x620], 0
je 0x5fc51b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x8ec], 0
je 0x5fc50c
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x104]
push ecx
call fcn.005f93f0
add esp, 4
lea edi, [ebp - 0x310]
lea edx, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x104]
push eax
call fcn.005f6710
add esp, 4
test eax, eax
je 0x5fc500
lea ecx, [ebp - 0x310]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005fc020
add esp, 8
test eax, eax
je 0x5fc4b2
xor eax, eax
jmp 0x5fca65
push 0x7510c0
lea eax, [ebp - 0x310]
push eax
call fcn.006756c0
add esp, 8
test eax, eax
jne 0x5fc4d6
mov dword [ebp - 0x620], 0
jmp 0x5fc4fe
mov edi, 0x7510c0
lea edx, [ebp - 0x310]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x5fc50a
mov dword [ebp - 0x620], 0
jmp 0x5fc516
mov dword [ebp - 0x620], 0
jmp 0x5fc3fa
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
lea edx, [ebp - 0x208]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x624], 0
push 0x67c34c
mov ecx, dword [ebp + 0xc]
add ecx, 0x10e
push ecx
call fcn.00666960
add esp, 8
mov dword [ebp - 0x61c], eax
cmp dword [ebp - 0x61c], 0
je 0x5fc5e5
push 2
push 0
mov edx, dword [ebp - 0x61c]
push edx
call fcn.006675d0
add esp, 0xc
mov eax, dword [ebp - 0x61c]
push eax
call fcn.00667420
add esp, 4
mov dword [ebp - 0x618], eax
mov ecx, dword [ebp - 0x61c]
push ecx
call fcn.00666980
add esp, 4
cmp dword [ebp - 0x618], 0
je 0x5fca5f
mov edx, dword [ebp - 0x618]
push edx
call fcn.00668220
add esp, 4
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
je 0x5fca5f
push 0x67c34c
mov eax, dword [ebp + 0xc]
add eax, 0x10e
push eax
call fcn.00666960
add esp, 8
mov dword [ebp - 0x61c], eax
cmp dword [ebp - 0x61c], 0
je 0x5fca47
mov ecx, dword [ebp - 0x61c]
push ecx
push 1
mov edx, dword [ebp - 0x618]
push edx
mov eax, dword [ebp - 0x624]
push eax
call fcn.00667090
add esp, 0x10
cmp eax, 1
je 0x5fc66b
mov dword [ebp - 0x20c], 1
mov ecx, dword [ebp - 0x61c]
push ecx
call fcn.00666980
add esp, 4
cmp dword [ebp - 0x20c], 0
jne 0x5fca47
lea edx, [ebp - 0x104]
push edx
call fcn.005f93f0
add esp, 4
lea edi, [ebp - 0x104]
lea edx, [ebp - 0x208]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x310]
lea edx, [ebp - 0x208]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x67c0cc
lea eax, [ebp - 0x208]
push eax
call fcn.00666960
add esp, 8
test eax, eax
je 0x5fc764
mov ecx, dword [ebp - 0x61c]
push ecx
push 1
mov edx, dword [ebp - 0x618]
push edx
mov eax, dword [ebp - 0x624]
push eax
call fcn.006667e0
add esp, 0x10
cmp eax, 1
je 0x5fc73a
mov dword [ebp - 0x20c], 1
mov ecx, dword [ebp - 0x61c]
push ecx
call fcn.00666980
add esp, 4
mov edx, dword [ebp - 0x624]
push edx
call fcn.00666790
add esp, 4
mov dword [ebp - 0x624], 0
jmp 0x5fc76e
mov dword [ebp - 0x20c], 1
cmp dword [ebp - 0x20c], 0
jne 0x5fca47
cmp dword [0x751090], 0
je 0x5fc793
mov eax, dword [ebp + 0xc]
add eax, 0x10e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [ebp - 0x104]
lea edx, [ebp - 0x208]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.fxfthumb_
lea edx, [ebp - 0x208]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x208]
push eax
call fcn.005f6770
add esp, 4
test eax, eax
jne 0x5fc821
lea ecx, [ebp - 0x208]
push ecx
call fcn.00676120
add esp, 4
cmp eax, 0xffffffff
jne 0x5fc821
mov dword [ebp - 0x20c], 1
cmp dword [ebp - 0x20c], 0
jne 0x5fca47
lea edi, [ebp - 0x310]
lea edx, [ebp - 0x208]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x6909fc
lea edx, [ebp - 0x208]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x67c34c
mov eax, dword [ebp + 0xc]
add eax, 0x21c
push eax
call fcn.00666960
add esp, 8
mov dword [ebp - 0x61c], eax
cmp dword [ebp - 0x61c], 0
je 0x5fc8f5
push 2
push 0
mov ecx, dword [ebp - 0x61c]
push ecx
call fcn.006675d0
add esp, 0xc
mov edx, dword [ebp - 0x61c]
push edx
call fcn.00667420
add esp, 4
mov dword [ebp - 0x618], eax
mov eax, dword [ebp - 0x61c]
push eax
call fcn.00666980
add esp, 4
jmp 0x5fc8ff
mov dword [ebp - 0x20c], 1
cmp dword [ebp - 0x20c], 0
jne 0x5fca47
mov ecx, dword [ebp - 0x618]
push ecx
call fcn.00668220
add esp, 4
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
je 0x5fca47
push 0x67c34c
mov edx, dword [ebp + 0xc]
add edx, 0x21c
push edx
call fcn.00666960
add esp, 8
mov dword [ebp - 0x61c], eax
cmp dword [ebp - 0x61c], 0
je 0x5fca2e
mov eax, dword [ebp - 0x61c]
push eax
push 1
mov ecx, dword [ebp - 0x618]
push ecx
mov edx, dword [ebp - 0x624]
push edx
call fcn.00667090
add esp, 0x10
cmp eax, 1
je 0x5fc986
mov dword [ebp - 0x20c], 1
mov eax, dword [ebp - 0x61c]
push eax
call fcn.00666980
add esp, 4
cmp dword [ebp - 0x20c], 0
jne 0x5fc9f3
push 0x67c0cc
lea ecx, [ebp - 0x208]
push ecx
call fcn.00666960
add esp, 8
test eax, eax
je 0x5fc9f3
mov edx, dword [ebp - 0x61c]
push edx
push 1
mov eax, dword [ebp - 0x618]
push eax
mov ecx, dword [ebp - 0x624]
push ecx
call fcn.006667e0
add esp, 0x10
cmp eax, 1
je 0x5fc9e4
mov dword [ebp - 0x20c], 1
mov edx, dword [ebp - 0x61c]
push edx
call fcn.00666980
add esp, 4
cmp dword [ebp - 0x20c], 0
jne 0x5fca2e
cmp dword [0x751090], 0
je 0x5fca2e
mov eax, dword [ebp + 0xc]
add eax, 0x21c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x330], 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x32c], 0
mov edx, dword [ebp - 0x624]
push edx
call fcn.00666790
add esp, 4
mov dword [ebp - 0x624], 0
cmp dword [ebp - 0x624], 0
je 0x5fca5f
mov eax, dword [ebp - 0x624]
push eax
call fcn.00666790
add esp, 4
mov eax, dword [ebp - 0x20c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret