Function at 0x1047e8c
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
xor edi, edi
cmp eax, edi
je 0x1047eaa
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 4], edi
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x1047ebb
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x14], edi
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x1047ecc
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x18], edi
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x1047edd
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x1047eee
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x1047eff
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x28]
cmp eax, edi
je 0x1047f10
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x28], edi
lea eax, [esi + 0x2c]
push eax
call fcn.01047ced
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x1047f2a
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0xc], edi
mov eax, dword [esi]
cmp eax, edi
je 0x1047f39
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x1047f4a
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x10], edi
lea eax, [esi + 0x30]
push eax
call fcn.01047ced
lea eax, [esi + 0x34]
push eax
call fcn.01047ced
lea eax, [esi + 0x38]
push eax
call fcn.01047ced
lea eax, [esi + 0x3c]
push eax
call fcn.01047ced
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x1047f7f
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x48]
cmp eax, edi
je 0x1047f90
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x48], edi
mov eax, dword [esi + 0x50]
cmp eax, edi
je 0x1047fa1
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x50], edi
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x1047fb2
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x54], edi
mov eax, dword [esi + 0x58]
cmp eax, edi
je 0x1047fc3
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x58], edi
mov eax, dword [esi + 0x5c]
cmp eax, edi
je 0x1047fd4
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x5c], edi
mov eax, dword [esi + 0x60]
cmp eax, edi
je 0x1047fe5
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x60], edi
mov eax, dword [esi + 0x64]
cmp eax, edi
je 0x1047ff6
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0x68]
cmp eax, edi
je 0x1048007
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x68], edi
mov eax, dword [esi + 0x6c]
cmp eax, edi
je 0x1048018
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x6c], edi
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x1048029
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x70], edi
mov eax, dword [esi + 0x74]
cmp eax, edi
je 0x104803a
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x74], edi
mov eax, dword [esi + 0x78]
cmp eax, edi
je 0x104804b
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x78], edi
mov eax, dword [esi + 0x7c]
cmp eax, edi
je 0x104805c
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x7c], edi
lea ebx, [esi + 0x80]
mov eax, dword [ebx]
cmp eax, edi
je 0x1048071
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebx], edi
mov eax, dword [esi + 0x40]
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, edi
je 0x10480b7
push 0x1005dc8
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x10480a1
lea eax, [ebp - 4]
push eax
push dword [esi + 0x40]
mov dword [ebp - 4], edi
call fcn.010592bb
jmp 0x10480a6
push dword [esi + 0x40]
call ebx
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x10480b7
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 0x40], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x10480d2
push eax
call ebx
mov eax, dword [esi + 8]
cmp eax, edi
je 0x10480d2
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [esi + 8], edi
pop edi
pop esi
pop ebx
leave
ret