Function at 0x41e280
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c3e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x60c9c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x3c]
call fcn.0043f9a5
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00405b90
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00416ff0
push 4
push str..
lea ecx, [ebp - 0x10]
call fcn.00407c10
mov eax, dword [ebp - 0x10]
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043fa4c
test eax, eax
jne 0x41e33c
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e317
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043f9d7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x3c]
call fcn.0043f615
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0043f967
test eax, eax
jne 0x41e47c
push esi
lea ecx, [ebp + 8]
call fcn.00405b90
push 0x5c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00416ff0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0043fd28
push eax
lea edx, [ebp - 0x14]
push 0x55f888
push edx
mov byte [ebp - 4], 3
call fcn.00417080
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00407c10
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [ebp - 0x3c]
call eax
test eax, eax
je 0x41e407
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0041e280
jmp 0x41e459
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0043fd28
mov eax, dword [eax]
push str.UnstData.ini
push eax
call fcn.005321b4
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x20]
setne bl
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e44b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41e459
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e47c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x41e33c
lea ecx, [ebp - 0x3c]
call fcn.0043f52f
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.0043f9d7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4