Function at 0x446af0
Capabilities:
Delete directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4746f6
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x340], edi
mov dword [ebp - 0x33c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x344], esi
mov dword [ebp - 0x338], 0
test esi, esi
je 0x446b60
cmp word [esi], 0
je 0x446b60
push esi
lea ecx, [ebp - 0x35c]
call fcn.004185a0
add esp, 4
mov ecx, eax
mov eax, 1
jmp 0x446ba1
mov ecx, edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446b80
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00411b40
lea ecx, [ebp - 0x28]
mov eax, 2
mov dword [ebp - 0x88], 0
xor edx, edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x330], eax
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov dword [ebp - 4], 1
test al, 2
je 0x446c46
mov edx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x338], eax
cmp edx, 8
jb 0x446c46
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446c36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474b9
push edx
push ecx
call fcn.00451449
mov eax, dword [ebp - 0x330]
add esp, 8
mov byte [ebp - 4], 2
test al, 1
je 0x446cba
mov edx, dword [ebp - 0x348]
and eax, 0xfffffffe
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x338], eax
cmp edx, 8
jb 0x446c9d
mov ecx, dword [ebp - 0x35c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446c93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474b9
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 7
mov word [ebp - 0x35c], ax
test esi, esi
je 0x446ce3
cmp word [esi], 0
je 0x446ce3
mov edx, dword [ebp - 0x33c]
lea ecx, [ebp - 0x40]
push esi
call fcn.004185a0
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x330]
or eax, 4
jmp 0x446d28
mov esi, dword [ebp - 0x33c]
mov ecx, esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446d03
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00411b40
mov eax, dword [ebp - 0x330]
lea ecx, [ebp - 0x28]
or eax, 8
mov dword [ebp - 0x70], 0
xor edx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x330], eax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov dword [ebp - 4], 4
test al, 8
je 0x446dbb
mov edx, dword [ebp - 0x14]
and eax, 0xfffffff7
mov dword [ebp - 0x330], eax
cmp edx, 8
jb 0x446dbb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446dab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474be
push edx
push ecx
call fcn.00451449
mov eax, dword [ebp - 0x330]
add esp, 8
mov byte [ebp - 4], 5
test al, 4
je 0x446e1a
mov edx, dword [ebp - 0x2c]
and eax, 0xfffffffb
mov dword [ebp - 0x330], eax
cmp edx, 8
jb 0x446e06
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446dfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474be
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x74], 8
lea edx, [ebp - 0x88]
push 0x4c8f50
cmovae edx, dword [ebp - 0x88]
lea ecx, [ebp - 0xa0]
call fcn.004185a0
mov eax, dword [ebp - 0x330]
or eax, 0x40
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x338], eax
push 0x28c
lea eax, [ebp - 0x32c]
mov byte [ebp - 4], 6
push 0
push eax
call fcn.00452b60
cmp dword [ebp - 0x8c], 8
lea edx, [ebp - 0xa0]
cmovae edx, dword [ebp - 0xa0]
sub esp, 8
mov esi, esp
mov ecx, edx
mov dword [esi], 0
lea edi, [ecx + 2]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446ea0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00411b40
lea ecx, [ebp - 0x32c]
call fcn.004181b0
mov byte [ebp - 4], 7
cmp byte [ebp - 0x2f8], 0
je 0x446ef0
cmp dword [ebp - 0x31c], 0
mov byte [ebp - 0x2f8], 0
setne al
test al, al
jne 0x446f53
mov byte [ebp - 0x331], al
jmp 0x447360
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x2f4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x446f12
mov byte [ebp - 0x331], al
jmp 0x447360
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446f20
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x32c]
call fcn.00411b40
mov eax, dword [ebp - 0x2f0]
shr eax, 4
and al, 1
mov byte [ebp - 0x314], al
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x331], 1
cmovae ecx, dword [ebp - 0x70]
call fcn.00418b20
mov esi, dword [ebp - 0x340]
mov edi, 0xc8
nop word [eax + eax]
cmp dword [ebp - 0x318], 8
lea ecx, [ebp - 0x32c]
cmovae ecx, dword [ebp - 0x32c]
cmp dword [ebp - 0x31c], 1
jne 0x446fb4
push 1
mov edx, 0x4c7bc0
call fcn.004146b0
add esp, 4
test eax, eax
je 0x447322
cmp dword [ebp - 0x318], 8
lea ecx, [ebp - 0x32c]
cmovae ecx, dword [ebp - 0x32c]
cmp dword [ebp - 0x31c], 2
jne 0x446fe8
push 2
mov edx, 0x4c8f54
call fcn.004146b0
add esp, 4
test eax, eax
jne 0x446fe8
mov al, 1
jmp 0x446fea
xor al, al
test al, al
jne 0x447322
mov ecx, dword [ebp - 0x344]
test ecx, ecx
je 0x447037
cmp word [ecx], 0
je 0x447037
cmp dword [ebp - 0x318], 8
lea eax, [ebp - 0x32c]
mov edx, ecx
lea ecx, [ebp - 0x40]
cmovae eax, dword [ebp - 0x32c]
push eax
call fcn.004185a0
mov eax, dword [ebp - 0x330]
add esp, 4
or eax, 0x80
lea ecx, [ebp - 0x40]
or eax, 0x10
jmp 0x447054
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x35c]
call fcn.00411780
mov ecx, eax
mov eax, dword [ebp - 0x330]
or eax, 0x20
mov dword [ebp - 0x58], 0
xor edx, edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x330], eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov dword [ebp - 4], 9
test al, 0x20
je 0x447116
mov edx, dword [ebp - 0x348]
and eax, 0xffffffdf
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x338], eax
cmp edx, 8
jb 0x4470f9
mov ecx, dword [ebp - 0x35c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4470e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474b9
push edx
push ecx
call fcn.00451449
mov eax, dword [ebp - 0x330]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 7
mov word [ebp - 0x35c], cx
mov byte [ebp - 4], 0xa
test al, 0x10
je 0x447167
mov edx, dword [ebp - 0x2c]
and eax, 0xffffffef
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x338], eax
cmp edx, 8
jb 0x447167
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44715d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474b9
push edx
push ecx
call fcn.00451449
add esp, 8
cmp byte [ebp - 0x314], 0
lea eax, [ebp - 0x58]
je 0x44719f
cmp dword [ebp - 0x44], 8
mov edx, esi
mov ecx, dword [ebp - 0x33c]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00446af0
add esp, 4
test al, al
jne 0x4472e4
mov byte [ebp - 0x331], al
jmp 0x4472e4
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x340]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004185a0
or dword [ebp - 0x330], 0x100
mov edx, dword [ebp - 0x33c]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004185a0
mov eax, dword [ebp - 0x330]
add esp, 8
or eax, 0x200
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 0xc
xor esi, esi
nop
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 3
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x447241
cmp esi, 4
jge 0x44723a
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
shr edi, 1
cmp esi, 5
jl 0x447200
jmp 0x44724e
mov byte [ebp - 0x331], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00432730
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44728c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447282
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474b9
push edx
push ecx
call fcn.00451449
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4472de
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4472d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474b9
push edx
push ecx
call fcn.00451449
add esp, 8
mov esi, dword [ebp - 0x340]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x447322
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447318
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474b9
push edx
push ecx
call fcn.00451449
add esp, 8
cmp byte [ebp - 0x2f8], 0
je 0x447432
cmp dword [ebp - 0x31c], 0
mov byte [ebp - 0x2f8], 0
setne al
test al, al
jne 0x446f80
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x32c]
call fcn.004182f0
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x4473ab
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4473a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474c3
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4473e5
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4473db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474c3
push edx
push ecx
call fcn.00451449
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x447498
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44748e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474c3
jmp 0x44748e
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x2f4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x447348
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447456
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x32c]
call fcn.00411b40
mov eax, dword [ebp - 0x2f0]
shr eax, 4
and al, 1
mov byte [ebp - 0x314], al
jmp 0x446f80
push edx
push ecx
call fcn.00451449
add esp, 8
mov al, byte [ebp - 0x331]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
ret
call fcn.00460976
call fcn.00460976
call fcn.00460976
int3