Function at 0x49d420
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2743
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 0x49d50f
lea ecx, [edi + 0x18]
mov dword [ebp - 0xa0], ecx
cmp ecx, edx
je 0x49d50f
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 0x49d7d0
mov edi, ecx
mov ecx, esi
mov dword [ebp - 0xa0], ecx
cmp ecx, edx
jne 0x49d4e0
mov eax, edx
cmp eax, edx
je 0x49d54c
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 0x49d546
mov ecx, esi
call fcn.004b3c70
add esi, 0x18
cmp esi, edi
jne 0x49d532
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 0x49d59e
mov ecx, esi
call fcn.004b3be0
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.004b3be0
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 0x49d65b
mov ecx, esi
call fcn.004b3be0
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.004b3be0
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 0x49d6c2
sub eax, 0x18
cmp ecx, eax
je 0x49d6c2
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 0x49d694
lea esi, [edi + 4]
lea eax, [ebp - 0xc4]
cmp esi, eax
je 0x49d70e
mov ecx, esi
call fcn.004b3be0
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.004b3be0
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 0x49dd15
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 0x49d7a5
mov eax, dword [esi]
mov dword [ebp - 0x8c], eax
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x49dd67
cmp esi, 7
ja 0x49d82c
mov ecx, 7
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
jmp 0x49d88c
cmp esi, edx
je 0x49d824
push esi
push edi
call fcn.0045eb40
add esp, 8
test al, al
jne 0x49d813
add edi, 0x18
cmp edi, esi
je 0x49d813
mov ecx, edi
call fcn.004b3c70
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 0x49d7d4
mov edx, dword [ebp - 0xa8]
lea eax, [edi + 0x18]
jmp 0x49d511
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49d83f
mov eax, 0x7ffffffe
jmp 0x49d845
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 0x49dc91
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 0x49dd67
cmp esi, 7
ja 0x49d8e1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
jmp 0x49d93c
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49d8f4
mov eax, 0x7ffffffe
jmp 0x49d8fa
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 0x49d958
mov dword [ebp - 0x94], esi
jmp 0x49d9c4
test al, al
jne 0x49d9bc
lea edx, [esi - 1]
cmp esi, edx
jbe 0x49dd62
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 0x49d98f
cmp eax, 0x2f
jne 0x49d9bc
cmp edx, esi
ja 0x49d9ac
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 0x49d9b9
push 0
sub edx, esi
lea ecx, [ebp - 0x28]
push edx
call fcn.004b3d20
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 3
cmp ecx, 7
jbe 0x49da02
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49d9f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49dd0f
push ecx
push edx
call fcn.004bea18
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.004b3f90
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 0
cmova eax, dword [ebp - 0x40]
push eax
call fcn.00477c70
add esp, 8
test al, al
je 0x49dc8e
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 0x49dc7c
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 0x49dd67
cmp esi, 7
ja 0x49dac5
mov ecx, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
jmp 0x49db22
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49dad8
mov eax, 0x7ffffffe
jmp 0x49dae3
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.0047a180
add esp, 4
test al, al
lea eax, [ebp - 0x28]
je 0x49db57
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 0x49dc28
cmp edi, dword [ebp - 0xc8]
je 0x49dc15
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 0x49dd67
cmp esi, 7
ja 0x49dbb4
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 0x49dc28
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49dbc7
mov eax, 0x7ffffffe
jmp 0x49dbd2
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 0x49dc28
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 0x49dc66
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49dc5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49dd0f
push ecx
push edx
call fcn.004bea18
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x49dc8e
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 0x49dcc8
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49dcbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49dd0f
push ecx
push edx
call fcn.004bea18
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 0x49dd15
mov eax, dword [ebp - 0x98]
jmp 0x49d773
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 0x49dd3a
nop
mov ecx, esi
call fcn.004b3c70
add esi, 0x18
cmp esi, edi
jne 0x49dd20
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0xd0]
call fcn.004b3be0
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.004beeb3
mov esp, ebp
pop ebp
ret
call fcn.004b3d10
call fcn.004b3cd0
int3