Function at 0x453bd0
Capabilities:
Access peb ldr_data
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e291
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x472100]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov eax, dword [0x472100]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x14]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
call fcn.00401b40
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
mov ebx, 0x467c90
mov dword [esp + 0x2b0], esi
call fcn.00401420
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x3c], edi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x453c75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
jne 0x453c90
mov dword [esp + 0x18], 1
jmp 0x453fee
test byte [esp + 0x44], 0x10
je 0x453d6e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x467c94
lea ecx, [esp + 0x74]
push ecx
call esi
test eax, eax
je 0x453fc7
push 0x467c98
lea edx, [esp + 0x74]
push edx
call esi
test eax, eax
je 0x453fc7
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ebx, [esp + 0x78]
call fcn.00401420
push eax
lea edx, [esp + 0x44]
push edx
mov ebx, 0x467ca0
mov byte [esp + 0x2b8], 1
call fcn.00401420
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
mov byte [esp + 0x2bc], 2
mov eax, dword [eax]
push edx
push eax
call fcn.00453bd0
mov esi, eax
mov byte [esp + 0x2c4], 1
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453d39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2a8], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453d61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x453fe7
jmp 0x453fc7
cmp dword [ebp + 0xc], 0
je 0x453e3a
lea eax, [esp + 0x70]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453d80
sub eax, edx
sar eax, 1
cmp eax, 4
jle 0x453e3a
lea ecx, [esp + eax*2 + 0x68]
push 0x467ca4
push ecx
call fcn.00410729
add esp, 8
test eax, eax
jne 0x453e3a
lea esi, [esp + 0x1c]
call fcn.00453a30
lea eax, [esp + 0x70]
mov byte [esp + 0x2a8], 3
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453dd0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00401850
mov esi, dword [esp + 0x1c]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x453e16
cmp dword [ebp + 0x10], eax
je 0x453e16
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esi - 0x10]
mov byte [esp + 0x2a8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453e3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x44]
push edx
lea ebx, [esp + 0x78]
call fcn.00401420
mov eax, dword [eax]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453e7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ebx, [esp + 0x78]
call fcn.00401420
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
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 0x453ebc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x453fc7
mov edx, dword [0x474db4]
mov eax, dword [edx + 0xc]
mov ecx, 0x474db4
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x2a8], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
push ecx
push edx
push str._s_s_d__x
lea edi, [esp + 0x30]
call fcn.00401750
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ebx, [esp + 0x88]
call fcn.00401420
mov edi, dword [esp + 0x38]
mov eax, dword [eax]
push edi
push eax
call fcn.00410cc1
mov esi, eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x20
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x453f4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x453f5a
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x453fa3
cmp dword [ebp + 0x10], 0
je 0x453fa3
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
lea ebx, [esp + 0x78]
call fcn.00401420
mov eax, dword [eax]
add esp, 8
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453fa3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x2a8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453fc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x453c90
mov dword [esp + 0x18], 1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [esp + 0x2a8], 0xffffffff
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 0x454024
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.00410ae1
mov esp, ebp
pop ebp
ret