Function at 0x41f1e0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53722e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
push eax
movlpd qword [ebp - 0xb4], xmm0
call fcn.0041c4e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5c]
push 0x10
push eax
call fcn.0041e320
add esp, 8
lea ecx, [ebp - 0x9c]
call fcn.0043b840
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0xac], 0
call fcn.0050b078
add esp, 4
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push 0x567f94
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00420610
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.0043bc50
mov bl, al
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x41f2f7
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f2ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f978
push edx
push ecx
call fcn.0050b342
add esp, 8
mov esi, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
test bl, bl
je 0x41f6bc
mov ecx, dword [ebp - 0x7c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x41f32a
mov al, 1
jmp 0x41f32c
xor al, al
test al, al
je 0x41f383
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x41f383
mov edi, dword [ebp - 0x60]
lea eax, [ebp - 0x74]
mov ebx, dword [ebp - 0x74]
cmp edi, 8
cmovae eax, ebx
cmp word [eax], 0x2e
jne 0x41f383
cmp edx, 1
je 0x41f366
cmp edi, 8
lea eax, [ebp - 0x74]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x41f383
cmp edx, 2
jne 0x41f383
mov ebx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], edi
jmp 0x41f43d
or ecx, 0
je 0x41f38c
mov al, 1
jmp 0x41f38e
xor al, al
test al, al
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
je 0x41f3f9
call fcn.0041e940
add esp, 0xc
mov byte [ebp - 4], 5
push eax
call fcn.0041f1e0
mov edi, eax
mov ebx, edx
add esp, 4
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x41f42d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f423
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f97d
jmp 0x41f423
call fcn.0041e940
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.0043c820
movzx eax, al
cdq
mov edi, eax
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa0], edi
mov ebx, edx
jmp 0x41f3c3
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
call fcn.0043b940
test al, al
je 0x41f6c8
mov ecx, dword [ebp - 0x7c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x41f464
mov al, 1
jmp 0x41f466
xor al, al
test al, al
je 0x41f4a8
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x41f4a8
mov edi, dword [ebp - 0x60]
lea eax, [ebp - 0x74]
mov ebx, dword [ebp - 0x74]
cmp edi, 8
cmovae eax, ebx
cmp word [eax], 0x2e
jne 0x41f4a8
cmp edx, 1
je 0x41f698
cmp edi, 8
lea eax, [ebp - 0x74]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x41f4a8
cmp edx, 2
je 0x41f698
or ecx, 0
je 0x41f4b1
mov al, 1
jmp 0x41f4b3
xor al, al
test al, al
je 0x41f5ab
mov byte [ebp - 4], 7
xor eax, eax
or dword [ebp - 0xa4], 1
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.0041ebb0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041c690
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041c690
lea eax, [ebp - 0x2c]
push eax
call fcn.0041f1e0
mov edi, dword [ebp - 0xa0]
add esp, 4
mov ebx, dword [ebp - 0xa8]
add edi, eax
mov dword [ebp - 0xa0], edi
adc ebx, edx
and dword [ebp - 0xa4], 0xfffffffe
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41f592
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f588
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f978
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x41f6a4
mov byte [ebp - 4], 8
xor eax, eax
or dword [ebp - 0xa4], 2
lea ecx, [ebp - 0x44]
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
call fcn.0041ebb0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
push eax
call fcn.0041c690
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x44]
push eax
call fcn.0041c690
lea ecx, [ebp - 0x44]
call fcn.0043c820
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa8]
movzx eax, al
cdq
add edi, eax
mov dword [ebp - 0xa0], edi
adc ebx, edx
and dword [ebp - 0xa4], 0xfffffffd
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x41f682
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f678
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f978
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
jmp 0x41f6a4
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
call fcn.0043b940
test al, al
jne 0x41f453
jmp 0x41f6c8
mov ebx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41f6e0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41f6e0
mov dword [esi], 0xffffffff
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41f791
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 9
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.0043d150
test al, al
je 0x41f849
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x41f849
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41f77d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f773
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f97d
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
add edi, 1
adc ebx, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41f7b3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41f7b3
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.0050b342
add esp, 8
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004185b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x41f815
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f80b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f97d
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov edx, ebx
mov dword [ebp - 0x48], 7
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050b067
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41f887
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f87d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f97d
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0043bff0
mov dword [ebp - 0xa0], eax
cmp eax, 0xffffffff
je 0x41f797
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.0043bed0
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41f791
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.0043d150
test al, al
je 0x41f917
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41f73f
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41f951
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f947
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f97d
push edx
push ecx
call fcn.0050b342
add esp, 8
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0043bed0
jmp 0x41f797
call fcn.0050f749
call fcn.0050f749
int3