Function at 0x48e2a0
Capabilities:
Access peb ldr_data
Delete directory
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7aa1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0x10]
xor esi, esi
push eax
mov dword [esp + 0x18], esi
call fcn.004034e0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
mov ebx, 0x4eaa98
mov dword [esp + 0x294], esi
call fcn.0040fdc0
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x18], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48e329
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
jne 0x48e338
mov edi, 1
jmp 0x48e4b7
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, edi
test byte [esp + 0x30], 0x10
je 0x48e417
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x4ea68c
lea ecx, [esp + 0x60]
push ecx
call ebx
test eax, eax
je 0x48e493
push 0x4ea62c
lea edx, [esp + 0x60]
push edx
call ebx
test eax, eax
je 0x48e493
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ebx, [esp + 0x64]
call fcn.0040fdc0
push eax
lea edx, [esp + 0x28]
push edx
mov ebx, 0x4ea634
mov byte [esp + 0x29c], 1
call fcn.0040fdc0
mov byte [esp + 0x29c], 2
mov eax, dword [eax]
push eax
call fcn.0048e2a0
mov esi, eax
mov byte [esp + 0x2a0], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e3e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28c], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
mov esi, dword [esp + 0x18]
je 0x48e4af
jmp 0x48e493
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x64]
call fcn.0040fdc0
mov eax, dword [eax]
add esp, 8
push 0
push eax
call edi
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 0x48e454
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ebx, [esp + 0x64]
call fcn.0040fdc0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e493
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48e340
mov dword [esp + 0x14], 1
test esi, esi
mov edi, dword [esp + 0x14]
je 0x48e4be
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [esp + 0x28c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e4f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x284]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret