Function at 0x43ed7e
Capabilities:
Delete directory
Resolve function by parsing pe exports
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e0b90
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push eax
lea esi, [esp + 0x24]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.00401620
mov eax, esi
push 0x10
push eax
mov dword [esp + 0xd8], edi
call fcn.0043e888
pop ecx
pop ecx
lea esi, [esp + 0x74]
call fcn.0043077c
lea esi, [esp + 0x1c]
mov byte [esp + 0xd0], 1
call fcn.00430d2c
lea eax, [esp + 0x20]
push 0x4ee068
push eax
lea esi, [esp + 0x44]
mov byte [esp + 0xd8], 2
call fcn.00408420
pop ecx
pop ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0xd0], 3
push ecx
mov ecx, dword [esp + 0x20]
mov edx, eax
call fcn.00430c18
mov bl, al
mov byte [esp + 0xd0], 2
call fcn.00401650
test bl, bl
je 0x43ef39
lea esi, [esp + 0x74]
call fcn.004307bd
test al, al
jne 0x43ef27
mov eax, esi
call fcn.004307aa
test al, al
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x24]
lea edi, [esp + 0x40]
push eax
je 0x43ee9b
call fcn.00425c20
push eax
mov byte [esp + 0xdc], 4
call fcn.0043ed7e
add esp, 0xc
mov byte [esp + 0xd0], 2
jmp 0x43eeaf
call fcn.00425c20
pop ecx
pop ecx
lea esi, [esp + 0x3c]
call fcn.0043ed39
movzx eax, al
cdq
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
jmp 0x43ef1e
lea esi, [esp + 0x74]
call fcn.004307bd
test al, al
jne 0x43ef27
mov eax, esi
call fcn.004307aa
test al, al
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x24]
lea edi, [esp + 0x40]
push eax
je 0x43ef02
call fcn.00425c20
push eax
mov byte [esp + 0xdc], 5
call fcn.0043ed7e
add esp, 0xc
mov byte [esp + 0xd0], 2
jmp 0x43ef16
call fcn.00425c20
pop ecx
pop ecx
lea esi, [esp + 0x3c]
call fcn.0043ed39
movzx eax, al
cdq
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
lea esi, [esp + 0x3c]
call fcn.00401650
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x78]
call fcn.00430d5c
test al, al
jne 0x43eeb9
mov esi, dword [esp + 0x1c]
call fcn.00430c8e
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.0043e888
pop ecx
pop ecx
xor ecx, ecx
lea eax, [esp + 0x58]
mov dword [esp + 0x70], 7
call fcn.00401870
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0xd4], 6
call fcn.00443124
test al, al
pop ecx
je 0x43efc8
lea eax, [esp + 0x58]
push 0x20
push eax
call fcn.0043e888
pop ecx
pop ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x58]
call fcn.004086e0
test al, al
je 0x43efc8
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0043eb3f
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x43efb5
mov eax, dword [eax + 4]
jmp 0x43efb8
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea esi, [esp + 0x3c]
call fcn.00401650
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x43efd7
lea eax, [esp + 0x24]
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x43efef
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x43f004
add dword [esp + 0x14], 1
adc dword [esp + 0x18], 0
lea esi, [esp + 0x58]
call fcn.00401650
lea edi, [esp + 0x1c]
call fcn.00430d44
lea esi, [esp + 0x9c]
call fcn.00401650
lea esi, [esp + 0x20]
call fcn.00401650
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret