Function at 0x409c90
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4a0788
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4c84d4]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c84d4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c], ebx
call fcn.00468552
lea eax, [esp + 0x84]
push eax
mov edi, str..
lea esi, [esp + 0x38]
mov byte [esp + 0x80], 1
call fcn.0040a7e0
add esp, 4
mov byte [esp + 0x7c], 2
mov eax, dword [esp + 0x38]
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jae 0x409d0a
lea eax, [esp + 0x38]
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.004685de
cmp eax, ebx
mov edi, 0xf
je 0x409e14
lea ecx, [esp + 0x18]
call fcn.004682e3
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00468519
test eax, eax
jne 0x409e0c
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0046877d
mov byte [esp + 0x7c], 3
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x409d64
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00408ca0
mov byte [esp + 0x7c], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409d9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
mov esi, 0x10
push esi
lea ecx, [esp + 0x1c]
call eax
test eax, eax
je 0x409ddf
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x74]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004081b0
call fcn.00409c90
add esp, 0x1c
jmp 0x409df4
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x409ded
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [esp + 0x7c], 2
cmp dword [esp + 0x68], esi
jb 0x409e0c
mov eax, dword [esp + 0x54]
push eax
call fcn.00460054
add esp, 4
cmp ebp, ebx
jne 0x409d22
lea ecx, [esp + 0x18]
call fcn.00468213
cmp dword [esp + 0x9c], esi
mov eax, dword [esp + 0x88]
jae 0x409e34
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x409e88
cmp dword [esp + 0x4c], esi
jb 0x409e52
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00460054
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x7c], bl
call fcn.00468576
cmp dword [esp + 0x9c], esi
jb 0x409e84
mov edx, dword [esp + 0x88]
push edx
call fcn.00460054
add esp, 4
xor eax, eax
jmp 0x409ed2
cmp dword [esp + 0x4c], esi
jb 0x409e9b
mov eax, dword [esp + 0x38]
push eax
call fcn.00460054
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x7c], bl
call fcn.00468576
cmp dword [esp + 0x9c], esi
jb 0x409ecd
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00460054
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0047d992
add esp, 0x6c
ret