Function at 0x436b90
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1213
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
mov eax, dword [0x4f5b3c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], edi
push 0xa
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.004a7f83
push 0xa
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004a7f83
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004aad1d
mov eax, dword [0x4f5b3c]
mov dword [ebp - 0x20], eax
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], vtable.CFileException.0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0xffffffff
call fcn.004a9d5c
lea ecx, [ebp - 0x1bc]
call fcn.00434200
push esi
lea ecx, [ebp - 0x1c]
mov ebx, 7
push str.now_we_delete_directory:
push ecx
mov byte [ebp - 4], bl
call fcn.004a9edc
push eax
mov byte [ebp - 4], 8
call fcn.0045db50
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004a9c1f
mov edx, dword [esi]
push 0x5c
mov ecx, esi
mov edi, dword [edx - 8]
call fcn.004a72e7
dec edi
cmp eax, edi
je 0x436c6d
push 0x4ee660
mov ecx, esi
call fcn.004a9faf
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push eax
call fcn.004a9d5c
push 0x4eea10
lea ecx, [ebp - 0x14]
call fcn.004a9faf
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.00434210
lea ecx, [ebp - 0x1bc]
call fcn.00434310
test eax, eax
je 0x436cf5
lea ecx, [ebp - 0x1bc]
call fcn.00434290
test eax, eax
je 0x436cc1
lea edx, [ebp - 0x190]
lea ecx, [ebp - 0x70]
push edx
call fcn.004a80e9
mov eax, dword [ebp + 8]
test eax, eax
je 0x436ce6
lea ecx, [ebp - 0x1bc]
call fcn.004342d0
test eax, eax
je 0x436ce6
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x54]
push eax
call fcn.004a80e9
lea ecx, [ebp - 0x1bc]
call fcn.00434310
test eax, eax
jne 0x436ca3
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x436d77
mov ecx, dword [esi]
mov eax, edi
mov edi, dword [edi]
add eax, 8
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
call fcn.004a9edc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.004a9d0c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004a9c1f
lea ecx, [ebp - 0x38]
call fcn.004aad9a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
push eax
call fcn.004aa674
mov dword [ebp - 4], ebx
call fcn.004aadd8
jmp 0x436cf8
mov eax, dword [ebp + 8]
test eax, eax
jne 0x436da1
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x1bc]
mov esi, eax
call fcn.00434270
mov dword [ebp - 0x30], vtable.CFileException.0
mov byte [ebp - 4], 0xe
jmp 0x436e15
mov eax, dword [esi]
mov edi, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x14]
call fcn.004a9d5c
test edi, edi
je 0x436df4
mov eax, edi
mov edi, dword [edi]
add eax, 8
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp + 8]
push ecx
push edx
call fcn.004a9e02
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xf
call fcn.004a9d5c
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004a9c1f
push 1
lea ecx, [ebp - 0x18]
call fcn.00436b90
test eax, eax
je 0x436e65
test edi, edi
jne 0x436db3
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x1bc]
mov esi, eax
call fcn.00434270
mov dword [ebp - 0x30], vtable.CFileException.0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x20]
call fcn.004a9c1f
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004a7ff7
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.004a7ff7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004a9c1f
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x1bc]
call fcn.00434270
mov dword [ebp - 0x30], vtable.CFileException.0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x20]
call fcn.004a9c1f
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004a7ff7
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.004a7ff7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.004a9c1f
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4