Function at 0x406090
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x45561d
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x470050]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470050]
xor eax, esp
push eax
lea eax, [esp + 0x2e4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2f4]
xor ebp, ebp
mov edi, ecx
cmp eax, ebp
je 0x4065df
xor ecx, ecx
mov word [esp + 0x20], cx
mov ecx, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x4060f6
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x20]
call fcn.00402da0
mov dword [esp + 0x2ec], ebp
cmp dword [esp + 0x30], ebp
jne 0x406126
cmp dword [esp + 0x34], 8
jmp 0x4065d0
xor eax, eax
mov word [esp + 0x3c], ax
push ebp
mov eax, 0x45b064
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebp
call fcn.00402da0
mov ebx, 1
mov byte [esp + 0x2ec], bl
cmp edi, ebp
je 0x406190
mov eax, edi
lea ecx, [esp + 0x54]
call fcn.00402680
push 0xffffffffffffffff
push ebp
mov ecx, esi
mov byte [esp + 0x2f4], 2
call fcn.004028d0
mov byte [esp + 0x2ec], bl
cmp dword [esp + 0x6c], 8
jb 0x406190
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0042c62b
add esp, 4
cmp dword [esp + 0x4c], ebp
jbe 0x406226
mov ecx, dword [esp + 0x4c]
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x4061ae
call fcn.0042c4d4
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov edi, 8
cmp dword [esp + 0x50], edi
jae 0x4061c1
lea eax, [esp + 0x3c]
cmp word [eax + esi*2], 0x5c
je 0x4061e6
cmp esi, ecx
jbe 0x4061d1
call fcn.0042c4d4
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x4061df
lea eax, [esp + 0x3c]
cmp word [eax + esi*2], 0x2f
jne 0x406226
lea edx, [esp + 0x38]
push edx
mov ecx, esi
xor edx, edx
lea esi, [esp + 0x58]
call fcn.004066a0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x2f4], 3
call fcn.004028d0
mov byte [esp + 0x2ec], bl
cmp dword [esp + 0x6c], edi
jb 0x406226
mov eax, dword [esp + 0x58]
push eax
call fcn.0042c62b
add esp, 4
mov ecx, dword [esp + 0x30]
lea esi, [ecx - 1]
mov edi, ecx
cmp esi, ecx
jbe 0x40623c
call fcn.0042c4d4
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x40624b
lea eax, [esp + 0x20]
cmp word [eax + esi*2], 0x5c
je 0x406275
cmp esi, ecx
jbe 0x40625f
call fcn.0042c4d4
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x40626e
lea eax, [esp + 0x20]
cmp word [eax + esi*2], 0x2f
jne 0x4062bc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
xor edx, edx
lea esi, [esp + 0x58]
call fcn.004066a0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x2f4], 4
call fcn.004028d0
mov byte [esp + 0x2ec], bl
cmp dword [esp + 0x6c], 8
jb 0x4062b6
mov edx, dword [esp + 0x58]
push edx
call fcn.0042c62b
add esp, 4
mov ecx, dword [esp + 0x30]
mov edi, ecx
xor esi, esi
cmp edi, ebp
jbe 0x406310
cmp esi, ecx
jbe 0x4062cf
call fcn.0042c4d4
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x4062de
lea eax, [esp + 0x20]
cmp word [eax + esi*2], 0x2f
jne 0x40630a
cmp esi, ecx
jbe 0x4062ee
call fcn.0042c4d4
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x4062fd
lea eax, [esp + 0x20]
mov ecx, 0x5c
mov word [eax + esi*2], cx
mov ecx, dword [esp + 0x30]
add esi, ebx
cmp esi, edi
jb 0x4062c2
mov dword [esp + 0x18], 0x5c
mov ebp, 8
lea edi, [esp + 0x18]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x17], 0
call fcn.00406900
test eax, eax
je 0x4065a2
cmp eax, 0xffffffff
je 0x4065a2
cmp eax, dword [esp + 0x4c]
je 0x4065a2
mov edx, ebx
push edx
mov ecx, eax
xor edx, edx
lea esi, [esp + 0x58]
call fcn.004066a0
mov eax, esi
push eax
mov ebx, str..
lea esi, [esp + 0x74]
mov byte [esp + 0x2f0], 5
call fcn.00406bb0
add esp, 4
mov byte [esp + 0x2ec], 6
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], ebp
jae 0x40638f
lea eax, [esp + 0x74]
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40655c
mov bl, 1
mov ecx, 0x45be24
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4063dd
test dx, dx
je 0x4063d9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4063dd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4063b7
xor eax, eax
jmp 0x4063e2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406425
mov ecx, 0x45be28
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406418
test dx, dx
je 0x406414
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406418
add eax, 4
add ecx, 4
test dx, dx
jne 0x4063f2
xor eax, eax
jmp 0x40641d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4064c5
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov al, 1
lea ecx, [ecx]
test al, al
je 0x4064c7
lea edx, [esp + 0x8c]
push edx
push esi
call edi
test eax, eax
jne 0x40644b
xor al, al
jmp 0x406430
mov ecx, 0x45be24
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40647d
test dx, dx
je 0x406479
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40647d
add eax, 4
add ecx, 4
test dx, dx
jne 0x406457
xor eax, eax
jmp 0x406482
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40642b
mov ecx, 0x45be28
lea eax, [esp + 0xb8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4064b8
test dx, dx
je 0x4064b4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4064b8
add eax, 4
add ecx, 4
test dx, dx
jne 0x406492
xor eax, eax
jmp 0x4064bd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40642b
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test bl, bl
je 0x406500
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebp
jae 0x4064e0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x406500
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x24]
call fcn.004028d0
mov bl, 1
jmp 0x406504
mov bl, byte [esp + 0x17]
cmp dword [esp + 0x88], ebp
jb 0x40651a
mov eax, dword [esp + 0x74]
push eax
call fcn.0042c62b
add esp, 4
xor ecx, ecx
mov byte [esp + 0x2ec], 1
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], cx
cmp dword [esp + 0x6c], ebp
jb 0x406552
mov edx, dword [esp + 0x58]
push edx
call fcn.0042c62b
add esp, 4
test bl, bl
jne 0x40631d
jmp 0x4065a2
cmp dword [esp + 0x88], ebp
jb 0x406572
mov eax, dword [esp + 0x74]
push eax
call fcn.0042c62b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], cx
cmp dword [esp + 0x6c], ebp
jb 0x4065a2
mov edx, dword [esp + 0x58]
push edx
call fcn.0042c62b
add esp, 4
cmp dword [esp + 0x50], ebp
jb 0x4065b5
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042c62b
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x34], ebp
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
jb 0x4065df
mov edx, dword [esp + 0x20]
push edx
call fcn.0042c62b
add esp, 4
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.0042c1e9
add esp, 0x2dc
ret