Function at 0x480435
Capabilities:
Delete file

Disassembly:
mov eax, 0x698c64
call fcn.006375a8
sub esp, 0x558
push ebx
push esi
xor esi, esi
push edi
push 0x104
cmp dword [ebp + 8], esi
jne 0x480618
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.0045fa00
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], esi
cmp eax, 0xffffffff
jne 0x48048b
xor eax, eax
jmp 0x48067e
push eax
call fcn.00480364
test eax, eax
je 0x48060a
push esi
push 0xf8
lea eax, [ebp - 0x154]
push eax
push dword [ebp + 8]
call fcn.0045fb96
test eax, eax
jne 0x48060a
mov ebx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb8]
test ebx, ebx
je 0x48060a
cmp edi, 0xc
jbe 0x48060a
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.0045dc4a
push esi
push ebx
push 0xc
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.0045fbdb
test eax, eax
jne 0x4805fe
mov eax, 0x200
cmp word [ebp - 0x34], ax
jne 0x4805fe
push 2
pop eax
cmp word [ebp - 0x32], ax
jne 0x4805fe
cmp dword [ebp - 0x38], 0x100000
jae 0x4805fe
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.0045fbdb
test eax, eax
jne 0x4805fe
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push ebx
call fcn.00572018
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.0045ea02
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 0x48057d
lea eax, [ebp - 0x2c]
push dword [ebp - 0x10]
push ebx
push eax
call fcn.00461ae3
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x480593
lea eax, [ebp - 0x2c]
xor edi, edi
lea ecx, [ebp - 0x5c]
inc edi
push edi
push ecx
push eax
call fcn.004fbf6f
test eax, eax
je 0x4805d7
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4805b1
lea eax, [ebp - 0x2c]
push 0x77d624
push edi
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.004fbba5
test al, al
je 0x4805d7
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004806e6
mov dword [ebp - 0x14], eax
jmp 0x4805ea
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4805e3
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push edi
lea ecx, [ebp - 0x5c]
call fcn.004267c2
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004267c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004370b2
lea eax, [ebp + 8]
push eax
call fcn.0045f990
mov eax, dword [ebp - 0x14]
jmp 0x48067e
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.0045fa00
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x480484
push esi
push dword [ebp + 8]
push eax
call fcn.00480691
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x10]
push eax
call fcn.0045f990
mov ecx, esi
or ecx, edi
je 0x480484
push edi
push esi
sub esp, 0x18
lea eax, [ebp - 0x35c]
mov ecx, esp
push eax
call fcn.00427f43
call fcn.0047fae9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4