Function at 0x4436f0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x475d01
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x884], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x89c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x8ac]
xor ebx, ebx
mov ebp, ecx
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x4439c6
cmp word [esi], bx
je 0x4439c6
push esi
lea ecx, [ebp + 0x40]
call fcn.0041c290
cmp dword [ebp + 0x2c], ebx
je 0x4439c6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x443762
sub eax, edx
sar eax, 1
cmp eax, 0x104
jge 0x4439c6
push 0x410
lea eax, [esp + 0x48c]
push ebx
push eax
call fcn.0045bc00
add esp, 0xc
push 0x47d76c
push esi
lea ecx, [esp + 0x490]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
movzx edx, word [ebp + 0x3c]
mov eax, dword [ebp + 0x24]
push edx
push ebx
push 0x343e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x5c
mov word [esp + 0x47c], cx
mov dword [esp + 0x480], ebx
mov dword [esp + 0x484], ebx
lea edx, [esp + 0x488]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x8a8], ebx
call fcn.0042c8e0
cmp eax, ebx
je 0x4439ad
cmp dword [esp + 0x484], ebx
je 0x443853
mov eax, dword [esp + 0x24]
shr eax, 4
and eax, 1
je 0x443853
cmp word [esp + 0x50], 0x2e
jne 0x443853
mov ax, word [esp + 0x52]
cmp ax, bx
je 0x44382a
cmp ax, 0x2e
jne 0x443853
cmp word [esp + 0x54], bx
jne 0x443853
mov eax, dword [esp + 0x480]
cmp eax, ebx
je 0x4439ad
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x484], eax
mov edi, eax
jmp 0x4439a1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
call fcn.0042d4f0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x8a8], 1
call fcn.0042d480
lea ecx, [esp + 0x14]
mov byte [esp + 0x8a4], 2
call fcn.0041a920
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
test eax, eax
jne 0x4438e9
cmp dword [ebp + 0x34], ebx
je 0x4438e9
mov eax, dword [ebp + 0x34]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jne 0x4438e9
lea ecx, [esp + 0x24]
call fcn.0042c6d0
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0041a500
lea ecx, [esp + 0x18]
mov byte [esp + 0x8a4], bl
call fcn.0041a500
jmp 0x4439a1
cmp dword [esp + 0x484], ebx
je 0x44390e
mov eax, dword [esp + 0x24]
shr eax, 4
and eax, 1
cmp eax, ebx
je 0x44390e
mov esi, dword [esp + 0x18]
push esi
mov ecx, ebp
call fcn.004434b0
jmp 0x44391a
mov esi, dword [esp + 0x18]
push esi
mov ecx, ebp
call fcn.004432e0
mov eax, dword [esp + 0x480]
cmp eax, ebx
jne 0x443929
xor edi, edi
jmp 0x44394b
cmp dword [esp + 0x484], ebx
jne 0x443936
xor edi, edi
jmp 0x44394b
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [esp + 0x484], eax
mov edi, eax
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, dword [0x493010]
je 0x443978
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x443978
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0045c814
add esp, 4
lea eax, [esi - 0xc]
mov byte [esp + 0x8a4], bl
cmp eax, dword [0x493010]
je 0x4439a1
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4439a1
push esi
call fcn.0045c814
add esp, 4
mov esi, dword [esp + 0x1c]
cmp edi, ebx
jne 0x4437f6
lea ecx, [esp + 0x24]
call fcn.0042c870
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x24]
call fcn.0042c870
mov ecx, dword [esp + 0x89c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x884]
xor ecx, esp
call fcn.0045bbec
add esp, 0x894
ret 4