Function at 0x41a06d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, 1
lea edi, [ebp - 0x10]
mov dword [edi], 1
mov dword [edi + 4], 9
add edi, 0x10
dec ecx
jne 0x41a07b
mov ecx, 1
lea esi, [ebp + 8]
call fcn.00414141
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x4037b5
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
lea esi, [ebp - 0x10]
call fcn.00413a56
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov esi, dword [0x40176d]
mov esi, dword [esi + eax*8]
add esi, dword [0x401771]
mov dl, 0
xchg byte [esi + ecx], dl
push esi
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
pop edx
pop ecx
pop esi
mov byte [esi + ecx], dl
mov dword [ebp - 8], eax
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
lea esi, [ebp - 0x10]
mov eax, esi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4037b5
mov eax, esi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
call fcn.004135e4
mov esi, dword [0x401799]
sub esi, 0x14
lea eax, [esi + 0x404dd4]
mov dword [0x401799], esi
push eax
mov ebx, eax
mov ecx, dword [ebx + 4]
lea esi, [ebx + 8]
mov eax, dword [esi]
cmp ecx, 0
je 0x41a1a9
cmp ecx, 1
jne 0x41a171
test eax, eax
je 0x41a1a9
mov eax, 1
jmp 0x41a1a9
cmp ecx, 2
jne 0x41a18b
fld qword [esi]
wait
ftst
wait
fnstsw ax
fstp st(0)
sahf
mov eax, 0
je 0x41a1a9
inc eax
jmp 0x41a1a9
cmp ecx, 3
jne 0x41a19b
xor eax, eax
cmp dword [ebx + 0xc], 0
je 0x41a1a9
inc eax
jmp 0x41a1a9
cmp ecx, 4
jne 0x41a1a7
mov eax, 1
jmp 0x41a1a9
xor eax, eax
pop ebx
push eax
cmp byte [ebx], 2
jne 0x41a1b7
mov esi, ebx
call fcn.0041392c
pop eax
or eax, eax
je 0x41a1e0
mov ebx, dword [0x401799]
lea edi, [ebx + 0x404dd4]
mov eax, 0x4038c7
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add ebx, 0x14
mov dword [0x401799], ebx
jmp 0x41a24a
mov edx, dword [0x401799]
lea edi, [edx + 0x404dd4]
mov esi, 0x4039d7
mov eax, esi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [edi], eax
add edx, 0x14
mov dword [0x401799], edx
jmp 0x41a24a
mov ecx, 1
lea esi, [ebp + 8]
call fcn.0041419b
mov ebx, dword [0x401799]
lea eax, [ebx + 0x404dc0]
lea edi, [ebp - 0x10]
mov ecx, 1
mov ebx, dword [edi + 4]
cmp ebx, 3
je 0x41a278
cmp ebx, 4
jne 0x41a29a
cmp dword [eax + 4], ebx
jne 0x41a28d
mov edx, dword [eax + 8]
cmp dword [edi + 8], edx
jne 0x41a28d
mov dword [eax], 2
jmp 0x41a29a
push edi
push ecx
push eax
mov esi, edi
call fcn.0041395a
pop eax
pop ecx
pop edi
add edi, 0x10
dec ecx
jne 0x41a26b
leave
ret 4