Function at 0x48a330
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x503000
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
push eax
mov ebp, 1
mov dword [esp + 0x18], edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
mov eax, dword [esi]
jne 0x48a44c
sub eax, 0x10
call fcn.004048c0
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], edi
cmp dword [ebx - 0xc], 0xf8
jl 0x48a3a1
lea eax, [esp + 0x18]
push eax
call fcn.0041e5f0
mov ebx, dword [esp + 0x18]
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x48a428
mov eax, dword [esi]
sub eax, 0x10
call fcn.004048c0
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x29
push str._fab922a8_736e_4cb5_a666_4fd849a3049c.txt
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x38], 1
call fcn.0041e520
push edi
push 0x80
push 2
push edi
push edi
mov edi, dword [esp + 0x30]
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x48a405
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebp, ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x2c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48a432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48a432
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x48a4c7
sub eax, 0x10
call fcn.004048c0
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x29
push str._fab922a8_736e_4cb5_a666_4fd849a3049c.txt
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x38], 2
call fcn.0041e520
push edi
push 0x80
push 2
push edi
push edi
mov edi, dword [esp + 0x30]
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x48a4a5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebp, ebp
jmp 0x48a4af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48a4d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
je 0x48a6b1
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], 3
cmp dword [esp + 0x14], 5
jne 0x48a68d
call fcn.004177c0
test eax, eax
je 0x48a68d
lea ecx, [esp + 0x14]
push 0x108
push ecx
call fcn.00433510
mov edi, eax
lea edx, [esp + 0x20]
push 0x109
mov bl, 4
push edx
mov byte [esp + 0x3c], bl
call fcn.00433510
mov byte [esp + 0x3c], 5
mov ecx, dword [edi]
mov edx, dword [esi]
mov eax, dword [eax]
push ecx
push edx
push eax
push str._s___s__n_n_s
lea edi, [esp + 0x3c]
call fcn.00404890
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a57b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a5a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
call fcn.00401140
mov esi, eax
lea ecx, [esp + 0x14]
push 0x106
mov bl, 6
push ecx
mov byte [esp + 0x34], bl
call fcn.00433510
push esi
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x40], 7
call fcn.0041d700
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax]
push 0x40
push esi
push ecx
call fcn.00488c60
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x20
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48a607
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a62b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a650
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a674
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48a6b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret