Function at 0x47a0cb
Capabilities:
Delete file

Disassembly:
mov eax, 0x6ac64f
call fcn.00664608
sub esp, 0x560
push ebx
push esi
xor esi, esi
push edi
push 0x104
cmp dword [ebp + 8], esi
jne 0x47a31b
lea eax, [ebp - 0x56c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x80
push 4
lea eax, [ebp - 0x56c]
push eax
call fcn.00452e49
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esi
cmp eax, 0xffffffff
je 0x47a387
push eax
call fcn.00479ffe
test eax, eax
je 0x47a30d
push esi
push 0xf8
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x14]
call fcn.0045301f
test eax, eax
jne 0x47a30d
mov edi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc0]
mov dword [ebp - 0x10], edi
test edi, edi
je 0x47a30d
cmp ebx, 0xc
jbe 0x47a30d
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
lea eax, [ebp + 0xb]
mov dword [ebp - 4], esi
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.0044e12b
push esi
push edi
push 0xc
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x14]
call fcn.00453062
mov edi, dword [ebp - 0x40]
test eax, eax
jne 0x47a2d7
mov eax, 0x200
cmp word [ebp - 0x60], ax
jne 0x47a2d7
push 2
pop eax
cmp word [ebp - 0x5e], ax
jne 0x47a2d7
mov eax, dword [ebp - 0x64]
cmp eax, 0x100000
jae 0x47a2d7
push esi
sub ebx, eax
add eax, dword [ebp - 0x10]
push eax
push ebx
push edi
push dword [ebp - 0x14]
call fcn.00453062
test eax, eax
jne 0x47a2d7
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push edi
call fcn.00580b8f
push esi
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.004518bd
xor eax, eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push 8
pop ebx
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], ebx
jb 0x47a21c
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x18]
push edi
push eax
call fcn.00455877
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], ebx
jb 0x47a231
mov eax, dword [ebp - 0x34]
push 1
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.004f3297
test eax, eax
je 0x47a273
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], ebx
jb 0x47a24c
mov eax, dword [ebp - 0x34]
push 0x791bb4
push 1
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.004f2efb
test al, al
je 0x47a273
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0047a3d4
mov dword [ebp - 0x1c], eax
jmp 0x47a285
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], ebx
jb 0x47a27e
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jb 0x47a2bf
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x47a2b6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x48], esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00427afc
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x47a30d
mov eax, dword [ebp - 0x38]
sub eax, edi
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x47a304
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
push eax
push edi
call fcn.006643a9
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
call fcn.00452ddb
mov eax, dword [ebp - 0x1c]
jmp 0x47a389
lea eax, [ebp - 0x364]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x80
push 4
lea eax, [ebp - 0x364]
push eax
call fcn.00452e49
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x47a387
push esi
push dword [ebp + 8]
push eax
call fcn.0047a39a
mov edi, eax
mov ebx, edx
lea eax, [ebp - 0x18]
push eax
call fcn.00452ddb
mov ecx, edi
or ecx, ebx
je 0x47a387
push ebx
push edi
sub esp, 0x18
lea eax, [ebp - 0x364]
mov ecx, esp
push eax
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], 7
call fcn.00427ba3
call fcn.004796a9
jmp 0x47a389
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4