Function at 0x100453e0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cc4c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x9c], esi
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x8c], 0
push eax
call fcn.10044cb0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x10045440
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xb0], eax
test al, 1
je 0x10045466
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x1004545b
mov ecx, dword [esi]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ecx
lea ecx, [ebp - 0x238]
call fcn.10018ed0
mov byte [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x10045480
mov eax, dword [esi]
push ecx
push 1
push eax
lea ecx, [ebp - 0x228]
call fcn.100195e0
test eax, eax
lea ecx, [ebp - 0x238]
mov eax, dword [ebp - 0x238]
je 0x100454b1
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x100454c6
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.10008620
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
xor eax, eax
xor edi, edi
xor esi, esi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], esi
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.100480d0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10045574
nop dword [eax]
lea eax, [ebp - 0x58]
push eax
cmp edi, esi
je 0x1004553a
mov ecx, edi
call fcn.10003d00
add edi, 0x18
mov dword [ebp - 0x84], edi
jmp 0x1004554f
push edi
lea ecx, [ebp - 0x88]
call fcn.10014f70
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x84]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x238]
call fcn.100480d0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10045520
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0x7c], esi
jmp 0x10045576
xor esi, esi
lea ecx, [ebp - 0x228]
call fcn.100194e0
test eax, eax
jne 0x100455ae
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x238]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10008620
mov edi, esi
mov dword [ebp - 0x78], esi
cmp edi, dword [ebp - 0x84]
je 0x100459df
nop
push edi
call fcn.10045210
cmp eax, dword [edi + 0x10]
jae 0x100455df
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x100455d5
mov ecx, dword [edi]
cmp byte [ecx + eax], 0x23
je 0x100459cd
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xbc]
cmp eax, ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x94], eax
je 0x100459cd
push eax
lea ecx, [ebp - 0x40]
call fcn.10003d00
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10045260
test al, al
mov edx, edi
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], eax
je 0x100456fc
push 0x20
lea ecx, [ebp - 0xa4]
call fcn.1001b4c0
add esp, 4
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xa4]
mov esi, dword [eax]
cmp esi, eax
je 0x100456ec
nop dword [eax]
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x180]
call fcn.10048180
mov byte [ebp - 4], 7
lea edi, [esi + 8]
cmp dword [esi + 0x1c], 0xf
jbe 0x10045694
mov edi, dword [esi + 8]
mov ecx, edi
jmp 0x10045697
lea ecx, [esi + 8]
mov edx, dword [esi + 0x18]
push ecx
push 0x10
push eax
push ecx
add edx, edi
call fcn.100485e0
add esp, 0x10
mov byte [ebp - 0x71], al
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 6
call fcn.100479f0
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x100456d8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100456d8
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [ebp - 0x71], 0
jne 0x10045894
mov esi, dword [esi]
cmp esi, dword [ebp - 0xa4]
jne 0x10045670
lea ecx, [ebp - 0xa4]
call fcn.1001c7e0
jmp 0x100457f6
cmp dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x90], edi
cmova ecx, eax
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0xa8], ecx
jbe 0x10045720
mov edx, dword [edi]
mov dword [ebp - 0x90], edx
mov eax, dword [edi + 0x10]
mov esi, dword [ebp - 0x30]
cmp esi, eax
ja 0x100457f6
test esi, esi
je 0x10045acd
mov cl, byte [ecx]
sub eax, esi
inc eax
mov byte [ebp - 0x71], cl
add eax, edx
mov dword [ebp - 0xac], eax
sub eax, edx
push eax
movsx eax, cl
push eax
push edx
call fcn.100652f0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100457f6
mov eax, dword [ebp - 0xa8]
mov edx, edi
sub esi, 4
jb 0x10045781
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x10045786
add edx, 4
add eax, 4
sub esi, 4
jae 0x10045770
cmp esi, 0xfffffffc
je 0x100457ba
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x100457b3
cmp esi, 0xfffffffd
je 0x100457ba
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x100457b3
cmp esi, 0xfffffffe
je 0x100457ba
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x100457b3
cmp esi, 0xffffffff
je 0x100457ba
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x100457ba
sbb eax, eax
or eax, 1
jmp 0x100457bc
xor eax, eax
test eax, eax
je 0x100457e7
mov eax, dword [ebp - 0xac]
inc edi
sub eax, edi
push eax
movsx eax, byte [ebp - 0x71]
push eax
push edi
call fcn.100652f0
mov esi, dword [ebp - 0x30]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10045760
jmp 0x100457f6
sub edi, dword [ebp - 0x90]
cmp edi, 0xffffffff
jne 0x10045aca
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004582e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045824
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d8b
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp eax, 0xf
jbe 0x1004587d
mov edx, dword [ebp - 0x98]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10045873
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d8b
push ecx
push edx
call fcn.10063694
add esp, 8
mov eax, dword [ebp - 0x94]
mov edi, dword [ebp - 0x78]
add eax, 0x34
cmp eax, dword [ebp - 0x8c]
jmp 0x100455f3
lea ecx, [ebp - 0xa4]
call fcn.1001c7e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100458d7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100458cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d8b
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x10045921
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045917
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d8b
push ecx
push edx
call fcn.10063694
add esp, 8
mov edi, dword [ebp - 0x78]
push edi
lea eax, [ebp - 0x70]
push eax
call fcn.10046cd0
mov esi, eax
cmp edi, esi
je 0x10045999
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x10045967
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x1004595d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d8b
mov eax, edx
push ecx
push eax
call fcn.10063694
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x100459cd
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100459c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d8b
push ecx
push edx
call fcn.10063694
add esp, 8
add edi, 0x18
mov dword [ebp - 0x78], edi
cmp edi, dword [ebp - 0x84]
jne 0x100455c0
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x16c], 0x10098788
call fcn.10011490
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x8c], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x170], eax
lea eax, [ebp - 0x168]
push eax
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
add ecx, dword [eax + 4]
call fcn.100120a0
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x170], eax
lea ecx, [ebp - 0x168]
call fcn.100196a0
mov edi, dword [ebp - 0x9c]
mov eax, edi
mov byte [ebp - 4], 0xb
cmp dword [edi + 0x14], 7
jbe 0x10045a92
mov eax, dword [edi]
push ecx
push 2
push eax
lea ecx, [ebp - 0x168]
call fcn.100195e0
test eax, eax
lea ecx, [ebp - 0x16c]
mov eax, dword [ebp - 0x16c]
je 0x10045b5d
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x10045b72
mov edi, dword [ebp - 0x78]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10045b05
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045afb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d8b
push ecx
push edx
call fcn.10063694
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp eax, 0xf
jbe 0x10045924
mov edx, dword [ebp - 0x98]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10045b4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d8b
push ecx
push edx
call fcn.10063694
add esp, 8
jmp 0x10045924
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.10008620
mov eax, dword [ebp - 0x84]
xor esi, esi
mov edx, dword [ebp - 0x7c]
cmp edx, eax
je 0x10045be7
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edx
imul ecx
mov eax, dword [ebp - 0x7c]
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp dword [eax + 0x14], 0xf
mov edx, eax
jbe 0x10045bab
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [ebp - 0x16c]
call fcn.10014c00
inc esi
add esp, 4
cmp esi, edi
je 0x10045bd0
lea eax, [ebp - 0x16c]
push eax
call fcn.10019740
add esp, 4
mov eax, dword [ebp - 0x7c]
add eax, 0x18
mov dword [ebp - 0x7c], eax
cmp eax, dword [ebp - 0x84]
jne 0x10045ba1
mov edi, dword [ebp - 0x9c]
lea ecx, [ebp - 0x168]
call fcn.100194e0
test eax, eax
jne 0x10045c1f
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10008620
cmp dword [edi + 0x14], 7
jbe 0x10045c27
mov edi, dword [edi]
push dword [ebp - 0xb0]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x170], eax
lea ecx, [ebp - 0x168]
call fcn.10018e20
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x170], eax
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10061d68
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.10011530
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10045ced
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045ce3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d8b
push ecx
push edx
call fcn.10063694
add esp, 8
mov eax, dword [ebp - 0x238]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x23c], eax
lea ecx, [ebp - 0x228]
call fcn.10018e20
mov eax, dword [ebp - 0x238]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x23c], eax
lea eax, [ebp - 0x1c8]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10061d68
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.10047950
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.10063337
mov esp, ebp
pop ebp
ret 4
call fcn.1006dd3f
int3