Function at 0x464e80
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4f4170
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0x3c]
add ebx, 0x30
mov dword [esp + 0x1c], ebx
cmp esi, dword [ebx + 0x10]
jbe 0x464ebd
call fcn.004c6ae5
mov edi, dword [ebx]
mov ebp, esi
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], esi
cmp dword [ebx + 0xc], esi
jbe 0x464eda
call fcn.004c6ae5
mov eax, dword [ebx]
mov dword [esp + 0x2c], eax
test edi, edi
je 0x464eea
cmp edi, dword [esp + 0x2c]
je 0x464eef
call fcn.004c6ae5
cmp ebp, esi
je 0x46510f
test edi, edi
jne 0x464f2a
call fcn.004c6ae5
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x464f0c
call fcn.004c6ae5
lea esi, [esp + 0x34]
mov ecx, ebp
call fcn.0045ddf0
mov dword [esp + 0x58], 0
cmp dword [eax + 0x18], 8
jb 0x464f2e
mov esi, dword [eax + 4]
jmp 0x464f31
mov eax, dword [edi]
jmp 0x464f02
lea esi, [eax + 4]
mov edx, dword [0x5442cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x5442cc
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x58], 1
test esi, esi
je 0x4650c2
test esi, 0xffff0000
jne 0x4650d4
movzx esi, si
push esi
call fcn.00405a89
mov edi, eax
add esp, 4
test edi, edi
je 0x465022
mov ecx, esi
shr ecx, 4
inc ecx
movzx edx, cx
push 6
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x465022
push eax
push edi
mov eax, esi
call fcn.00405aec
mov edi, eax
add esp, 8
test edi, edi
je 0x465022
movzx esi, word [edi]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, esi
or eax, ecx
jge 0x464fc7
mov eax, esi
lea ecx, [esp + 0x18]
call fcn.004035ef
mov ebp, dword [esp + 0x18]
movzx eax, word [edi]
lea ebx, [edi + 2]
cmp eax, 0xffffffff
jne 0x464fdc
push ebx
call fcn.004c6f29
add esp, 4
inc eax
add eax, eax
push eax
push ebx
lea edi, [esi + esi]
push edi
push ebp
call fcn.004c652b
add esp, 0x10
cmp eax, 0x50
ja case.0x464ffd.1
movzx ecx, byte [eax + 0x465164]
jmp dword [ecx*4 + 0x465154]
test esi, esi
jl case.0x464ffd.22
cmp esi, dword [ebp - 8]
jg case.0x464ffd.22
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov dword [ebp - 0xc], esi
mov word [edi + ebp], dx
mov edi, dword [esp + 0x24]
mov byte [esp + 0x58], 2
lea eax, [esp + 0x18]
push eax
call fcn.00469000
mov esi, dword [esp + 0x1c]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [esp + 0x58], 0
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465064
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x465080
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004c6252
add esp, 4
xor edx, edx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], dx
test edi, edi
jne 0x4650ed
call fcn.004c6ae5
xor eax, eax
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x10]
jb 0x4650b0
call fcn.004c6ae5
add dword [esp + 0x28], 0x1c
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
jmp 0x464ee0
xor eax, eax
push eax
push esi
lea eax, [esp + 0x20]
call fcn.00405ca6
jmp 0x465026
push esi
call fcn.004c6f29
add esp, 4
push eax
push esi
lea eax, [esp + 0x20]
call fcn.00405ca6
jmp 0x465026
mov eax, dword [edi]
jmp 0x4650a2
push 0x8007000e
call fcn.00403765
push 0x80070057
call fcn.00403765
push 0x80004005
call fcn.00403765
mov ebp, dword [ebx + 0x10]
cmp dword [ebx + 0xc], ebp
jbe 0x46511c
call fcn.004c6ae5
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx]
cmp esi, dword [ebx + 0x10]
jbe 0x46512b
call fcn.004c6ae5
mov eax, dword [ebx]
push ebp
push edi
push esi
push eax
lea edx, [esp + 0x3c]
push edx
mov esi, ebx
call fcn.004653c0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret