Function at 0x403bb0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41252b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x423568]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0x4ac
xor ebx, ebx
lea eax, [ebp - 0x4bc]
push ebx
push eax
call fcn.00407e80
push 0x250
lea eax, [ebp - 0x4b8]
push ebx
push eax
call fcn.00407e80
push 0x250
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.00407e80
push 1
push 0xa
mov dword [ebp - 0x18], ebx
call fcn.0040961a
add eax, 8
mov dword [ebp - 0x4bc], ebx
add esp, 0x2c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
push 1
push 0xa
cmp dword [eax - 8], 1
jg 0x403c89
call fcn.0040961a
add eax, 8
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x4c0], eax
add esp, 8
mov eax, dword [ebp + 8]
push dword [eax - 8]
call fcn.00401e70
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x4c0]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
push esi
call fcn.00407900
add esp, 0xc
jmp 0x403cfb
call fcn.0040961a
add esp, 8
lea ecx, [ebp - 0x4c0]
add eax, 8
mov dword [ebp - 0x4c0], eax
push 1
call fcn.00401e70
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x4c0]
push 1
push 0xa
mov ecx, dword [eax - 8]
mov ax, word [eax + ecx*2 - 2]
mov word [esi], ax
call fcn.0040961a
add esp, 8
lea edi, [esi - 8]
add eax, 8
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x4c0], eax
push dword [edi]
call fcn.00401e70
mov eax, dword [edi]
add eax, eax
push eax
push esi
mov esi, dword [ebp - 0x4c0]
push esi
call fcn.00407900
push edi
call fcn.00409bd0
add esp, 0x10
mov ecx, 0x41930c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403d28
test dx, dx
je 0x403d24
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403d28
add eax, 4
add ecx, 4
test dx, dx
jne 0x403d02
xor edi, edi
jmp 0x403d2d
sbb edi, edi
or edi, 1
test esi, esi
je 0x403d3d
add esi, 0xfffffff8
push esi
call fcn.00409bd0
add esp, 4
test edi, edi
je 0x403d4e
push 0x41930c
lea ecx, [ebp + 8]
call fcn.00402180
push 1
push 0xa
call fcn.0040961a
add eax, 8
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x4c0], eax
add esp, 8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
add eax, 3
push eax
call fcn.00401e70
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x4c0]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
push esi
call fcn.00407900
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
lea ecx, [esi + eax*2]
mov eax, dword [0x419310]
mov dword [ecx], eax
mov ax, word [0x419314]
mov word [ecx + 4], ax
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4bc]
push esi
call fcn.00401c00
test eax, eax
je 0x403f33
lea eax, [ebp - 0x268]
mov ecx, 0x94
lea esi, [ebp - 0x268]
lea edi, [ebp - 0x4b8]
push eax
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x4bc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp word [ebp - 0x48c], 0x2e
mov dword [ebp - 0x4cc], eax
jne 0x403e1d
mov cx, word [ebp - 0x48a]
test cx, cx
je 0x403f20
cmp cx, 0x2e
jne 0x403e1d
cmp word [ebp - 0x488], 0
je 0x403f20
test byte [ebp - 0x4b8], 0x10
je 0x403ebc
push ecx
mov esi, esp
push 1
push 0xa
mov dword [esi], 0
call fcn.0040961a
add eax, 8
add esp, 8
mov dword [esi], eax
mov ecx, esi
mov eax, dword [ebp + 0xc]
push dword [eax - 8]
call fcn.00401e70
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
push dword [esi]
call fcn.00407900
add esp, 8
lea ecx, [ebp - 0x48c]
mov eax, esp
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.004020f0
call fcn.00403bb0
mov edi, eax
add esp, 8
test edi, edi
jne 0x403eb8
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x18]
call fcn.004020f0
mov esi, dword [ebp - 0x4c4]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test esi, esi
je 0x403eb8
add esi, 0xfffffff8
push esi
call fcn.00409bd0
add esp, 4
add ebx, edi
jmp 0x403f20
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004020f0
mov eax, dword [ebp - 0x4c8]
mov edx, eax
mov ecx, dword [ebp + 0xc]
nop dword [eax]
mov si, word [edx]
cmp si, word [ecx]
jne 0x403f06
test si, si
je 0x403f02
mov si, word [edx + 2]
cmp si, word [ecx + 2]
jne 0x403f06
add edx, 4
add ecx, 4
test si, si
jne 0x403ee0
xor esi, esi
jmp 0x403f0b
sbb esi, esi
or esi, 1
test eax, eax
je 0x403f1b
add eax, 0xfffffff8
push eax
call fcn.00409bd0
add esp, 4
test esi, esi
je 0x403f20
inc ebx
cmp dword [ebp - 0x4cc], 0
jne 0x403dc3
mov esi, dword [ebp - 0x4c0]
mov eax, dword [ebp - 0x4bc]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x403f4e
push eax
call edi
xor eax, eax
mov dword [ebp - 0x4bc], eax
test esi, esi
je 0x403f64
add esi, 0xfffffff8
push esi
call fcn.00409bd0
mov eax, dword [ebp - 0x4bc]
add esp, 4
test eax, eax
je 0x403f6b
push eax
call edi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403f7e
add eax, 0xfffffff8
push eax
call fcn.00409bd0
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x403f91
add eax, 0xfffffff8
push eax
call fcn.00409bd0
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x403fa4
add ecx, 0xfffffff8
push ecx
call fcn.00409bd0
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004065da
mov esp, ebp
pop ebp
ret