Function at 0x1047e6c
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 0x1047e8a
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 0x1047e9b
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 0x1047eac
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 0x1047ebd
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 0x1047ece
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 0x1047edf
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 0x1047ef0
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.01047ccd
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x1047f0a
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 0x1047f19
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 0x1047f2a
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.01047ccd
lea eax, [esi + 0x34]
push eax
call fcn.01047ccd
lea eax, [esi + 0x38]
push eax
call fcn.01047ccd
lea eax, [esi + 0x3c]
push eax
call fcn.01047ccd
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x1047f5f
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 0x1047f70
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 0x1047f81
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 0x1047f92
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 0x1047fa3
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 0x1047fb4
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 0x1047fc5
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 0x1047fd6
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 0x1047fe7
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 0x1047ff8
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 0x1048009
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 0x104801a
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 0x104802b
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 0x104803c
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 0x1048051
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 0x1048097
push 0x1005dc8
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x1048081
lea eax, [ebp - 4]
push eax
push dword [esi + 0x40]
mov dword [ebp - 4], edi
call fcn.0105929a
jmp 0x1048086
push dword [esi + 0x40]
call ebx
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x1048097
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 0x10480b2
push eax
call ebx
mov eax, dword [esi + 8]
cmp eax, edi
je 0x10480b2
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