Function at 0x483993
Capabilities:
Delete file

Disassembly:
mov eax, 0x6a3eb4
call fcn.006426c4
sub esp, 0x558
push ebx
push esi
xor esi, esi
push edi
push 0x104
cmp dword [ebp + 8], esi
jne 0x483b76
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.00461def
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], esi
cmp eax, 0xffffffff
jne 0x4839e9
xor eax, eax
jmp 0x483bdc
push eax
call fcn.004838c2
test eax, eax
je 0x483b68
push esi
push 0xf8
lea eax, [ebp - 0x154]
push eax
push dword [ebp + 8]
call fcn.00461f7d
test eax, eax
jne 0x483b68
mov ebx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb8]
test ebx, ebx
je 0x483b68
cmp edi, 0xc
jbe 0x483b68
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.0045fdb7
push esi
push ebx
push 0xc
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.00461fc2
test eax, eax
jne 0x483b5c
mov eax, 0x200
cmp word [ebp - 0x34], ax
jne 0x483b5c
push 2
pop eax
cmp word [ebp - 0x32], ax
jne 0x483b5c
cmp dword [ebp - 0x38], 0x100000
jae 0x483b5c
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.00461fc2
test eax, eax
jne 0x483b5c
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push ebx
call fcn.00577359
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00460dc6
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 0x483adb
lea eax, [ebp - 0x2c]
push dword [ebp - 0x10]
push ebx
push eax
call fcn.00463f7b
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x483af1
lea eax, [ebp - 0x2c]
xor edi, edi
lea ecx, [ebp - 0x5c]
inc edi
push edi
push ecx
push eax
call fcn.004ffb31
test eax, eax
je 0x483b35
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x483b0f
lea eax, [ebp - 0x2c]
push 0x78d84c
push edi
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.004ff767
test al, al
je 0x483b35
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00483c2b
mov dword [ebp - 0x14], eax
jmp 0x483b48
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x483b41
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push edi
lea ecx, [ebp - 0x5c]
call fcn.004285f6
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004285f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00438f2d
lea eax, [ebp + 8]
push eax
call fcn.00461d7f
mov eax, dword [ebp - 0x14]
jmp 0x483bdc
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.00461def
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x4839e2
push esi
push dword [ebp + 8]
push eax
call fcn.00483bef
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x10]
push eax
call fcn.00461d7f
mov ecx, esi
or ecx, edi
je 0x4839e2
push edi
push esi
sub esp, 0x18
lea eax, [ebp - 0x35c]
mov ecx, esp
push eax
call fcn.00429d77
call fcn.00483047
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4