Function at 0x4bb610
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0223
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x50f880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x4bb648
mov eax, dword [esi]
jmp 0x4bb64a
mov eax, esi
push eax
push str.Path:___s_
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x4eabf8
mov dword [ebp - 0x4c], 0x33f
mov dword [ebp - 0x48], 1
call fcn.00409c10
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x40]
lea edx, [ebp - 0x4c]
push edx
push eax
lea ebx, [eax + 3]
call fcn.004ab480
add esp, 0x10
test al, al
sete al
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4bb6d7
push 0x4eab4c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x4eac30
mov dword [ebp - 0x4c], 0x342
mov dword [ebp - 0x48], 1
call fcn.00409c10
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ebx, 1
mov dword [ebp - 4], ebx
fld qword [ebp + 0x14]
mov eax, esp
fstp qword [ebp - 0x4c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, 0x4eab64
call fcn.0041b050
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x4bb704
mov eax, dword [esi]
jmp 0x4bb706
mov eax, esi
fld qword [ebp - 0x4c]
push eax
sub esp, 8
fstp qword [esp]
push 2
push 3
lea ecx, [ebp - 0x84]
push ecx
call fcn.0042d760
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x40]
push eax
push ecx
call fcn.0041e710
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bb754
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bb773
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x14], edi
jb 0x4bb77c
mov eax, dword [esi]
jmp 0x4bb77e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4bb7d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4bb79e
and eax, 0xffff
or eax, 0x80070000
cmp dword [esi + 0x14], edi
jb 0x4bb7a7
mov ecx, dword [esi]
jmp 0x4bb7a9
mov ecx, esi
push eax
push ecx
push str.GetFileAttributes___s___failed_with_error_code_0x_08x.
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x4eac50
mov dword [ebp - 0x4c], 0x350
mov dword [ebp - 0x48], ebx
call fcn.00409c10
add esp, 0xc
xor edi, edi
jmp 0x4bba90
test eax, 0x400
je 0x4bb814
cmp byte [ebp + 0x28], 0
je 0x4bb814
cmp dword [esi + 0x14], edi
jb 0x4bb7e9
mov eax, dword [esi]
jmp 0x4bb7eb
mov eax, esi
push eax
push str.File___s__is_a_reparse_point.
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x4eace0
mov dword [ebp - 0x4c], 0x35c
mov dword [ebp - 0x48], ebx
call fcn.00409c10
add esp, 8
xor edi, edi
jmp 0x4bba90
xor edi, edi
cmp dword [ebp + 0x10], edi
jle 0x4bb7cc
test al, 0x10
je 0x4bb7cc
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00438bd0
mov byte [ebp - 4], 4
sub esp, 8
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], esp
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], esp
cmp eax, edi
je 0x4bb864
add eax, 4
lock xadd dword [eax], ebx
call fcn.00437bd0
fld qword [ebp + 0x1c]
fld qword [ebp + 0x14]
add esp, 0x10
mov dword [ebp - 0x18], eax
fsub st(1), st(0)
inc eax
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
jns 0x4bb886
fadd qword [0x4f64d8]
fdivp st(2)
lea esi, [ebp - 0x84]
lea edi, [ebp + 0x14]
faddp st(1)
fstp qword [ebp - 0x2c]
call fcn.0042d580
mov byte [ebp - 4], 5
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 8
jb 0x4bb8ac
mov ecx, dword [ebx]
jmp 0x4bb8ae
mov ecx, ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0041b050
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 8], edx
lea edx, [ebp - 0x3c]
push edx
mov dword [eax + 0xc], ecx
push 1
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x14]
push ecx
push edi
call fcn.004bacc0
mov esi, eax
add esp, 0x24
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00432180
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00406510
cmp esi, 0x80004004
je 0x4bb9f9
test esi, esi
jns 0x4bb94f
cmp dword [ebx + 0x14], 8
jb 0x4bb92d
mov ecx, dword [ebx]
jmp 0x4bb92f
mov ecx, ebx
lea edx, [ebp - 0x14]
push edx
call fcn.0041b050
mov edi, dword [ebp + 0x24]
mov byte [ebp - 4], 8
call fcn.00437a00
lea ecx, [ebp - 0x14]
call fcn.00406510
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x18], 0
jbe 0x4bba5e
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00438bd0
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x18]
jmp 0x4bb980
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
je 0x4bba46
fld qword [ebp + 0x1c]
mov ecx, ebx
fld qword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
fsub st(1), st(0)
fild dword [ebp - 0x18]
test ecx, ecx
jns 0x4bb9a6
fadd qword [0x4f64d8]
fild dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x18], esi
mov edx, dword [ebp + 0x24]
fmul st(3)
mov ecx, dword [ebp + 0x10]
push 1
push edx
fdiv st(1)
sub esp, 0x10
dec ecx
fadd st(2)
fild dword [ebp - 0x18]
fmulp st(4)
fxch st(3)
fdivrp st(1)
faddp st(1)
fstp qword [esp + 8]
fstp qword [esp]
push ecx
push eax
push edi
call fcn.004bb610
add esp, 0x24
test al, al
jne 0x4bba30
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00438c70
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.00438c70
lea esi, [ebp - 0x84]
call fcn.00423eb0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00438c70
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00438c70
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x2c]
push 0
push edx
mov dword [ebp - 0x14], esi
call fcn.0044fb90
add esp, 8
jmp 0x4bb980
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00438c70
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.00438c70
lea esi, [ebp - 0x84]
xor edi, edi
call fcn.00423eb0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00438c70
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00438c70
mov al, 1
test al, al
jne 0x4bbbcd
mov esi, dword [ebp + 0xc]
fld qword [ebp + 0x1c]
push 0x20
fstp qword [ebp - 0x3c]
lea ebx, [ebp + 0x14]
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x83], edi
mov dword [ebp - 0x7f], edi
mov dword [ebp - 0x7b], edi
mov dword [ebp - 0x77], edi
mov dword [ebp - 0x73], edi
mov dword [ebp - 0x6f], edi
mov dword [ebp - 0x67], edi
call fcn.0045401f
add esp, 4
cmp eax, edi
je 0x4bbbe1
mov dword [ebp - 0x6b], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x6b]
mov dword [eax + 4], eax
mov byte [ebp - 4], 0xb
cmp dword [esi + 0x14], 8
jb 0x4bbae3
mov ecx, dword [esi]
jmp 0x4bbae5
mov ecx, esi
lea eax, [ebp + 0xc]
push eax
call fcn.0041b050
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 8], edx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
push 1
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp + 0xc]
push ecx
push edx
call fcn.004bacc0
mov edi, eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0x24
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bbb55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0x80004004
jne 0x4bbb7c
lea esi, [ebp - 0x84]
call fcn.00423eb0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jns 0x4bbbc2
cmp dword [esi + 0x14], 8
jb 0x4bbb88
mov esi, dword [esi]
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call fcn.0041b050
mov edi, dword [ebp + 0x24]
mov byte [ebp - 4], 0xe
call fcn.00437a00
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bbbc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x84]
call fcn.00423eb0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], edi
call fcn.004541b0
push 0x4ff0c0
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], vtable.std::bad_alloc.0
call fcn.00457e5a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x50], str.CDefragmentation::DefragPath
mov dword [ebp - 0x4c], 0x3a1
mov dword [ebp - 0x48], 1
call edx
push eax
push str.Exception:__S
lea eax, [ebp - 0x50]
call fcn.00409c10
add esp, 8
mov eax, 0x4bbbcd
ret