Function at 0x403500
Capabilities:
Delete directory

Disassembly:
mov eax, 0x2264
call fcn.004118b0
mov eax, dword [0x41a07c]
xor eax, esp
mov dword [esp + 0x2260], eax
mov eax, dword [esp + 0x2268]
push ebp
push esi
lea edx, [esp + 0xa64]
push edi
mov dword [esp + 0x14], ecx
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x403530
xor eax, eax
mov word [esp + 0x1268], ax
lea eax, [esp + 0xa68]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403553
sub eax, edx
sar eax, 1
lea eax, [esp + eax*2 + 0xa66]
lea ecx, [esp + 0xa68]
cmp eax, ecx
jb 0x4035b3
movzx ecx, word [eax]
cmp cx, 0x2f
je 0x403593
cmp cx, 0x5c
je 0x403593
sub eax, 2
lea edx, [esp + 0xa68]
cmp eax, edx
jae 0x403574
jmp 0x4035b3
xor ecx, ecx
mov word [eax], cx
add eax, 2
lea edx, [esp + 0x1268]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4035a4
lea edx, [esp + 0x1268]
push 0x2a
push edx
call fcn.00408f84
add esp, 8
test eax, eax
jne 0x4035e3
lea eax, [esp + 0x1268]
push 0x3f
push eax
call fcn.00408f84
add esp, 8
test eax, eax
je 0x403846
xor eax, eax
jmp 0x4035f0
movzx ecx, word [esp + eax + 0xa68]
mov word [esp + eax + 0x268], cx
add eax, 2
test cx, cx
jne 0x4035f0
lea edi, [esp + 0x268]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403612
mov ecx, dword [0x4170e0]
mov dword [edi], ecx
lea edi, [esp + 0x268]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403630
mov edx, dword [0x4170e4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x26c]
push ecx
mov dword [edi], edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x403846
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, 0x416d6c
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403699
test dx, dx
je 0x403695
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403699
add eax, 4
add ecx, 4
test dx, dx
jne 0x403673
xor eax, eax
jmp 0x40369e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403827
mov ecx, 0x416d70
lea eax, [esp + 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4036d6
test dx, dx
je 0x4036d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4036d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4036b0
xor eax, eax
jmp 0x4036db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x403827
xor eax, eax
jmp 0x4036f0
movzx ecx, word [esp + eax + 0xa68]
mov word [esp + eax + 0x268], cx
add eax, 2
test cx, cx
jne 0x4036f0
lea edi, [esp + 0x268]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403712
mov edx, dword [0x4170e0]
lea eax, [esp + 0x44]
mov dword [edi], edx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403730
lea edi, [esp + 0x268]
sub eax, edx
add edi, 0xfffffffe
jmp 0x403750
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x403750
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test byte [esp + 0x18], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x403827
lea eax, [esp + 0x268]
push eax
call ebp
test eax, eax
jne 0x403827
lea esp, [esp]
movzx ecx, word [esp + eax + 0x268]
mov word [esp + eax + 0x1a68], cx
add eax, 2
test cx, cx
jne 0x403790
lea edi, [esp + 0x1a68]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4037b2
mov ecx, dword [0x4170e0]
lea eax, [esp + 0x1268]
mov dword [edi], ecx
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4037d0
lea edi, [esp + 0x1a68]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4037f0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4037f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea edx, [esp + 0x1a68]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
push edx
call fcn.00403500
lea eax, [esp + 0x268]
push eax
call ebp
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40366a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x226c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00408c7e
add esp, 0x2264
ret 4