Function at 0x48342b
Capabilities:
Delete file

Disassembly:
mov eax, 0x6a1c3e
call fcn.00640244
sub esp, 0x558
push ebx
push esi
xor esi, esi
push edi
push 0x104
cmp dword [ebp + 8], esi
jne 0x48360e
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.00461598
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], esi
cmp eax, 0xffffffff
jne 0x483481
xor eax, eax
jmp 0x483674
push eax
call fcn.0048335a
test eax, eax
je 0x483600
push esi
push 0xf8
lea eax, [ebp - 0x154]
push eax
push dword [ebp + 8]
call fcn.0046172e
test eax, eax
jne 0x483600
mov ebx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xb8]
test ebx, ebx
je 0x483600
cmp edi, 0xc
jbe 0x483600
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.0045f897
push esi
push ebx
push 0xc
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.00461773
test eax, eax
jne 0x4835f4
mov eax, 0x200
cmp word [ebp - 0x34], ax
jne 0x4835f4
push 2
pop eax
cmp word [ebp - 0x32], ax
jne 0x4835f4
cmp dword [ebp - 0x38], 0x100000
jae 0x4835f4
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.00461773
test eax, eax
jne 0x4835f4
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push ebx
call fcn.00575ebd
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.0046059a
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 0x483573
lea eax, [ebp - 0x2c]
push dword [ebp - 0x10]
push ebx
push eax
call fcn.004636dd
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x483589
lea eax, [ebp - 0x2c]
xor edi, edi
lea ecx, [ebp - 0x5c]
inc edi
push edi
push ecx
push eax
call fcn.004ff367
test eax, eax
je 0x4835cd
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4835a7
lea eax, [ebp - 0x2c]
push 0x789834
push edi
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.004fef9d
test al, al
je 0x4835cd
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004836c3
mov dword [ebp - 0x14], eax
jmp 0x4835e0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4835d9
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
push edi
lea ecx, [ebp - 0x5c]
call fcn.004281f2
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004281f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00450d5f
lea eax, [ebp + 8]
push eax
call fcn.00461528
mov eax, dword [ebp - 0x14]
jmp 0x483674
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.00461598
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x48347a
push esi
push dword [ebp + 8]
push eax
call fcn.00483687
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x10]
push eax
call fcn.00461528
mov ecx, esi
or ecx, edi
je 0x48347a
push edi
push esi
sub esp, 0x18
lea eax, [ebp - 0x35c]
mov ecx, esp
push eax
call fcn.00429973
call fcn.00482adf
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4