Function at 0x47fc5b
Capabilities:
Delete file

Disassembly:
mov eax, 0x6b0590
call fcn.00651da4
sub esp, 0x558
push ebx
push esi
xor esi, esi
push edi
push 0x104
cmp dword [ebp + 8], esi
jne 0x47fe3e
lea eax, [ebp - 0x564]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x80
push 4
lea eax, [ebp - 0x564]
push eax
call fcn.0045d9b9
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], esi
cmp eax, 0xffffffff
jne 0x47fcb1
xor eax, eax
jmp 0x47fea4
push eax
call fcn.0047fb8a
test eax, eax
je 0x47fe30
push esi
push 0xf8
lea eax, [ebp - 0x154]
push eax
push dword [ebp + 8]
call fcn.0045db47
test eax, eax
jne 0x47fe30
mov ebx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb8]
test ebx, ebx
je 0x47fe30
cmp edi, 0xc
jbe 0x47fe30
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], esi
call fcn.0045bc56
push esi
push ebx
push 0xc
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.0045db8c
test eax, eax
jne 0x47fe24
mov eax, 0x200
cmp word [ebp - 0x34], ax
jne 0x47fe24
push 2
pop eax
cmp word [ebp - 0x32], ax
jne 0x47fe24
cmp dword [ebp - 0x38], 0x100000
jae 0x47fe24
add ebx, dword [ebp - 0x38]
sub edi, dword [ebp - 0x38]
push esi
push ebx
mov ebx, dword [ebp - 0x44]
push edi
push ebx
push dword [ebp + 8]
call fcn.0045db8c
test eax, eax
jne 0x47fe24
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push ebx
call fcn.0057e7d7
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.0045c940
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], esi
mov word [ebp - 0x5c], ax
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
jae 0x47fda3
lea eax, [ebp - 0x2c]
push dword [ebp - 0x10]
push ebx
push eax
call fcn.004601c3
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x47fdb9
lea eax, [ebp - 0x2c]
xor edi, edi
lea ecx, [ebp - 0x5c]
inc edi
push edi
push ecx
push eax
call fcn.004fbed9
test eax, eax
je 0x47fdfd
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x47fdd7
lea eax, [ebp - 0x2c]
push 0x79e87c
push edi
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.004fbb0f
test al, al
je 0x47fdfd
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0047ff0c
mov dword [ebp - 0x14], eax
jmp 0x47fe10
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x47fe09
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push edi
lea ecx, [ebp - 0x5c]
call fcn.004284eb
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004284eb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0060d827
lea eax, [ebp + 8]
push eax
call fcn.0045d949
mov eax, dword [ebp - 0x14]
jmp 0x47fea4
lea eax, [ebp - 0x35c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x80
push 4
lea eax, [ebp - 0x35c]
push eax
call fcn.0045d9b9
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x47fcaa
push esi
push dword [ebp + 8]
push eax
call fcn.0047feb7
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x10]
push eax
call fcn.0045d949
mov ecx, esi
or ecx, edi
je 0x47fcaa
push edi
push esi
sub esp, 0x18
lea eax, [ebp - 0x35c]
mov ecx, esp
push eax
call fcn.00428153
call fcn.0047f2b7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4