Function at 0x49d090
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2373
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4fafc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x94], 1
add eax, 4
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xac]
call fcn.00461c80
mov edi, dword [ebp - 0xa8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xac]
mov ecx, edi
sub ecx, esi
mov byte [ebp - 0x8c], 0
push dword [ebp - 0x8c]
imul ecx
mov dword [ebp - 0x94], 9
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.00461200
mov edx, dword [ebp - 0xa8]
add esp, 0x10
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x98], edx
cmp edi, edx
je 0x49d17f
lea ecx, [edi + 0x18]
mov dword [ebp - 0xa0], ecx
cmp ecx, edx
je 0x49d17f
nop dword [eax + eax]
push ecx
push edi
call fcn.0045eb40
mov ecx, dword [ebp - 0xa0]
add esp, 8
mov edx, dword [ebp - 0x98]
lea esi, [ecx + 0x18]
test al, al
jne 0x49d440
mov edi, ecx
mov ecx, esi
mov dword [ebp - 0xa0], ecx
cmp ecx, edx
jne 0x49d150
mov eax, edx
cmp eax, edx
je 0x49d1bc
push eax
push edx
push edx
call fcn.004602b0
mov edi, dword [ebp - 0xa8]
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov esi, eax
cmp eax, edi
je 0x49d1b6
mov ecx, esi
call fcn.004b38e0
add esi, 0x18
cmp esi, edi
jne 0x49d1a2
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], eax
mov esi, dword [ebp - 0x9c]
lea eax, [ebp - 0xac]
add esi, 4
cmp esi, eax
je 0x49d20e
mov ecx, esi
call fcn.004b3850
mov eax, dword [ebp - 0xac]
mov dword [esi], eax
mov eax, dword [ebp - 0xa8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esi + 8], eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x94], 1
call fcn.004b3850
push esi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 1
call fcn.00461c80
mov edi, dword [ebp - 0xb4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xb8]
mov ecx, edi
sub ecx, esi
mov byte [ebp - 0x8c], 0
push dword [ebp - 0x8c]
imul ecx
mov dword [ebp - 0x94], 3
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.00461200
mov edi, dword [ebp - 0x9c]
lea eax, [ebp - 0xb8]
add esp, 0x10
lea esi, [edi + 4]
cmp esi, eax
je 0x49d2cb
mov ecx, esi
call fcn.004b3850
mov eax, dword [ebp - 0xb8]
mov dword [esi], eax
mov eax, dword [ebp - 0xb4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xb0]
mov dword [esi + 8], eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0xffffffff
call fcn.004b3850
push esi
lea ecx, [ebp - 0xc4]
call fcn.00461c80
mov ecx, dword [ebp - 0xc4]
mov eax, 5
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xc0]
cmp ecx, eax
je 0x49d332
sub eax, 0x18
cmp ecx, eax
je 0x49d332
movups xmm0, xmmword [eax]
movups xmm1, xmmword [ecx]
movq xmm2, qword [ecx + 0x10]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
add ecx, 0x18
movups xmmword [eax], xmm1
movq qword [eax + 0x10], xmm2
cmp ecx, eax
jne 0x49d304
lea esi, [edi + 4]
lea eax, [ebp - 0xc4]
cmp esi, eax
je 0x49d37e
mov ecx, esi
call fcn.004b3850
mov eax, dword [ebp - 0xc4]
mov dword [esi], eax
mov eax, dword [ebp - 0xc0]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xbc]
mov dword [esi + 8], eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0xc4]
call fcn.004b3850
xor edi, edi
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 2
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x8c], ecx
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x49d985
xor eax, eax
mov dword [ebp - 0x98], eax
add esi, eax
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
mov edx, 0xa
mov dword [ebp - 0x8c], esi
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x49d415
mov eax, dword [esi]
mov dword [ebp - 0x8c], eax
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x49d9d7
cmp esi, 7
ja 0x49d49c
mov ecx, 7
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
jmp 0x49d4fc
cmp esi, edx
je 0x49d494
push esi
push edi
call fcn.0045eb40
add esp, 8
test al, al
jne 0x49d483
add edi, 0x18
cmp edi, esi
je 0x49d483
mov ecx, edi
call fcn.004b38e0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, dword [ebp - 0x98]
jne 0x49d444
mov edx, dword [ebp - 0xa8]
lea eax, [edi + 0x18]
jmp 0x49d181
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49d4af
mov eax, 0x7ffffffe
jmp 0x49d4b5
cmp eax, 0xa
cmovb eax, edx
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045f300
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x2c], ecx
lea ecx, [esi*2 + 2]
push ecx
push dword [ebp - 0x8c]
mov dword [ebp - 0x40], eax
push eax
mov dword [ebp - 0x30], esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x2c]
add esp, 0x14
mov esi, dword [ebp - 0x30]
mov edx, 0xa
mov byte [ebp - 4], 3
test esi, esi
je 0x49d901
cmp ecx, 7
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 0
cmova eax, dword [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x90], eax
movups xmmword [ebp - 0x28], xmm0
cmp esi, 0x7ffffffe
ja 0x49d9d7
cmp esi, 7
ja 0x49d551
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
jmp 0x49d5ac
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49d564
mov eax, 0x7ffffffe
jmp 0x49d56a
cmp eax, 0xa
cmovb eax, edx
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045f300
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x14], ecx
lea ecx, [esi*2 + 2]
push ecx
push dword [ebp - 0x90]
mov dword [ebp - 0x28], eax
push eax
mov dword [ebp - 0x18], esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x2c]
add esp, 0x14
mov esi, dword [ebp - 0x18]
or dword [ebp - 0x94], 1
test esi, esi
mov byte [ebp - 4], 4
sete al
test esi, esi
jne 0x49d5c8
mov dword [ebp - 0x94], esi
jmp 0x49d634
test al, al
jne 0x49d62c
lea edx, [esi - 1]
cmp esi, edx
jbe 0x49d9d2
movups xmm0, xmmword [ebp - 0x28]
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
movd dword [ebp - 0x8c], xmm0
cmova eax, dword [ebp - 0x8c]
movzx eax, word [eax + edx*2]
cmp eax, 0x5c
je 0x49d5ff
cmp eax, 0x2f
jne 0x49d62c
cmp edx, esi
ja 0x49d61c
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], edx
cmova eax, dword [ebp - 0x8c]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x49d629
push 0
sub edx, esi
lea ecx, [ebp - 0x28]
push edx
call fcn.004b3990
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 3
cmp ecx, 7
jbe 0x49d672
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49d668
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d97f
push ecx
push edx
call fcn.004be688
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
mov ecx, dword [ebp - 0x9c]
push 0
movups xmmword [ebp - 0x40], xmm0
push 0x4dae00
mov ecx, dword [ecx + 4]
movq xmm0, qword [ebp - 0x18]
add ecx, dword [ebp - 0x98]
movq qword [ebp - 0x30], xmm0
call fcn.004b3c00
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 0
cmova eax, dword [ebp - 0x40]
push eax
call fcn.00477af0
add esp, 8
test al, al
je 0x49d8fe
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x88]
cmova eax, dword [ebp - 0x40]
push eax
call fcn.00462910
mov eax, dword [ebp - 0x7a]
and eax, 0xf000
cmp eax, 0x4000
lea eax, [ebp - 0x40]
jne 0x49d8ec
cmp dword [ebp - 0x2c], 7
xorps xmm0, xmm0
mov esi, dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x90], eax
movups xmmword [ebp - 0x28], xmm0
cmp esi, 0x7ffffffe
ja 0x49d9d7
cmp esi, 7
ja 0x49d735
mov ecx, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
jmp 0x49d792
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49d748
mov eax, 0x7ffffffe
jmp 0x49d753
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045f300
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x14], ecx
lea ecx, [esi*2 + 2]
push ecx
push dword [ebp - 0x90]
mov dword [ebp - 0x28], eax
push eax
mov dword [ebp - 0x18], esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x14]
add esp, 0x14
cmp ecx, 7
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00479ef0
add esp, 4
test al, al
lea eax, [ebp - 0x28]
je 0x49d7c7
cmp dword [ebp - 0x14], 7
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrmdir]
add esp, 4
jmp 0x49d898
cmp edi, dword [ebp - 0xc8]
je 0x49d885
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x14], 7
mov esi, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x90], eax
cmp esi, 0x7ffffffe
ja 0x49d9d7
cmp esi, 7
ja 0x49d824
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
add edi, 0x18
mov dword [ebp - 0xcc], edi
jmp 0x49d898
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49d837
mov eax, 0x7ffffffe
jmp 0x49d842
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
push edi
call fcn.0045f300
mov ecx, dword [ebp - 0x8c]
mov dword [edi + 0x14], ecx
lea ecx, [esi*2 + 2]
push ecx
push dword [ebp - 0x90]
mov dword [edi], eax
push eax
mov dword [edi + 0x10], esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x14
add edi, 0x18
mov dword [ebp - 0xcc], edi
jmp 0x49d898
push eax
push edi
lea ecx, [ebp - 0xd0]
call fcn.0045f4e0
mov edi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x49d8d6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49d8cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d97f
push ecx
push edx
call fcn.004be688
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x49d8fe
cmp dword [ebp - 0x2c], 7
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
add esp, 4
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x49d938
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49d92e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d97f
push ecx
push edx
call fcn.004be688
add esp, 8
mov ecx, dword [ebp - 0x9c]
inc dword [ebp - 0xa0]
add dword [ebp - 0x98], 0x18
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 4]
mov ecx, eax
mov dword [ebp - 0x8c], eax
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xa0], eax
jae 0x49d985
mov eax, dword [ebp - 0x98]
jmp 0x49d3e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edi, dword [ebp - 0x8c]
cmp esi, edi
je 0x49d9aa
nop
mov ecx, esi
call fcn.004b38e0
add esi, 0x18
cmp esi, edi
jne 0x49d990
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0xd0]
call fcn.004b3850
mov al, 1
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.004beb23
mov esp, ebp
pop ebp
ret
call fcn.004b3980
call fcn.004b3940
int3