Function at 0x49d0b0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd5cc
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4f4f98]
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 0x49d276
mov eax, edi
mov dword [ebp - 0x9c], eax
lea ecx, [eax + 0x18]
mov dword [ebp - 0xa0], ecx
cmp ecx, esi
je 0x49d276
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 0x49d1b6
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 0x49d180
jmp 0x49d276
cmp esi, dword [ebp - 0x98]
je 0x49d222
mov edi, dword [ebp - 0x9c]
push esi
push edi
call fcn.0045eae0
add esp, 8
test al, al
jne 0x49d203
add edi, 0x18
cmp edi, esi
je 0x49d203
mov ecx, edi
call fcn.004b3870
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 0x49d1c4
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x9c], edi
mov edi, dword [ebp - 0x94]
jmp 0x49d228
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
add eax, 0x18
cmp eax, esi
je 0x49d276
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 0x49d26a
mov esi, eax
mov ecx, edi
call fcn.004b3870
add edi, 0x18
cmp edi, esi
jne 0x49d256
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 0x49d2c1
call fcn.004b37f0
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 0x49d37e
cmp edi, esi
je 0x49d335
nop
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x49d315
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49d30b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d36e
mov eax, edx
push ecx
push eax
call fcn.004be864
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 0x49d2e0
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 0x49d374
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49d374
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.004be864
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 0x49d423
mov ecx, esi
call fcn.004b37f0
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 0x49d42f
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x49d4e0
cmp esi, edi
je 0x49d497
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x49d477
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49d46d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d4d0
mov eax, edx
push ecx
push eax
call fcn.004be864
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 0x49d442
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 0x49d4d6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49d4d6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004be864
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 0x49d53e
nop dword [eax]
sub eax, 0x18
cmp ecx, eax
je 0x49d53e
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 0x49d510
lea eax, [ebp - 0x94]
cmp esi, eax
je 0x49d587
mov ecx, esi
call fcn.004b37f0
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.004b37f0
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 0x49d9cd
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 0x49d624
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
cmp edi, 8
jae 0x49d63e
movups xmm0, xmmword [eax]
mov dword [ebp - 0x14], 7
mov esi, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x49d6a0
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, edx
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x49dae0
add eax, eax
cmp eax, 0x1000
jb 0x49d670
push eax
call fcn.0045f1c0
add esp, 4
mov ecx, eax
jmp 0x49d683
test eax, eax
je 0x49d681
push eax
call sub.mfc140u.dll_operator_2
add esp, 4
mov ecx, eax
jmp 0x49d683
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 0x49d738
mov byte [ebp - 4], 2
cmp esi, 8
jb 0x49d6ea
mov ecx, dword [ebp - 0x28]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x49d6e0
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d36e
push esi
push ecx
call fcn.004be864
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 0x49d9c1
mov eax, edi
jmp 0x49d5f1
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 0x49d79c
lea ecx, [edx - 1]
cmp edx, ecx
jbe 0x49dadb
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 0x49d777
cmp eax, 0x2f
jne 0x49d79c
cmp ecx, edx
ja 0x49d78f
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 0x49d79c
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x40]
call fcn.004b3a40
or dword [ebp - 0x9c], 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x49d7e1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49d7d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d36e
push edx
push ecx
call fcn.004be864
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.004b3de0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00477450
add esp, 8
test al, al
je 0x49d97a
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 0x49d968
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.00479b40
add esp, 4
test al, al
lea eax, [ebp - 0x40]
je 0x49d896
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 0x49d8cf
mov esi, dword [ebp - 0x90]
push eax
cmp esi, dword [ebp - 0xa0]
je 0x49d8b7
mov ecx, esi
call fcn.004613e0
add esi, 0x18
mov dword [ebp - 0x90], esi
jmp 0x49d8cf
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 0x49d90d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49d903
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d36e
push edx
push ecx
call fcn.004be864
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 0x49d6f0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49d959
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d36e
push edx
push ecx
call fcn.004be864
add esp, 8
jmp 0x49d6f0
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 0x49d6f0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49d9b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49d36e
push edx
push ecx
call fcn.004be864
add esp, 8
jmp 0x49d6f0
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x98], edi
cmp esi, dword [ebp - 0xa8]
je 0x49d9fe
mov edi, dword [ebp - 0xa8]
nop dword [eax + eax]
mov ecx, esi
call fcn.004b3870
add esi, 0x18
cmp esi, edi
jne 0x49d9e0
mov ecx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x98]
mov esi, dword [ecx]
jmp 0x49da04
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 4], esi
test edi, edi
je 0x49dabe
mov eax, dword [ebp - 0x90]
mov esi, edi
cmp esi, eax
je 0x49da75
nop dword [eax + eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x49da5b
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x49da4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49daae
mov eax, edx
push ecx
push eax
call fcn.004be864
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 0x49da20
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 0x49dab4
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49dab4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.004be864
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.004bee1d
mov esp, ebp
pop ebp
ret
call fcn.004b39a0
call fcn.004b37d0
int3