Function at 0x1048358
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 0x1048376
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 0x1048387
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 0x1048398
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 0x10483a9
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 0x10483ba
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 0x10483cb
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 0x10483dc
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.010481b9
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x10483f6
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 0x1048405
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 0x1048416
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.010481b9
lea eax, [esi + 0x34]
push eax
call fcn.010481b9
lea eax, [esi + 0x38]
push eax
call fcn.010481b9
lea eax, [esi + 0x3c]
push eax
call fcn.010481b9
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x104844b
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 0x104845c
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 0x104846d
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 0x104847e
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 0x104848f
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 0x10484a0
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 0x10484b1
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 0x10484c2
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 0x10484d3
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 0x10484e4
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 0x10484f5
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 0x1048506
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 0x1048517
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 0x1048528
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 0x104853d
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov dword [ebx], edi
mov eax, dword [esi + 0x40]
cmp eax, edi
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
je 0x1048583
push 0x1005ed8
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x104856d
lea eax, [ebp - 4]
push eax
push dword [esi + 0x40]
mov dword [ebp - 4], edi
call fcn.0105a39e
jmp 0x1048572
push dword [esi + 0x40]
call ebx
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x1048583
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 0x104859e
push eax
call ebx
mov eax, dword [esi + 8]
cmp eax, edi
je 0x104859e
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