Function at 0x401fd0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x42fc98
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x440de4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
cmp dword [esi - 0xc], 0
mov dword [esp + 0x48], 0
jne 0x40203f
or ebp, 0xffffffff
lea eax, [esi - 0x10]
mov dword [esp + 0x48], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x402029
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
push 0x433684
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00401e90
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
call fcn.0040ab67
mov eax, dword [esp + 0x18]
push 0
mov ebx, 2
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], bl
call fcn.0040abf3
or ebp, 0xffffffff
test eax, eax
je 0x402161
jmp 0x402090
lea ecx, [esp + 0x24]
call fcn.0040a865
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.0040ab2e
test eax, eax
jne 0x402155
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x28]
call eax
test eax, eax
je 0x402117
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040ad92
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov byte [esp + 0x50], 3
call fcn.00401780
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00401fd0
add esp, 4
test eax, eax
je 0x4021d9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x48], bl
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x402149
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040ad92
mov edx, dword [esp + 0x1c]
push edx
call fcn.00401200
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x48], ebx
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402155
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x402090
mov esi, dword [esp + 0x50]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x24]
call fcn.0040a795
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
call fcn.0040ab8b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4021a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x48], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4021c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
lea ecx, [esp + 0x24]
call fcn.0040a795
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x48], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402205
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
call fcn.0040ab8b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402237
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
jmp 0x40200f