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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cc2c
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.10044c90
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x10045420
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xb0], eax
test al, 1
je 0x10045446
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x1004543b
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 0x10045460
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 0x10045491
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x100454a6
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.100480b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10045554
nop dword [eax]
lea eax, [ebp - 0x58]
push eax
cmp edi, esi
je 0x1004551a
mov ecx, edi
call fcn.10003d00
add edi, 0x18
mov dword [ebp - 0x84], edi
jmp 0x1004552f
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.100480b0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x10045500
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0x7c], esi
jmp 0x10045556
xor esi, esi
lea ecx, [ebp - 0x228]
call fcn.100194e0
test eax, eax
jne 0x1004558e
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 0x100459bf
nop
push edi
call fcn.100451f0
cmp eax, dword [edi + 0x10]
jae 0x100455bf
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x100455b5
mov ecx, dword [edi]
cmp byte [ecx + eax], 0x23
je 0x100459ad
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xbc]
cmp eax, ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x94], eax
je 0x100459ad
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.10045240
test al, al
mov edx, edi
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], eax
je 0x100456dc
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 0x100456cc
nop dword [eax]
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x180]
call fcn.10048160
mov byte [ebp - 4], 7
lea edi, [esi + 8]
cmp dword [esi + 0x1c], 0xf
jbe 0x10045674
mov edi, dword [esi + 8]
mov ecx, edi
jmp 0x10045677
lea ecx, [esi + 8]
mov edx, dword [esi + 0x18]
push ecx
push 0x10
push eax
push ecx
add edx, edi
call fcn.100485c0
add esp, 0x10
mov byte [ebp - 0x71], al
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 6
call fcn.100479d0
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x100456b8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x100456b8
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp byte [ebp - 0x71], 0
jne 0x10045874
mov esi, dword [esi]
cmp esi, dword [ebp - 0xa4]
jne 0x10045650
lea ecx, [ebp - 0xa4]
call fcn.1001c7e0
jmp 0x100457d6
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 0x10045700
mov edx, dword [edi]
mov dword [ebp - 0x90], edx
mov eax, dword [edi + 0x10]
mov esi, dword [ebp - 0x30]
cmp esi, eax
ja 0x100457d6
test esi, esi
je 0x10045aad
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.100652d0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100457d6
mov eax, dword [ebp - 0xa8]
mov edx, edi
sub esi, 4
jb 0x10045761
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x10045766
add edx, 4
add eax, 4
sub esi, 4
jae 0x10045750
cmp esi, 0xfffffffc
je 0x1004579a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10045793
cmp esi, 0xfffffffd
je 0x1004579a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x10045793
cmp esi, 0xfffffffe
je 0x1004579a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x10045793
cmp esi, 0xffffffff
je 0x1004579a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x1004579a
sbb eax, eax
or eax, 1
jmp 0x1004579c
xor eax, eax
test eax, eax
je 0x100457c7
mov eax, dword [ebp - 0xac]
inc edi
sub eax, edi
push eax
movsx eax, byte [ebp - 0x71]
push eax
push edi
call fcn.100652d0
mov esi, dword [ebp - 0x30]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10045740
jmp 0x100457d6
sub edi, dword [ebp - 0x90]
cmp edi, 0xffffffff
jne 0x10045aaa
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1004580e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045804
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d6b
push ecx
push edx
call fcn.10063674
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 0x1004585d
mov edx, dword [ebp - 0x98]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10045853
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d6b
push ecx
push edx
call fcn.10063674
add esp, 8
mov eax, dword [ebp - 0x94]
mov edi, dword [ebp - 0x78]
add eax, 0x34
cmp eax, dword [ebp - 0x8c]
jmp 0x100455d3
lea ecx, [ebp - 0xa4]
call fcn.1001c7e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100458b7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100458ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d6b
push ecx
push edx
call fcn.10063674
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 0x10045901
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100458f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d6b
push ecx
push edx
call fcn.10063674
add esp, 8
mov edi, dword [ebp - 0x78]
push edi
lea eax, [ebp - 0x70]
push eax
call fcn.10046cb0
mov esi, eax
cmp edi, esi
je 0x10045979
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x10045947
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x1004593d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d6b
mov eax, edx
push ecx
push eax
call fcn.10063674
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 0x100459ad
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100459a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d6b
push ecx
push edx
call fcn.10063674
add esp, 8
add edi, 0x18
mov dword [ebp - 0x78], edi
cmp edi, dword [ebp - 0x84]
jne 0x100455a0
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 0x10045a72
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 0x10045b3d
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x10045b52
mov edi, dword [ebp - 0x78]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10045ae5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045adb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d6b
push ecx
push edx
call fcn.10063674
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 0x10045904
mov edx, dword [ebp - 0x98]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10045b2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d6b
push ecx
push edx
call fcn.10063674
add esp, 8
jmp 0x10045904
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 0x10045bc7
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 0x10045b8b
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [ebp - 0x16c]
call fcn.10014c00
inc esi
add esp, 4
cmp esi, edi
je 0x10045bb0
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 0x10045b81
mov edi, dword [ebp - 0x9c]
lea ecx, [ebp - 0x168]
call fcn.100194e0
test eax, eax
jne 0x10045bff
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 0x10045c07
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.10061d48
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.10011530
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10045ccd
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045cc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d6b
push ecx
push edx
call fcn.10063674
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.10061d48
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.10047930
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.10063317
mov esp, ebp
pop ebp
ret 4
call fcn.1006dd1f
int3