Function at 0x43f791
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x138
mov eax, 0x45c4d3
call fcn.00457139
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x120], eax
cmp ecx, 8
jb 0x43f7b5
mov edx, dword [eax]
jmp 0x43f7b7
mov edx, eax
xor ebx, ebx
cmp edx, ebx
je 0x43f7c6
cmp ecx, 8
jb 0x43f7cb
mov eax, dword [eax]
jmp 0x43f7cb
mov eax, dword [0x4818b0]
push eax
lea eax, [ebp - 0x80]
call fcn.004061eb
push 0xfde9
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], ebx
call fcn.0045141d
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x43f7f7
mov eax, dword [eax]
push eax
push dword [0x481248]
push dword [0x48113c]
push ebx
call fcn.0044159c
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0xb8]
call fcn.00405d80
push 1
lea esi, [ebp - 0x80]
call fcn.004060c4
mov byte [ebp - 0x10d], 1
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 4], 2
push dword [0x4818c0]
lea eax, [ebp - 0x9c]
call fcn.004061eb
lea ebx, [ebp - 0x9c]
lea edi, [ebp - 0x130]
mov byte [ebp - 4], 3
call fcn.0040a265
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.004060c4
push dword [0x4818c4]
lea eax, [ebp - 0x48]
call fcn.004061eb
lea eax, [ebp - 0x130]
push eax
push 6
push dword [ebp - 0x120]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0043efa5
add esp, 0xc
push ebx
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004060c4
mov esi, dword [ebp - 0x12c]
cmp esi, dword [ebp - 0x130]
je 0x43faf0
jmp 0x43f8d1
xor ebx, ebx
inc ebx
push dword [0x4818c8]
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0xd4]
push eax
call fcn.0040a6b2
add esi, 0xffffffe4
lea ecx, [ebp - 0x2c]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x134], esi
call fcn.0040a766
add esp, 0x10
push ebx
xor edi, edi
lea esi, [ebp - 0xd4]
call fcn.004060c4
xor eax, eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 8
push dword [0x4818c4]
lea eax, [ebp - 0x64]
call fcn.004061eb
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x2c]
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.0043efa5
add esp, 0xc
push ebx
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.004060c4
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x114], eax
jmp 0x43f9e4
push dword [0x4818c8]
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a6b2
push dword [ebp - 0x114]
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040a766
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x43f9a7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
and byte [ebp - 0x10d], al
push ebx
xor edi, edi
lea esi, [ebp - 0x10c]
call fcn.004060c4
push ebx
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 8
call fcn.004060c4
add dword [ebp - 0x114], 0x1c
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x140]
jne 0x43f96f
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x43f9f8
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov dword [ebp - 0x118], 0x1b
setne al
and byte [ebp - 0x10d], al
mov dword [ebp - 0x114], 0x2d
mov dword [ebp - 0x11c], 0x43
mov eax, dword [ebp - 0x118]
add eax, 0x11
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x118]
cmp ecx, eax
jge 0x43fac3
mov eax, dword [ebp - 0x11c]
add eax, 0x48
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x11c]
imul eax, eax, 0x55
sub eax, ecx
mov ecx, dword [ebp - 0x118]
sub eax, ecx
mov ecx, dword [ebp - 0x114]
lea eax, [eax + ecx + 0x51]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
imul eax, eax, 0x78
sub eax, ecx
add eax, dword [ebp - 0x114]
add eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x118]
lea eax, [eax + ecx + 0x55]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x118]
cmp eax, ecx
jl 0x43fac3
add dword [ebp - 0x118], 0xffffffd0
lea ebx, [ebp - 0x144]
call fcn.004040d2
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004060c4
mov esi, dword [ebp - 0x134]
cmp esi, dword [ebp - 0x130]
jne 0x43f8ce
lea ebx, [ebp - 0x130]
call fcn.004040d2
mov al, byte [ebp - 0x10d]
call fcn.004571bc
ret