Function at 0x41f1f0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53726e
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.0041c4f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5c]
push 0x10
push eax
call fcn.0041e330
add esp, 8
lea ecx, [ebp - 0x9c]
call fcn.0043ae40
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0xac], 0
call fcn.0050b0c8
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.00420620
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.0043b250
mov bl, al
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x41f307
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f2fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f988
push edx
push ecx
call fcn.0050b392
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 0x41f6cc
mov ecx, dword [ebp - 0x7c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x41f33a
mov al, 1
jmp 0x41f33c
xor al, al
test al, al
je 0x41f393
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x41f393
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 0x41f393
cmp edx, 1
je 0x41f376
cmp edi, 8
lea eax, [ebp - 0x74]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x41f393
cmp edx, 2
jne 0x41f393
mov ebx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], edi
jmp 0x41f44d
or ecx, 0
je 0x41f39c
mov al, 1
jmp 0x41f39e
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 0x41f409
call fcn.0041e950
add esp, 0xc
mov byte [ebp - 4], 5
push eax
call fcn.0041f1f0
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 0x41f43d
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f433
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f98d
jmp 0x41f433
call fcn.0041e950
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.0043be20
movzx eax, al
cdq
mov edi, eax
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa0], edi
mov ebx, edx
jmp 0x41f3d3
push edx
push ecx
call fcn.0050b392
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.0043af40
test al, al
je 0x41f6d8
mov ecx, dword [ebp - 0x7c]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x41f474
mov al, 1
jmp 0x41f476
xor al, al
test al, al
je 0x41f4b8
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x41f4b8
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 0x41f4b8
cmp edx, 1
je 0x41f6a8
cmp edi, 8
lea eax, [ebp - 0x74]
cmovae eax, ebx
cmp word [eax + 2], 0x2e
jne 0x41f4b8
cmp edx, 2
je 0x41f6a8
or ecx, 0
je 0x41f4c1
mov al, 1
jmp 0x41f4c3
xor al, al
test al, al
je 0x41f5bb
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.0041ebc0
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.0041c6a0
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.0041c6a0
lea eax, [ebp - 0x2c]
push eax
call fcn.0041f1f0
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 0x41f5a2
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f598
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f988
push edx
push ecx
call fcn.0050b392
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x41f6b4
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.0041ebc0
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.0041c6a0
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.0041c6a0
lea ecx, [ebp - 0x44]
call fcn.0043be20
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 0x41f692
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f688
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f988
push edx
push ecx
call fcn.0050b392
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
jmp 0x41f6b4
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
call fcn.0043af40
test al, al
jne 0x41f463
jmp 0x41f6d8
mov ebx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41f6f0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41f6f0
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 0x41f7a1
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.0043c750
test al, al
je 0x41f859
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 0x41f859
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41f78d
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f783
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f98d
push edx
push ecx
call fcn.0050b392
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 0x41f7c3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41f7c3
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.0050b392
add esp, 8
mov dword [ebp - 0xac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004185c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x41f825
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f81b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f98d
push edx
push ecx
call fcn.0050b392
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.0050b0b7
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41f897
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f88d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f98d
push edx
push ecx
call fcn.0050b392
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.0043b5f0
mov dword [ebp - 0xa0], eax
cmp eax, 0xffffffff
je 0x41f7a7
xor edx, edx
lea ecx, [ebp - 0x5c]
call fcn.0043b4d0
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 0x41f7a1
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.0043c750
test al, al
je 0x41f927
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 0x41f74f
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41f961
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f957
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f98d
push edx
push ecx
call fcn.0050b392
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.0043b4d0
jmp 0x41f7a7
call fcn.0050f799
call fcn.0050f799
int3