Function at 0x43f1a0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4902c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x4c1400]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c1400
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], 1
mov esi, dword [esp + 0x34]
mov ecx, dword [esi]
mov edx, dword [ecx - 0xc]
lea eax, [edx - 1]
test eax, eax
jl 0x43f3bb
cmp eax, edx
jg 0x43f3bb
movzx eax, word [ecx + eax*2]
or ebx, 0xffffffff
cmp ax, 0x5c
jne 0x43f29d
lea eax, [esp + 0x1c]
mov ecx, edx
push eax
dec ecx
push esi
call fcn.0042e282
mov byte [esp + 0x28], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x43f277
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x43f269
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x43f269
call fcn.00406f34
mov ebp, eax
mov eax, ebx
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x43f260
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x43f277
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
call fcn.00407364
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43f2ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43f2ea
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x43f2ea
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x43f2df
mov ebp, dword [eax]
cmp ebp, dword [esi]
jne 0x43f2df
call fcn.00406f34
mov ebp, eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x43f2d6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x43f2ea
push edx
push ecx
lea eax, [esp + 0x1c]
call fcn.00407364
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov ecx, dword [ecx - 0xc]
mov eax, dword [esi]
cmp ecx, dword [eax - 0xc]
jl 0x43f331
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x43f31d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x5c
push eax
call fcn.0047945a
add esp, 8
test eax, eax
jne 0x43f344
mov eax, ebx
jmp 0x43f348
sub eax, dword [esi]
sar eax, 1
lea ecx, [esp + 0x18]
push ecx
push esi
mov ecx, eax
call fcn.0042e282
mov byte [esp + 0x28], 5
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], 0
je 0x43f37f
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043f1a0
add esp, 8
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43f3a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
jmp 0x43f30f
push 0x80070057
call fcn.00407bce
int3