Function at 0x4305a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46c39c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
mov al, byte [esp + 3]
push ebp
push esi
mov esi, dword [0x48e53c]
mov ebp, ecx
push edi
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], al
call fcn.00404a40
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.004046d0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x79]
mov byte [esp + 0x78], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x78]
mov dword [esp + 0x288], 0
push ecx
mov ecx, ebp
stosb byte es:[edi], al
call fcn.004316a0
mov ebp, dword [esp + 0x290]
test ebp, ebp
je 0x4307b7
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4307b7
mov ecx, 0x40
lea edi, [esp + 0x17d]
mov byte [esp + 0x17c], al
mov dl, byte [esp + 0xf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea ecx, [esp + 0x34]
stosb byte es:[edi], al
mov byte [esp + 0x34], dl
call fcn.00404a40
mov edi, 0x48e488
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x48e488
lea ecx, [esp + 0x38]
call fcn.004046d0
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], 1
mov byte [esp + 0x14], al
call fcn.00404a40
mov edi, 0x48e488
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x48e488
lea ecx, [esp + 0x18]
call fcn.004046d0
lea ecx, [esp + 0x54]
mov byte [esp + 0x288], 2
push ecx
call fcn.0043bd22
lea edx, [esp + 0x58]
push edx
call fcn.0043bb30
sub eax, 0x3f480
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push eax
call fcn.0043b9d0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
add esp, 0xc
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc edx
push ecx
add eax, 0x76c
push edx
push eax
lea ecx, [esp + 0x190]
push str.ProData__d__02d__02d__02d__02d.dat
push ecx
call fcn.0043ac7e
lea edx, [esp + 0x198]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.00407aa0
add esp, 0x28
mov edx, dword [0x46f7b0]
mov byte [esp + 0x288], 3
push edx
push 0
push eax
lea ecx, [esp + 0x3c]
call fcn.004044d0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x28c], 2
call fcn.00404a40
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x430774
mov eax, 0x46f7ac
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00445c80
add esp, 8
test eax, eax
jge 0x4307e9
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], 1
call fcn.00404a40
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x28c], 0
call fcn.00404a40
push 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x28c], 0xffffffff
call fcn.00404a40
xor eax, eax
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x280
ret 4
mov eax, dword [0x48e780]
test eax, eax
je 0x430864
mov eax, dword [0x48e77c]
test eax, eax
jne 0x430800
mov eax, 0x46f7ac
lea edx, [esp + 0x78]
push eax
push edx
call fcn.00445c80
add esp, 8
test eax, eax
jl 0x430864
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], 1
call fcn.00404a40
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x28c], 0
call fcn.00404a40
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4307cd
mov al, byte [ecx - 1]
test al, al
je 0x430855
cmp al, 0xff
je 0x430855
dec al
mov byte [ecx - 1], al
jmp 0x4307cd
dec ecx
push ecx
call fcn.0045da32
add esp, 4
jmp 0x4307cd
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
xor esi, esi
cmp ecx, esi
je 0x4308ab
mov al, byte [ecx - 1]
test al, al
je 0x4308a1
cmp al, 0xff
je 0x4308a1
dec al
mov byte [ecx - 1], al
jmp 0x4308ab
dec ecx
push ecx
call fcn.0045da32
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], esi
cmp ecx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
je 0x4308db
mov al, byte [ecx - 1]
test al, al
je 0x4308d1
cmp al, 0xff
je 0x4308d1
dec al
mov byte [ecx - 1], al
jmp 0x4308db
dec ecx
push ecx
call fcn.0045da32
add esp, 4
mov ecx, dword [esp + 0x24]
cmp ecx, esi
je 0x430907
mov al, byte [ecx - 1]
test al, al
je 0x4308fd
cmp al, 0xff
je 0x4308fd
dec al
mov byte [ecx - 1], al
mov eax, 1
jmp 0x4307cf
dec ecx
push ecx
call fcn.0045da32
add esp, 4
mov eax, 1
jmp 0x4307cf