Function at 0x6d5ab0f0
Capabilities:
Delete directory

Disassembly:
sub esp, 0xc
push esi
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x6d5ab19f
push edi
lea edi, [esi + 8]
push str.SunJavaDeployment
mov dword [esi + 4], 0
mov dword [edi], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x6d5ab134
push 0x8007000e
call fcn.6d5ca1c9
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [sym.imp.kernel32.dll_InterlockedIncrement]
mov dword [esp + 0x14], esi
push ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x6d5ab152
add eax, 8
push eax
call ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.6d594760
mov ebp, dword [sym.imp.kernel32.dll_InterlockedDecrement]
push edi
call ebp
test eax, eax
jne 0x6d5ab193
mov eax, dword [esi]
test eax, eax
je 0x6d5ab17a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ab18a
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x6d5ab1a9
mov eax, dword [esi]
jmp 0x6d5ab1ab
push 0x8007000e
call fcn.6d5ca1c9
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
je 0x6d5ab347
test esi, esi
je 0x6d5ab1c2
mov esi, dword [esi]
jmp 0x6d5ab1c4
xor esi, esi
mov edi, dword [sym.imp.kernel32.dll_RemoveDirectoryW]
push esi
call edi
push str.SunJava
lea ecx, [esp + 0x1c]
call fcn.6d592e00
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
test eax, eax
je 0x6d5ab1ed
add eax, 8
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.6d594760
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.6d5a81e0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x6d5ab241
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x6d5ab241
mov eax, dword [esi]
test eax, eax
je 0x6d5ab228
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ab238
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x6d5ab279
lea ecx, [esi + 8]
push ecx
call ebp
test eax, eax
jne 0x6d5ab279
mov eax, dword [esi]
test eax, eax
je 0x6d5ab260
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ab270
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6d5ab285
mov eax, dword [eax]
jmp 0x6d5ab287
xor eax, eax
push eax
call edi
push str.Sun
lea ecx, [esp + 0x1c]
call fcn.6d592e00
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
test eax, eax
je 0x6d5ab2aa
add eax, 8
push eax
call ebx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
call fcn.6d594760
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.6d5a81e0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x6d5ab2fe
lea ecx, [esi + 8]
push ecx
call ebp
test eax, eax
jne 0x6d5ab2fe
mov eax, dword [esi]
test eax, eax
je 0x6d5ab2e5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ab2f5
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x6d5ab336
lea edx, [esi + 8]
push edx
call ebp
test eax, eax
jne 0x6d5ab336
mov eax, dword [esi]
test eax, eax
je 0x6d5ab31d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ab32d
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x6d5ab342
mov eax, dword [esi]
jmp 0x6d5ab344
xor eax, eax
push eax
call edi
test esi, esi
je 0x6d5ab37b
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x6d5ab37b
mov eax, dword [esi]
test eax, eax
je 0x6d5ab362
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ab372
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x6d5ab3b7
lea ecx, [esi + 8]
push ecx
call ebp
test eax, eax
jne 0x6d5ab3b7
test esi, esi
je 0x6d5ab3b7
mov eax, dword [esi]
test eax, eax
je 0x6d5ab39e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x6d5ab3ae
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xc
ret