Function at 0x49d470
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd9cc
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4f4fa0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], 0
add ecx, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0xa4], ecx
push ecx
lea ecx, [ebp - 0x94]
call fcn.004617f0
mov edi, dword [ebp - 0x90]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x94]
mov ecx, edi
sub ecx, esi
mov byte [ebp - 0xa0], 0
push dword [ebp - 0xa0]
imul ecx
mov dword [ebp - 0x9c], 1
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.00460e10
mov esi, dword [ebp - 0x90]
add esp, 0x10
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x98], esi
cmp edi, esi
je 0x49d636
mov eax, edi
mov dword [ebp - 0x9c], eax
lea ecx, [eax + 0x18]
mov dword [ebp - 0xa0], ecx
cmp ecx, esi
je 0x49d636
nop dword [eax]
push ecx
push eax
call fcn.0045eae0
mov ecx, dword [ebp - 0xa0]
add esp, 8
lea esi, [ecx + 0x18]
test al, al
jne 0x49d576
mov eax, ecx
mov ecx, esi
mov esi, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], ecx
cmp ecx, esi
jne 0x49d540
jmp 0x49d636
cmp esi, dword [ebp - 0x98]
je 0x49d5e2
mov edi, dword [ebp - 0x9c]
push esi
push edi
call fcn.0045eae0
add esp, 8
test al, al
jne 0x49d5c3
add edi, 0x18
cmp edi, esi
je 0x49d5c3
mov ecx, edi
call fcn.004b3c30
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 0x49d584
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x9c], edi
mov edi, dword [ebp - 0x94]
jmp 0x49d5e8
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
add eax, 0x18
cmp eax, esi
je 0x49d636
push eax
push esi
push esi
call fcn.00460000
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov edi, esi
mov dword [ebp - 0x98], esi
cmp esi, eax
je 0x49d62a
mov esi, eax
mov ecx, edi
call fcn.004b3c30
add edi, 0x18
cmp edi, esi
jne 0x49d616
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x90], esi
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x94]
cmp ecx, eax
je 0x49d681
call fcn.004b3bb0
mov ecx, dword [ebp - 0xa4]
xor edi, edi
mov eax, dword [ebp - 0x94]
xor esi, esi
mov dword [ebp - 0x94], edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x90]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 8], eax
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x49d73e
cmp edi, esi
je 0x49d6f5
nop
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x49d6d5
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49d6cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d72e
mov eax, edx
push ecx
push eax
call fcn.004bec24
add esp, 8
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
add edi, 0x18
cmp edi, esi
jne 0x49d6a0
mov edi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x8c]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x49d734
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49d734
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.004bec24
add esp, 8
mov ecx, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 1
call fcn.004617f0
mov edi, dword [ebp - 0x90]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x94]
mov ecx, edi
sub ecx, esi
mov byte [ebp - 0xa0], 0
push dword [ebp - 0xa0]
imul ecx
mov dword [ebp - 0x9c], 2
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.00460e10
mov esi, dword [ebp - 0xa4]
lea eax, [ebp - 0x94]
add esp, 0x10
cmp esi, eax
je 0x49d7e3
mov ecx, esi
call fcn.004b3bb0
mov eax, dword [ebp - 0x94]
mov dword [esi], eax
mov eax, dword [ebp - 0x90]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esi + 8], eax
xor esi, esi
xor edi, edi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], esi
jmp 0x49d7ef
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x49d8a0
cmp esi, edi
je 0x49d857
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x49d837
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49d82d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d890
mov eax, edx
push ecx
push eax
call fcn.004bec24
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x49d802
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x8c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x49d896
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49d896
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004bec24
add esp, 8
mov esi, dword [ebp - 0xa4]
lea ecx, [ebp - 0x94]
push esi
call fcn.004617f0
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x9c], 4
cmp ecx, eax
je 0x49d8fe
nop dword [eax]
sub eax, 0x18
cmp ecx, eax
je 0x49d8fe
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 0x49d8d0
lea eax, [ebp - 0x94]
cmp esi, eax
je 0x49d947
mov ecx, esi
call fcn.004b3bb0
mov eax, dword [ebp - 0x94]
mov dword [esi], eax
mov eax, dword [ebp - 0x90]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esi + 8], eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x94]
call fcn.004b3bb0
xor edi, edi
xor eax, eax
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 4]
xor ecx, ecx
mov esi, dword [esi]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], ecx
mov ecx, eax
sub ecx, esi
mov dword [ebp - 4], 2
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x49dd8d
xor eax, eax
mov dword [ebp - 0x98], eax
add eax, esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov edx, 0x7ffffffe
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xa8], eax
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x49d9e4
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
cmp edi, 8
jae 0x49d9fe
movups xmm0, xmmword [eax]
mov dword [ebp - 0x14], 7
mov esi, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x49da60
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, edx
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x49dea0
add eax, eax
cmp eax, 0x1000
jb 0x49da30
push eax
call fcn.0045f1c0
add esp, 4
mov ecx, eax
jmp 0x49da43
test eax, eax
je 0x49da41
push eax
call sub.mfc140u.dll_operator_2
add esp, 4
mov ecx, eax
jmp 0x49da43
xor ecx, ecx
lea eax, [edi*2 + 2]
mov dword [ebp - 0x28], ecx
push eax
push dword [ebp - 0xa8]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 3
test edi, edi
jne 0x49daf8
mov byte [ebp - 4], 2
cmp esi, 8
jb 0x49daaa
mov ecx, dword [ebp - 0x28]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x49daa0
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d72e
push esi
push ecx
call fcn.004bec24
add esp, 8
mov edi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa4]
add edi, 0x18
inc dword [ebp - 0xac]
mov dword [ebp - 0x98], edi
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov ecx, eax
mov dword [ebp - 0xa8], eax
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xac], eax
jae 0x49dd81
mov eax, edi
jmp 0x49d9b1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004613e0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 4
test edx, edx
je 0x49db5c
lea ecx, [edx - 1]
cmp edx, ecx
jbe 0x49de9b
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
cmp esi, 8
cmovae eax, edi
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x49db37
cmp eax, 0x2f
jne 0x49db5c
cmp ecx, edx
ja 0x49db4f
cmp esi, 8
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x40]
cmovae eax, edi
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x49db5c
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x40]
call fcn.004b3e00
or dword [ebp - 0x9c], 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x49dba1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49db97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d72e
push edx
push ecx
call fcn.004bec24
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x98]
movups xmmword [ebp - 0x28], xmm0
push 0
mov ecx, dword [ecx]
movq xmm0, qword [ebp - 0x30]
add ecx, edi
push 0x4d5da0
movq qword [ebp - 0x18], xmm0
call fcn.004b41a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004775e0
add esp, 8
test al, al
je 0x49dd3a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x88]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00462460
mov eax, dword [ebp - 0x7a]
and eax, 0xf000
cmp eax, 0x4000
lea eax, [ebp - 0x28]
jne 0x49dd28
push eax
lea ecx, [ebp - 0x40]
call fcn.004613e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00479df0
add esp, 4
test al, al
lea eax, [ebp - 0x40]
je 0x49dc56
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrmdir]
add esp, 4
jmp 0x49dc8f
mov esi, dword [ebp - 0x90]
push eax
cmp esi, dword [ebp - 0xa0]
je 0x49dc77
mov ecx, esi
call fcn.004613e0
add esi, 0x18
mov dword [ebp - 0x90], esi
jmp 0x49dc8f
push esi
lea ecx, [ebp - 0x94]
call fcn.0045f260
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x49dccd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49dcc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d72e
push edx
push ecx
call fcn.004bec24
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x49dab0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49dd19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d72e
push edx
push ecx
call fcn.004bec24
add esp, 8
jmp 0x49dab0
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
add esp, 4
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x49dab0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49dd72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d72e
push edx
push ecx
call fcn.004bec24
add esp, 8
jmp 0x49dab0
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x98], edi
cmp esi, dword [ebp - 0xa8]
je 0x49ddbe
mov edi, dword [ebp - 0xa8]
nop dword [eax + eax]
mov ecx, esi
call fcn.004b3c30
add esi, 0x18
cmp esi, edi
jne 0x49dda0
mov ecx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x98]
mov esi, dword [ecx]
jmp 0x49ddc4
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 4], esi
test edi, edi
je 0x49de7e
mov eax, dword [ebp - 0x90]
mov esi, edi
cmp esi, eax
je 0x49de35
nop dword [eax + eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x49de1b
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49de0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49de6e
mov eax, edx
push ecx
push eax
call fcn.004bec24
mov eax, dword [ebp - 0x90]
add esp, 8
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
add esi, 0x18
cmp esi, eax
jne 0x49dde0
mov ecx, dword [ebp - 0xa0]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x49de74
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49de74
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.004bec24
add esp, 8
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.004bf1dd
mov esp, ebp
pop ebp
ret
call fcn.004b3d60
call fcn.004b3b90
int3